View | Details | Raw Unified | Return to bug 138366 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-3 / +14 lines)
Lines 5-14 Link Here
5
# $FreeBSD: ports/benchmarks/thrulay/Makefile,v 1.3 2008/07/25 14:34:11 pav Exp $
5
# $FreeBSD: ports/benchmarks/thrulay/Makefile,v 1.3 2008/07/25 14:34:11 pav Exp $
6
6
7
PORTNAME=	thrulay
7
PORTNAME=	thrulay
8
PORTVERSION=	0.8
8
PORTVERSION=	0.9
9
CATEGORIES=	benchmarks net ipv6
9
CATEGORIES=	benchmarks net ipv6
10
MASTER_SITES=	http://unc.dl.sourceforge.net/sourceforge/thrulay/ \
10
MASTER_SITES=	SF \
11
		http://internap.dl.sourceforge.net/sourceforge/thrulay/ \
12
		http://www.internet2.edu/~shalunov/thrulay/
11
		http://www.internet2.edu/~shalunov/thrulay/
13
12
14
MAINTAINER=	shalunov@shlang.com
13
MAINTAINER=	shalunov@shlang.com
Lines 19-30 Link Here
19
MANCOMPRESSED=	no
18
MANCOMPRESSED=	no
20
HAS_CONFIGURE=	yes
19
HAS_CONFIGURE=	yes
21
USE_GMAKE=	yes
20
USE_GMAKE=	yes
21
USE_LDCONFIG=	yes
22
23
PORTDOCS=	ChangeLog README thrulay-protocol.txt thrulay-index.html
22
24
23
post-install:
25
post-install:
26
	@${CP} ${WRKSRC}/doc/*.[ht]* ${WRKSRC}/
24
	${INSTALL_SCRIPT} ${FILESDIR}/thrulayd.sh.sample ${PREFIX}/etc/rc.d/
27
	${INSTALL_SCRIPT} ${FILESDIR}/thrulayd.sh.sample ${PREFIX}/etc/rc.d/
25
	@if [ ! -f ${PREFIX}/etc/rc.d/thrulayd.sh ]; then \
28
	@if [ ! -f ${PREFIX}/etc/rc.d/thrulayd.sh ]; then \
26
		${CP} -p ${PREFIX}/etc/rc.d/thrulayd.sh.sample \
29
		${CP} -p ${PREFIX}/etc/rc.d/thrulayd.sh.sample \
27
			${PREFIX}/etc/rc.d/thrulayd.sh ; \
30
			${PREFIX}/etc/rc.d/thrulayd.sh ; \
28
	fi
31
	fi
29
32
33
.if !defined(NOPORTDOCS)
34
	@${MKDIR} ${DOCSDIR}
35
.for docs in ${PORTDOCS}
36
	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
37
.endfor
38
.endif
39
	@${CAT} ${PKGMESSAGE}
40
30
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (thrulay-0.8.tar.gz) = 725fb13344608a652e818bcd16fe9ef6
1
MD5 (thrulay-0.9.tar.gz) = e7ada3c0634d2aa688299a434161f5c8
2
SHA256 (thrulay-0.8.tar.gz) = f118a16fe95aac3a93d430f5adf6e20d9437b759617b7596077897c5c4bba8b7
2
SHA256 (thrulay-0.9.tar.gz) = 373d5613dfe371f6b4f48fc853f6c27701b2981ba4100388c9881cb802d1780d
3
SIZE (thrulay-0.8.tar.gz) = 88881
3
SIZE (thrulay-0.9.tar.gz) = 370312
(-)pkg-message (-4 / +9 lines)
Lines 1-4 Link Here
1
The package consists of a client (thrulay) and a daemon (thrulayd).
1
**************************************************************************
2
The thrulay client is usable immediately.  The thrulayd deamon needs to be
2
*                                                                        *
3
started, which will happen automatically in the next boot cycle.  You may
3
* The package consists of a client (thrulay) and a daemon (thrulayd).    *
4
also start it manually by entering thrulayd as root.
4
* The thrulay client is usable immediately.                              *
5
*                                                                        *
6
* To run thrulayd from startup, add thrulayd_enable="YES"                * 
7
* in your /etc/rc.conf                                                   *
8
*                                                                        *
9
**************************************************************************
(-)pkg-plist (+7 lines)
Lines 1-5 Link Here
1
bin/thrulay
1
bin/thrulay
2
sbin/thrulayd
2
sbin/thrulayd
3
include/thrulay/client.h
4
include/thrulay/server.h
5
lib/libthrulay.a
6
lib/libthrulay.la
7
lib/libthrulay.so
8
lib/libthrulay.so.0
3
@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
9
@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
4
etc/rc.d/thrulayd.sh.sample
10
etc/rc.d/thrulayd.sh.sample
5
@exec if [ ! -f %D/etc/rc.d/thrulayd.sh ] ; then cp -p %D/%F %B/thrulayd.sh; fi
11
@exec if [ ! -f %D/etc/rc.d/thrulayd.sh ] ; then cp -p %D/%F %B/thrulayd.sh; fi
12
@dirrm include/thrulay
(-)files/patch-configure (+11 lines)
Added Link Here
1
--- configure.orig	2007-02-01 07:47:36.000000000 -0200
2
+++ configure	2009-08-30 18:16:46.000000000 -0300
3
@@ -919,7 +919,7 @@
4
 psdir='${docdir}'
5
 libdir='${exec_prefix}/lib'
6
 localedir='${datarootdir}/locale'
7
-mandir='${datarootdir}/man'
8
+mandir='/usr/local/man'
9
 
10
 ac_prev=
11
 ac_dashdash=
(-)files/thrulayd.sh.sample (-10 / +17 lines)
Lines 1-14 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
thrulayd=/usr/local/sbin/thrulayd
3
# PROVIDE: thrulay
4
4
5
case "$1" in
5
# Add the following line to /etc/rc.conf to enable `thrulayd':
6
start)
6
#
7
	[ -x $thrulayd ] && $thrulayd && echo -n ' thrulayd'
7
#thrulayd_enable="YES"
8
	;;
8
#
9
*)
10
	echo "Usage: `basename $0` {start}" >&2
11
	;;
12
esac
13
9
14
exit 0
10
. /etc/rc.subr
11
12
name="thrulayd"
13
rcvar=`set_rcvar`
14
15
# read settings, set default values
16
load_rc_config "${name}"
17
: ${thrulayd_enable="NO"}
18
19
command="/usr/local/sbin/thrulayd"
20
21
run_rc_command "$1"

Return to bug 138366