aboutsummaryrefslogtreecommitdiff
path: root/security/tor-devel
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-28 13:50:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-28 13:50:42 +0000
commit6b00bd66997fb9300407486d64053b4a96398235 (patch)
treeca74837619d9cb88e5aa2605b6e288b04aa62877 /security/tor-devel
parent1066f56582a3b1cecb8c77c603d92f14c068ee18 (diff)
downloadports-6b00bd66997fb9300407486d64053b4a96398235.tar.gz
ports-6b00bd66997fb9300407486d64053b4a96398235.zip
Notes
Diffstat (limited to 'security/tor-devel')
-rw-r--r--security/tor-devel/Makefile12
-rw-r--r--security/tor-devel/distinfo6
2 files changed, 11 insertions, 7 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index 17ea2761503b..858557f54312 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -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 @@ post-patch:
${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 @@ post-patch:
-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 @@ post-install:
${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 --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo
index d497c50fa811..4b3f498766c1 100644
--- a/security/tor-devel/distinfo
+++ b/security/tor-devel/distinfo
@@ -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