summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-03-11 04:11:27 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-03-11 04:11:27 +0000
commitf7bfc3b18bd57241096a30682a961b550ed5c683 (patch)
tree99117d1b8d3286bc6d46a125c8f5ac863c4761f9 /net-misc/tor
parentStable for HPPA (bug #358265). (diff)
downloadhistorical-f7bfc3b18bd57241096a30682a961b550ed5c683.tar.gz
historical-f7bfc3b18bd57241096a30682a961b550ed5c683.tar.bz2
historical-f7bfc3b18bd57241096a30682a961b550ed5c683.zip
Version bump on alpha and removal of deprecated vesion.
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'net-misc/tor')
-rw-r--r--net-misc/tor/ChangeLog8
-rw-r--r--net-misc/tor/Manifest4
-rw-r--r--net-misc/tor/tor-0.2.2.23_alpha.ebuild76
3 files changed, 86 insertions, 2 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 2f498ac5d077..04de60b5e7a7 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/tor
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.239 2011/02/27 22:59:09 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.240 2011/03/11 04:11:27 blueness Exp $
+
+*tor-0.2.2.23_alpha (11 Mar 2011)
+
+ 11 Mar 2011; Anthony G. Basile <blueness@gentoo.org>
+ +tor-0.2.2.23_alpha.ebuild:
+ Version bump on alpha and removal of deprecated vesion.
27 Feb 2011; Anthony G. Basile <blueness@gentoo.org> +tor-0.2.1.29.ebuild:
Reverted removal of only stable ebuild on most arches.
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index 5eb0e847df8e..ba6a2111b9f3 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -6,9 +6,11 @@ AUX torrc.sample-0.1.2.6.patch 1145 RMD160 3656774f05abe54ec22a121954a1d437fe1da
DIST tor-0.2.1.29.tar.gz 2521399 RMD160 2587fc9162852434a395ec796ebdcee1972d9aa9 SHA1 cd534b99c91070504f4e70008ab8940a816b5bc6 SHA256 070d314effd6c08f8b5a8a1ebb4f5c3af644d48a9e38e9cba34fd3f2e981ec64
DIST tor-0.2.1.30.tar.gz 2447447 RMD160 05e4a1443a5494982ef78dc61a088da26a09e9cf SHA1 f25b89d8c677c83ee0559036d5b13d49b272b3b0 SHA256 f352a1a8ffa469ae251324f89386074074bcffef1a7c6a72caa7e4c2d12ce109
DIST tor-0.2.2.22-alpha.tar.gz 2645384 RMD160 97ea57ac0eb060442ae83d145a4f477692d403c2 SHA1 196a6602fdcba9350b3d7099f68cee404f9e5485 SHA256 8ff8be912fcacdb58746852a54ca89d7b1fb09883510fb5303fba2ba5f357db0
+DIST tor-0.2.2.23-alpha.tar.gz 2569327 RMD160 e61dcf8a32bc1a3d21140742e31750b4a4607dd6 SHA1 f6e044d429046f46000592c8c574b42d19c45bc0 SHA256 a61ed183903757a67e8f48cb6a81629726998426ba2c2121d68fdb692c2b01a6
EBUILD tor-0.2.1.29-r1.ebuild 2673 RMD160 829287986a7579f64ce24f1c67b2c83712331990 SHA1 c63edd67a02b42e238089da23565bf09f99a56c3 SHA256 a30242e1bb1318991ba2ed174b16a128b795d8bc3844c1c17663cdbff5b09ff3
EBUILD tor-0.2.1.29.ebuild 2505 RMD160 1fa43d7e06fbc0d6d4ebe1a3896c2989016ac54c SHA1 55b0286b353911e8d91f1e01c1d01a22f323cf67 SHA256 4429817f8634c9cdbb129d8509e99381f181d2329be007f4050f6399eb6c8f5e
EBUILD tor-0.2.1.30.ebuild 2651 RMD160 0139bd891e80c692d6875675643a8e10cce32888 SHA1 fb73c4e0a737837dbf5e7e80a22601f8054721c9 SHA256 e2c9371b84400d21dc87ea290caf1437c0aa5c78f879d2b5008f755979143a34
EBUILD tor-0.2.2.22_alpha-r1.ebuild 2147 RMD160 e0ab6be90fd4ed9ee984c546dfb833b86b43e445 SHA1 a61b03743b8a7168d59c11b7055b96526613eacd SHA256 bceafec5e0923cd0e7e1a0461e192b9d7d380e3e4de3956ca5e8d15f76e0ce94
-MISC ChangeLog 34431 RMD160 0d575b167a6bd495d44725ad43d3975713063e1d SHA1 b7507575c3e3bd057ae65a9afdcf8803ca898ad7 SHA256 0ccc95395e48df887a487e352152c27a9f6e7d58162b9654e1c31d00acbf56c6
+EBUILD tor-0.2.2.23_alpha.ebuild 2017 RMD160 be39918faf67f038a316807aba0f6051e61f38c2 SHA1 6122c4e2caedc1666a177ed8a196fd4563680869 SHA256 6524aa5df720c1e05ca95acb0ffb4b0719111f002523266269179e5ff1d789df
+MISC ChangeLog 34610 RMD160 68c0e7951b431b3dfcf39ce9ff48b4761709298a SHA1 097d14017f446b7ed0a54089670d85f7b15ad59f SHA256 f509988868bccbb25e6c148deaae257e4254da9bb49ceacfe79c061856c73529
MISC metadata.xml 363 RMD160 b21bb38c95a109d36b252b8e48b9c6724f75721c SHA1 6354a0d53fa168ddcd650f87872124f1edb345ef SHA256 650857d8f3d615ee0d0bcdb3d600d98eb58bae0d98c021dc6ff5ec774d77a142
diff --git a/net-misc/tor/tor-0.2.2.23_alpha.ebuild b/net-misc/tor/tor-0.2.2.23_alpha.ebuild
new file mode 100644
index 000000000000..d199631d6553
--- /dev/null
+++ b/net-misc/tor/tor-0.2.2.23_alpha.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.2.23_alpha.ebuild,v 1.1 2011/03/11 04:11:27 blueness Exp $
+
+EAPI=3
+
+inherit eutils versionator
+
+MY_PV="$(replace_version_separator 4 -)"
+MY_PF="${PN}-${MY_PV}"
+DESCRIPTION="Anonymizing overlay network for TCP"
+HOMEPAGE="http://www.torproject.org/"
+SRC_URI="http://www.torproject.org/dist/${MY_PF}.tar.gz"
+S="${WORKDIR}/${MY_PF}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug"
+
+DEPEND="dev-libs/openssl
+ >=dev-libs/libevent-2.0"
+# The tordns patch for tsocks avoids some leakage of information thus raising anonymity
+RDEPEND="${DEPEND}
+ net-proxy/tsocks[tordns]"
+
+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
+}
+
+src_configure() {
+ econf $(use_enable debug) --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ newinitd "${FILESDIR}"/tor.initd-r4 tor
+ emake DESTDIR="${D}" install || die
+ keepdir /var/{lib,log,run}/tor
+
+ dodoc README ChangeLog 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/tor/
+ doins "${FILESDIR}"/torrc
+
+ 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
+ elog "We created a configuration file for tor, /etc/tor/torrc, but you can"
+ elog "change it according to your needs. Use the torrc.sample that is in"
+ elog "that directory as a guide. Also, to have privoxy work with tor"
+ elog "just add the following line"
+ elog
+ elog "forward-socks4a / localhost:9050 ."
+ elog
+ elog "to /etc/privoxy/config. Notice the . at the end!"
+ elog
+}