summaryrefslogtreecommitdiff
path: root/net/hping
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-04-04 20:56:38 +0000
committeragc <agc@pkgsrc.org>2002-04-04 20:56:38 +0000
commit5d4387c174c5eaa993fa062bb0ef07455522cd01 (patch)
tree7b8e8dc2282cec8d56b561a464373a7c8d3fc4b4 /net/hping
parent67b27c9829e164123d23f491644462f92f3f74f7 (diff)
downloadpkgsrc-5d4387c174c5eaa993fa062bb0ef07455522cd01.tar.gz
Allow this package to be built by a non-root user
Diffstat (limited to 'net/hping')
-rw-r--r--net/hping/distinfo3
-rw-r--r--net/hping/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/hping/distinfo b/net/hping/distinfo
index 14ebfce0f6e..dc493c01161 100644
--- a/net/hping/distinfo
+++ b/net/hping/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/04/04 17:02:30 atatat Exp $
+$NetBSD: distinfo,v 1.2 2002/04/04 20:56:38 agc Exp $
SHA1 (hping2.0.0-rc1.tar.gz) = 710dbc77b04399cc8979a910aa03e805c17bd01c
Size (hping2.0.0-rc1.tar.gz) = 90496 bytes
SHA1 (patch-aa) = 9bc0ba438d29191247d61c0b9a4e71d09e4c60a0
+SHA1 (patch-ab) = 7862d487c5fa9940a51c82154e5427f426c93270
diff --git a/net/hping/patches/patch-ab b/net/hping/patches/patch-ab
new file mode 100644
index 00000000000..2fae15ebd0b
--- /dev/null
+++ b/net/hping/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2002/04/04 20:56:39 agc Exp $
+
+hping needs to run as root, even for -v. For non-root builds, comment this part out.
+
+--- Makefile.in 2002/04/04 20:54:28 1.1
++++ Makefile.in 2002/04/04 20:54:42
+@@ -35,7 +35,7 @@
+ hping2: byteorder.h $(OBJ)
+ $(CC) -o hping2 $(CCOPT) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@
+ @echo
+- ./hping2 -v
++ #./hping2 -v
+ @echo "use \`make strip' to strip hping2 binary"
+ @echo "use \`make install' to install hping2"
+