ports/68730: Maintainer update: net/beacon to version 0.9.55
Janos Mohacsi
mohacsi at niif.hu
Tue Jul 6 16:20:17 UTC 2004
>Number: 68730
>Category: ports
>Synopsis: Maintainer update: net/beacon to version 0.9.55
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 06 16:20:13 GMT 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 #11: Mon May 10 11:29:11 CEST 2004 root at norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386
>Description:
maintainer update: net/beacon to version 0.9.55
changes: support for RTT and jitter
bugfixes
>How-To-Repeat:
Apply this diff.
>Fix:
diff -ruN beacon.bak/Makefile beacon/Makefile
--- beacon.bak/Makefile Thu Mar 4 18:38:41 2004
+++ beacon/Makefile Tue Jul 6 17:36:14 2004
@@ -6,10 +6,9 @@
#
PORTNAME= beacon
-PORTVERSION= 0.9.06
-PORTREVISION= 1
+PORTVERSION= 0.9.55
CATEGORIES= net perl5 mbone ipv6
-MASTER_SITES= http://dast.nlanr.net/Projects/Beacon/Releases/
+MASTER_SITES= http://dast.nlanr.net/Projects/Beacon/releases/
MAINTAINER= janos.mohacsi at bsd.hu
COMMENT= Beacon active measurement tool to monitor multicast
@@ -19,6 +18,9 @@
WWW_DIR?= ${PREFIX}/www/
PLIST_SUB+= VERSION=${PORTVERSION}
+USE_PERL5= yes
+USE_AUTOCONF_VER= 259
+CONFIGURE_ARGS= --enable-ipv6 --bindir=${WWW_DIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
@@ -26,30 +28,13 @@
IGNORE= Port requires perl 5.6.1 or later. Install lang/perl5 then try again
.endif
-do-build:
- #Build unreleased NET::RTP perl module
- cd ${WRKSRC}/Net-RTP-0.4/ ; \
- ./configure --enable-ipv6 ; \
- ${PERL} Makefile.PL ; \
- make
-
-do-install:
- #Install unreleased NET::RTP perl module
- cd ${WRKSRC}/Net-RTP-0.4/ ; \
- make install
- #Install the Beacon itself
- ${MKDIR} ${WWW_DIR}/${PORTNAME}-${PORTVERSION}
- ${INSTALL_SCRIPT} ${WRKSRC}/beacon.pl ${WWW_DIR}/${PORTNAME}-${PORTVERSION}
- ${INSTALL_DATA} ${WRKSRC}/beacon.conf ${PREFIX}/etc/beacon.conf.sample
- @${ECHO} ""
+post-install:
@${ECHO} "Sample config installed at \
- ${PREFIX}/etc/beacon.conf.sample"
+ ${PREFIX}/etc/beacon.conf.sample"
@${ECHO} "Copy the customised version to ${PREFIX}/etc/beacon.conf"
-
.ifndef(NOPORTDOCS)
-post-install:
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff -ruN beacon.bak/distinfo beacon/distinfo
--- beacon.bak/distinfo Sat Feb 28 21:39:16 2004
+++ beacon/distinfo Tue Jul 6 15:30:27 2004
@@ -1,2 +1,2 @@
-MD5 (beacon-0.9.06.tar.gz) = a0a845fb352eb4caa00ed8b4b9cc65ca
-SIZE (beacon-0.9.06.tar.gz) = 436777
+MD5 (beacon-0.9.55.tar.gz) = edc9876c2ca094e12a773e9bef930a86
+SIZE (beacon-0.9.55.tar.gz) = 240630
diff -ruN beacon.bak/files/patch-Net-RTP-0.4::inet_ntop.h beacon/files/patch-Net-RTP-0.4::inet_ntop.h
--- beacon.bak/files/patch-Net-RTP-0.4::inet_ntop.h Mon Mar 8 10:19:18 2004
+++ beacon/files/patch-Net-RTP-0.4::inet_ntop.h Thu Jan 1 01:00:00 1970
@@ -1,14 +0,0 @@
---- Net-RTP-0.4/inet_ntop.h.orig Tue Mar 2 14:00:58 2004
-+++ Net-RTP-0.4/inet_ntop.h Tue Mar 2 14:02:27 2004
-@@ -3,7 +3,11 @@
- extern "C" {
- #endif
-
-+#if defined(__sparc64__) || defined(__amd64__) || defined(__alpha__) || defined(__ia64__)
-+const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
-+#else
- const char *inet_ntop(int af, const void *src, char *dst, size_t size);
-+#endif
-
- #if defined(__cplusplus)
- }
diff -ruN beacon.bak/files/patch-beacon.pl beacon/files/patch-beacon.pl
--- beacon.bak/files/patch-beacon.pl Sat Feb 28 21:39:16 2004
+++ beacon/files/patch-beacon.pl Thu Jan 1 01:00:00 1970
@@ -1,11 +0,0 @@
---- beacon.pl.orig Thu Feb 26 13:58:02 2004
-+++ beacon.pl Thu Feb 26 13:58:35 2004
-@@ -1849,7 +1849,7 @@
- die("Partial options specified -- You must give group, port, and ttl values - Triggered");
- } else { # Didn't specify any options at all -- Use default config file
- if (! defined $CONFIGFILE) { # They DIDN'T specify a config file on the command line
-- $CONFIGFILE = "beacon.conf"; # Default config file for Beacon -- Otherwise, use what they gave us
-+ $CONFIGFILE = "${PREFIX}/etc/beacon.conf"; # Default config file for Beacon -- Otherwise, use what they gave us
- }
- }
- }
diff -ruN beacon.bak/files/patch-src_Makefile.in beacon/files/patch-src_Makefile.in
--- beacon.bak/files/patch-src_Makefile.in Thu Jan 1 01:00:00 1970
+++ beacon/files/patch-src_Makefile.in Tue Jul 6 17:16:38 2004
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/Makefile.in.orig Tue Jun 8 03:09:48 2004
++++ src/Makefile.in Tue Jul 6 17:16:16 2004
+@@ -202,8 +202,8 @@
+ @list='$(dist_sysconf_DATA)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f="`echo $$p | sed -e 's|^.*/||'`"; \
+- echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
+- $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
++ echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f.sample'"; \
++ $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f.sample"; \
+ done
+
+ uninstall-dist_sysconfDATA:
diff -ruN beacon.bak/pkg-plist beacon/pkg-plist
--- beacon.bak/pkg-plist Sat Feb 28 21:39:16 2004
+++ beacon/pkg-plist Tue Jul 6 17:25:48 2004
@@ -1,12 +1,13 @@
-%%SITE_PERL%%/%%PERL_ARCH%%/Net/RTP.pm
-%%SITE_PERL%%/%%PERL_ARCH%%/Net/time.pl
-%%SITE_PERL%%/%%PERL_ARCH%%/Net/rtpdemo.pl
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP/.packlist
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP/RTP.bs
-%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP/RTP.so
- at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/RTP
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/Beacon/Beacon.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/Beacon/Beacon.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/Beacon/.packlist
+%%SITE_PERL%%/%%PERL_ARCH%%/Net/Multicast/Beacon.pm
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/Beacon
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/
+ at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/Multicast/
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
-www/beacon-%%VERSION%%/beacon.pl
+www/beacon-%%VERSION%%/beacon
etc/beacon.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list