From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QR5g9-0007zy-JT for garchives@archives.gentoo.org; Mon, 30 May 2011 16:50:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EA561C06B; Mon, 30 May 2011 16:50:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 50E1E1C06B for ; Mon, 30 May 2011 16:50:49 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AF952AC154 for ; Mon, 30 May 2011 16:50:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0852580508 for ; Mon, 30 May 2011 16:50:48 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <40903a055d58d84410d50af16b333b5cf9a19a8b.blueness@gentoo> Subject: [gentoo-commits] dev/blueness:master commit in: net-misc/tor/ X-VCS-Repository: dev/blueness X-VCS-Files: net-misc/tor/ChangeLog net-misc/tor/Manifest net-misc/tor/tor-0.2.2.27_beta.ebuild X-VCS-Directories: net-misc/tor/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 40903a055d58d84410d50af16b333b5cf9a19a8b Date: Mon, 30 May 2011 16:50:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 2f85819e889be1061f794c354376c727 commit: 40903a055d58d84410d50af16b333b5cf9a19a8b Author: Anthony G. Basile gentoo org> AuthorDate: Mon May 30 16:50:42 2011 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Mon May 30 16:50:42 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/blueness.git;a= =3Dcommit;h=3D40903a05 net-misc/tor: version bump of alpha to beta (Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with = key 0xD0455535) --- net-misc/tor/ChangeLog | 6 ++ net-misc/tor/Manifest | 10 ++-- net-misc/tor/tor-0.2.2.27_beta.ebuild | 84 +++++++++++++++++++++++++++= ++++++ 3 files changed, 96 insertions(+), 4 deletions(-) diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog index 9887167..f5b38f3 100644 --- a/net-misc/tor/ChangeLog +++ b/net-misc/tor/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.253 2011/0= 4/29 20:15:56 blueness Exp $ =20 +*tor-0.2.2.27_beta (30 May 2011) + + 30 May 2011; Anthony G. Basile + +tor-0.2.2.27_beta.ebuild: + Version bump of alpha to beta + 10 May 2011; Anthony G. Basile -files/torrc.sample-0.1.2.6.patch, -files/tor-0.2.1.19-logrotate.patch= , -files/tor-0.2.2.24_alpha-respect-CFLAGS.patch, -tor-0.2.3.1_alpha.ebu= ild, diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest index fa85021..f838e38 100644 --- a/net-misc/tor/Manifest +++ b/net-misc/tor/Manifest @@ -1,12 +1,14 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =20 -MISC ChangeLog 37103 RMD160 84f50c5c6be079df7b0855a9140b4ca34c9813cb SHA= 1 39e9e2395185e5fd7c9548e9ed95083ce7201e82 SHA256 22a8f3627e27d8e3e648f60= f2db8998c1dfda1cbf9f3f9e6dacd43b9897d7349 +DIST tor-0.2.2.27-beta.tar.gz 2633715 RMD160 5a475497b035e676b953e1c0b53= 1bead45ecbccb SHA1 c49d0970ecd5d418128d068a4db87cc25349f366 SHA256 61e184= 846ec38f4301ccfc7445567e89168e1d3e6c2e4bfed2d4ba5517ff4d68 +EBUILD tor-0.2.2.27_beta.ebuild 2375 RMD160 53f8494ce98a86e56638d152ceee= ac4185a6c1f0 SHA1 d56bf448cfea86d44f90875308795cf40c58c693 SHA256 4351c3c= fcd94fb1919b399d20854a895cfb3792706fecdeff2d1e0c1c0b86c9c +MISC ChangeLog 37254 RMD160 e55d254e19c644b7484fbcc1c107369ddbedc1a6 SHA= 1 65e00c523c451883f19ebeee70b0cdde33ab0c3d SHA256 ea5451b27103a030a5c28d5= c123ade113c2bf15b68242f176e687d5b53d766eb MISC metadata.xml 363 RMD160 b21bb38c95a109d36b252b8e48b9c6724f75721c SH= A1 6354a0d53fa168ddcd650f87872124f1edb345ef SHA256 650857d8f3d615ee0d0bcd= b3d600d98eb58bae0d98c021dc6ff5ec774d77a142 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) =20 -iEYEAREIAAYFAk3JHt8ACgkQl5yvQNBFVTW1XACfZ2KfQM2U81bAoCTPqwqSQIWC -pcIAnjQUt0NShZCz7G8VYhwgqq9Z/lJK -=3D7wO/ +iEYEAREIAAYFAk3jyuIACgkQl5yvQNBFVTX2CwCdEig3SPfewvh518wpxQISH9JM +e50AmgMXeWS/53IZnI5JK0BSP+owrpyt +=3DoKJT -----END PGP SIGNATURE----- diff --git a/net-misc/tor/tor-0.2.2.27_beta.ebuild b/net-misc/tor/tor-0.2= .2.27_beta.ebuild new file mode 100644 index 0000000..77b7ee7 --- /dev/null +++ b/net-misc/tor/tor-0.2.2.27_beta.ebuild @@ -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.2.25_alpha.ebuil= d,v 1.1 2011/04/29 20:11:45 blueness Exp $ + +EAPI=3D3 + +inherit autotools eutils flag-o-matic versionator + +MY_PV=3D"$(replace_version_separator 4 -)" +MY_PF=3D"${PN}-${MY_PV}" +DESCRIPTION=3D"Anonymizing overlay network for TCP" +HOMEPAGE=3D"http://www.torproject.org/" +SRC_URI=3D"http://www.torproject.org/dist/${MY_PF}.tar.gz" +S=3D"${WORKDIR}/${MY_PF}" + +LICENSE=3D"BSD" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE=3D"" + +DEPEND=3D"dev-libs/openssl + >=3Ddev-libs/libevent-2.0" +# The tordns patch for tsocks avoids some leakage of information thus ra= ising anonymity +RDEPEND=3D"${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=3D/usr/share/doc/${PF} +} + +src_install() { + newinitd "${FILESDIR}"/tor.initd-r4 tor + emake DESTDIR=3D"${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 + + # 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 +}