update nmap to 4.20 (patch by jens muecke)
authorFelix Fietkau <nbd@openwrt.org>
Sat, 6 Jan 2007 18:39:10 +0000 (18:39 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 6 Jan 2007 18:39:10 +0000 (18:39 +0000)
SVN-Revision: 6008

net/nmap/Makefile
net/nmap/patches/01-cross_compile.patch
net/nmap/patches/02-no_strip.patch

index 251ba2b..0670c09 100644 (file)
@@ -9,10 +9,10 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=nmap
-PKG_VERSION:=4.01
+PKG_VERSION:=4.20
 PKG_RELEASE:=1
 
-PKG_MD5SUM:=09c259837b24f6c7385c2c1c49760a7c
+PKG_MD5SUM:=ea50419f99472200c4184a304e3831ea
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://download.insecure.org/nmap/dist
 PKG_CAT:=bzcat
index 1a997e8..9ceedf5 100644 (file)
@@ -4,20 +4,7 @@
 diff -ruN nmap-4.01-old/configure nmap-4.01-new/configure
 --- nmap-4.01-old/configure    2006-02-02 03:18:42.000000000 +0100
 +++ nmap-4.01-new/configure    2006-10-23 22:08:15.000000000 +0200
-@@ -5765,9 +5765,9 @@
- fi;
--if test $linux = yes; then
--  have_libpcap=no
--fi
-+#if test $linux = yes; then
-+#  have_libpcap=no
-+#fi
- if test $needs_cpp_precomp = yes; then
-   CXXFLAGS="-no-cpp-precomp $CXXFLAGS"
-@@ -5788,8 +5788,8 @@
+@@ -5865,8 +5865,8 @@
    echo "$as_me:$LINENO: checking if libpcap version is recent enough" >&5
  echo $ECHO_N "checking if libpcap version is recent enough... $ECHO_C" >&6
    if test "$cross_compiling" = yes; then
index ffe953e..21c912d 100644 (file)
@@ -1,7 +1,7 @@
 diff -urN nmap-4.01.old/Makefile.in nmap-4.01.dev/Makefile.in
 --- nmap-4.01.old/Makefile.in  2006-02-09 19:22:27.000000000 -0700
 +++ nmap-4.01.dev/Makefile.in  2006-03-29 23:14:12.000000000 -0700
-@@ -144,7 +135,7 @@
+@@ -152,7 +152,7 @@
  
  install-nmap: $(TARGET)
        $(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(nmapdatadir)