1 |
opfer 08/09/03 06:57:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tor-0.2.0.30-r1.ebuild |
5 |
Log: |
6 |
update init script to prevent runtime failures as reported in bug 235208 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.124 net-misc/tor/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/ChangeLog?rev=1.124&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/ChangeLog?rev=1.124&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/ChangeLog?r1=1.123&r2=1.124 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v |
19 |
retrieving revision 1.123 |
20 |
retrieving revision 1.124 |
21 |
diff -u -r1.123 -r1.124 |
22 |
--- ChangeLog 3 Aug 2008 16:28:10 -0000 1.123 |
23 |
+++ ChangeLog 3 Sep 2008 06:57:13 -0000 1.124 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for net-misc/tor |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.123 2008/08/03 16:28:10 opfer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.124 2008/09/03 06:57:13 opfer Exp $ |
29 |
+ |
30 |
+*tor-0.2.0.30-r1 (03 Sep 2008) |
31 |
+ |
32 |
+ 03 Sep 2008; Christian Faulhammer <opfer@g.o> +files/tor.initd-r4, |
33 |
+ +tor-0.2.0.30-r1.ebuild: |
34 |
+ update init script to prevent runtime failures as reported in bug 235208 |
35 |
|
36 |
*tor-0.2.0.30 (03 Aug 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-misc/tor/tor-0.2.0.30-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/tor-0.2.0.30-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/tor-0.2.0.30-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: tor-0.2.0.30-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.0.30-r1.ebuild,v 1.1 2008/09/03 06:57:13 opfer Exp $ |
51 |
|
52 |
inherit eutils |
53 |
|
54 |
DESCRIPTION="Anonymizing overlay network for TCP" |
55 |
HOMEPAGE="http://tor.eff.org" |
56 |
MY_PV=${PV/_/-} |
57 |
SRC_URI="http://tor.eff.org/dist/${PN}-${MY_PV}.tar.gz" |
58 |
S="${WORKDIR}/${PN}-${MY_PV}" |
59 |
|
60 |
LICENSE="BSD" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 |
IUSE="debug logrotate" |
64 |
|
65 |
DEPEND="dev-libs/openssl |
66 |
>=dev-libs/libevent-1.2" |
67 |
RDEPEND="${DEPEND} |
68 |
net-proxy/tsocks" |
69 |
|
70 |
pkg_setup() { |
71 |
enewgroup tor |
72 |
enewuser tor -1 -1 /var/lib/tor tor |
73 |
} |
74 |
|
75 |
src_unpack() { |
76 |
unpack ${A} |
77 |
cd "${S}" |
78 |
epatch "${FILESDIR}"/torrc.sample-0.1.2.6.patch |
79 |
epatch "${FILESDIR}"/${P}-logrotate.patch |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
econf $(use_enable debug) |
84 |
emake || die |
85 |
} |
86 |
|
87 |
src_install() { |
88 |
newinitd "${FILESDIR}"/tor.initd-r4 tor |
89 |
emake DESTDIR="${D}" install || die |
90 |
keepdir /var/{lib,log,run}/tor |
91 |
|
92 |
dodoc README ChangeLog AUTHORS ReleaseNotes \ |
93 |
doc/{HACKING,TODO} \ |
94 |
doc/spec/*.txt |
95 |
|
96 |
fperms 750 /var/lib/tor /var/log/tor |
97 |
fperms 755 /var/run/tor |
98 |
fowners tor:tor /var/lib/tor /var/log/tor /var/run/tor |
99 |
|
100 |
if use logrotate; then |
101 |
sed -e "s:/lib::" \ |
102 |
-e "s:/rc.d::" \ |
103 |
-e "s:\\*:\\*.:" \ |
104 |
-e "s:sharedscripts:create 0640 tor tor\n\tsharedscripts:" -i contrib/tor.logrotate || die |
105 |
insinto /etc/logrotate.d |
106 |
newins contrib/tor.logrotate tor |
107 |
fi |
108 |
} |
109 |
|
110 |
pkg_postinst() { |
111 |
elog "You must create /etc/tor/torrc, you can use the sample that is in that directory" |
112 |
elog "To have privoxy and tor working together you must add:" |
113 |
elog "forward-socks4a / localhost:9050 ." |
114 |
elog "(notice the . at the end of the line)" |
115 |
elog "to /etc/privoxy/config" |
116 |
} |