ports/63440: New port: net/beacon version 0.9.06
Janos Mohacsi
mohacsi at niif.hu
Fri Feb 27 09:00:34 UTC 2004
>Number: 63440
>Category: ports
>Synopsis: New port: net/beacon version 0.9.06
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Feb 27 01:00:33 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
NIIF
>Environment:
System: FreeBSD norfolk.ki.iif.hu 5.2-CURRENT FreeBSD 5.2-CURRENT #7: Mon Feb 9 12:12:13 CET 2004 root at norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386
>Description:
New port: net/beacon version 0.9.06
The NLANR/DAST Multicast Beacon is a program written in Perl
which uses the RTP protocol to provide useful statistics and
diagnostic information about a given multicast group.
It is used in Internet2 AccessGrid project and EU FP5 6NET project.
Commiter, you can categorise this tool as a major mbone tool also.
>How-To-Repeat:
Apply this shar.
>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:
#
# beacon/
# beacon/Makefile
# beacon/distinfo
# beacon/pkg-descr
# beacon/pkg-plist
# beacon/files
# beacon/files/patch-beacon.pl
#
echo c - beacon/
mkdir -p beacon/ > /dev/null 2>&1
echo x - beacon/Makefile
sed 's/^X//' >beacon/Makefile << 'END-of-beacon/Makefile'
X# New ports collection makefile for: beacon
X# Date created: 26 February 2004
X# Whom: Janos.Mohacsi at bsd.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME= beacon
XPORTVERSION= 0.9.06
XCATEGORIES= net perl5 mbone ipv6
XMASTER_SITES= http://dast.nlanr.net/Projects/Beacon/Releases/
X
XMAINTAINER= janos.mohacsi at bsd.hu
XCOMMENT= Beacon active measurement tool to monitor multicast
X
XBUILD_DEPENDS= ${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XWWW_DIR?= ${PREFIX}/www/
XPLIST_SUB+= VERSION=${PORTVERSION}
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE= Port requires perl 5.6.1 or later. Install lang/perl5 then try again
X.endif
X
Xdo-build:
X #Build unreleased NET::RTP perl module
X cd ${WRKSRC}/Net-RTP-0.4/ ; \
X ./configure --enable-ipv6 ; \
X ${PERL} Makefile.PL ; \
X make
X
Xdo-install:
X #Install unreleased NET::RTP perl module
X cd ${WRKSRC}/Net-RTP-0.4/ ; \
X make install
X #Install the Beacon itself
X ${MKDIR} ${WWW_DIR}/${PORTNAME}-${PORTVERSION}
X ${INSTALL_SCRIPT} ${WRKSRC}/beacon.pl ${WWW_DIR}/${PORTNAME}-${PORTVERSION}
X ${INSTALL_DATA} ${WRKSRC}/beacon.conf ${PREFIX}/etc/beacon.conf.sample
X @${ECHO} ""
X @${ECHO} "Sample config installed at \
X ${PREFIX}/etc/beacon.conf.sample"
X @${ECHO} "Copy the customised version to ${PREFIX}/etc/beacon.conf"
X
X.ifndef(NOPORTDOCS)
Xpost-install:
X @${MKDIR} ${DOCSDIR}
X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-beacon/Makefile
echo x - beacon/distinfo
sed 's/^X//' >beacon/distinfo << 'END-of-beacon/distinfo'
XMD5 (beacon-0.9.06.tar.gz) = a0a845fb352eb4caa00ed8b4b9cc65ca
XSIZE (beacon-0.9.06.tar.gz) = 436777
END-of-beacon/distinfo
echo x - beacon/pkg-descr
sed 's/^X//' >beacon/pkg-descr << 'END-of-beacon/pkg-descr'
XThe NLANR/DAST Multicast Beacon is a program written in Perl which uses the
XRTP protocol to provide useful statistics and diagnostic information about
Xa given multicast group.
XThe Multicast Beacon can be used as a general-purpose active multicast
Xmeasurement tool.
X
XWWW: http://dast.nlanr.net/Projects/Beacon/
END-of-beacon/pkg-descr
echo x - beacon/pkg-plist
sed 's/^X//' >beacon/pkg-plist << 'END-of-beacon/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/Net/RTP.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/Net/time.pl
X%%SITE_PERL%%/%%PERL_ARCH%%/Net/rtpdemo.pl
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP/RTP.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP/RTP.so
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
Xwww/beacon-%%VERSION%%/beacon.pl
Xetc/beacon.conf.sample
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-beacon/pkg-plist
echo c - beacon/files
mkdir -p beacon/files > /dev/null 2>&1
echo x - beacon/files/patch-beacon.pl
sed 's/^X//' >beacon/files/patch-beacon.pl << 'END-of-beacon/files/patch-beacon.pl'
X--- beacon.pl.orig Thu Feb 26 13:58:02 2004
X+++ beacon.pl Thu Feb 26 13:58:35 2004
X@@ -1849,7 +1849,7 @@
X die("Partial options specified -- You must give group, port, and ttl values - Triggered");
X } else { # Didn't specify any options at all -- Use default config file
X if (! defined $CONFIGFILE) { # They DIDN'T specify a config file on the command line
X- $CONFIGFILE = "beacon.conf"; # Default config file for Beacon -- Otherwise, use what they gave us
X+ $CONFIGFILE = "/usr/local/etc/beacon.conf"; # Default config file for Beacon -- Otherwise, use what they gave us
X }
X }
X }
END-of-beacon/files/patch-beacon.pl
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list