summaryrefslogtreecommitdiff
path: root/net/hping/Makefile
diff options
context:
space:
mode:
authoratatat <atatat@pkgsrc.org>2002-04-04 17:02:30 +0000
committeratatat <atatat@pkgsrc.org>2002-04-04 17:02:30 +0000
commit0fc5d6b01c1b853df6e8fe699b6f270cd4d6c866 (patch)
treefbe13b4313967b393bfb0d7617d154ade2ba22af /net/hping/Makefile
parent97bd97796e4657412b02aa8f53c7bef0adbd4fc6 (diff)
downloadpkgsrc-0fc5d6b01c1b853df6e8fe699b6f270cd4d6c866.tar.gz
Add a pkg for hping (aka hping2). Sort of an amalgam of ping,
traceroute, and nmap, hping can be used to traceroute through packet filtering routers. Among other things.
Diffstat (limited to 'net/hping/Makefile')
-rw-r--r--net/hping/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/hping/Makefile b/net/hping/Makefile
new file mode 100644
index 00000000000..0f148c47aae
--- /dev/null
+++ b/net/hping/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/04 17:02:30 atatat Exp $
+#
+
+DISTNAME= hping2.0.0-rc1
+PKGNAME= hping-2.0.0.1
+WRKSRC= ${WRKDIR}/hping2
+CATEGORIES= net
+MASTER_SITES= http://www.hping.org/
+
+MAINTAINER= atatat@netbsd.org
+HOMEPAGE= http://www.hping.org/
+COMMENT= Traceroute and ping using TCP and UDP as well as ICMP
+
+HAS_CONFIGURE= YES
+MANPATH= ${PREFIX}/man
+CONFIGURE_ENV+= MANPATH="${MANPATH}"
+NOT_FOR_PLATFORM= NetBSD-0.* NetBSD-1.[0-4]*
+
+BINMODE= 4755
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/hping2 ${PREFIX}/sbin
+ ${LN} -s ../sbin/hping2 ${PREFIX}/sbin/hping
+ ${INSTALL_MAN} ${WRKSRC}/docs/hping2.8 ${PREFIX}/man/man8
+ ${LN} -s ../../man/man8/hping2.8 ${PREFIX}/man/man8/hping.8
+
+.include "../../mk/bsd.pkg.mk"