Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2008 13:26:24 GMT
From:      Peter Thoenen <peter.thoenen@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/123170: [UPDATE] security/tor-devel
Message-ID:  <200804281326.m3SDQOlt042690@www.freebsd.org>
Resent-Message-ID: <200804281330.m3SDU1uY071697@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123170
>Category:       ports
>Synopsis:       [UPDATE] security/tor-devel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 28 13:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Peter Thoenen
>Release:        FreeBSD 7.0
>Organization:
None
>Environment:
FreeBSD-7.0 amd64
>Description:
Update tor-devel to current release.  Thanks much bf once again for hopping on this.
>How-To-Repeat:
None
>Fix:
Apply diff (attached)

Patch attached with submission follows:

diff -ruN tor-devel.orig/Makefile tor-devel/Makefile
--- tor-devel.orig/Makefile	2008-03-31 16:19:31.000000000 -0400
+++ tor-devel/Makefile	2008-04-24 05:22:24.941639412 -0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	tor
-DISTVERSION=	0.2.0.23-rc
+DISTVERSION=	0.2.0.25-rc
 CATEGORIES=	security net
 MASTER_SITES=	http://www.torproject.org/dist/ \
 		http://mirror.onionland.org/dist/
@@ -79,7 +79,7 @@
 		${WRKSRC}/contrib/tor-tsocks.conf.sample
 	@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
 		${WRKSRC}/contrib/Makefile.in
-	@${FIND} ${WRKSRC} -type f | ${XARGS} \
+	@${FIND} -X ${WRKSRC} -type f | ${XARGS} \
 		-n 10 ${REINPLACE_CMD} -E \
 		-e 's|-g -O2||g' \
 		-e 's|-O2||g' \
@@ -87,8 +87,8 @@
 		-e 's|netinet/in6|netinet6/in6|g'
 
 post-configure:
-	@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
-		's|-lpthread|${PTHREAD_LIBS}|g'
+	@${FIND} -X ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
+		"s|-lpthread|${PTHREAD_LIBS}|g"
 
 pre-su-install:
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
@@ -103,4 +103,8 @@
 	${CHOWN} _tor:_tor /var/db/tor
 	${CAT} ${PKGMESSAGE}
 
+check:
+	@( cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} \
+	${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check )
+
 .include <bsd.port.post.mk>
diff -ruN tor-devel.orig/distinfo tor-devel/distinfo
--- tor-devel.orig/distinfo	2008-03-31 16:19:31.000000000 -0400
+++ tor-devel/distinfo	2008-04-24 05:22:24.941639412 -0400
@@ -1,3 +1,3 @@
-MD5 (tor-0.2.0.23-rc.tar.gz) = feeda28383dc229ed8da9c8baf590f74
-SHA256 (tor-0.2.0.23-rc.tar.gz) = a0d894874d29943c922e2b8139a6534c146da48816560131135257043e4e2ba8
-SIZE (tor-0.2.0.23-rc.tar.gz) = 1542425
+MD5 (tor-0.2.0.25-rc.tar.gz) = c9fa4f72a1f890f55a54d52f946688dd
+SHA256 (tor-0.2.0.25-rc.tar.gz) = 34533a925894b9bb33aeb6e93b6a4a00c4a025b23f3f90f6c691e7ba7e3d4e87
+SIZE (tor-0.2.0.25-rc.tar.gz) = 1544463
diff -ruN tor-devel.orig/pkg-plist tor-devel/pkg-plist
--- tor-devel.orig/pkg-plist	2007-06-06 02:02:29.000000000 -0400
+++ tor-devel/pkg-plist	2008-04-24 05:22:24.941639412 -0400
@@ -4,4 +4,4 @@
 bin/torify
 etc/tor/tor-tsocks.conf.sample
 etc/tor/torrc.sample
-@dirrm etc/tor
+@dirrmtry etc/tor


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804281326.m3SDQOlt042690>