ports/143252: [NEW PORT] net-mgmt/ramond: On-link IPv6 router advertisment monitoring and reporting daemon

Janos Mohacsi janos.mohacsi at bsd.hu
Tue Jan 26 10:00:16 UTC 2010


>Number:         143252
>Category:       ports
>Synopsis:       [NEW PORT] net-mgmt/ramond: On-link IPv6 router advertisment monitoring and reporting daemon
>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 Jan 26 10:00:15 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD csoki.ki.iif.hu 6.4-STABLE FreeBSD 6.4-STABLE #15: Thu Jan 14 18:08:55 CET 2010
>Description:
ramond monitors IPv6 networks for router advertisements. 
When an advert is received, a configurable action occurs.

The tool was designed to `clear' (by sending spoofed zero 
lifetime adverts) rogue-routes sent by users running 6to4 
gateways on a campus network. 

WWW: http://ramond.sourceforge.net

Janos Mohacsi <janos.mohacsi at bsd.hu>

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ramond-0.4.shar begins here ---
# 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:
#
#	ramond
#	ramond/pkg-plist
#	ramond/pkg-descr
#	ramond/distinfo
#	ramond/Makefile
#	ramond/files
#	ramond/files/patch-ramond.conf.example
#	ramond/files/ramon.in
#
echo c - ramond
mkdir -p ramond > /dev/null 2>&1
echo x - ramond/pkg-plist
sed 's/^X//' >ramond/pkg-plist << '49b06b3ffa01247968c7d290ed03e710'
Xsbin/ramond
X%%DATADIR%%/ramond.conf.dtd
X%%DATADIR%%/demo.pl
X at dirrmtry %%DATADIR%%
Xetc/ramond.conf.example
49b06b3ffa01247968c7d290ed03e710
echo x - ramond/pkg-descr
sed 's/^X//' >ramond/pkg-descr << 'e7a5491c09d8ed2ea1e6896f60bb6149'
Xramond monitors IPv6 networks for router advertisements. 
XWhen an advert is received, a configurable action occurs.
X
XThe tool was designed to `clear' (by sending spoofed zero 
Xlifetime adverts) rogue-routes sent by users running 6to4 
Xgateways on a campus network. 
X
XWWW: http://ramond.sourceforge.net
X
XJanos Mohacsi <janos.mohacsi at bsd.hu>
e7a5491c09d8ed2ea1e6896f60bb6149
echo x - ramond/distinfo
sed 's/^X//' >ramond/distinfo << '2d947f7ce8776a9fe5025442b7c66597'
XMD5 (ramond-0.4.tar.bz2) = 8bd66500685a10e028bbeb51781f1bc8
XSHA256 (ramond-0.4.tar.bz2) = ddef0f711864e985bf0b786773d8de403de975532a7efa92074e8f763ea8284e
XSIZE (ramond-0.4.tar.bz2) = 14143
2d947f7ce8776a9fe5025442b7c66597
echo x - ramond/Makefile
sed 's/^X//' >ramond/Makefile << '404fc81af8210d44e8a991b4ba57af80'
X# New ports collection makefile for:	ramond
X# Date created:				2010-01-25
X# Whom:					janos.mohacsi at bsd.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ramond
XPORTVERSION=	0.4
XCATEGORIES=	net-mgmt ipv6
XMASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/_${PORTVERSION}/
X
XMAINTAINER=	janos.mohacsi at bsd.hu
XCOMMENT=	On-link IPv6 router advertisment monitoring and reporting daemon
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XUSE_BZIP2=	YES
XUSE_GNOME=	libxml2
XUSE_RC_SUBR=	ramon
X
XPORTDOCS=	README
X
X.include <bsd.port.pre.mk>
X
XLIB_DEPENDS+=	apr-1.3:${PORTSDIR}/devel/apr
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/ramond ${PREFIX}/sbin
X	${MKDIR} ${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/*.dtd \
X		${DATADIR}
X	${INSTALL_SCRIPT} ${WRKSRC}/demo.pl \
X		${DATADIR}
X	${INSTALL_DATA} ${WRKSRC}/ramond.conf.example ${PREFIX}/etc/
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
404fc81af8210d44e8a991b4ba57af80
echo c - ramond/files
mkdir -p ramond/files > /dev/null 2>&1
echo x - ramond/files/patch-ramond.conf.example
sed 's/^X//' >ramond/files/patch-ramond.conf.example << '2759471d63d0289828dcb84a60b26d9d'
X
X$FreeBSD$
X
X--- ramond.conf.example.orig
X+++ ramond.conf.example
X@@ -1,5 +1,5 @@
X <?xml version="1.0" encoding="ISO-8859-15"?>
X-<!DOCTYPE ramond SYSTEM "ramond.conf.dtd">
X+<!DOCTYPE ramond SYSTEM "%%PREFIX%%/share/ramond/ramond.conf.dtd">
X <ramond>
X 
X 	<!-- 
X@@ -41,7 +41,7 @@
X   <rule mac="ecs-routers" lifetime="0">
X    <execute>/home/james/ramond/demo.pl native-router-killed</execute>
X   </rule>
X-  <rule mac="ecs-routers" prefix="2001:630:d0:f000::/52">
X+  <rule mac="ecs-routers" prefix="2001:db8:d0:f000::/52">
X    <!-- do nothing -->
X   </rule>
X 
2759471d63d0289828dcb84a60b26d9d
echo x - ramond/files/ramon.in
sed 's/^X//' >ramond/files/ramon.in << '6887a859835067c3b222ac68039522fc'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X# PROVIDE: ramon
X# REQUIRE: DAEMON NETWORKING
X#
X
X. %%RC_SUBR%%
X
Xname="ramon"
Xrcvar=`set_rcvar`
X
Xcommand="%%PREFIX%%/sbin/ramond"
Xrequired_files=%%PREFIX%%/etc/ramond.conf
X
Xload_rc_config $name
X
X: ${ramon_enable="NO"}
X
Xcommand_args="-c %%PREFIX%%/etc/ramond.conf"
X
Xrun_rc_command "$1"
6887a859835067c3b222ac68039522fc
exit
--- ramond-0.4.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list