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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Sep 11 23:14:16 2005 UTC (9 years ago) by humpback
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
small chnge to init script
(Portage version: 2.0.52-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.1.0.14.ebuild,v 1.5 2005/09/03 12:07:59 humpback 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"
14 IUSE=""
15
16 DEPEND="dev-libs/openssl
17 dev-libs/libevent"
18 RDEPEND="net-proxy/tsocks"
19
20 src_unpack() {
21 unpack ${A}
22 epatch ${FILESDIR}/torrc.sample-0.1.0.14.patch
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 -1 /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