Version bump alpha
authorAnthony G. Basile <blueness@gentoo.org>
Thu, 29 Sep 2011 10:37:18 +0000 (10:37 +0000)
committerAnthony G. Basile <blueness@gentoo.org>
Thu, 29 Sep 2011 10:37:18 +0000 (10:37 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64

net-misc/tor/ChangeLog
net-misc/tor/Manifest
net-misc/tor/tor-0.2.3.5_alpha.ebuild [new file with mode: 0644]

index ed882e873a7d413a35a31be379dda83043c91a5e..27049cbed71be3d952a75eda17dc48bdcb7cb3b5 100644 (file)
@@ -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.281 2011/09/14 12:14:38 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.282 2011/09/29 10:37:18 blueness Exp $
+
+*tor-0.2.3.5_alpha (29 Sep 2011)
+
+  29 Sep 2011; Anthony G. Basile <blueness@gentoo.org>
+  +tor-0.2.3.5_alpha.ebuild:
+  Version bump alpha
 
 *tor-0.2.2.33 (14 Sep 2011)
 
index 92b67d67938681103179dd4c5e206724df3347a3..1a0f85a378f1e541b48b7e4a52bbea4c4292e9f9 100644 (file)
@@ -16,19 +16,19 @@ DIST tor-0.2.1.30.tar.gz 2447447 RMD160 05e4a1443a5494982ef78dc61a088da26a09e9cf
 DIST tor-0.2.2.32.tar.gz 2701371 RMD160 649c21f7ec89e34774c79db6544b612f0895bb61 SHA1 4baddc836931b3e915974c261e405e111636b716 SHA256 8744328c10b54950e08ee404a75a0e76865be0615cad6f7ffc8c75af7151ef4d
 DIST tor-0.2.2.33.tar.gz 2719888 RMD160 7b47c08a4ecfa0864f28d5beb3ab26b5292f3170 SHA1 2bbeb73cf866cc2701c0d28d3438e8626c1e8cca SHA256 5af42b1cc07704fcbde8bb44380e5a02ebedc75470a132c70022ecb5f8476bcf
 DIST tor-0.2.3.4-alpha.tar.gz 2832798 RMD160 f2942b0de74abe0623a5382e686bf190787c37a7 SHA1 b82470462826032c291834de3fb70eff36dc4d81 SHA256 38a471f2ad3493e3ce3f693137acaf37a75d586dd48887924ae332c1f488b6eb
+DIST tor-0.2.3.5-alpha.tar.gz 2835138 RMD160 96e5d0fb571d0b62907574957a58828e3cb26057 SHA1 739a2a8892cc105a41e29b4f663b18074030c7ba SHA256 9b5467f4c1229b81e3c4d7e1ffdd17c01b1f5c3b9c5ce030108690d3ef5488d0
 EBUILD tor-0.2.1.30-r2.ebuild 2894 RMD160 a6aaaaf83e6608f02bd4496ee9600346863f675f SHA1 dc1dc79ed78585c7c64baddc425996a8052662d6 SHA256 82109558a7fa00240306b0f354c5337d8643183b4b66735dcda48cc34566fe54
 EBUILD tor-0.2.1.30.ebuild 2646 RMD160 507a8939e024a5c9829e4ad5b598945fb8f26014 SHA1 5b2246b1f1b7db206558157801fe58b72cf6165a SHA256 e3e386af1fb917b2da75f45e110176b4fc2cfc776df98fac45719f9827f028ff
 EBUILD tor-0.2.2.32-r2.ebuild 2226 RMD160 b1879869530b9cd717da5bbf7f0fa03295ba8381 SHA1 d91e3240c6888c8d93b82aea9ba4d609aec56438 SHA256 b7c6230aef849a262d37b585f4b9406bb71d377923840714c091006fd124bec4
 EBUILD tor-0.2.2.33.ebuild 2223 RMD160 516b19345851a48fff3032ce733e394cb906b41b SHA1 3fa3c2e2d48a1467c1c48fb6f8371264b1e56356 SHA256 a2f847f7bf8aff436058b0e6868473fb06ca0bbda83c95e22ca616ed8cf27591
 EBUILD tor-0.2.3.4_alpha.ebuild 2399 RMD160 1f48d7962ad262ca8f5cec431535a493e86fde4d SHA1 915166b7570bd99804255b9b4b58331f3bd03f10 SHA256 87b80407f942379c34c3407e8c75e2628afe998a0290b47178a5f3ac0bd3df99
-MISC ChangeLog 41792 RMD160 fd2d5fc26ac7390c19dd3c8f74e4990c3bfdc3a2 SHA1 1cdad88737bd8fc9f3ecfbf69c61111033727143 SHA256 496c022281330b6f060c31110d1aeeb098957129b952bdb237f1a1466a6a7fe1
+EBUILD tor-0.2.3.5_alpha.ebuild 2399 RMD160 27e7efac0e7d1fd18ec9910b1a1dbd673a3a26bb SHA1 88b2730d0ac7b07ce7a495525cce277c11ed4b0d SHA256 9f1e9278f3624b32511c180c422d7287543be507f33e785c7f571eb86564f63c
+MISC ChangeLog 41932 RMD160 9be68a95b4dc3b1e443aa27af9f7b6781eed5aaf SHA1 511fdaf3f4e0d1d1a59f2eed15c0268d6bcf5ab4 SHA256 16b26a33774de61c2154ba74b4d7a1aca60d1e3d262f5e3de88dd72f6bf762e8
 MISC metadata.xml 690 RMD160 1ae6238c81555b6b4bf2f11479e18a5acdb7b418 SHA1 920cafba2dacb7a034e32f782467c96532465434 SHA256 117ed70261e343abf65a93351f6ba7a5bca941c183bf79168953a3efc5afb0b5
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
 
-iJwEAQEIAAYFAk59rRMACgkQfXuS5UK5QB2NSQP/Qi4Pc0KQep6koTZpsMF05w3c
-GxEFQS55WXUfKxv7EUtXD/iLUBq0DSs2glV0gOLpvO2VFOjeusUY4TnoCLx+sczA
-b9TOQ56xGjMfroxB9XKTof4EQdPGOj1C0ONFiwZj1uHJYX/Y8upNHgr/Z93v4LoE
-kk/3z0KqUvt23/VCVA0=
-=4ycq
+iEYEAREIAAYFAk6ESmsACgkQl5yvQNBFVTUL2wCeJXDJfISR384CYp1eDl6uhfMP
+j/0Ani0wDgPixNcRKWbms8A6sx5C8Ka7
+=NYUU
 -----END PGP SIGNATURE-----
diff --git a/net-misc/tor/tor-0.2.3.5_alpha.ebuild b/net-misc/tor/tor-0.2.3.5_alpha.ebuild
new file mode 100644 (file)
index 0000000..9faffac
--- /dev/null
@@ -0,0 +1,84 @@
+# 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.3.5_alpha.ebuild,v 1.1 2011/09/29 10:37:18 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="+bufferevents doc nat-pmp tor-hardening transparent-proxy threads upnp"
+
+DEPEND="dev-libs/openssl
+       >=dev-libs/libevent-2.0.14
+       nat-pmp? ( net-libs/libnatpmp )
+       upnp? ( <net-libs/miniupnpc-1.6 )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+       enewgroup tor
+       enewuser tor -1 -1 /var/lib/tor tor
+}
+
+src_prepare() {
+       epatch "${FILESDIR}"/torrc.sample.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 bufferevents) \
+               $(use_enable doc asciidoc) \
+               $(use_enable nat-pmp) \
+               $(use_enable tor-hardening gcc-hardening) \
+               $(use_enable tor-hardening linker-hardening) \
+               $(use_enable transparent-proxy transparent) \
+               $(use_enable threads) \
+               $(use_enable upnp)
+}
+
+src_install() {
+       newconfd "${FILESDIR}"/tor.confd tor
+       newinitd "${FILESDIR}"/tor.initd-r6 tor
+       emake DESTDIR="${D}" install || die
+       keepdir /var/lib/tor
+
+       dodoc README ChangeLog ReleaseNotes \
+               doc/{HACKING,TODO} \
+               doc/spec/README
+
+       fperms 750 /var/lib/tor
+       fowners tor:tor /var/lib/tor
+
+       insinto /etc/tor/
+       newins "${FILESDIR}"/torrc-r1 torrc
+}
+
+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
+}