From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 31 00:50:03 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87D0E1065679 for ; Mon, 31 Aug 2009 00:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA308FC17 for ; Mon, 31 Aug 2009 00:50:03 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7V0o3uJ099637 for ; Mon, 31 Aug 2009 00:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7V0o36r099636; Mon, 31 Aug 2009 00:50:03 GMT (envelope-from gnats) Resent-Date: Mon, 31 Aug 2009 00:50:03 GMT Resent-Message-Id: <200908310050.n7V0o36r099636@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sylvio Cesar Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99F71106566B for ; Mon, 31 Aug 2009 00:49:04 +0000 (UTC) (envelope-from scjamorim@bsd.com.br) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 5B9388FC15 for ; Mon, 31 Aug 2009 00:49:04 +0000 (UTC) Received: by ywh29 with SMTP id 29so5137613ywh.33 for ; Sun, 30 Aug 2009 17:49:03 -0700 (PDT) Received: by 10.90.245.3 with SMTP id s3mr3530071agh.43.1251679743319; Sun, 30 Aug 2009 17:49:03 -0700 (PDT) Received: from fbsd72.scjamorim.org (201.22.150.68.dynamic.adsl.gvt.net.br [201.22.150.68]) by mx.google.com with ESMTPS id 38sm2108385aga.39.2009.08.30.17.49.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Aug 2009 17:49:02 -0700 (PDT) Received: by fbsd72.scjamorim.org (Postfix, from userid 0) id 081A522A742; Sun, 30 Aug 2009 21:45:59 -0300 (BRT) Message-Id: <20090831004600.081A522A742@fbsd72.scjamorim.org> Date: Sun, 30 Aug 2009 21:45:59 -0300 (BRT) From: Sylvio Cesar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: shalunov@shlang.com Subject: ports/138366: [PATCH] benchmarks/thrulay: update to 0.9 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2009 00:50:03 -0000 >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@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@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 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 +@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: