/[gentoo-x86]/net-misc/tor/tor-0.1.1.22.ebuild
Gentoo

Contents of /net-misc/tor/tor-0.1.1.22.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Sep 5 01:03:17 2006 UTC (8 years, 2 months ago) by humpback
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
removed older versions.
(Portage version: 2.1.1_rc1-r2)
 (Signed Manifest commit)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.1.1.22.ebuild,v 1.2 2006/07/16 17:54:02 flameeyes Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Anonymizing overlay network for TCP"
8 HOMEPAGE="http://tor.eff.org"
9 SRC_URI="http://tor.eff.org/dist/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
14 IUSE=""
15
16 DEPEND="dev-libs/openssl
17 dev-libs/libevent"
18 RDEPEND="net-proxy/tsocks"
19
20 pkg_setup() {
21 enewgroup tor
22 enewuser tor -1 -1 /var/lib/tor tor
23 }
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28 epatch ${FILESDIR}/torrc.sample-0.1.0.16.patch
29 }
30
31 src_install() {
32 exeinto /etc/init.d ; newexe ${FILESDIR}/tor.initd tor
33 make DESTDIR=${D} install || die
34
35 dodoc README ChangeLog AUTHORS INSTALL \
36 doc/{CLIENTS,FAQ,HACKING,TODO} \
37 doc/{control-spec.txt,rend-spec.txt,tor-doc.css,tor-doc.html,tor-spec.txt}
38
39 dodir /var/lib/tor
40 dodir /var/log/tor
41 fperms 750 /var/lib/tor /var/log/tor
42 fowners tor:tor /var/lib/tor /var/log/tor
43 }
44
45 pkg_postinst() {
46 einfo "You must create /etc/tor/torrc, you can use the sample that is in that directory"
47 einfo "To have privoxy and tor working together you must add:"
48 einfo "forward-socks4a / localhost:9050 ."
49 einfo "to /etc/privoxy/config"
50 }

  ViewVC Help
Powered by ViewVC 1.1.20