From fff46737b745b5f22378fe8d71555928864deb1e Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Fri, 21 Nov 2008 18:51:10 +0000 Subject: People kept wanting nmap 4.76. git-svn-id: http://svn.telesphoreo.org/trunk@509 514c082c-b64e-11dc-b46d-3d985efe055d --- data/nmap/_metadata/version | 2 +- data/nmap/bsd.diff_ | 24 ------------------------ data/nmap/include.diff | 13 +++++++++++++ data/nmap/make.sh | 2 +- data/nmap/nmap-4.50.tar.bz2 | Bin 3128562 -> 0 bytes data/nmap/nmap-4.76.tar.bz2 | Bin 0 -> 6061317 bytes data/nmap/nolua.diff | 12 ++++++++++++ 7 files changed, 27 insertions(+), 26 deletions(-) delete mode 100644 data/nmap/bsd.diff_ create mode 100644 data/nmap/include.diff delete mode 100644 data/nmap/nmap-4.50.tar.bz2 create mode 100644 data/nmap/nmap-4.76.tar.bz2 create mode 100644 data/nmap/nolua.diff diff --git a/data/nmap/_metadata/version b/data/nmap/_metadata/version index 4ba185d41..dc2320bd1 100644 --- a/data/nmap/_metadata/version +++ b/data/nmap/_metadata/version @@ -1 +1 @@ -4.50 +4.76 diff --git a/data/nmap/bsd.diff_ b/data/nmap/bsd.diff_ deleted file mode 100644 index 69f5cd2e5..000000000 --- a/data/nmap/bsd.diff_ +++ /dev/null @@ -1,24 +0,0 @@ -diff -ru nmap-4.50/libdnet-stripped/configure.in nmap-4.50+iPhone/libdnet-stripped/configure.in ---- nmap-4.50/libdnet-stripped/configure.in 2007-11-27 06:22:46.000000000 +0000 -+++ nmap-4.50+iPhone/libdnet-stripped/configure.in 2007-12-24 19:50:24.000000000 +0000 -@@ -226,7 +226,7 @@ - elif test "$ac_cv_dnet_bsd_bpf" = yes ; then - AC_LIBOBJ([eth-bsd]) - elif test "$ac_cv_dnet_linux_pf_packet" = yes ; then -- AC_LIBOBJ([eth-linux]) -+ AC_LIBOBJ([eth-bsd]) - elif test "$ac_cv_header_net_raw_h" = yes ; then - AC_LIBOBJ([eth-snoop]) - elif test "$ac_cv_header_sys_ndd_var_h" = yes ; then -diff -ru nmap-4.50/libdnet-stripped/src/Makefile.in nmap-4.50+iPhone/libdnet-stripped/src/Makefile.in ---- nmap-4.50/libdnet-stripped/src/Makefile.in 2007-11-27 06:22:46.000000000 +0000 -+++ nmap-4.50+iPhone/libdnet-stripped/src/Makefile.in 2007-12-24 19:50:24.000000000 +0000 -@@ -40,7 +40,7 @@ - host_triplet = @host@ - DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ - $(top_srcdir)/Makefile.am.common arp-bsd.c arp-ioctl.c \ -- arp-none.c arp-win32.c err.c eth-bsd.c eth-dlpi.c eth-linux.c \ -+ arp-none.c arp-win32.c err.c eth-bsd.c eth-dlpi.c eth-bsd.c \ - eth-ndd.c eth-none.c eth-pfilt.c eth-snoop.c eth-win32.c \ - fw-none.c intf-win32.c intf.c ip-cooked.c ip-win32.c ip.c \ - memcmp.c route-bsd.c route-hpux.c route-linux.c route-none.c \ diff --git a/data/nmap/include.diff b/data/nmap/include.diff new file mode 100644 index 000000000..1adc88203 --- /dev/null +++ b/data/nmap/include.diff @@ -0,0 +1,13 @@ +diff -ru nmap-4.76/nmap_dns.h nmap-4.76+iPhone/nmap_dns.h +--- nmap-4.76/nmap_dns.h 2008-08-21 09:24:35.000000000 +0000 ++++ nmap-4.76+iPhone/nmap_dns.h 2008-10-09 08:45:26.000000000 +0000 +@@ -95,6 +95,9 @@ + * * + ***************************************************************************/ + ++#include ++#include ++ + class Target; + + void nmap_mass_rdns(Target ** targets, int num_targets); diff --git a/data/nmap/make.sh b/data/nmap/make.sh index 491b00e3c..f00a636fd 100644 --- a/data/nmap/make.sh +++ b/data/nmap/make.sh @@ -3,6 +3,6 @@ autoconf cd libdnet-stripped autoconf cd .. -pkg:configure --without-liblua --without-python --without-zenmap --enable-static=yes +pkg:configure --without-liblua --without-python --without-zenmap --enable-static=yes --with-liblua=no make pkg:install diff --git a/data/nmap/nmap-4.50.tar.bz2 b/data/nmap/nmap-4.50.tar.bz2 deleted file mode 100644 index 0ac163110..000000000 Binary files a/data/nmap/nmap-4.50.tar.bz2 and /dev/null differ diff --git a/data/nmap/nmap-4.76.tar.bz2 b/data/nmap/nmap-4.76.tar.bz2 new file mode 100644 index 000000000..8f9f94e45 Binary files /dev/null and b/data/nmap/nmap-4.76.tar.bz2 differ diff --git a/data/nmap/nolua.diff b/data/nmap/nolua.diff new file mode 100644 index 000000000..8ccccf4a8 --- /dev/null +++ b/data/nmap/nolua.diff @@ -0,0 +1,12 @@ +diff -ru nmap-4.76/configure.ac nmap-4.76+iPhone/configure.ac +--- nmap-4.76/configure.ac 2008-09-08 23:37:03.000000000 +0000 ++++ nmap-4.76+iPhone/configure.ac 2008-10-09 08:42:26.000000000 +0000 +@@ -537,7 +537,7 @@ + + # They don't want lua + if test "$no_lua" = "yes"; then +- CXXFLAGS="-DNOLUA $CXXFLAGS" ++ CPPFLAGS="-DNOLUA $CPPFLAGS" + LIBLUA_LIBS="" + LUA_DEPENDS="" + LUA_BUILD="" -- cgit v1.2.3