aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/hping/Makefile1
-rw-r--r--net/hping/files/patch-aa11
-rw-r--r--net/hping/files/patch-ab10
3 files changed, 22 insertions, 0 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile
index ff2a082a4366..21b33c1758d9 100644
--- a/net/hping/Makefile
+++ b/net/hping/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hping
PORTVERSION= 2.0.0r1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= security net
MASTER_SITES= http://www.hping.org/
diff --git a/net/hping/files/patch-aa b/net/hping/files/patch-aa
new file mode 100644
index 000000000000..1f243a1a18fe
--- /dev/null
+++ b/net/hping/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Fri Sep 14 22:04:05 2001
++++ Makefile.in Fri Sep 14 22:05:33 2001
+@@ -7,7 +7,7 @@
+ # $rev: 3$
+
+ CC= gcc
+-CCOPT= -O2 -Wall @PCAP_INCLUDE@
++CCOPT= -Wall @CFLAGS@ @PCAP_INCLUDE@
+ DEBUG= -g
+ #uncomment the following if you need libpcap based build under linux
+ #(not raccomanded)
diff --git a/net/hping/files/patch-ab b/net/hping/files/patch-ab
new file mode 100644
index 000000000000..b7dda57f7370
--- /dev/null
+++ b/net/hping/files/patch-ab
@@ -0,0 +1,10 @@
+--- configure.orig Fri Sep 14 22:04:25 2001
++++ configure Fri Sep 14 22:05:02 2001
+@@ -99,6 +99,7 @@
+ -e "s^@PCAP_INCLUDE@^$PCAP_INCLUDE^g" \
+ -e "s^@MANPATH@^$INSTALL_MANPATH^g" \
+ -e "s^@SOLARISLIB@^$SOLARISLIB^g" \
++ -e "s^@CFLAGS@^$CFLAGS^g" \
+ <Makefile.in > Makefile
+
+ #