summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-06-17 12:20:03 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-06-17 12:20:03 +0000
commitdfb9aa83bef458f7e3e9c9e9239ea14a27d4062f (patch)
treee60d8ed10a633ea94ca0c30a3ae5cba6cf75d737 /net-misc/tor
parentMask release candidate of net-misc/tor (diff)
downloadhistorical-dfb9aa83bef458f7e3e9c9e9239ea14a27d4062f.tar.gz
historical-dfb9aa83bef458f7e3e9c9e9239ea14a27d4062f.tar.bz2
historical-dfb9aa83bef458f7e3e9c9e9239ea14a27d4062f.zip
add release candidate for 0.2.1 series
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'net-misc/tor')
-rw-r--r--net-misc/tor/ChangeLog8
-rw-r--r--net-misc/tor/Manifest10
-rw-r--r--net-misc/tor/tor-0.2.1.15_rc.ebuild87
3 files changed, 100 insertions, 5 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index ca09b1520fdf..0a2342c22e33 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,12 @@
# 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.166 2009/06/12 01:02:46 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.167 2009/06/17 12:20:03 fauli Exp $
+
+*tor-0.2.1.15_rc (17 Jun 2009)
+
+ 17 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
+ +tor-0.2.1.15_rc.ebuild:
+ add release candidate for 0.2.1 series
12 Jun 2009; Christian Faulhammer <fauli@gentoo.org>
files/torrc.sample-0.1.2.6.patch, +tor-0.2.0.34.ebuild,
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index 96f7764007d2..7b351d74e7a8 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -7,13 +7,15 @@ AUX tor.conf 89 RMD160 3ed95351d715ed05db3baa3dd8802832cb06989f SHA1 ec2a2cb216c
AUX tor.initd-r4 1549 RMD160 6bf8d330624ed21719f2c9a436e0859429178853 SHA1 4ad7409c1309df6d247f876b3d3d4cf418909539 SHA256 842b358791b427afef503b29c4fefd87b042f114b6302eef1671b18910483866
AUX torrc.sample-0.1.2.6.patch 1145 RMD160 3656774f05abe54ec22a121954a1d437fe1da520 SHA1 a0c658eafc8feb134e4ce8c7a5cdf94074ad79f5 SHA256 5b94e1d8c097626402b0b388fefb15f11b95db112b23d358e04cfe55331911f1
DIST tor-0.2.0.34.tar.gz 2170871 RMD160 a7a1a78b32072524472c6b2973117689aab4823b SHA1 6797b85cf4bd44a3a1c3ff1ccb9c46b55f9391f9 SHA256 1bb19bcc52d365b47dd0e7bc06e3208786447a1cf759d6595c516a0f0cde3cb2
+DIST tor-0.2.1.15-rc.tar.gz 2389330 RMD160 9d312b3e1e1d12411ca3b7d2b1ebb75c8d91d430 SHA1 39f35466e20fc39bb802af5fa7593e2dd2b243b6 SHA256 0b40107c3f2c12bab72f29336306d704373acbec9d8ada1c77ba4de2b473c6cf
EBUILD tor-0.2.0.34.ebuild 2617 RMD160 894cd61c0eb3fd01727d8c129644e2543424df30 SHA1 1685c14637a877361a72b4e5644e544b937c8b14 SHA256 791d4ef0866c59edbd38a4a41268af584fef2311b582b48ebf9ff73df2839d58
-MISC ChangeLog 24952 RMD160 fa08614914afa2bef2b1fff575f0e2e322055b0d SHA1 7213f0f3a7be1bdfb9437f94c7e13472d53cbdd7 SHA256 b8685123167e410ac38b4bdfecaf300cb3f8bdd89772d32ceed83b1a4660c0e4
+EBUILD tor-0.2.1.15_rc.ebuild 2746 RMD160 2a40ecaabed61cc0503fbf565afb44e4697057a1 SHA1 e1db93f4bf412355851045461a50d60e909a345b SHA256 ca93be9cd5f32a27a5af5975c4cdca738c8a94a07c38e0fc088c5e9c33b23fad
+MISC ChangeLog 25108 RMD160 503be388ae579a1e2faba295a4829d473bc3667a SHA1 e9876d8a7a0a1c99ad16b11748b0878211ab9717 SHA256 93585fc33e88c228340ed0c3d2daa9fcabd26b2f6f1d8f8261bb26dee0b7a96c
MISC metadata.xml 482 RMD160 8dca0b35cd6e529c49031ba66a4c29fd3075a131 SHA1 909c1148521f411a17bcfd3ec97cc1ccadd4f580 SHA256 43850c54cf0ec6651bf3c4ef826b28d84e284e60891ca39c20284e2a3bbdcec9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkoxqTwACgkQNQqtfCuFneM34wCfX11FtA5baAbD9obI/dd2BhNo
-imAAnAm+oReX2MXZzu5COe0Dspp4VeLP
-=cNSI
+iEYEARECAAYFAko435gACgkQNQqtfCuFneOTPACdEHw931OZQY4/O4kyzNecYNaV
+KTAAoJ0TFDsS/lR4DkVSYPzb6EMy60ca
+=K/gZ
-----END PGP SIGNATURE-----
diff --git a/net-misc/tor/tor-0.2.1.15_rc.ebuild b/net-misc/tor/tor-0.2.1.15_rc.ebuild
new file mode 100644
index 000000000000..62dd7c6c472b
--- /dev/null
+++ b/net-misc/tor/tor-0.2.1.15_rc.ebuild
@@ -0,0 +1,87 @@
+# 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.15_rc.ebuild,v 1.1 2009/06/17 12:20:03 fauli Exp $
+
+EAPI=2
+
+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="+bundledlibevent 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 (0.2.1 or later). 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 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"
+
+ if ! use bundledlibevent; then
+ elog
+ elog "Please be aware that using the system's libevent library will lower your anonymity"
+ elog "a little bit. If you rely on it, please enable USE=bundledlibevent."
+ fi
+}