summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-08-28 11:10:10 +0000
committerAnthony G. Basile <blueness@gentoo.org>2011-08-28 11:10:10 +0000
commitaf1c0e8cd412757496da552c40120ec901c55e07 (patch)
tree3aebbb7d9b8444b41accec2b7cc27b132c0fb0ad /net-misc
parentVersion bump (diff)
downloadhistorical-af1c0e8cd412757496da552c40120ec901c55e07.tar.gz
historical-af1c0e8cd412757496da552c40120ec901c55e07.tar.bz2
historical-af1c0e8cd412757496da552c40120ec901c55e07.zip
Version bump to new stable candidate
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
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.2.32.ebuild86
3 files changed, 98 insertions, 5 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 86fdb34cdf43..a7194d1e6766 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,11 @@
# 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.267 2011/08/23 12:26:36 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.268 2011/08/28 11:10:10 blueness Exp $
+
+*tor-0.2.2.32 (28 Aug 2011)
+
+ 28 Aug 2011; Anthony G. Basile <blueness@gentoo.org> +tor-0.2.2.32.ebuild:
+ Version bump to new stable candidate
23 Aug 2011; Anthony G. Basile <blueness@gentoo.org> files/tor.initd-r4:
Removed incorrect --stop from init script, bug #379939
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index 743948b2bedd..aa28a1730674 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -12,17 +12,19 @@ AUX torrc 169 RMD160 f3fe077f017af465013e34f7b50f95f65d063cf0 SHA1 48061474d7176
AUX torrc.sample-0.1.2.6.patch 1145 RMD160 3656774f05abe54ec22a121954a1d437fe1da520 SHA1 a0c658eafc8feb134e4ce8c7a5cdf94074ad79f5 SHA256 5b94e1d8c097626402b0b388fefb15f11b95db112b23d358e04cfe55331911f1
DIST tor-0.2.1.30.tar.gz 2447447 RMD160 05e4a1443a5494982ef78dc61a088da26a09e9cf SHA1 f25b89d8c677c83ee0559036d5b13d49b272b3b0 SHA256 f352a1a8ffa469ae251324f89386074074bcffef1a7c6a72caa7e4c2d12ce109
DIST tor-0.2.2.31-rc.tar.gz 2676161 RMD160 dd4fcc6af02665976c8f069feff1964fd1a96af8 SHA1 c1b94c0f85090d5aef3f92f8286a02ae11793f37 SHA256 c699bcb472084acfd53d1669cacbc4c5b25cb7988e18ec7597e39786242055a8
+DIST tor-0.2.2.32.tar.gz 2701371 RMD160 649c21f7ec89e34774c79db6544b612f0895bb61 SHA1 4baddc836931b3e915974c261e405e111636b716 SHA256 8744328c10b54950e08ee404a75a0e76865be0615cad6f7ffc8c75af7151ef4d
DIST tor-0.2.3.2-alpha.tar.gz 2755750 RMD160 d34ac6b45360af873202a6884ce12ccf0420adee SHA1 020eb00aaaafa1e7102ae8fd95d3d6a719a61289 SHA256 8f423af73c8d8477752858cfcc0c15860f487a0f9a390e791eaea22f4b467edd
EBUILD tor-0.2.1.30-r2.ebuild 3008 RMD160 bce113cab2f227bf7437adb2b9723425845eca3c SHA1 75b4f871d4936576c7645042a226b814f7be2c86 SHA256 53f7482a36cc6a8009f813cd4754756c224daaa787ed666eff2dc7be640caacc
EBUILD tor-0.2.1.30.ebuild 2646 RMD160 507a8939e024a5c9829e4ad5b598945fb8f26014 SHA1 5b2246b1f1b7db206558157801fe58b72cf6165a SHA256 e3e386af1fb917b2da75f45e110176b4fc2cfc776df98fac45719f9827f028ff
EBUILD tor-0.2.2.31_rc.ebuild 2526 RMD160 e0ab7804f64cf626736fe07d36a91e4ad8301d6c SHA1 4d0020822e643f22f3fffb762754c185954a5b54 SHA256 0a2f4d042ea291f16392864f0e1d8233dd513db95756bac9c84fdd14b787b5a5
+EBUILD tor-0.2.2.32.ebuild 2523 RMD160 d59c6589453dc077d404b9707f4b991ed63d8841 SHA1 d0179d5192beee04215652b4b2dd2793b6f4b352 SHA256 81f8184da9a9a369ab9310974d377003b918bc2dc99666e0ef1184087dc4bdd8
EBUILD tor-0.2.3.2_alpha-r2.ebuild 2780 RMD160 60864e8594af4ca28877e0a9b208ac0564228545 SHA1 ec4772246ec7f51716480b853d85f3e95d01a2e4 SHA256 54057e7021db126865a71d8634d751d2b8c88de57f61dafd277320a01077d913
-MISC ChangeLog 39314 RMD160 3c1f28dedd5ad0781070aba96728504cbcc967c3 SHA1 303068653315031117cec4224ea045651a48331d SHA256 7591c5de052d5dcee9704edcd9b28d6b6395f3516c44ddf2487404961dc6d0b7
+MISC ChangeLog 39460 RMD160 807ee90f301658e0980d3fff36353b0893993968 SHA1 31d83056ec78d5f8d22b73db88b159123ac37d69 SHA256 77fe6d1e148901cf65442fa7b9b9df2719fe1de2ec709c78c0203c8a8b67b710
MISC metadata.xml 712 RMD160 d8585c57fead7661b72e383528b6450a2ace05eb SHA1 d97b0d9479c817d5a2207fbfc0fa5b567943c8a5 SHA256 53402fd0dc16696d9504c66ffeb85f3d8583c8621151d2faced9b1ffedbb2dbc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREIAAYFAk5TnIcACgkQl5yvQNBFVTWqygCfXza6+ks9mV7de8pOd8p7NSV5
-qU0An2aVb9MlvScJ9ZnIqmulnQndjuOw
-=IRq6
+iEYEAREIAAYFAk5aIh4ACgkQl5yvQNBFVTWBXACffXzUtU+3So9BMi6d8NI12Mxr
+Lv4AoILm7MuzOAVOktUf7utGaa9EJi00
+=UJZg
-----END PGP SIGNATURE-----
diff --git a/net-misc/tor/tor-0.2.2.32.ebuild b/net-misc/tor/tor-0.2.2.32.ebuild
new file mode 100644
index 000000000000..f89fe20315e0
--- /dev/null
+++ b/net-misc/tor/tor-0.2.2.32.ebuild
@@ -0,0 +1,86 @@
+# 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.32.ebuild,v 1.1 2011/08/28 11:10:10 blueness Exp $
+
+EAPI=4
+
+inherit autotools eutils flag-o-matic 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="doc tor-hardening +transparent-proxy threads"
+
+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
+
+ einfo "Regenerating autotools files ..."
+ epatch "${FILESDIR}"/${PN}-0.2.2.24_alpha-respect-CFLAGS.patch
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_configure() {
+ # Upstream isn't sure of all the user provided CFLAGS that
+ # will break tor, but does recommend against -fstrict-aliasing.
+ # We'll filter-flags them here as we encounter them.
+ filter-flags -fstrict-aliasing
+ econf --docdir=/usr/share/doc/${PF} \
+ $(use_enable doc asciidoc) \
+ $(use_enable tor-hardening gcc-hardening) \
+ $(use_enable tor-hardening linker-hardening)\
+ $(use_enable transparent-proxy transparent) \
+ $(use_enable threads)
+}
+
+src_install() {
+ newconfd "${FILESDIR}"/tor.confd tor
+ 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/README
+
+ 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
+}
+
+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
+}