Explorar el Código

upgrading package: nmap 4.50 -> 4.52

Ralf S. Engelschall hace 18 años
padre
commit
316b9e677d
Se han modificado 1 ficheros con 8 adiciones y 5 borrados
  1. 8 5
      nmap/nmap.spec

+ 8 - 5
nmap/nmap.spec

@@ -31,8 +31,8 @@ Distribution: OpenPKG Community
 Class:        BASE
 Group:        Mapping
 License:      GPL
-Version:      4.50
-Release:      20080101
+Version:      4.52
+Release:      20080102
 
 #   list of sources
 Source0:      http://insecure.org/nmap/dist/nmap-%{version}.tgz
@@ -42,8 +42,8 @@ Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20050615, make, gcc, bison, flex
 PreReq:       OpenPKG, openpkg >= 20050615
-BuildPreReq:  libpcap, openssl, getopt
-PreReq:       libpcap, openssl, getopt
+BuildPreReq:  libpcap, openssl, getopt, pcre
+PreReq:       libpcap, openssl, getopt, pcre
 AutoReq:      no
 AutoReqProv:  no
 
@@ -92,13 +92,16 @@ AutoReqProv:  no
         --cache-file=./config.cache \
         --prefix=%{l_prefix} \
         --with-libpcap=%{l_prefix} \
+        --with-libpcre=%{l_prefix} \
         --with-openssl=%{l_prefix} \
-        --without-nmapfe
+        --without-nmapfe \
+        --without-zenmap
     %{l_make} %{l_mflags}
 
 %install
     rm -rf $RPM_BUILD_ROOT
     %{l_make} %{l_mflags} install prefix=$RPM_BUILD_ROOT%{l_prefix}
+    rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/icons
     rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/gnome
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}