diff options
author | minskim <minskim@pkgsrc.org> | 2005-10-29 01:05:17 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-10-29 01:05:17 +0000 |
commit | 4d8d10d5163f73ef64d9fa56b689dc7801690ad6 (patch) | |
tree | 68688fd1899a654eeaa1edf099fc7ce68e39ac8f /net | |
parent | cbfc06282730658f5a5e5c488c5ed04493d1c247 (diff) | |
download | pkgsrc-4d8d10d5163f73ef64d9fa56b689dc7801690ad6.tar.gz |
Import chksniff from pkgsrc-wip. Packaged by Douwe Kiela.
Chksniff is a small tool to check in what mode network interfaces are
running. If they are running in promiscuous mode (which generally
means an interface is sniffed) this gets displayed by chksniff.
Diffstat (limited to 'net')
-rw-r--r-- | net/chksniff/DESCR | 3 | ||||
-rw-r--r-- | net/chksniff/Makefile | 14 | ||||
-rw-r--r-- | net/chksniff/PLIST | 2 | ||||
-rw-r--r-- | net/chksniff/distinfo | 6 | ||||
-rw-r--r-- | net/chksniff/patches/patch-aa | 19 |
5 files changed, 44 insertions, 0 deletions
diff --git a/net/chksniff/DESCR b/net/chksniff/DESCR new file mode 100644 index 00000000000..dcfec8e19a3 --- /dev/null +++ b/net/chksniff/DESCR @@ -0,0 +1,3 @@ +Chksniff is a small tool to check in what mode network interfaces are +running. If they are running in promiscuous mode (which generally +means an interface is sniffed) this gets displayed by chksniff. diff --git a/net/chksniff/Makefile b/net/chksniff/Makefile new file mode 100644 index 00000000000..ecba99e5960 --- /dev/null +++ b/net/chksniff/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $ +# + +DISTNAME= chksniff-0.2 +CATEGORIES= net security +MASTER_SITES= http://virtus.ath.cx/chksniff/ + +MAINTAINER= virtus@wanadoo.nl +HOMEPAGE= http://virtus.ath.cx/chksniff/ +COMMENT= Small tool to check for promiscuous interfaces + +GNU_CONFIGURE= YES + +.include "../../mk/bsd.pkg.mk" diff --git a/net/chksniff/PLIST b/net/chksniff/PLIST new file mode 100644 index 00000000000..14b7582d8a7 --- /dev/null +++ b/net/chksniff/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $ +bin/chksniff diff --git a/net/chksniff/distinfo b/net/chksniff/distinfo new file mode 100644 index 00000000000..99da7a8256f --- /dev/null +++ b/net/chksniff/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $ + +SHA1 (chksniff-0.2.tar.gz) = 008a63e429dc0c12c0ba760e6476623ca99ad85a +RMD160 (chksniff-0.2.tar.gz) = ad7475a9c8acc5d527e2abe28b352c1375c6bb11 +Size (chksniff-0.2.tar.gz) = 28419 bytes +SHA1 (patch-aa) = a91144e2178475c2424ce84dbdae4c7e7faacff0 diff --git a/net/chksniff/patches/patch-aa b/net/chksniff/patches/patch-aa new file mode 100644 index 00000000000..3134acfd7f0 --- /dev/null +++ b/net/chksniff/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/10/29 01:05:17 minskim Exp $ + +--- src/Makefile.in.orig 2003-04-06 13:22:35.000000000 -0700 ++++ src/Makefile.in +@@ -1,4 +1,4 @@ +-CC=gcc ++CC=@CC@ + CFLAGS=@CFLAGS@ + INC=-I../include + INSDIR=@prefix@/bin +@@ -12,7 +12,7 @@ chksniff.o: chksniff.c + $(CC) $(CFLAGS) $(INC) -c chksniff.c + + install: +- cp chksniff $(INSDIR) ++ $(BSD_INSTALL_PROGRAM) chksniff $(INSDIR) + + uninstall: + rm $(INSDIR)/chksniff |