From c48f177351803a08e0a9c8235fddb44bf19307d3 Mon Sep 17 00:00:00 2001 From: Gustavo Felisberto Date: Mon, 18 Dec 2006 02:12:21 +0000 Subject: [PATCH] bump Package-Manager: portage-2.1.1-r2 --- net-misc/tor/ChangeLog | 8 +++- net-misc/tor/files/digest-tor-0.1.1.26 | 3 ++ net-misc/tor/tor-0.1.1.26.ebuild | 53 ++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 net-misc/tor/files/digest-tor-0.1.1.26 create mode 100644 net-misc/tor/tor-0.1.1.26.ebuild diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog index 95b40ecefa94..771926401dc9 100644 --- a/net-misc/tor/ChangeLog +++ b/net-misc/tor/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/tor # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.74 2006/10/22 16:06:24 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.75 2006/12/18 02:12:21 humpback Exp $ + +*tor-0.1.1.26 (18 Dec 2006) + + 18 Dec 2006; Gustavo Felisberto ; + -tor-0.1.1.24.ebuild, +tor-0.1.1.26.ebuild: + Bumped to 0.1.1.26 and removed older version. *tor-0.1.0.18-r1 (22 Oct 2006) diff --git a/net-misc/tor/files/digest-tor-0.1.1.26 b/net-misc/tor/files/digest-tor-0.1.1.26 new file mode 100644 index 000000000000..916d04962bfe --- /dev/null +++ b/net-misc/tor/files/digest-tor-0.1.1.26 @@ -0,0 +1,3 @@ +MD5 0667df7a1f670bee5163b607aea172ba tor-0.1.1.26.tar.gz 893367 +RMD160 cc1ce91d96dc25a963d1f49f7965db106890949a tor-0.1.1.26.tar.gz 893367 +SHA256 3be8c89be5b927e73b77a82ca3d83f0f162fceea2d6a14ce1c0cf5333b36cd1c tor-0.1.1.26.tar.gz 893367 diff --git a/net-misc/tor/tor-0.1.1.26.ebuild b/net-misc/tor/tor-0.1.1.26.ebuild new file mode 100644 index 000000000000..9fe60cbfb5ad --- /dev/null +++ b/net-misc/tor/tor-0.1.1.26.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.1.26.ebuild,v 1.1 2006/12/18 02:12:21 humpback Exp $ + +inherit eutils + +DESCRIPTION="Anonymizing overlay network for TCP" +HOMEPAGE="http://tor.eff.org" +SRC_URI="http://tor.eff.org/dist/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-libs/openssl + dev-libs/libevent" +RDEPEND="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.1.23.patch +} + +src_install() { + exeinto /etc/init.d ; newexe ${FILESDIR}/tor.initd tor + make DESTDIR=${D} install || die + + dodoc README ChangeLog AUTHORS INSTALL \ + doc/{HACKING,TODO} \ + doc/{control-spec.txt,dir-spec.txt,rend-spec.txt,socks-extensions.txt,tor-spec.txt} + + dodir /var/lib/tor + dodir /var/log/tor + dodir /var/run/tor + 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 +} + +pkg_postinst() { + einfo "You must create /etc/tor/torrc, you can use the sample that is in that directory" + einfo "To have privoxy and tor working together you must add:" + einfo "forward-socks4a / localhost:9050 ." + ewarn "(notice the . at the end of the line)" + einfo "to /etc/privoxy/config" +} -- 2.26.2