ports/138366: [PATCH] benchmarks/thrulay: update to 0.9
Sylvio Cesar
scjamorim at bsd.com.br
Mon Aug 31 00:50:03 UTC 2009
>Number: 138366
>Category: ports
>Synopsis: [PATCH] benchmarks/thrulay: update to 0.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 31 00:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Sylvio Cesar
>Release: FreeBSD 7.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD fbsd72.scjamorim.org 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Mon Aug 3 22:10:47 BRT
>Description:
- Update to 0.9
- Changed script of startup to work in default of FreeBSD
- Changed MASTER_SITES
- Added PORTDOCS
- Added USE_LDCONFIG
- Changed pkg-plist
Added file(s):
- files/patch-configure
You can see log in mine tinderbox:
7-stable - i386
http://www.scjamorim.org/Home/thrulay-0.9.log
7-stable - amd64
http://www.scjamorim.org/Home/thrulay-0.9_amd64.log
Port maintainer (shalunov at shlang.com) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- thrulay-0.9.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/benchmarks/thrulay/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile 25 Jul 2008 14:34:11 -0000 1.3
+++ Makefile 31 Aug 2009 00:45:04 -0000
@@ -5,10 +5,9 @@
# $FreeBSD: ports/benchmarks/thrulay/Makefile,v 1.3 2008/07/25 14:34:11 pav Exp $
PORTNAME= thrulay
-PORTVERSION= 0.8
+PORTVERSION= 0.9
CATEGORIES= benchmarks net ipv6
-MASTER_SITES= http://unc.dl.sourceforge.net/sourceforge/thrulay/ \
- http://internap.dl.sourceforge.net/sourceforge/thrulay/ \
+MASTER_SITES= SF \
http://www.internet2.edu/~shalunov/thrulay/
MAINTAINER= shalunov at shlang.com
@@ -19,12 +18,24 @@
MANCOMPRESSED= no
HAS_CONFIGURE= yes
USE_GMAKE= yes
+USE_LDCONFIG= yes
+
+PORTDOCS= ChangeLog README thrulay-protocol.txt thrulay-index.html
post-install:
+ @${CP} ${WRKSRC}/doc/*.[ht]* ${WRKSRC}/
${INSTALL_SCRIPT} ${FILESDIR}/thrulayd.sh.sample ${PREFIX}/etc/rc.d/
@if [ ! -f ${PREFIX}/etc/rc.d/thrulayd.sh ]; then \
${CP} -p ${PREFIX}/etc/rc.d/thrulayd.sh.sample \
${PREFIX}/etc/rc.d/thrulayd.sh ; \
fi
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for docs in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
+.endif
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/benchmarks/thrulay/distinfo,v
retrieving revision 1.2
diff -u -u -r1.2 distinfo
--- distinfo 22 Jan 2006 08:20:07 -0000 1.2
+++ distinfo 31 Aug 2009 00:45:04 -0000
@@ -1,3 +1,3 @@
-MD5 (thrulay-0.8.tar.gz) = 725fb13344608a652e818bcd16fe9ef6
-SHA256 (thrulay-0.8.tar.gz) = f118a16fe95aac3a93d430f5adf6e20d9437b759617b7596077897c5c4bba8b7
-SIZE (thrulay-0.8.tar.gz) = 88881
+MD5 (thrulay-0.9.tar.gz) = e7ada3c0634d2aa688299a434161f5c8
+SHA256 (thrulay-0.9.tar.gz) = 373d5613dfe371f6b4f48fc853f6c27701b2981ba4100388c9881cb802d1780d
+SIZE (thrulay-0.9.tar.gz) = 370312
Index: pkg-message
===================================================================
RCS file: /home/ncvs/ports/benchmarks/thrulay/pkg-message,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-message
--- pkg-message 20 Oct 2005 19:32:15 -0000 1.1
+++ pkg-message 31 Aug 2009 00:45:04 -0000
@@ -1,4 +1,9 @@
-The package consists of a client (thrulay) and a daemon (thrulayd).
-The thrulay client is usable immediately. The thrulayd deamon needs to be
-started, which will happen automatically in the next boot cycle. You may
-also start it manually by entering thrulayd as root.
+**************************************************************************
+* *
+* The package consists of a client (thrulay) and a daemon (thrulayd). *
+* The thrulay client is usable immediately. *
+* *
+* To run thrulayd from startup, add thrulayd_enable="YES" *
+* in your /etc/rc.conf *
+* *
+**************************************************************************
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/benchmarks/thrulay/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist 20 Oct 2005 19:32:15 -0000 1.1
+++ pkg-plist 31 Aug 2009 00:45:04 -0000
@@ -1,5 +1,12 @@
bin/thrulay
sbin/thrulayd
+include/thrulay/client.h
+include/thrulay/server.h
+lib/libthrulay.a
+lib/libthrulay.la
+lib/libthrulay.so
+lib/libthrulay.so.0
@unexec if cmp -s %D/etc/rc.d/thrulayd.sh.sample %D/etc/rc.d/thrulayd.sh; then rm -f %D/etc/rc.d/thrulayd.sh; fi
etc/rc.d/thrulayd.sh.sample
@exec if [ ! -f %D/etc/rc.d/thrulayd.sh ] ; then cp -p %D/%F %B/thrulayd.sh; fi
+ at dirrm include/thrulay
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-configure 31 Aug 2009 00:45:04 -0000
@@ -0,0 +1,11 @@
+--- configure.orig 2007-02-01 07:47:36.000000000 -0200
++++ configure 2009-08-30 18:16:46.000000000 -0300
+@@ -919,7 +919,7 @@
+ psdir='${docdir}'
+ libdir='${exec_prefix}/lib'
+ localedir='${datarootdir}/locale'
+-mandir='${datarootdir}/man'
++mandir='/usr/local/man'
+
+ ac_prev=
+ ac_dashdash=
Index: files/thrulayd.sh.sample
===================================================================
RCS file: /home/ncvs/ports/benchmarks/thrulay/files/thrulayd.sh.sample,v
retrieving revision 1.1
diff -u -u -r1.1 thrulayd.sh.sample
--- files/thrulayd.sh.sample 20 Oct 2005 19:32:15 -0000 1.1
+++ files/thrulayd.sh.sample 31 Aug 2009 00:45:05 -0000
@@ -1,14 +1,21 @@
#!/bin/sh
-thrulayd=/usr/local/sbin/thrulayd
+# PROVIDE: thrulay
-case "$1" in
-start)
- [ -x $thrulayd ] && $thrulayd && echo -n ' thrulayd'
- ;;
-*)
- echo "Usage: `basename $0` {start}" >&2
- ;;
-esac
+# Add the following line to /etc/rc.conf to enable `thrulayd':
+#
+#thrulayd_enable="YES"
+#
-exit 0
+. /etc/rc.subr
+
+name="thrulayd"
+rcvar=`set_rcvar`
+
+# read settings, set default values
+load_rc_config "${name}"
+: ${thrulayd_enable="NO"}
+
+command="/usr/local/sbin/thrulayd"
+
+run_rc_command "$1"
--- thrulay-0.9.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list