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.

PR:		50521
Approved by:	roberto(mentor)
This commit is contained in:
Michael Landin 2003-05-15 11:31:35 +00:00
parent 2e13f3ca39
commit 5bb93b8d49
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81024
9 changed files with 133 additions and 0 deletions

50
net-mgmt/remarp/Makefile Normal file
View File

@ -0,0 +1,50 @@
# New ports collection makefile for: remarp
# Date created: Tue Apr 1 14:02:35 GMT 2003
# Whom: mich@freebsdcluster.org
#
# $FreeBSD$
#
PORTNAME= remarp
PORTVERSION= 0.05
CATEGORIES= net
MASTER_SITES= http://www.raccoon.kiev.ua/projects/remarp/
MAINTAINER= mich@freebsdcluster.org
COMMENT= An SNMP-based ARP watcher
RUN_DEPENDS= ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP
USE_REINPLACE= YES
USE_PERL5= YES
NO_BUILD= YES
REMARP_SPOOL= /var/spool/remarp
pre-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|; \
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/sbin/remarp.pl
@${REINPLACE_CMD} -e 's|\$$Bin/../etc/remarp.conf|${PREFIX}/etc/remarp.conf|; \
s|\$$Bin/../var/run/remarp.pid|/var/run/remarp.pid|; \
s|\$$Bin/../var/spool|${REMARP_SPOOL}|; \
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/lib/remarp/configure.pm
do-install:
${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/remarp
${MKDIR} ${REMARP_SPOOL}
${INSTALL_DATA} ${WRKSRC}/etc/remarp.conf ${PREFIX}/etc/remarp.conf.sample
${INSTALL_DATA} ${WRKSRC}/lib/remarp/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/remarp
${INSTALL_SCRIPT} ${WRKSRC}/sbin/remarp.pl ${PREFIX}/sbin/remarp
post-install:
.if !defined(BATCH)
@${ECHO_MSG} ""
@${ECHO_MSG} "###############################################################################"
@${ECHO_MSG} "# Please create a remarp config file in ${PREFIX}/etc/ #"
@${ECHO_MSG} "# A sample configuration file is installed as remarp.conf.sample #"
@${ECHO_MSG} "###############################################################################"
@${ECHO_MSG}
.endif
.include <bsd.port.mk>

1
net-mgmt/remarp/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (remarp-0.05.tar.gz) = b54723dcc163d7c9abb7ca4362017247

10
net-mgmt/remarp/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
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.
WWW: http://www.raccoon.kiev.ua/projects/remarp/
AUTHOR: melnik <melnik@raccoon.kiev.ua>
- Michael L. Hostbaek
mich@freebsdcluster.org

View File

@ -0,0 +1,5 @@
sbin/remarp
etc/remarp.conf.sample
lib/perl5/site_perl/%%PERL_VER%%/remarp/config.pm
lib/perl5/site_perl/%%PERL_VER%%/remarp/configure.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/remarp

View File

@ -559,6 +559,7 @@
SUBDIR += rdist6
SUBDIR += redir
SUBDIR += relay
SUBDIR += remarp
SUBDIR += rfbproxy
SUBDIR += rinetd
SUBDIR += ripetools

50
net/remarp/Makefile Normal file
View File

@ -0,0 +1,50 @@
# New ports collection makefile for: remarp
# Date created: Tue Apr 1 14:02:35 GMT 2003
# Whom: mich@freebsdcluster.org
#
# $FreeBSD$
#
PORTNAME= remarp
PORTVERSION= 0.05
CATEGORIES= net
MASTER_SITES= http://www.raccoon.kiev.ua/projects/remarp/
MAINTAINER= mich@freebsdcluster.org
COMMENT= An SNMP-based ARP watcher
RUN_DEPENDS= ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP
USE_REINPLACE= YES
USE_PERL5= YES
NO_BUILD= YES
REMARP_SPOOL= /var/spool/remarp
pre-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|; \
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/sbin/remarp.pl
@${REINPLACE_CMD} -e 's|\$$Bin/../etc/remarp.conf|${PREFIX}/etc/remarp.conf|; \
s|\$$Bin/../var/run/remarp.pid|/var/run/remarp.pid|; \
s|\$$Bin/../var/spool|${REMARP_SPOOL}|; \
s|use lib "\$$Bin/../lib";||' ${WRKSRC}/lib/remarp/configure.pm
do-install:
${MKDIR} ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/remarp
${MKDIR} ${REMARP_SPOOL}
${INSTALL_DATA} ${WRKSRC}/etc/remarp.conf ${PREFIX}/etc/remarp.conf.sample
${INSTALL_DATA} ${WRKSRC}/lib/remarp/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/remarp
${INSTALL_SCRIPT} ${WRKSRC}/sbin/remarp.pl ${PREFIX}/sbin/remarp
post-install:
.if !defined(BATCH)
@${ECHO_MSG} ""
@${ECHO_MSG} "###############################################################################"
@${ECHO_MSG} "# Please create a remarp config file in ${PREFIX}/etc/ #"
@${ECHO_MSG} "# A sample configuration file is installed as remarp.conf.sample #"
@${ECHO_MSG} "###############################################################################"
@${ECHO_MSG}
.endif
.include <bsd.port.mk>

1
net/remarp/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (remarp-0.05.tar.gz) = b54723dcc163d7c9abb7ca4362017247

10
net/remarp/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
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.
WWW: http://www.raccoon.kiev.ua/projects/remarp/
AUTHOR: melnik <melnik@raccoon.kiev.ua>
- Michael L. Hostbaek
mich@freebsdcluster.org

5
net/remarp/pkg-plist Normal file
View File

@ -0,0 +1,5 @@
sbin/remarp
etc/remarp.conf.sample
lib/perl5/site_perl/%%PERL_VER%%/remarp/config.pm
lib/perl5/site_perl/%%PERL_VER%%/remarp/configure.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/remarp