aboutsummaryrefslogtreecommitdiffstats
path: root/security/tor-devel
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2012-11-22 19:30:22 +0800
committerbf <bf@FreeBSD.org>2012-11-22 19:30:22 +0800
commit130b7f4522342ead3ba077422d357b265ce464bb (patch)
treeb5d4210eac8f30f075b73bbfb08958dce6962bc8 /security/tor-devel
parent0c18ff4095f2dbe95f4b10a7ae8f55077f960e31 (diff)
downloadfreebsd-ports-gnome-130b7f4522342ead3ba077422d357b265ce464bb.tar.gz
freebsd-ports-gnome-130b7f4522342ead3ba077422d357b265ce464bb.tar.zst
freebsd-ports-gnome-130b7f4522342ead3ba077422d357b265ce464bb.zip
update to 0.2.4.6-alpha
Feature safe: yes
Diffstat (limited to 'security/tor-devel')
-rw-r--r--security/tor-devel/Makefile15
-rw-r--r--security/tor-devel/distinfo4
2 files changed, 11 insertions, 8 deletions
diff --git a/security/tor-devel/Makefile b/security/tor-devel/Makefile
index 3b96a1796890..79170129111a 100644
--- a/security/tor-devel/Makefile
+++ b/security/tor-devel/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tor
-DISTVERSION= 0.2.3.24-rc
+DISTVERSION= 0.2.4.6-alpha
CATEGORIES= security net ipv6
MASTER_SITES= https://www.torproject.org/dist/ \
ftp://ftp.bit.nl/mirror/tor/ \
@@ -116,6 +116,10 @@ CONFIGURE_ARGS+= --disable-gcc-hardening
WITH_OPENSSL_PORT= yes
.endif
+.if ( ${OSVERSION} < 800038 )
+CPPFLAGS+= -DSTAILQ_ENTRY=SIMPLEQ_ENTRY
+.endif
+
.if ${PORT_OPTIONS:MBUFFEREVENTS}
CONFIGURE_ARGS+= --enable-bufferevents
.else
@@ -181,9 +185,8 @@ post-patch:
@${MV} ${WRKSRC}/contrib/tor-tsocks.conf \
${WRKSRC}/contrib/tor-tsocks.conf.sample
@${REINPLACE_CMD} -e "s|tor-tsocks.conf|tor-tsocks.conf.sample|g" \
- ${WRKSRC}/contrib/Makefile.in
- @${REINPLACE_CMD} -e '\|^install-data-am:|s|install-docDATA||' \
- ${WRKSRC}/doc/Makefile.in
+ -e "\|^install-data-am:|s|install-docDATA||" \
+ ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -E -e "s@-ltcmalloc@${LOCALBASE}/lib/libtcmalloc.so@" \
-e "s@(-z) (relro|now)@-Wl,\1,\2@g" \
${WRKSRC}/configure
@@ -191,8 +194,8 @@ post-patch:
post-configure:
@${FIND} -X ${WRKSRC} -type f -name Makefile | ${XARGS} ${REINPLACE_CMD} -e \
"s|-lpthread|${PTHREAD_LIBS}|g"
- @${REINPLACE_CMD} -e '\|^nodist_man_MANS =|s|$$|${MAN1}|' \
- ${WRKSRC}/doc/Makefile
+ @${REINPLACE_CMD} -e '\|^nodist_man1_MANS =|s|$$|${MAN1:S@^@doc/@}|' \
+ ${WRKSRC}/Makefile
post-install:
${MKDIR} /var/run/tor
diff --git a/security/tor-devel/distinfo b/security/tor-devel/distinfo
index 8efa8b5c4801..ea6a2f8d2a76 100644
--- a/security/tor-devel/distinfo
+++ b/security/tor-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tor-0.2.3.24-rc.tar.gz) = 6ac663f32e4d36e633672cafdd43d691d4e0b6f14a2344fe4e016cc3dbbd6019
-SIZE (tor-0.2.3.24-rc.tar.gz) = 3187711
+SHA256 (tor-0.2.4.6-alpha.tar.gz) = 2b7b3c9d1568dec9213965ab15d83702411efcbe9143e37e571a766cea670012
+SIZE (tor-0.2.4.6-alpha.tar.gz) = 3208046