diff options
author | hauke <hauke@pkgsrc.org> | 2012-06-14 14:50:45 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2012-06-14 14:50:45 +0000 |
commit | 41e29e646fc843fa5a944f826e0b85a5292ce824 (patch) | |
tree | 030e1630a919af66ba8bd2388dd7246d00bb407b /net/tor | |
parent | 2e68f76a2bcd59650a3ecc91ced31bfeab97fc18 (diff) | |
download | pkgsrc-41e29e646fc843fa5a944f826e0b85a5292ce824.tar.gz |
Properly substitute absolute path /etc/tor in torify(1). While here,
update the package.
Patch from Blair Sadewitz, submitted in PR pkg/46598.
Diffstat (limited to 'net/tor')
-rw-r--r-- | net/tor/Makefile | 10 | ||||
-rw-r--r-- | net/tor/distinfo | 8 |
2 files changed, 12 insertions, 6 deletions
diff --git a/net/tor/Makefile b/net/tor/Makefile index b0552c39cc5..3031b5081d1 100644 --- a/net/tor/Makefile +++ b/net/tor/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.85 2011/12/17 12:39:43 drochner Exp $ +# $NetBSD: Makefile,v 1.86 2012/06/14 14:50:45 hauke Exp $ # -DISTNAME= tor-0.2.2.35 +DISTNAME= tor-0.2.2.36 CATEGORIES= net security MASTER_SITES= http://www.torproject.org/dist/ # MASTER_SITES redirects to https, and ftp(1) cannot handle that. @@ -56,6 +56,12 @@ CONF_FILES+= ${PREFIX}/share/examples/tor/torrc.sample \ FILES_SUBST+= PKG_HOME=${PKG_HOME} FILES_SUBST+= TOR_USER=${TOR_USER} TOR_GROUP=${TOR_GROUP} +SUBST_CLASSES+= fix-paths +SUBST_STAGE.fix-paths= pre-configure +SUBST_MESSAGE.fix-paths= Fixing absolute paths. +SUBST_FILES.fix-paths= contrib/torify.in +SUBST_SED.fix-paths= -e 's,"/etc/tor,"${PKG_SYSCONFDIR},g' + INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples CHECK_PORTABILITY_SKIP+=contrib/* diff --git a/net/tor/distinfo b/net/tor/distinfo index 65ca071ebfa..eced3873725 100644 --- a/net/tor/distinfo +++ b/net/tor/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.52 2011/12/17 12:39:43 drochner Exp $ +$NetBSD: distinfo,v 1.53 2012/06/14 14:50:45 hauke Exp $ -SHA1 (tor-0.2.2.35.tar.gz) = 98408e08c0c616c4c7669d018a66c55fc660cad3 -RMD160 (tor-0.2.2.35.tar.gz) = 9986f0892d410de9f3d496a5db6de29288295e92 -Size (tor-0.2.2.35.tar.gz) = 2787536 bytes +SHA1 (tor-0.2.2.36.tar.gz) = a11ac8cb1703d036b83427c1f3fab16574c12d49 +RMD160 (tor-0.2.2.36.tar.gz) = 84a8180abe20014ce69569ef407318528ed429bf +Size (tor-0.2.2.36.tar.gz) = 2925136 bytes SHA1 (patch-aa) = 5b89228dc37c459c48f24616933a5673a5a0a0d1 |