summaryrefslogtreecommitdiff
path: root/package/nmap/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-26 12:30:18 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-26 12:30:18 +0000
commit7aead09e5d97e587c0254b7dc823bdc069b2efd9 (patch)
tree3d105c751d3e54886ba8491c9ab3388b46f04299 /package/nmap/patches
parent8a66d4ae3b7d577ae167cc4f825bdf2e06713e3c (diff)
add nmap
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@726 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nmap/patches')
-rw-r--r--package/nmap/patches/cross-compile.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/nmap/patches/cross-compile.patch b/package/nmap/patches/cross-compile.patch
new file mode 100644
index 0000000000..4319a6b0e7
--- /dev/null
+++ b/package/nmap/patches/cross-compile.patch
@@ -0,0 +1,41 @@
+diff -urN nmap-3.81.old/configure nmap-3.81.dev/configure
+--- nmap-3.81.old/configure 2004-10-17 05:49:33.000000000 +0200
++++ nmap-3.81.dev/configure 2005-04-26 14:47:42.000000000 +0200
+@@ -1339,12 +1339,6 @@
+ fi
+ fi
+
+-libpcapdir=libpcap-possiblymodified
+-
+-
+-pcredir=libpcre
+-
+-
+ ac_config_headers="$ac_config_headers config.h"
+
+
+diff -urN nmap-3.81.old/Makefile.in nmap-3.81.dev/Makefile.in
+--- nmap-3.81.old/Makefile.in 2005-02-07 07:14:03.000000000 +0100
++++ nmap-3.81.dev/Makefile.in 2005-04-26 14:52:39.000000000 +0200
+@@ -29,7 +29,7 @@
+ # CFLAGS = $(DEFS) $(INCLS)
+ STATIC =
+ LDFLAGS = @LDFLAGS@ $(STATIC)
+-LIBS = @LIBNBASE_LIBS@ @LIBNSOCK_LIBS@ @LIBPCRE_LIBS@ @LIBPCAP_LIBS@ @OPENSSL_LIBS@ @LIBS@
++LIBS = @LIBNBASE_LIBS@ @LIBNSOCK_LIBS@ -lpcre -lpcap @OPENSSL_LIBS@ @LIBS@
+ # LIBS = -lefence @LIBS@
+ # LIBS = -lrmalloc @LIBS@
+ SHTOOL = ./shtool
+@@ -69,12 +69,6 @@
+ # all of the prerequisites (e.g. recursive makes and such)
+ FORCE:
+
+-$(LIBPCREDIR)/libpcre.a: $(LIBPCREDIR)/Makefile FORCE
+- @echo Compiling libpcre; cd $(LIBPCREDIR) && $(MAKE)
+-
+-$(LIBPCAPDIR)/libpcap.a: $(LIBPCAPDIR)/Makefile FORCE
+- @echo Compiling libpcap; cd $(LIBPCAPDIR) && $(MAKE)
+-
+ $(NBASEDIR)/libnbase.a: $(NBASEDIR)/Makefile FORCE
+ @echo Compiling libnbase;
+ cd $(NBASEDIR) && $(MAKE)