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

Contents of /net-misc/tor/tor-0.0.9.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Feb 25 18:45:48 2005 UTC (9 years, 1 month ago) by humpback
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
marked x86 and removed older versions
(Portage version: 2.0.51-r15)

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.4-r1.ebuild,v 1.1 2005/02/10 21:12:02 humpback Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Anonymizing overlay network for TCP"
8 HOMEPAGE="http://www.freehaven.net/tor/"
9 SRC_URI="http://www.freehaven.net/tor/dist/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~x86 ~ppc ~amd64"
14 IUSE=""
15
16 DEPEND="dev-libs/openssl"
17 RDEPEND="net-misc/tsocks"
18
19 src_install() {
20 exeinto /etc/init.d ; newexe ${FILESDIR}/tor.initd tor
21 make DESTDIR=${D} install || die
22
23 dodoc README ChangeLog AUTHORS INSTALL \
24 doc/{CLIENTS,FAQ,HACKING,TODO} \
25 doc/{control-spec.txt,rend-spec.txt,tor-doc.css,tor-doc.html,tor-spec.txt}
26
27 enewgroup tor
28 enewuser tor -1 /bin/false /var/lib/tor tor
29 dodir /var/lib/tor
30 dodir /var/log/tor
31 fperms 750 /var/lib/tor /var/log/tor
32 fowners tor:tor /var/lib/tor /var/log/tor
33 }
34
35 pkg_postinst() {
36
37 einfo "You must create /etc/tor/torrc, you can use the sample but must add"
38 einfo "User tor, Group tor, DataDirectory /var/lib/tor/data and"
39 einfo "Log notice file /var/log/tor/tor.log"
40 einfo "If you use privoxy probably it is a good idea to add:"
41 einfo "forward-socks4a / localhost:9050 ."
42 einfo "to /etc/privoxy/config"
43 }

  ViewVC Help
Powered by ViewVC 1.1.20