# 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@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@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 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 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@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP X@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