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