1 |
fauli 09/06/28 13:35:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tor-0.2.0.35.ebuild |
5 |
Log: |
6 |
version bump for security bug 275628, directly stable for x86 |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.169 net-misc/tor/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/ChangeLog?rev=1.169&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/ChangeLog?rev=1.169&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/ChangeLog?r1=1.168&r2=1.169 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v |
19 |
retrieving revision 1.168 |
20 |
retrieving revision 1.169 |
21 |
diff -u -r1.168 -r1.169 |
22 |
--- ChangeLog 17 Jun 2009 12:23:38 -0000 1.168 |
23 |
+++ ChangeLog 28 Jun 2009 13:35:34 -0000 1.169 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-misc/tor |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.168 2009/06/17 12:23:38 fauli Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.169 2009/06/28 13:35:34 fauli Exp $ |
29 |
+ |
30 |
+*tor-0.2.0.35 (28 Jun 2009) |
31 |
+ |
32 |
+ 28 Jun 2009; Christian Faulhammer <fauli@g.o> +tor-0.2.0.35.ebuild: |
33 |
+ version bump for security bug 275628, directly stable for x86 |
34 |
|
35 |
17 Jun 2009; Christian Faulhammer <fauli@g.o> |
36 |
tor-0.2.1.15_rc.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-misc/tor/tor-0.2.0.35.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/tor-0.2.0.35.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tor/tor-0.2.0.35.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: tor-0.2.0.35.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.0.35.ebuild,v 1.1 2009/06/28 13:35:34 fauli Exp $ |
50 |
|
51 |
EAPI=1 |
52 |
|
53 |
inherit eutils |
54 |
|
55 |
DESCRIPTION="Anonymizing overlay network for TCP" |
56 |
HOMEPAGE="http://tor.eff.org" |
57 |
MY_PV=${PV/_/-} |
58 |
SRC_URI="http://tor.eff.org/dist/${PN}-${MY_PV}.tar.gz" |
59 |
S="${WORKDIR}/${PN}-${MY_PV}" |
60 |
|
61 |
LICENSE="BSD" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd" |
64 |
IUSE="+bundledlibevent debug" |
65 |
|
66 |
DEPEND="dev-libs/openssl |
67 |
>=dev-libs/libevent-1.2" |
68 |
RDEPEND="${DEPEND} |
69 |
net-proxy/tsocks" |
70 |
|
71 |
pkg_setup() { |
72 |
enewgroup tor |
73 |
enewuser tor -1 -1 /var/lib/tor tor |
74 |
} |
75 |
|
76 |
src_unpack() { |
77 |
unpack ${A} |
78 |
cd "${S}" |
79 |
epatch "${FILESDIR}"/torrc.sample-0.1.2.6.patch |
80 |
epatch "${FILESDIR}"/${PN}-0.2.0.30-logrotate.patch |
81 |
# Normally tor uses a bundled libevent fragment to provide |
82 |
# asynchronous DNS requests. This is generally a bad idea, but at |
83 |
# the moment the official libevent does not have the 0x20 hack, so |
84 |
# anonymity is higher with the bundled variant. Remove patch as |
85 |
# soon as upstream has installed the autoconf option to use |
86 |
# system's libevent (0.2.1 or later) |
87 |
# See http://bugs.noreply.org/flyspray/index.php?do=details&id=920 |
88 |
# for upstream's report |
89 |
use bundledlibevent || epatch "${FILESDIR}"/${PN}-0.2.0.33-no-internal-libevent.patch |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
econf $(use_enable debug) |
94 |
emake || die |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
newinitd "${FILESDIR}"/tor.initd-r4 tor |
99 |
emake DESTDIR="${D}" install || die |
100 |
keepdir /var/{lib,log,run}/tor |
101 |
|
102 |
dodoc README ChangeLog AUTHORS ReleaseNotes \ |
103 |
doc/{HACKING,TODO} \ |
104 |
doc/spec/*.txt |
105 |
|
106 |
fperms 750 /var/lib/tor /var/log/tor |
107 |
fperms 755 /var/run/tor |
108 |
fowners tor:tor /var/lib/tor /var/log/tor /var/run/tor |
109 |
|
110 |
sed -e "s:/lib::" \ |
111 |
-e "s:/rc.d::" \ |
112 |
-e "s:\\*:\\*.:" \ |
113 |
-e "s:sharedscripts:create 0640 tor tor\n\tsharedscripts:" -i contrib/tor.logrotate || die |
114 |
insinto /etc/logrotate.d |
115 |
newins contrib/tor.logrotate tor |
116 |
|
117 |
# allow the tor user more open files to avoid errors, see bug 251171 |
118 |
insinto /etc/security/limits.d/ |
119 |
doins "${FILESDIR}"/tor.conf |
120 |
} |
121 |
|
122 |
pkg_postinst() { |
123 |
elog "You must create /etc/tor/torrc, you can use the sample that is in that directory" |
124 |
elog "To have privoxy and tor working together you must add:" |
125 |
elog "forward-socks4a / localhost:9050 ." |
126 |
elog "(notice the . at the end of the line)" |
127 |
elog "to /etc/privoxy/config" |
128 |
|
129 |
if ! use bundledlibevent; then |
130 |
elog |
131 |
elog "Please be aware that using the system's libevent library will lower your anonymity" |
132 |
elog "a little bit. If you rely on it, please enable USE=bundledlibevent." |
133 |
fi |
134 |
} |