summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/tor/Makefile13
-rw-r--r--net/tor/distinfo8
-rw-r--r--net/tor/files/tor.in4
3 files changed, 13 insertions, 12 deletions
diff --git a/net/tor/Makefile b/net/tor/Makefile
index 32e7dd9dfcb..2f6afd664fc 100644
--- a/net/tor/Makefile
+++ b/net/tor/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.58 2008/12/21 11:01:59 obache Exp $
+# $NetBSD: Makefile,v 1.59 2008/12/21 11:10:27 obache Exp $
#
-DISTNAME= tor-0.2.0.31
-PKGREVISION= 1
+DISTNAME= tor-0.2.0.32
CATEGORIES= net security
MASTER_SITES= http://www.torproject.org/dist/
@@ -10,6 +9,8 @@ MAINTAINER= athaba@inode.at
HOMEPAGE= http://www.torproject.org/
COMMENT= Anonymizing overlay network for TCP
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../mk/bsd.prefs.mk"
USE_LANGUAGES+= c99
@@ -55,11 +56,11 @@ CFLAGS+= -c99
.endif
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tor
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/tor
${INSTALL_DATA} ${WRKSRC}/src/config/torrc.sample \
- ${PREFIX}/share/examples/tor/torrc.sample
+ ${DESTDIR}${PREFIX}/share/examples/tor/torrc.sample
${INSTALL_DATA} ${WRKSRC}/contrib/tor-tsocks.conf \
- ${PREFIX}/share/examples/tor/tor-tsocks.conf
+ ${DESTDIR}${PREFIX}/share/examples/tor/tor-tsocks.conf
BUILDLINK_API_DEPENDS.libevent+= libevent>=1.2
.include "../../devel/libevent/buildlink3.mk"
diff --git a/net/tor/distinfo b/net/tor/distinfo
index 5d9db25dabd..75879a335f9 100644
--- a/net/tor/distinfo
+++ b/net/tor/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.30 2008/09/08 19:28:28 wiz Exp $
+$NetBSD: distinfo,v 1.31 2008/12/21 11:10:27 obache Exp $
-SHA1 (tor-0.2.0.31.tar.gz) = a586cc017a791ac481fde836c3cf8e3667fb5cfc
-RMD160 (tor-0.2.0.31.tar.gz) = 584cbbd9f295a8f677bc95a5f05dc78f6184b97a
-Size (tor-0.2.0.31.tar.gz) = 2156305 bytes
+SHA1 (tor-0.2.0.32.tar.gz) = 0e48d0706f1717afc6d19228a8878c3bc379b25d
+RMD160 (tor-0.2.0.32.tar.gz) = e87bee7d7dadf17280bf0b11245b0bad70d68fc2
+Size (tor-0.2.0.32.tar.gz) = 2159864 bytes
SHA1 (patch-aa) = 630e1e0a9591c136987b504e73c64ff9f53b54e9
SHA1 (patch-ab) = 3363efdcf8b9918c1249add1046077f2323a11ff
diff --git a/net/tor/files/tor.in b/net/tor/files/tor.in
index 9b6db2206c8..8c7debafcce 100644
--- a/net/tor/files/tor.in
+++ b/net/tor/files/tor.in
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: tor.in,v 1.2 2005/09/27 17:44:12 tv Exp $
+# $NetBSD: tor.in,v 1.3 2008/12/21 11:10:27 obache Exp $
#
# PROVIDE: tor
# REQUIRE: DAEMON
@@ -26,7 +26,7 @@ restart_cmd="tor_stop ; tor_start"
tor_start ()
{
- ${command} --User @TOR_USER@ --Group @TOR_GROUP@ --RunAsDaemon 1 \
+ ${command} --User @TOR_USER@ --RunAsDaemon 1 \
--DataDirectory @PKG_HOME@ --PIDFile ${pidfile}
}