ports/50521: New port: net/remarp

Michael L.Hostbaek mich at freebsdcluster.org
Tue Apr 1 13:20:14 UTC 2003


>Number:         50521
>Category:       ports
>Synopsis:       New port: net/remarp
>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:   Tue Apr 01 05:20:11 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Michael L. Hostbaek
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
FreeBSDCluster.org
>Environment:
System: FreeBSD extranet.itxmarket.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Oct 11 17:00:45 CEST 2002 root at extranet.itxmarket.com:/usr/obj/usr/src/sys/EXTRANET1 i386

>Description:
	- New port
	- Remote Arpwatch collects ARP tables from remote devices using SNMP and 
	  checks them  for changes. It is very useful for detecting  problems and 
	  malicious users in networks  with routers that don't support static 
	  ARP tables.
>How-To-Repeat:
>Fix:

	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	remarp
#	remarp/Makefile
#	remarp/distinfo
#	remarp/pkg-descr
#	remarp/pkg-plist
#
echo c - remarp
mkdir -p remarp > /dev/null 2>&1
echo x - remarp/Makefile
sed 's/^X//' >remarp/Makefile << 'END-of-remarp/Makefile'
X# New ports collection makefile for:   remarp
X# Date created:        Tue Apr 1 14:02:35 GMT 2003
X# Whom:                mich at freebsdcluster.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	remarp
XPORTVERSION=	0.04
XCATEGORIES=	net
XMASTER_SITES=	http://www.raccoon.kiev.ua/projects/remarp/
X
XMAINTAINER=	mich at freebsdcluster.org
XCOMMENT=	An SNMP-based ARP watcher
X
XRUN_DEPENDS=	${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
X		${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP
X
XUSE_REINPLACE=	YES
XUSE_PERL5=	YES
XNO_BUILD=	YES
X
XREMARP_SPOOL=	/var/spool/remarp
X
Xpre-patch:
X	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|; \
X	s|use lib "\$$Bin/../lib";||' ${WRKSRC}/sbin/remarp.pl
X	@${REINPLACE_CMD} -e 's|\$$Bin/../etc/remarp.conf|${PREFIX}/etc/remarp.conf|; \
X	s|\$$Bin/../var/run/remarp.pid|/var/run/remarp.pid|; \
X	s|\$$Bin/../var/spool|${REMARP_SPOOL}|; \
X	s|use lib "\$$Bin/../lib";||' ${WRKSRC}/lib/remarp/configure.pm
X
Xdo-install:
X	${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/remarp
X	${MKDIR} ${REMARP_SPOOL}
X	${INSTALL_DATA} ${WRKSRC}/etc/remarp.conf ${PREFIX}/etc/remarp.conf.sample
X	${INSTALL_DATA} ${WRKSRC}/lib/remarp/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/remarp
X	${INSTALL_SCRIPT} ${WRKSRC}/sbin/remarp.pl ${PREFIX}/sbin/remarp
X
Xpost-install:
X.if !defined(BATCH)
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "###############################################################################"
X	@${ECHO_MSG} "# Please create a remarp config file in ${PREFIX}/etc/                        #"
X	@${ECHO_MSG} "# A sample configuration file is installed as remarp.conf.sample              #"
X	@${ECHO_MSG} "###############################################################################"
X	@${ECHO_MSG}
X.endif
X
X.include <bsd.port.mk>
END-of-remarp/Makefile
echo x - remarp/distinfo
sed 's/^X//' >remarp/distinfo << 'END-of-remarp/distinfo'
XMD5 (remarp-0.04.tar.gz) = 26646fde963b7de98c3d43e3901e22d7
END-of-remarp/distinfo
echo x - remarp/pkg-descr
sed 's/^X//' >remarp/pkg-descr << 'END-of-remarp/pkg-descr'
XRemote Arpwatch collects ARP tables from  remote devices using SNMP and 
Xchecks them  for changes. It is very useful for detecting  problems and 
Xmalicious users in networks  with routers that don't support static 
XARP tables.  
X
XWWW:	http://www.raccoon.kiev.ua/projects/remarp/
XAUTHOR:	melnik <melnik at raccoon.kiev.ua>
X	
X- Michael L. Hostbaek
X   mich at freebsdcluster.org
END-of-remarp/pkg-descr
echo x - remarp/pkg-plist
sed 's/^X//' >remarp/pkg-plist << 'END-of-remarp/pkg-plist'
Xsbin/remarp
Xetc/remarp.conf.sample
Xlib/perl5/site_perl/%%PERL_VER%%/remarp/config.pm
Xlib/perl5/site_perl/%%PERL_VER%%/remarp/configure.pm
X at dirrm lib/perl5/site_perl/%%PERL_VER%%/remarp
END-of-remarp/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list