summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-08-06 22:01:30 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-08-06 22:01:30 +0000
commitdb56875d85d4417cc7d45768917c4781da33d418 (patch)
tree4664edcb066889dc63f1cbb5298a804f64c4ee7c /net-misc
parentReally fix build (diff)
downloadhistorical-db56875d85d4417cc7d45768917c4781da33d418.tar.gz
historical-db56875d85d4417cc7d45768917c4781da33d418.tar.bz2
historical-db56875d85d4417cc7d45768917c4781da33d418.zip
version bump
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tor/ChangeLog7
-rw-r--r--net-misc/tor/Manifest10
-rw-r--r--net-misc/tor/tor-0.2.1.19.ebuild82
3 files changed, 94 insertions, 5 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 3b7f52a50fb6..911b2792385d 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/tor
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.176 2009/07/14 09:13:48 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.177 2009/08/06 22:01:30 fauli Exp $
+
+*tor-0.2.1.19 (06 Aug 2009)
+
+ 06 Aug 2009; Christian Faulhammer <fauli@gentoo.org> +tor-0.2.1.19.ebuild:
+ version bump
14 Jul 2009; Christian Faulhammer <fauli@gentoo.org> -tor-0.2.0.34.ebuild:
remove vulnerable version
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index 45f2e8750fdf..c6dae3ea9e76 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -8,14 +8,16 @@ AUX tor.initd-r4 1549 RMD160 6bf8d330624ed21719f2c9a436e0859429178853 SHA1 4ad74
AUX torrc.sample-0.1.2.6.patch 1145 RMD160 3656774f05abe54ec22a121954a1d437fe1da520 SHA1 a0c658eafc8feb134e4ce8c7a5cdf94074ad79f5 SHA256 5b94e1d8c097626402b0b388fefb15f11b95db112b23d358e04cfe55331911f1
DIST tor-0.2.0.35.tar.gz 2221852 RMD160 ecc98c602b5c153a8aa8f6e651166705bc05c972 SHA1 6216887e0575c4a18f46e53faea1ebdb04bf7905 SHA256 7180c56c11e13d1ca860e3773ddfb2c9f951900670224a0850766795ac94b62e
DIST tor-0.2.1.16-rc.tar.gz 2400867 RMD160 d5efa68f7e569c7a36b67ef8eabf7551b51fcc16 SHA1 54c333d8344ee7ce1c3f1f954a5871870f4068d1 SHA256 6d6b57e2b49e38e046bce1e3d282506bea1347794815ecd73c617cbc7ef6370c
+DIST tor-0.2.1.19.tar.gz 2409484 RMD160 3606cc574ade12adfa8f3c7a180958865be077e8 SHA1 8a8af1354ab5b3fea58e2bbffeddc05e3dfedb17 SHA256 cb4f88ad30d6ba4c015734f3058a6e35151cff586f7708691d52d289ee78d183
EBUILD tor-0.2.0.35.ebuild 2633 RMD160 5ee69ef44bbc2cd20d1a14b2d3874b62a3010b83 SHA1 811da83d54e661416e076fecbdf651ed365653ae SHA256 c5a94aebd9b27c3916b4e9b111685672b87d12a107a4b07ec98ca61703f793fd
EBUILD tor-0.2.1.16_rc.ebuild 2530 RMD160 4acfbb13e227fb353460f50fc61c2edb0cd3fba5 SHA1 8f24c2e632985e7b1f47f0e7fc96c02bcda856d1 SHA256 e1454943ce648852f11a9a9263c1376375fb377637eb6e9e78f7f87e17d8ece2
-MISC ChangeLog 26299 RMD160 eac5e0fbb02dddcbc68d13d37ba6cb3ccc407fc2 SHA1 d9b84f0580b29f9a57050c2497fdc1a23ec36290 SHA256 ef207bee7405a91071fac457e8b80e6effe0ddfd68d6d4f315e7111ffcfc690f
+EBUILD tor-0.2.1.19.ebuild 2561 RMD160 e0bec510c6f8b745989dc93578a5530e8737a083 SHA1 604ed9283c2db509c823a3b0117c4d6df7561fcd SHA256 bd2decda560222e652c2f6aec87d7f2bb7dc9abd5df6551f525992cac9adac7c
+MISC ChangeLog 26421 RMD160 d7a08ffa29602926f4c0685ec10353886885d8eb SHA1 9eae5e71e334f3c9f188a9bb2d4efce525476c20 SHA256 a60977efc60794c0a2fed77f7b691485fd98f72ddf1efa57abd0e85b60be95c2
MISC metadata.xml 482 RMD160 8dca0b35cd6e529c49031ba66a4c29fd3075a131 SHA1 909c1148521f411a17bcfd3ec97cc1ccadd4f580 SHA256 43850c54cf0ec6651bf3c4ef826b28d84e284e60891ca39c20284e2a3bbdcec9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkpcTFkACgkQNQqtfCuFneNhMgCgk/WvSzou21NdWYXd0ufqDCeW
-PjEAniSdbueU06DKdH0ILSARSy1GvuE+
-=SKuV
+iEYEARECAAYFAkp7UsQACgkQNQqtfCuFneOEOQCgkVQNt2x2jE9ovKcdyJZLp7WS
+5VMAn17VuwAQnU/F1Hi4GAw58Cz6NY0j
+=nHQW
-----END PGP SIGNATURE-----
diff --git a/net-misc/tor/tor-0.2.1.19.ebuild b/net-misc/tor/tor-0.2.1.19.ebuild
new file mode 100644
index 000000000000..69b95481f29a
--- /dev/null
+++ b/net-misc/tor/tor-0.2.1.19.ebuild
@@ -0,0 +1,82 @@
+# 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.1.19.ebuild,v 1.1 2009/08/06 22:01:30 fauli Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="Anonymizing overlay network for TCP"
+HOMEPAGE="http://www.torproject.org/"
+MY_PV=${PV/_/-}
+SRC_URI="http://www.torproject.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"
+
+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_prepare() {
+ epatch "${FILESDIR}"/torrc.sample-0.1.2.6.patch
+ epatch "${FILESDIR}"/${PN}-0.2.0.30-logrotate.patch
+ # Normally tor uses a bundled libevent fragment to provide
+ # asynchronous DNS requests. This is generally a bad idea, but at
+ # the moment the official libevent does not have the 0x20 hack, so
+ # anonymity is higher with the bundled variant. Remove patch as
+ # soon as upstream has installed the autoconf option to use
+ # system's libevent. This hasn't happened, so we
+ # have to live with the bundled libevent for this release, as the
+ # current version in tree won't suffice for tor to build
+ # See http://bugs.noreply.org/flyspray/index.php?do=details&id=920
+ # for upstream's report
+ # Let's revisit this when libevent-2* is unmasked
+ # use bundledlibevent || epatch "${FILESDIR}"/${PN}-0.2.1.5-no-internal-libevent.patch
+}
+
+src_configure() {
+ econf $(use_enable debug)
+}
+
+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
+
+ 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
+
+ # 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"
+}