diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2008-01-31 10:24:11 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2008-01-31 10:24:11 +0000 |
commit | 38f169ddd8b272d6b0f97f23bdf31c3a4919be86 (patch) | |
tree | b4d4b42eedf3c96af2d5f7ed3c32fc451edaa9f9 /net-misc | |
parent | Initial commit (bug #88638, ebuild rewritten from scratch by me). (diff) | |
download | gentoo-2-38f169ddd8b272d6b0f97f23bdf31c3a4919be86.tar.gz gentoo-2-38f169ddd8b272d6b0f97f23bdf31c3a4919be86.tar.bz2 gentoo-2-38f169ddd8b272d6b0f97f23bdf31c3a4919be86.zip |
version bump
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/tor/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/tor/files/digest-tor-0.1.2.19 | 3 | ||||
-rw-r--r-- | net-misc/tor/tor-0.1.2.19.ebuild | 66 |
3 files changed, 75 insertions, 1 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog index 159c02edc4c9..580f631fd7a0 100644 --- a/net-misc/tor/ChangeLog +++ b/net-misc/tor/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/tor # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.99 2008/01/03 21:02:50 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.100 2008/01/31 10:24:10 opfer Exp $ + +*tor-0.1.2.19 (31 Jan 2008) + + 31 Jan 2008; Christian Faulhammer <opfer@gentoo.org> +tor-0.1.2.19.ebuild: + version bump *tor-0.1.2.18 (03 Jan 2008) diff --git a/net-misc/tor/files/digest-tor-0.1.2.19 b/net-misc/tor/files/digest-tor-0.1.2.19 new file mode 100644 index 000000000000..6dc69cf1be9f --- /dev/null +++ b/net-misc/tor/files/digest-tor-0.1.2.19 @@ -0,0 +1,3 @@ +MD5 4b3f9963b843010af5aa3bd6266d11e0 tor-0.1.2.19.tar.gz 1264275 +RMD160 4f1b5474a4bbad2e3c82ef0fce2dd838907e48d5 tor-0.1.2.19.tar.gz 1264275 +SHA256 7e57198a0858f5ba8651d75225248c85b619e905f0ff4dbb45fffa2d03a1aa61 tor-0.1.2.19.tar.gz 1264275 diff --git a/net-misc/tor/tor-0.1.2.19.ebuild b/net-misc/tor/tor-0.1.2.19.ebuild new file mode 100644 index 000000000000..641b4e256d03 --- /dev/null +++ b/net-misc/tor/tor-0.1.2.19.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.2.19.ebuild,v 1.1 2008/01/31 10:24:10 opfer Exp $ + +inherit eutils + +DESCRIPTION="Anonymizing overlay network for TCP" +HOMEPAGE="http://tor.eff.org" +MY_PV=${PV/_/-} +SRC_URI="http://tor.eff.org/dist/${PN}-${MY_PV}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~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_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/torrc.sample-0.1.2.6.patch + epatch "${FILESDIR}"/tor.logrotate.patch +} + +src_compile() { + econf $(use_enable debug) + emake || die "emake failed" +} + +src_install() { + newinitd "${FILESDIR}"/tor.initd-r3 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 + + sed -i -e "s:/lib::" \ + -e "s:/rc.d::" \ + -e "s:\\*:\\*.:" contrib/tor.logrotate + insinto /etc/logrotate.d + newins contrib/tor.logrotate tor +} + +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" +} |