diff options
author | jeh <jeh@FreeBSD.org> | 2000-10-28 09:57:17 +0800 |
---|---|---|
committer | jeh <jeh@FreeBSD.org> | 2000-10-28 09:57:17 +0800 |
commit | 8307bf91b2204f814d12041beec7e736e8f875c7 (patch) | |
tree | 9e2e476aff17baaed2f69629be5763b614f32d87 /net/hping/files | |
parent | 3da15cb2867c2d47324b9bc3a9ccf8ffb6834e38 (diff) | |
download | freebsd-ports-gnome-8307bf91b2204f814d12041beec7e736e8f875c7.tar.gz freebsd-ports-gnome-8307bf91b2204f814d12041beec7e736e8f875c7.tar.zst freebsd-ports-gnome-8307bf91b2204f814d12041beec7e736e8f875c7.zip |
Add New Port: security/hping
Network auditing tool
PR: 21933
Submitted by: Roman Shterenzon <roman@xpert.com>
Diffstat (limited to 'net/hping/files')
-rw-r--r-- | net/hping/files/patch-aa | 22 | ||||
-rw-r--r-- | net/hping/files/patch-ab | 13 | ||||
-rw-r--r-- | net/hping/files/patch-ac | 10 |
3 files changed, 45 insertions, 0 deletions
diff --git a/net/hping/files/patch-aa b/net/hping/files/patch-aa new file mode 100644 index 000000000000..f60706776698 --- /dev/null +++ b/net/hping/files/patch-aa @@ -0,0 +1,22 @@ +--- configure.orig Thu Jul 6 20:06:10 2000 ++++ configure Thu Oct 5 15:33:45 2000 +@@ -65,8 +65,8 @@ + ;; + *"--force-libpcap") + FORCE_LIBPCAP="-DFORCE_LIBPCAP" +- PCAP="PCAP=libpcap/libpcap.a" +- PCAP_INCLUDE="-I./libpcap" ++ PCAP="PCAP=-lpcap" ++ PCAP_INCLUDE="" + ;; + *"--dont-use-proc") + HAVE_PROC="" +@@ -92,7 +92,7 @@ + -e s/@FORCE_LIBPCAP@/"$FORCE_LIBPCAP"/g \ + -e s/@HAVE_PROC@/"$HAVE_PROC"/g \ + -e s^@PCAP@^"$PCAP"^g \ +- -e s^@PCAP_INCLUDE@^"$PCAP_INCLUDE$"^g \ ++ -e s^@PCAP_INCLUDE@^"$PCAP_INCLUDE"^g \ + -e s^@MANPATH@^"$INSTALL_MANPATH"^g \ + > Makefile + diff --git a/net/hping/files/patch-ab b/net/hping/files/patch-ab new file mode 100644 index 000000000000..fcc4cad3fa43 --- /dev/null +++ b/net/hping/files/patch-ab @@ -0,0 +1,13 @@ +--- Makefile.in.orig Thu Oct 5 15:22:25 2000 ++++ Makefile.in Thu Oct 5 15:25:28 2000 +@@ -6,8 +6,8 @@ + # $date: Sun Jul 25 17:56:15 MET DST 1999$ + # $rev: 3$ + +-CC= gcc +-CCOPT= -O2 -Wall @PCAP_INCLUDE@ ++CC?= gcc ++CCOPT= $(CFLAGS) -Wall @PCAP_INCLUDE@ + DEBUG= -g + #uncomment the following if you need libpcap based build under linux + #(not raccomanded) diff --git a/net/hping/files/patch-ac b/net/hping/files/patch-ac new file mode 100644 index 000000000000..32e9ae6d37e0 --- /dev/null +++ b/net/hping/files/patch-ac @@ -0,0 +1,10 @@ +--- getlhs.c.orig Thu Oct 5 15:26:31 2000 ++++ getlhs.c Thu Oct 5 15:26:26 2000 +@@ -73,6 +73,7 @@ + else if ( strstr(ifname, "eth") /* ? */ + || strstr(ifname, "ed") + || strstr(ifname, "ne") ++ || strstr(ifname, "xe") /* Xircom */ + || strstr(ifname, "xl") /* 3com */ + || strstr(ifname, "vx") /* 3com (older model) */ + || strstr(ifname, "ep") /* 3com 3c589 */ |