|
|
@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: Network
|
|
|
License: GPL
|
|
|
Version: 3.27
|
|
|
-Release: 20030429
|
|
|
+Release: 20030612
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.insecure.org/nmap/dist/nmap-%{version}.tgz
|
|
|
@@ -41,8 +41,8 @@ Source0: http://www.insecure.org/nmap/dist/nmap-%{version}.tgz
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20030103, make, gcc, flex, bison
|
|
|
-PreReq: OpenPKG, openpkg >= 20030103
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20030103, make, gcc, flex, bison, getopt
|
|
|
+PreReq: OpenPKG, openpkg >= 20030103, getopt
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -59,6 +59,9 @@ AutoReqProv: no
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's;/usr/local/;%{l_prefix}/;g' \
|
|
|
+ configure */configure
|
|
|
|
|
|
%build
|
|
|
CC="%{l_cc}" \
|