summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2006-08-24 00:27:42 +0000
committerGustavo Felisberto <humpback@gentoo.org>2006-08-24 00:27:42 +0000
commit53baa4d2d4a00d7b9e355e6dc96158b96d9d5a9b (patch)
tree66156b0a5d6642044487a1dd654621a4aaba9d05 /net-misc/tor
parentbackport modX deps from wily-1.0-r1 (diff)
downloadgentoo-2-53baa4d2d4a00d7b9e355e6dc96158b96d9d5a9b.tar.gz
gentoo-2-53baa4d2d4a00d7b9e355e6dc96158b96d9d5a9b.tar.bz2
gentoo-2-53baa4d2d4a00d7b9e355e6dc96158b96d9d5a9b.zip
bump
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'net-misc/tor')
-rw-r--r--net-misc/tor/ChangeLog9
-rw-r--r--net-misc/tor/files/digest-tor-0.1.1.233
-rw-r--r--net-misc/tor/files/torrc.sample-0.1.1.23.patch31
-rw-r--r--net-misc/tor/tor-0.1.1.23.ebuild52
4 files changed, 94 insertions, 1 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 4a6a29c68d82..831ee5f84ca9 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/tor
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.62 2006/07/16 17:54:02 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.63 2006/08/24 00:27:42 humpback Exp $
+
+*tor-0.1.1.23 (24 Aug 2006)
+
+ 24 Aug 2006; Gustavo Felisberto <humpback@gentoo.org>;
+ +files/torrc.sample-0.1.1.23.patch, +tor-0.1.1.23.ebuild:
+ Updated version, bump and small cosmetics. Thanks to Olivier Mondolini in
+ bug #144417.
16 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> tor-0.1.1.22.ebuild:
Add ~x86-fbsd keyword.
diff --git a/net-misc/tor/files/digest-tor-0.1.1.23 b/net-misc/tor/files/digest-tor-0.1.1.23
new file mode 100644
index 000000000000..032c6df9d0a9
--- /dev/null
+++ b/net-misc/tor/files/digest-tor-0.1.1.23
@@ -0,0 +1,3 @@
+MD5 33ce7155f545c4d30cb846d7017cc6c2 tor-0.1.1.23.tar.gz 847906
+RMD160 e958ed22f44e5f06736cadb5406dad04510a69f5 tor-0.1.1.23.tar.gz 847906
+SHA256 a2ac0b10089902c2de8649e07823dc46b8876cd3e0236505e5e7f1f49ee11025 tor-0.1.1.23.tar.gz 847906
diff --git a/net-misc/tor/files/torrc.sample-0.1.1.23.patch b/net-misc/tor/files/torrc.sample-0.1.1.23.patch
new file mode 100644
index 000000000000..c048b45243a5
--- /dev/null
+++ b/net-misc/tor/files/torrc.sample-0.1.1.23.patch
@@ -0,0 +1,31 @@
+--- src/config/torrc.sample.in.orig 2006-01-04 03:25:18.000000000 +0000
++++ src/config/torrc.sample.in 2006-01-04 03:26:45.000000000 +0000
+@@ -14,6 +14,12 @@
+ # With the default Mac OS X installer, Tor will look in ~/.tor/torrc or
+ # /Library/Tor/torrc
+
++## Default username and group the server will run as
++User tor
++Group tor
++
++PIDFile /var/run/tor/tor.pid
++
+
+ ## Replace this with "SocksPort 0" if you plan to run Tor only as a
+ ## server, and not make any local application connections yourself.
+@@ -46,6 +52,7 @@
+ #Log notice syslog
+ ## To send all messages to stderr:
+ #Log debug stderr
++Log notice file /var/log/tor/tor.log
+
+ ## Uncomment this to start the process in the background... or use
+ ## --runasdaemon 1 on the command line.
+@@ -63,6 +70,7 @@
+ ## The directory for keeping all the keys/etc. By default, we store
+ ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows.
+ #DataDirectory @LOCALSTATEDIR@/lib/tor
++DataDirectory /var/lib/tor/data
+
+ ## The port on which Tor will listen for local connections from Tor controller
+ ## applications, as documented in control-spec.txt. NB: this feature is
diff --git a/net-misc/tor/tor-0.1.1.23.ebuild b/net-misc/tor/tor-0.1.1.23.ebuild
new file mode 100644
index 000000000000..0e3d6818c78c
--- /dev/null
+++ b/net-misc/tor/tor-0.1.1.23.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.1.23.ebuild,v 1.1 2006/08/24 00:27:42 humpback Exp $
+
+inherit eutils
+
+DESCRIPTION="Anonymizing overlay network for TCP"
+HOMEPAGE="http://tor.eff.org"
+SRC_URI="http://tor.eff.org/dist/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="dev-libs/openssl
+ dev-libs/libevent"
+RDEPEND="net-proxy/tsocks"
+
+pkg_setup() {
+ enewgroup tor
+ enewuser tor -1 -1 /var/lib/tor tor
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/torrc.sample-0.1.1.23.patch
+}
+
+src_install() {
+ exeinto /etc/init.d ; newexe ${FILESDIR}/tor.initd tor
+ make DESTDIR=${D} install || die
+
+ dodoc README ChangeLog AUTHORS INSTALL \
+ doc/{HACKING,TODO} \
+ doc/{control-spec.txt,dir-spec.txt,rend-spec.txt,socks-extensions.txt,tor-spec.txt}
+
+ dodir /var/lib/tor
+ dodir /var/log/tor
+ dodir /var/run/tor
+ fperms 750 /var/lib/tor /var/log/tor
+ fperms 755 /var/run/tor
+ fowners tor:tor /var/lib/tor /var/log/tor /var/run/tor
+}
+
+pkg_postinst() {
+ einfo "You must create /etc/tor/torrc, you can use the sample that is in that directory"
+ einfo "To have privoxy and tor working together you must add:"
+ einfo "forward-socks4a / localhost:9050 ."
+ einfo "to /etc/privoxy/config"
+}