1 |
blueness 11/09/01 15:56:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tor-0.2.2.32-r2.ebuild tor-0.2.3.2_alpha-r4.ebuild |
5 |
Removed: tor-0.2.3.2_alpha-r3.ebuild tor-0.2.2.32-r1.ebuild |
6 |
Log: |
7 |
Switch sanity check for /var/run/tor to checkpath |
8 |
|
9 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.271 net-misc/tor/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?rev=1.271&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?rev=1.271&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/ChangeLog?r1=1.270&r2=1.271 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v |
21 |
retrieving revision 1.270 |
22 |
retrieving revision 1.271 |
23 |
diff -u -r1.270 -r1.271 |
24 |
--- ChangeLog 30 Aug 2011 13:57:42 -0000 1.270 |
25 |
+++ ChangeLog 1 Sep 2011 15:56:55 -0000 1.271 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for net-misc/tor |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.270 2011/08/30 13:57:42 blueness Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.271 2011/09/01 15:56:55 blueness Exp $ |
31 |
+ |
32 |
+*tor-0.2.3.2_alpha-r4 (01 Sep 2011) |
33 |
+*tor-0.2.2.32-r2 (01 Sep 2011) |
34 |
+ |
35 |
+ 01 Sep 2011; Anthony G. Basile <blueness@g.o> -tor-0.2.2.32-r1.ebuild, |
36 |
+ +tor-0.2.2.32-r2.ebuild, -tor-0.2.3.2_alpha-r3.ebuild, |
37 |
+ +tor-0.2.3.2_alpha-r4.ebuild, +files/tor.initd-r6, -files/tor.initd-r5: |
38 |
+ Switch sanity check for /var/run/tor to checkpath |
39 |
|
40 |
*tor-0.2.3.2_alpha-r3 (30 Aug 2011) |
41 |
*tor-0.2.2.32-r1 (30 Aug 2011) |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-misc/tor/tor-0.2.2.32-r2.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.2.32-r2.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.2.32-r2.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: tor-0.2.2.32-r2.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.2.32-r2.ebuild,v 1.1 2011/09/01 15:56:55 blueness Exp $ |
55 |
|
56 |
EAPI=4 |
57 |
|
58 |
inherit autotools eutils flag-o-matic versionator |
59 |
|
60 |
MY_PV="$(replace_version_separator 4 -)" |
61 |
MY_PF="${PN}-${MY_PV}" |
62 |
DESCRIPTION="Anonymizing overlay network for TCP" |
63 |
HOMEPAGE="http://www.torproject.org/" |
64 |
SRC_URI="http://www.torproject.org/dist/${MY_PF}.tar.gz" |
65 |
S="${WORKDIR}/${MY_PF}" |
66 |
|
67 |
LICENSE="BSD" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
70 |
IUSE="doc tor-hardening +transparent-proxy threads" |
71 |
|
72 |
DEPEND="dev-libs/openssl |
73 |
>=dev-libs/libevent-2.0" |
74 |
# The tordns patch for tsocks avoids some leakage of information thus raising anonymity |
75 |
RDEPEND="${DEPEND} |
76 |
net-proxy/tsocks[tordns]" |
77 |
|
78 |
pkg_setup() { |
79 |
enewgroup tor |
80 |
enewuser tor -1 -1 /var/lib/tor tor |
81 |
} |
82 |
|
83 |
src_prepare() { |
84 |
epatch "${FILESDIR}"/torrc.sample.patch |
85 |
|
86 |
einfo "Regenerating autotools files ..." |
87 |
epatch "${FILESDIR}"/${PN}-0.2.2.24_alpha-respect-CFLAGS.patch |
88 |
eautoreconf || die "eautoreconf failed" |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
# Upstream isn't sure of all the user provided CFLAGS that |
93 |
# will break tor, but does recommend against -fstrict-aliasing. |
94 |
# We'll filter-flags them here as we encounter them. |
95 |
filter-flags -fstrict-aliasing |
96 |
econf --docdir=/usr/share/doc/${PF} \ |
97 |
$(use_enable doc asciidoc) \ |
98 |
$(use_enable tor-hardening gcc-hardening) \ |
99 |
$(use_enable tor-hardening linker-hardening)\ |
100 |
$(use_enable transparent-proxy transparent) \ |
101 |
$(use_enable threads) |
102 |
} |
103 |
|
104 |
src_install() { |
105 |
newconfd "${FILESDIR}"/tor.confd tor |
106 |
newinitd "${FILESDIR}"/tor.initd-r6 tor |
107 |
emake DESTDIR="${D}" install || die |
108 |
keepdir /var/lib/tor |
109 |
|
110 |
dodoc README ChangeLog ReleaseNotes \ |
111 |
doc/{HACKING,TODO} \ |
112 |
doc/spec/README |
113 |
|
114 |
fperms 750 /var/lib/tor |
115 |
fowners tor:tor /var/lib/tor |
116 |
|
117 |
insinto /etc/tor/ |
118 |
newins "${FILESDIR}"/torrc-r1 torrc |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
elog |
123 |
elog "We created a configuration file for tor, /etc/tor/torrc, but you can" |
124 |
elog "change it according to your needs. Use the torrc.sample that is in" |
125 |
elog "that directory as a guide. Also, to have privoxy work with tor" |
126 |
elog "just add the following line" |
127 |
elog |
128 |
elog "forward-socks4a / localhost:9050 ." |
129 |
elog |
130 |
elog "to /etc/privoxy/config. Notice the . at the end!" |
131 |
elog |
132 |
} |
133 |
|
134 |
|
135 |
|
136 |
1.1 net-misc/tor/tor-0.2.3.2_alpha-r4.ebuild |
137 |
|
138 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.3.2_alpha-r4.ebuild?rev=1.1&view=markup |
139 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/tor/tor-0.2.3.2_alpha-r4.ebuild?rev=1.1&content-type=text/plain |
140 |
|
141 |
Index: tor-0.2.3.2_alpha-r4.ebuild |
142 |
=================================================================== |
143 |
# Copyright 1999-2011 Gentoo Foundation |
144 |
# Distributed under the terms of the GNU General Public License v2 |
145 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/tor-0.2.3.2_alpha-r4.ebuild,v 1.1 2011/09/01 15:56:55 blueness Exp $ |
146 |
|
147 |
EAPI=4 |
148 |
|
149 |
inherit autotools eutils flag-o-matic versionator |
150 |
|
151 |
MY_PV="$(replace_version_separator 4 -)" |
152 |
MY_PF="${PN}-${MY_PV}" |
153 |
DESCRIPTION="Anonymizing overlay network for TCP" |
154 |
HOMEPAGE="http://www.torproject.org/" |
155 |
SRC_URI="http://www.torproject.org/dist/${MY_PF}.tar.gz" |
156 |
S="${WORKDIR}/${MY_PF}" |
157 |
|
158 |
LICENSE="BSD" |
159 |
SLOT="0" |
160 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
161 |
IUSE="+bufferevents doc nat-pmp tor-hardening transparent-proxy threads upnp" |
162 |
DEPEND="dev-libs/openssl |
163 |
>=dev-libs/libevent-2.0 |
164 |
nat-pmp? ( net-libs/libnatpmp ) |
165 |
upnp? ( <net-libs/miniupnpc-1.6 )" |
166 |
|
167 |
# The tordns patch for tsocks avoids some leakage of information thus raising anonymity |
168 |
RDEPEND="${DEPEND} |
169 |
net-proxy/tsocks[tordns]" |
170 |
|
171 |
pkg_setup() { |
172 |
enewgroup tor |
173 |
enewuser tor -1 -1 /var/lib/tor tor |
174 |
} |
175 |
|
176 |
src_prepare() { |
177 |
epatch "${FILESDIR}"/torrc.sample.patch |
178 |
epatch "${FILESDIR}"/${PN}-0.2.3.2_alpha-fix-asneeded.patch |
179 |
|
180 |
einfo "Regenerating autotools files ..." |
181 |
epatch "${FILESDIR}"/${PN}-0.2.2.24_alpha-respect-CFLAGS.patch |
182 |
eautoreconf || die "eautoreconf failed" |
183 |
} |
184 |
|
185 |
src_configure() { |
186 |
# Upstream isn't sure of all the user provided CFLAGS that |
187 |
# will break tor, but does recommend against -fstrict-aliasing. |
188 |
# We'll filter-flags them here as we encounter them. |
189 |
filter-flags -fstrict-aliasing |
190 |
econf --docdir=/usr/share/doc/${PF} \ |
191 |
$(use_enable bufferevents) \ |
192 |
$(use_enable doc asciidoc) \ |
193 |
$(use_enable nat-pmp) \ |
194 |
$(use_enable tor-hardening gcc-hardening) \ |
195 |
$(use_enable tor-hardening linker-hardening)\ |
196 |
$(use_enable transparent-proxy transparent) \ |
197 |
$(use_enable threads) \ |
198 |
$(use_enable upnp) |
199 |
} |
200 |
|
201 |
src_install() { |
202 |
newconfd "${FILESDIR}"/tor.confd tor |
203 |
newinitd "${FILESDIR}"/tor.initd-r6 tor |
204 |
emake DESTDIR="${D}" install || die |
205 |
keepdir /var/lib/tor |
206 |
|
207 |
dodoc README ChangeLog ReleaseNotes \ |
208 |
doc/{HACKING,TODO} \ |
209 |
doc/spec/README |
210 |
|
211 |
fperms 750 /var/lib/tor |
212 |
fowners tor:tor /var/lib/tor |
213 |
|
214 |
insinto /etc/tor/ |
215 |
newins "${FILESDIR}"/torrc-r1 torrc |
216 |
} |
217 |
|
218 |
pkg_postinst() { |
219 |
elog |
220 |
elog "We created a configuration file for tor, /etc/tor/torrc, but you can" |
221 |
elog "change it according to your needs. Use the torrc.sample that is in" |
222 |
elog "that directory as a guide. Also, to have privoxy work with tor" |
223 |
elog "just add the following line" |
224 |
elog |
225 |
elog "forward-socks4a / localhost:9050 ." |
226 |
elog |
227 |
elog "to /etc/privoxy/config. Notice the . at the end!" |
228 |
elog |
229 |
} |