ports/127940: update port: port: security/ipguard - Tool designed to protect LAN IP adress space by ARP spoofing
SeaD
sead at deep.perm.ru
Wed Oct 8 11:10:03 UTC 2008
>Number: 127940
>Category: ports
>Synopsis: update port: port: security/ipguard - Tool designed to protect LAN IP adress space by ARP spoofing
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Oct 08 11:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: SeaD
>Release: FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD sung.elecom-nt.ru 6.3-RELEASE FreeBSD 6.3-RELEASE #2: Mon Jul 7 16:32:57 YEKST 2008 sead at sung.elecom-nt.ru:/usr/obj/usr/src/sys/KSUNG i386
>Description:
fix updated port 0.04 - 1.00
Removed files:
security/ipguard/files/pkg-message.in
security/ipguard/files
>How-To-Repeat:
>Fix:
>
diff -ruN ipguard.orig/Makefile ipguard/Makefile
--- ipguard.orig/Makefile 2008-10-05 16:19:53.000000000 +0600
+++ ipguard/Makefile 2008-10-08 13:32:19.000000000 +0600
@@ -1,43 +1,32 @@
-# New ports collection makefile for: ipguard
-# Date created: 2 Sep 2005
+# Ports collection makefile for: ipguard
+# Date created: 6 Oct 2008
# Whom: SeaD
#
-# $FreeBSD: ports/security/ipguard/Makefile,v 1.5 2008/10/05 10:19:53 miwi Exp $
+# $FreeBSD$
#
PORTNAME= ipguard
PORTVERSION= 1.00
CATEGORIES= security net
-MASTER_SITES= http://ipguard.deep.perm.ru/files/
+MASTER_SITES= http://ipguard.deep.perm.ru/files/ \
+ http://deep.perm.ru/files/ipguard/
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= sead at deep.perm.ru
COMMENT= Tool designed to protect LAN IP adress space by ARP spoofing
-BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
+BUILD_DEPENDS= ${LOCALBASE}/lib/libnet11/libnet.a:${PORTSDIR}/net/libnet
MAN8= ipguard.8
-
-ETHERS?= /etc/ethers
-
-MAKE_ARGS+= ETHERS=${ETHERS}
-
-SUB_FILES= pkg-message
-SUB_LIST= ETHERS=${ETHERS}
-
-LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
-
-post-patch:
- @${REINPLACE_CMD} -Ee \
- 's|libnet-config|${LIBNET_CONFIG}|; \
- s|^(INCLUDES=).*|\1`${LIBNET_CONFIG} --cflags`|' \
- ${WRKSRC}/${MAKEFILE}
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ipguard ${PREFIX}/sbin
- ${INSTALL_MAN} ${WRKSRC}/doc/ipguard.8 ${MANPREFIX}/man/man8
- ${INSTALL_SCRIPT} ${WRKSRC}/doc/ipguard.sh.sample ${PREFIX}/etc/rc.d
+DOCS= COPYRIGHT NEWS README README.tcpdump README.log ipguard.8 \
+ ethers.sample ipguard.sh.sample ipguard.rcng.sample rfc826.txt
post-install:
- @${CAT} ${PKGMESSAGE}
+ @${INSTALL_SCRIPT} ${WRKSRC}/doc/ipguard.rcng.sample ${PREFIX}/etc/rc.d/ipguard.rcng.sample
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff -ruN ipguard.orig/distinfo ipguard/distinfo
--- ipguard.orig/distinfo 2008-10-05 16:19:53.000000000 +0600
+++ ipguard/distinfo 2008-10-08 13:32:19.000000000 +0600
@@ -1,3 +1,3 @@
-MD5 (ipguard-1.00.tar.gz) = 3b8e99994a283c549e2e7f452ef38fd7
-SHA256 (ipguard-1.00.tar.gz) = fb9d7f34a9c83976a1186f6fd33b04e31462beee7550c95001132aef3d08322e
-SIZE (ipguard-1.00.tar.gz) = 25095
+MD5 (ipguard-1.00.tar.gz) = e01642d590a3e34991100e179732a686
+SHA256 (ipguard-1.00.tar.gz) = 39ba935b664a4ac222f49cfc1e82084059fb29063ce7f41d58be80eed0d35b3f
+SIZE (ipguard-1.00.tar.gz) = 25484
diff -ruN ipguard.orig/files/pkg-message.in ipguard/files/pkg-message.in
--- ipguard.orig/files/pkg-message.in 2005-09-04 00:51:19.000000000 +0600
+++ ipguard/files/pkg-message.in 1970-01-01 05:00:00.000000000 +0500
@@ -1,8 +0,0 @@
-
-===> INSTALL NOTES:
- Now create %%ETHERS%% file
- (see ethers(5))
- and then start ipguard:
- (cd %%PREFIX%%/etc/rc.d
- mv ipguard.sh.sample ipguard.sh
- %%PREFIX%%/etc/rc.d/ipguard.sh start)
diff -ruN ipguard.orig/pkg-descr ipguard/pkg-descr
--- ipguard.orig/pkg-descr 2005-09-04 00:51:19.000000000 +0600
+++ ipguard/pkg-descr 2008-10-08 13:32:19.000000000 +0600
@@ -1,8 +1,8 @@
-ipguard listens network for ARP packets. All permitted MAC/IP pairs
-listed in 'ethers' file. If it recieves one with MAC/IP pair, which is
+ipguard listens network for ARP packets. All permitted MAC-IP pairs
+listed in 'ethers' file. If it recieves one with MAC-IP pair, which is
not listed in 'ethers' file, it will send ARP reply with configured
-fake address. This will prevent not permitted host to work properly
-in this ethernet segment. Especially Windows(TM) hosts.
+fake address. This will prevent not permitted host to work properly in
+local ethernet segment.
-Author SeaD <sead at mail.ru>
+Author SeaD <sead at deep.perm.ru>
WWW: http://ipguard.deep.perm.ru/
diff -ruN ipguard.orig/pkg-plist ipguard/pkg-plist
--- ipguard.orig/pkg-plist 2005-09-04 00:51:19.000000000 +0600
+++ ipguard/pkg-plist 2008-10-08 13:32:20.000000000 +0600
@@ -1,2 +1,13 @@
sbin/ipguard
-etc/rc.d/ipguard.sh.sample
+etc/rc.d/ipguard.rcng.sample
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.tcpdump
+%%PORTDOCS%%%%DOCSDIR%%/README.log
+%%PORTDOCS%%%%DOCSDIR%%/ethers.sample
+%%PORTDOCS%%%%DOCSDIR%%/ipguard.8
+%%PORTDOCS%%%%DOCSDIR%%/ipguard.rcng.sample
+%%PORTDOCS%%%%DOCSDIR%%/ipguard.sh.sample
+%%PORTDOCS%%%%DOCSDIR%%/rfc826.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list