diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile new file mode 100644 index 00000000000..e8c174c9675 --- /dev/null +++ b/security/ipguard/Makefile @@ -0,0 +1,25 @@ +# $OpenBSD + +COMMENT = protect LAN IP adress space by ARP spoofing + +DISTNAME = ipguard-1.00 +CATEGORIES = security + +HOMEPAGE = http://ipguard.deep.perm.ru/ +MASTER_SITES = ${HOMEPAGE}files/ + +MAINTAINER = Girish Venkatachalam + +# BSD-like +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +WANTLIB = c pcap + +LIB_DEPENDS = lib/libnet-1.1/net.=11:libnet-1.1*:net/libnet/1.1 + +NO_REGRESS = Yes + +.include diff --git a/security/ipguard/distinfo b/security/ipguard/distinfo new file mode 100644 index 00000000000..cbb0e997bf0 --- /dev/null +++ b/security/ipguard/distinfo @@ -0,0 +1,5 @@ +MD5 (ipguard-1.00.tar.gz) = 4BZC1ZCj40mREA4XlzKmhg== +RMD160 (ipguard-1.00.tar.gz) = h3qHaZ8uYdraUORjvIw+EExUH2Q= +SHA1 (ipguard-1.00.tar.gz) = HHuVxpDEJQnjM/co0o94qdTgLKc= +SHA256 (ipguard-1.00.tar.gz) = ObqTW2ZKSsIi9Jz8HoIIQFn7KQY85/QdWL6A7tDTWz8= +SIZE (ipguard-1.00.tar.gz) = 25484 diff --git a/security/ipguard/patches/patch-Makefile b/security/ipguard/patches/patch-Makefile new file mode 100644 index 00000000000..f1073944013 --- /dev/null +++ b/security/ipguard/patches/patch-Makefile @@ -0,0 +1,20 @@ +$OpenBSD: patch-Makefile,v 1.1.1.1 2008/10/30 19:34:24 sthen Exp $ +--- Makefile.orig Thu Oct 30 12:09:30 2008 ++++ Makefile Thu Oct 30 12:09:47 2008 +@@ -10,12 +10,12 @@ NAME=ipguard + VERSION=1.00 + + ## FreeBSD +-LOCALBASE=/usr/local +-LIBNET_CONFIG=libnet11-config ++#LOCALBASE=/usr/local ++#LIBNET_CONFIG=libnet11-config + + ## OpenBSD (tested by irix) +-# LOCALBASE=/usr/local +-# LIBNET_CONFIG=libnet-config-1.1 ++LOCALBASE=/usr/local ++LIBNET_CONFIG=libnet-config-1.1 + + ## Linux + # LOCALBASE=/usr diff --git a/security/ipguard/pkg/DESCR b/security/ipguard/pkg/DESCR new file mode 100644 index 00000000000..4deb3e738d4 --- /dev/null +++ b/security/ipguard/pkg/DESCR @@ -0,0 +1,3 @@ +ipguard prevents unregistered hosts from operating correctly on an +ethernet segment by sending a fake ARP reply when a device transmits +with a MAC/IP pair not listed in its configuration file. diff --git a/security/ipguard/pkg/PLIST b/security/ipguard/pkg/PLIST new file mode 100644 index 00000000000..7d7316a4ef9 --- /dev/null +++ b/security/ipguard/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/10/30 19:34:24 sthen Exp $ +@newgroup _ipguard:560 +@newuser _ipguard:610:610:daemon:IPguard User:/var/empty:/sbin/nologin +@man man/man8/ipguard.8 +@bin sbin/ipguard