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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jun 16 23:21:03 2005 UTC (9 years, 3 months ago) by humpback
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
fix sec bug
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2005 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.0.9.6.ebuild,v 1.5 2005/06/12 01:28:31 humpback Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Anonymizing overlay network for TCP"
8 HOMEPAGE="http://tor.eff.org"
9 SRC_URI="http://www.freehaven.net/tor/dist/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc ~amd64 ppc64"
14 IUSE=""
15
16 DEPEND="dev-libs/openssl"
17 RDEPEND="net-proxy/tsocks"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}/src/config
22 epatch ${FILESDIR}/torrc.sample.patch-00
23 }
24
25 src_install() {
26 exeinto /etc/init.d ; newexe ${FILESDIR}/tor.initd tor
27 make DESTDIR=${D} install || die
28
29 dodoc README ChangeLog AUTHORS INSTALL \
30 doc/{CLIENTS,FAQ,HACKING,TODO} \
31 doc/{control-spec.txt,rend-spec.txt,tor-doc.css,tor-doc.html,tor-spec.txt}
32
33 enewgroup tor
34 enewuser tor -1 /bin/false /var/lib/tor tor
35 dodir /var/lib/tor
36 dodir /var/log/tor
37 fperms 750 /var/lib/tor /var/log/tor
38 fowners tor:tor /var/lib/tor /var/log/tor
39 }
40
41 pkg_postinst() {
42 einfo "You must create /etc/tor/torrc, you can use the sample that is in that directory"
43 einfo "To have privoxy and tor working together you must add:"
44 einfo "forward-socks4a / localhost:9050 ."
45 einfo "to /etc/privoxy/config"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20