summaryrefslogtreecommitdiff
path: root/net/tor/Makefile
diff options
context:
space:
mode:
authorobache <obache>2009-08-18 05:48:08 +0000
committerobache <obache>2009-08-18 05:48:08 +0000
commitae19f1669efe6d82bbf12bfb9d118d1c566e04c2 (patch)
tree594f63581b5c5b9a49eccf5062a5f03a7ee7d1ef /net/tor/Makefile
parent697721e4a0c0cbdd99e46c6c4929081214db17a4 (diff)
downloadpkgsrc-ae19f1669efe6d82bbf12bfb9d118d1c566e04c2.tar.gz
Update tor to 0.2.1.19.
Based on maintainer update request via PR 41828. (remove patch-a{a,b} and make to simplify by me). Tor 0.2.1.18 lays the foundations for performance improvements, adds status events to help users diagnose bootstrap problems, adds optional authentication/authorization for hidden services, fixes a variety of potential anonymity problems, and includes a huge pile of other features and bug fixes. Tor 0.2.1.19 fixes a major bug with accessing and providing hidden services.
Diffstat (limited to 'net/tor/Makefile')
-rw-r--r--net/tor/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/net/tor/Makefile b/net/tor/Makefile
index 2ff91809b95..0c7705e6ec8 100644
--- a/net/tor/Makefile
+++ b/net/tor/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2009/08/16 15:35:43 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2009/08/18 05:48:08 obache Exp $
#
-DISTNAME= tor-0.2.0.35
-PKGREVISION= 1
+DISTNAME= tor-0.2.1.19
CATEGORIES= net security
MASTER_SITES= http://www.torproject.org/dist/
@@ -41,8 +40,6 @@ USER_GROUP= ${TOR_USER} ${TOR_GROUP}
OWN_DIRS_PERMS+= ${PKG_HOME} ${USER_GROUP} 0700
-AUTO_MKDIRS= yes
-
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONF_FILES+= ${PREFIX}/share/examples/tor/tor-tsocks.conf \
@@ -53,18 +50,14 @@ CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \
FILES_SUBST+= PKG_HOME=${PKG_HOME:Q}
FILES_SUBST+= TOR_USER=${TOR_USER:Q} TOR_GROUP=${TOR_GROUP:Q}
+INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
+
CHECK_PORTABILITY_SKIP+=contrib/*
.if !empty(PKGSRC_COMPILER:Mmipspro)
CFLAGS+= -c99
.endif
-post-install:
- ${INSTALL_DATA} ${WRKSRC}/src/config/torrc.sample \
- ${DESTDIR}${PREFIX}/share/examples/tor/torrc.sample
- ${INSTALL_DATA} ${WRKSRC}/contrib/tor-tsocks.conf \
- ${DESTDIR}${PREFIX}/share/examples/tor/tor-tsocks.conf
-
BUILDLINK_API_DEPENDS.libevent+= libevent>=1.2
.include "../../devel/libevent/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"