summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-11-25 14:21:20 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-11-25 14:21:20 +0000
commitb3d4a9d0db7a2e5d98830b9efa0cf0f27c50d9c6 (patch)
treea975da760b5dc6bf0408f4e266edc234ddf6f724 /net-misc
parentDo not link against uneeded libs, #346751, thanks cschwan for reporting (diff)
downloadhistorical-b3d4a9d0db7a2e5d98830b9efa0cf0f27c50d9c6.tar.gz
historical-b3d4a9d0db7a2e5d98830b9efa0cf0f27c50d9c6.tar.bz2
historical-b3d4a9d0db7a2e5d98830b9efa0cf0f27c50d9c6.zip
version bump, fixes OpenSSL issues, see bug 346715
Package-Manager: portage-2.1.8.3/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tor/ChangeLog7
-rw-r--r--net-misc/tor/Manifest14
-rw-r--r--net-misc/tor/tor-0.2.1.27.ebuild78
3 files changed, 97 insertions, 2 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index df4764b2fdc5..64076fe8f236 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/tor
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.212 2010/10/14 16:58:05 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.213 2010/11/25 14:21:19 fauli Exp $
+
+*tor-0.2.1.27 (25 Nov 2010)
+
+ 25 Nov 2010; Christian Faulhammer <fauli@gentoo.org> +tor-0.2.1.27.ebuild:
+ version bump, fixes OpenSSL issues, see bug 346715
14 Oct 2010; Brent Baude <ranger@gentoo.org> tor-0.2.1.26.ebuild:
stable ppc, bug 329879
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index d3320d02a3c1..eef4767ae8d8 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -1,10 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX tor-0.2.1.19-logrotate.patch 746 RMD160 34ae926877e1b388c5e1c3cf0a16feba8b3f010b SHA1 3df06da077694b2312cc33a76db4a9e27a602d78 SHA256 60370cb70e089f4e675f39610c651537d0df5e5d1066c36417f479738549bec3
AUX tor.conf 89 RMD160 3ed95351d715ed05db3baa3dd8802832cb06989f SHA1 ec2a2cb216c35e37803b29a508d0914639a7f82b SHA256 3ed15ecce5c312fb4d50e0e8f3a645d67c660e2930a9dbadf010803b8fd095a0
AUX tor.initd-r4 1566 RMD160 95692924474ad8e76dfdd60c44a9b4a618356d75 SHA1 cefe786a37b042edde03c00cb0500d6aade6cdd9 SHA256 aa5733badb87ebfe5efd0c3750a24f4589a480555f7c6ed579aa1c621ad09efc
AUX torrc.sample-0.1.2.6.patch 1145 RMD160 3656774f05abe54ec22a121954a1d437fe1da520 SHA1 a0c658eafc8feb134e4ce8c7a5cdf94074ad79f5 SHA256 5b94e1d8c097626402b0b388fefb15f11b95db112b23d358e04cfe55331911f1
DIST tor-0.2.1.25.tar.gz 2406985 RMD160 e691b904e0d447b3f590f1e9e71b4daad020bd8d SHA1 11c176374be47825b4b7fa00b5654277d0838022 SHA256 8758b489ea5686fa09cdc50850116031178fa7429b63d3f37d74d588e9b6179e
DIST tor-0.2.1.26.tar.gz 2405749 RMD160 6fe03ec4a8f72c9eda4a47370ebb240db78a4a39 SHA1 87af7aa658774031d181340848a875e4fd8e27bf SHA256 6cdc60ed0b2e3eb790cbf37741a3c86a004f4f7c6678e25b9b936d6a340c7fa2
+DIST tor-0.2.1.27.tar.gz 2484332 RMD160 f8d3a27afd679ce67787624cc8b6752740e1c09b SHA1 1a1788cc3b38f333e513a43325e9db0bb1b2a8cf SHA256 ec4d5c67231551d5ee3bf6cbccb87fccac3491fbe80f1d3fb778ad6b3d3f661c
EBUILD tor-0.2.1.25.ebuild 2407 RMD160 81b99e5685559a802f62efe0125e2171a87b796b SHA1 39530b4c47568aa6d47e0650df096397ed3d4fbf SHA256 1f3cb42aa7ab77d86e416b751332824961c094f9fce59491526f1213a4de046b
EBUILD tor-0.2.1.26.ebuild 2408 RMD160 54a7182ece59c2b574ea90e4857e106bd6c9ddca SHA1 be42281353df84052324779ec3389fd793a374f2 SHA256 8732843adcee7f62b9aea28be5d84a61843d797568d479fa71e8c9e196a929f2
-MISC ChangeLog 30942 RMD160 f9d2ce9a0edd6a2ade3503239f84cdb3bf32f309 SHA1 3875ebb535387e6e5a08fca535549fee5a155b5b SHA256 8b669a47ae00f533e0bf4681d073b3d7b5e25dd4d3de39cee50eee8c8277047d
+EBUILD tor-0.2.1.27.ebuild 2411 RMD160 1def67b4cde95806da0e1422acfdf8909f558493 SHA1 275b11afa8f6984352e51035fd2ebafda7261947 SHA256 5e21581a6b8c0d7e2b58abbe12f26285120b2f432b4c6f98fb75faceedf341fd
+MISC ChangeLog 31101 RMD160 fc85eb4402846ce2bcde28c3ea4f0655b3db5f52 SHA1 425e133d81ef1091fa8d5d82e6e3c0650397de10 SHA256 60c805de673677583285c257f93a08b1a653538865c88bc0263930c3767a8ac1
MISC metadata.xml 267 RMD160 a398b5836e879f428bd41c216cd78e0b74ba4a19 SHA1 a50a89dacbfc58be9ba6d770a8a89e6bc25dcc97 SHA256 1316b61e357b805539ece8f71defe0e6261b04d0e546a2e8e0050bec34ff25bc
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkzucTYACgkQNQqtfCuFnePzVgCghbiRIRnzuzkuLk9iNamFHcOu
+hGgAnjxRz7+NlaaJKdNmjc1HxgEtFdfU
+=qoWE
+-----END PGP SIGNATURE-----
diff --git a/net-misc/tor/tor-0.2.1.27.ebuild b/net-misc/tor/tor-0.2.1.27.ebuild
new file mode 100644
index 000000000000..d2ec999f65c3
--- /dev/null
+++ b/net-misc/tor/tor-0.2.1.27.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2010 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.27.ebuild,v 1.1 2010/11/25 14:21:20 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 ~arm ~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.1.19-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
+
+ 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"
+}