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
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
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)