summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-01-24 09:31:18 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-01-24 09:31:18 +0000
commitd94587db94ee6560f671f942507759f8724c9b0e (patch)
tree99062db1be319edbc6fc576889bbafde56cb2190 /net-misc
parentMove out. (diff)
downloadhistorical-d94587db94ee6560f671f942507759f8724c9b0e.tar.gz
historical-d94587db94ee6560f671f942507759f8724c9b0e.tar.bz2
historical-d94587db94ee6560f671f942507759f8724c9b0e.zip
version bump for security bug 256078
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.27-gentoo-r7 i686
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tor/ChangeLog9
-rw-r--r--net-misc/tor/Manifest10
-rw-r--r--net-misc/tor/tor-0.2.0.33.ebuild73
3 files changed, 86 insertions, 6 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 282aaac3ed8e..996d4c3084f9 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/tor
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.149 2008/12/21 01:33:20 fauli Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.150 2009/01/24 09:31:18 fauli Exp $
+
+*tor-0.2.0.33 (24 Jan 2009)
+
+ 24 Jan 2009; Christian Faulhammer <fauli@gentoo.org> +tor-0.2.0.33.ebuild:
+ version bump for security bug 256078
*tor-0.2.0.32-r1 (21 Dec 2008)
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index 9472be32ac31..d953091161e2 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -6,14 +6,16 @@ AUX tor.conf 89 RMD160 3ed95351d715ed05db3baa3dd8802832cb06989f SHA1 ec2a2cb216c
AUX tor.initd-r4 1549 RMD160 2f36cbc9e14c0021139212634b8e0ac585058e44 SHA1 4593e7a1b482bc7b8e787b57d0160f57415b9817 SHA256 0b3c6fdb62b0ce1f4812b0e3ce19dcc7176d4b723cb24b46e4c8474d5b119222
AUX torrc.sample-0.1.2.6.patch 1145 RMD160 3656774f05abe54ec22a121954a1d437fe1da520 SHA1 a0c658eafc8feb134e4ce8c7a5cdf94074ad79f5 SHA256 5b94e1d8c097626402b0b388fefb15f11b95db112b23d358e04cfe55331911f1
DIST tor-0.2.0.32.tar.gz 2159864 RMD160 e87bee7d7dadf17280bf0b11245b0bad70d68fc2 SHA1 0e48d0706f1717afc6d19228a8878c3bc379b25d SHA256 66669aa2cb74e7b0cf13db05472d88422f42c9c0129ce95ecd463aa123925d27
+DIST tor-0.2.0.33.tar.gz 2167542 RMD160 8649ec953f99a7cd27a25019b26302fd300c84f9 SHA1 4cc94dd6fdb5eb0bd4854631cc5f3cddba7a815f SHA256 33df58455bb6e524350f69f6892627258f6cb0b56a953c80c13beff85f1731ad
EBUILD tor-0.2.0.32-r1.ebuild 1889 RMD160 f90b4beef3d83fd3d24e5f85e74be12b90ecd66d SHA1 9a81672fd3c3adef09c4995008338924e41989b6 SHA256 ab25eb5c44dfd37e4d767c07989461708b76eab2c6561ac6dcf9bc043120e248
EBUILD tor-0.2.0.32.ebuild 1750 RMD160 02d0110bac363a35e4934fafa0641bd0df46a6d7 SHA1 21dcf8f7b193071ebe06b60139349433a04d6ba7 SHA256 660fcf355c5fb5ce9706d495d5869d6393d22c08d901643aeed2e90cf4e5414b
-MISC ChangeLog 22078 RMD160 933a0c88d5b8326afa361aac26c4ecd455592fa5 SHA1 1858ffcca40ea757b734153e18dbd079f05c92a9 SHA256 e2e7e6ab7645e114bc9a640b412b6a3bbf615d378681dc7969d98f672ba7cdb9
+EBUILD tor-0.2.0.33.ebuild 1886 RMD160 921c02ce83c85341cdac157479377d44a1980c7c SHA1 ede103e3a611126a2fa6e905cfc083c75d69d4da SHA256 9e34f6ef1a715fd06d748027b1c49108c43998fa0a20c0ae69b76ce9909ea546
+MISC ChangeLog 22224 RMD160 4931954c4331c7350a0a91a19b504a6f1a39b331 SHA1 56ad1be18bf6fd70ef1468ff35aeb13728baaa8c SHA256 720b6b853ecedebc82c738b2804998909c31e0200951b401f83e65ebd27da8ed
MISC metadata.xml 423 RMD160 4418681fd0a4e22120c6a78f82c915cd6796bf40 SHA1 64cf24b719163a291b87b7909bf46fbef2b49fc2 SHA256 b8ec2e66707ed3e56d10f285c6036ca57135dfe4682f0862392253f2d88b554d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAklNnPMACgkQNQqtfCuFneMTqwCaAzeTq2pvgilTxogZ9Q9Dmt/l
-kE4AnixPKbm8ERtVqZLmLSyjqOYsD1Bd
-=1DyB
+iEYEARECAAYFAkl64AYACgkQNQqtfCuFneMFeACfVGP0cyJmqUkbf+Wssyb7KUTY
+9i8An0R0VQN1Qj3hQlZYxJUILb5reNuZ
+=v6KS
-----END PGP SIGNATURE-----
diff --git a/net-misc/tor/tor-0.2.0.33.ebuild b/net-misc/tor/tor-0.2.0.33.ebuild
new file mode 100644
index 000000000000..b708da7a71c4
--- /dev/null
+++ b/net-misc/tor/tor-0.2.0.33.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.0.33.ebuild,v 1.1 2009/01/24 09:31:18 fauli Exp $
+
+inherit eutils
+
+DESCRIPTION="Anonymizing overlay network for TCP"
+HOMEPAGE="http://tor.eff.org"
+MY_PV=${PV/_/-}
+SRC_URI="http://tor.eff.org/dist/${PN}-${MY_PV}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug logrotate"
+
+DEPEND="dev-libs/openssl
+ >=dev-libs/libevent-1.2"
+RDEPEND="${DEPEND}
+ 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.2.6.patch
+ epatch "${FILESDIR}"/${PN}-0.2.0.30-logrotate.patch
+}
+
+src_compile() {
+ econf $(use_enable debug)
+ emake || die
+}
+
+src_install() {
+ newinitd "${FILESDIR}"/tor.initd-r4 tor
+ emake DESTDIR="${D}" install || die
+ keepdir /var/{lib,log,run}/tor
+
+ dodoc README ChangeLog AUTHORS ReleaseNotes \
+ doc/{HACKING,TODO} \
+ doc/spec/*.txt
+
+ 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
+
+ if use logrotate; then
+ sed -e "s:/lib::" \
+ -e "s:/rc.d::" \
+ -e "s:\\*:\\*.:" \
+ -e "s:sharedscripts:create 0640 tor tor\n\tsharedscripts:" -i contrib/tor.logrotate || die
+ insinto /etc/logrotate.d
+ newins contrib/tor.logrotate tor
+ fi
+
+ # allow the tor user more open files to avoid errors, see bug 251171
+ insinto /etc/security/limits.d/
+ doins "${FILESDIR}"/tor.conf
+}
+
+pkg_postinst() {
+ elog "You must create /etc/tor/torrc, you can use the sample that is in that directory"
+ elog "To have privoxy and tor working together you must add:"
+ elog "forward-socks4a / localhost:9050 ."
+ elog "(notice the . at the end of the line)"
+ elog "to /etc/privoxy/config"
+}