1 |
commit: c64e2b2a69a4257ccbe089ce2ce5d35ac5e44f99 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 3 15:05:07 2018 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 3 15:05:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c64e2b2a |
7 |
|
8 |
net-vpn/tor: version bumps to 0.3.1.10, 0.3.2.10, 0.3.3.3_alpha |
9 |
|
10 |
Fixes TROVE-2018-001, denial-of-service against directory authorities. |
11 |
|
12 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
13 |
|
14 |
net-vpn/tor/Manifest | 3 ++ |
15 |
net-vpn/tor/tor-0.3.1.10.ebuild | 81 ++++++++++++++++++++++++++++++++++ |
16 |
net-vpn/tor/tor-0.3.2.10.ebuild | 82 ++++++++++++++++++++++++++++++++++ |
17 |
net-vpn/tor/tor-0.3.3.3_alpha.ebuild | 85 ++++++++++++++++++++++++++++++++++++ |
18 |
4 files changed, 251 insertions(+) |
19 |
|
20 |
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest |
21 |
index 64ca238a4c9..d33d787460b 100644 |
22 |
--- a/net-vpn/tor/Manifest |
23 |
+++ b/net-vpn/tor/Manifest |
24 |
@@ -1,4 +1,7 @@ |
25 |
+DIST tor-0.3.1.10.tar.gz 6192183 BLAKE2B 4c1b57a3b19d18d735bb7362a08e4c2330350f2e31d52a8eb6d837cebc45ad6e64f3364e368f72d59bb8f51f652d4029a3e237a26efe580551811f5812e8dac4 SHA512 92af34a96bea2a99ab51d766d932da697409e404da4318ba6b3360ff0c2e9369b9afa652445a1651940f5a0502f4137141cc87cff14eba180539ea81be0c21a3 |
26 |
DIST tor-0.3.1.7.tar.gz 6058284 BLAKE2B f2d825c82342cf1ca9354f051d532ef31e1d183be28f0f5b49f14c0d88176910292b6727b8cf0f066bae276e3a431851714cdb385219516d0a7519c5ed02b203 SHA512 a835526984187fad88cffc39ea8f6a4b61d5f8d2579b5a66425612607a22ff82e0f9da96e029e134e04d25ae0f59a1b4f771e9e8c19ebb563e1a0f5b3a3849e4 |
27 |
DIST tor-0.3.1.9.tar.gz 6092702 BLAKE2B c009567b5866ff50159fbcbab05462a860c3e66c15599d11d40495d8a1a18fbad610f8ea94492519f2c8b6adfce7f4a54ad3bd2aee2b902ffae7215f35a3d4d5 SHA512 c22557251272595c65b2fade485020d76de16f5bb826d4a47d7bd093b7336dad42e8e2b8a3e0c56d9a10e62f0a5b1596c4b10cd578bf6da17f058f3d4e356f66 |
28 |
+DIST tor-0.3.2.10.tar.gz 6421984 BLAKE2B bab8031982f05ee29b14d22fdd9c4912e35342e6ac57a1c3fe1d5de3c4f394e0211607d20917b705a5f489109511a7ed7761e1dd7b4310c3d112c5e7cf9964bb SHA512 b916173b13fbca71a1b859d0cb1b090a063b27039ce88cedcf4b17ab282bfaa2edf0bb9f213fc20f82af856c880e0747a593e3d8fe1bc17319dc5cd8ac4490df |
29 |
DIST tor-0.3.2.9.tar.gz 6250442 BLAKE2B 34f6436d94f105bc0e68fa89bd6b671c84c9a6389010b5741b2da339caaea2e4d549f799aa8c6867eddc90818195c73a4d13cdf7f7003d578779f7e2d9964cfb SHA512 60b8d93eee8d0b04b49a8fa941ea3489e8cd9b3f3923d9da39865caa1f5bce6666c1db06594520aa3726151a54c9c0c30bb8d9b25fb38d7172ffb15a011d6c8c |
30 |
DIST tor-0.3.3.2-alpha.tar.gz 6487418 BLAKE2B e1d574640c88249d0930da386c3421eb0fc47557a4af294fd40e529db8f5c44834e10f89bf650b3b8fb0d7a7db29d3440e70e7dfaa3c5bfd2e0af09ffc8eaa86 SHA512 60d7d30b24bf6c4201a5653cb6ae80d82f0f5a877c6cd1f6418cd3536259f62dbdf38cc02cf438180a6625d66adf76a64a685ca308b0e7a0a7095cb083b2cf8a |
31 |
+DIST tor-0.3.3.3-alpha.tar.gz 6486946 BLAKE2B 1cd281ffd960e2d161da390bf0e8f25ffa998458f9cb7c08d5d843b6748feab7e80a963b785433d66f97e46c5c5cb8d00e57240ed2f53866e423cff3e7bbe7b0 SHA512 03c819099b5d7b1657da2df387aa6d354ac0a450ddc19eccd81cc96be96b7741ea034e999d09092dcdfd78c93246a341149da7640a1d693eccbe3ed137370fd0 |
32 |
|
33 |
diff --git a/net-vpn/tor/tor-0.3.1.10.ebuild b/net-vpn/tor/tor-0.3.1.10.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..759009ac2c4 |
36 |
--- /dev/null |
37 |
+++ b/net-vpn/tor/tor-0.3.1.10.ebuild |
38 |
@@ -0,0 +1,81 @@ |
39 |
+# Copyright 1999-2018 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI="6" |
43 |
+ |
44 |
+inherit flag-o-matic readme.gentoo-r1 systemd versionator user |
45 |
+ |
46 |
+MY_PV="$(replace_version_separator 4 -)" |
47 |
+MY_PF="${PN}-${MY_PV}" |
48 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
49 |
+HOMEPAGE="http://www.torproject.org/" |
50 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
51 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
52 |
+S="${WORKDIR}/${MY_PF}" |
53 |
+ |
54 |
+LICENSE="BSD GPL-2" |
55 |
+SLOT="0" |
56 |
+# We need to keyword app-arch/zstd |
57 |
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
58 |
+IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ app-text/asciidoc |
62 |
+ dev-libs/libevent[ssl] |
63 |
+ sys-libs/zlib |
64 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
65 |
+ libressl? ( dev-libs/libressl:0= ) |
66 |
+ lzma? ( app-arch/xz-utils ) |
67 |
+ scrypt? ( app-crypt/libscrypt ) |
68 |
+ seccomp? ( sys-libs/libseccomp ) |
69 |
+ systemd? ( sys-apps/systemd ) |
70 |
+ zstd? ( app-arch/zstd )" |
71 |
+RDEPEND="${DEPEND} |
72 |
+ selinux? ( sec-policy/selinux-tor )" |
73 |
+ |
74 |
+PATCHES=( |
75 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
76 |
+) |
77 |
+ |
78 |
+DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) |
79 |
+ |
80 |
+pkg_setup() { |
81 |
+ enewgroup tor |
82 |
+ enewuser tor -1 -1 /var/lib/tor tor |
83 |
+} |
84 |
+ |
85 |
+src_configure() { |
86 |
+ econf \ |
87 |
+ --localstatedir="${EPREFIX}/var" \ |
88 |
+ --enable-system-torrc \ |
89 |
+ --enable-asciidoc \ |
90 |
+ --disable-libfuzzer \ |
91 |
+ --disable-rust \ |
92 |
+ $(use_enable lzma) \ |
93 |
+ $(use_enable scrypt libscrypt) \ |
94 |
+ $(use_enable seccomp) \ |
95 |
+ $(use_enable systemd) \ |
96 |
+ $(use_enable tor-hardening gcc-hardening) \ |
97 |
+ $(use_enable tor-hardening linker-hardening) \ |
98 |
+ $(use_enable web tor2web-mode) \ |
99 |
+ $(use_enable test unittests) \ |
100 |
+ $(use_enable test coverage) \ |
101 |
+ $(use_enable zstd) |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ default |
106 |
+ readme.gentoo_create_doc |
107 |
+ |
108 |
+ newconfd "${FILESDIR}"/tor.confd tor |
109 |
+ newinitd "${FILESDIR}"/tor.initd-r8 tor |
110 |
+ systemd_dounit contrib/dist/tor.service |
111 |
+ |
112 |
+ keepdir /var/lib/tor |
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 |
diff --git a/net-vpn/tor/tor-0.3.2.10.ebuild b/net-vpn/tor/tor-0.3.2.10.ebuild |
122 |
new file mode 100644 |
123 |
index 00000000000..57655d96e0e |
124 |
--- /dev/null |
125 |
+++ b/net-vpn/tor/tor-0.3.2.10.ebuild |
126 |
@@ -0,0 +1,82 @@ |
127 |
+# Copyright 1999-2018 Gentoo Foundation |
128 |
+# Distributed under the terms of the GNU General Public License v2 |
129 |
+ |
130 |
+EAPI="6" |
131 |
+ |
132 |
+inherit flag-o-matic readme.gentoo-r1 systemd versionator user |
133 |
+ |
134 |
+MY_PV="$(replace_version_separator 4 -)" |
135 |
+MY_PF="${PN}-${MY_PV}" |
136 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
137 |
+HOMEPAGE="http://www.torproject.org/" |
138 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
139 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
140 |
+S="${WORKDIR}/${MY_PF}" |
141 |
+ |
142 |
+LICENSE="BSD GPL-2" |
143 |
+SLOT="0" |
144 |
+# We need to keyword app-arch/zstd |
145 |
+#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
146 |
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
147 |
+IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" |
148 |
+ |
149 |
+DEPEND=" |
150 |
+ app-text/asciidoc |
151 |
+ dev-libs/libevent[ssl] |
152 |
+ sys-libs/zlib |
153 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
154 |
+ libressl? ( dev-libs/libressl:0= ) |
155 |
+ lzma? ( app-arch/xz-utils ) |
156 |
+ scrypt? ( app-crypt/libscrypt ) |
157 |
+ seccomp? ( sys-libs/libseccomp ) |
158 |
+ systemd? ( sys-apps/systemd ) |
159 |
+ zstd? ( app-arch/zstd )" |
160 |
+RDEPEND="${DEPEND} |
161 |
+ selinux? ( sec-policy/selinux-tor )" |
162 |
+ |
163 |
+PATCHES=( |
164 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
165 |
+) |
166 |
+ |
167 |
+DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) |
168 |
+ |
169 |
+pkg_setup() { |
170 |
+ enewgroup tor |
171 |
+ enewuser tor -1 -1 /var/lib/tor tor |
172 |
+} |
173 |
+ |
174 |
+src_configure() { |
175 |
+ econf \ |
176 |
+ --localstatedir="${EPREFIX}/var" \ |
177 |
+ --enable-system-torrc \ |
178 |
+ --enable-asciidoc \ |
179 |
+ --disable-libfuzzer \ |
180 |
+ --disable-rust \ |
181 |
+ $(use_enable lzma) \ |
182 |
+ $(use_enable scrypt libscrypt) \ |
183 |
+ $(use_enable seccomp) \ |
184 |
+ $(use_enable systemd) \ |
185 |
+ $(use_enable tor-hardening gcc-hardening) \ |
186 |
+ $(use_enable tor-hardening linker-hardening) \ |
187 |
+ $(use_enable web tor2web-mode) \ |
188 |
+ $(use_enable test unittests) \ |
189 |
+ $(use_enable test coverage) \ |
190 |
+ $(use_enable zstd) |
191 |
+} |
192 |
+ |
193 |
+src_install() { |
194 |
+ default |
195 |
+ readme.gentoo_create_doc |
196 |
+ |
197 |
+ newconfd "${FILESDIR}"/tor.confd tor |
198 |
+ newinitd "${FILESDIR}"/tor.initd-r8 tor |
199 |
+ systemd_dounit contrib/dist/tor.service |
200 |
+ |
201 |
+ keepdir /var/lib/tor |
202 |
+ |
203 |
+ fperms 750 /var/lib/tor |
204 |
+ fowners tor:tor /var/lib/tor |
205 |
+ |
206 |
+ insinto /etc/tor/ |
207 |
+ newins "${FILESDIR}"/torrc-r1 torrc |
208 |
+} |
209 |
|
210 |
diff --git a/net-vpn/tor/tor-0.3.3.3_alpha.ebuild b/net-vpn/tor/tor-0.3.3.3_alpha.ebuild |
211 |
new file mode 100644 |
212 |
index 00000000000..65525074136 |
213 |
--- /dev/null |
214 |
+++ b/net-vpn/tor/tor-0.3.3.3_alpha.ebuild |
215 |
@@ -0,0 +1,85 @@ |
216 |
+# Copyright 1999-2018 Gentoo Foundation |
217 |
+# Distributed under the terms of the GNU General Public License v2 |
218 |
+ |
219 |
+EAPI="6" |
220 |
+ |
221 |
+inherit flag-o-matic readme.gentoo-r1 systemd versionator user |
222 |
+ |
223 |
+MY_PV="$(replace_version_separator 4 -)" |
224 |
+MY_PF="${PN}-${MY_PV}" |
225 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
226 |
+HOMEPAGE="http://www.torproject.org/" |
227 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
228 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
229 |
+S="${WORKDIR}/${MY_PF}" |
230 |
+ |
231 |
+LICENSE="BSD GPL-2" |
232 |
+SLOT="0" |
233 |
+# We need to keyword app-arch/zstd |
234 |
+#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
235 |
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
236 |
+IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" |
237 |
+ |
238 |
+DEPEND=" |
239 |
+ app-text/asciidoc |
240 |
+ dev-libs/libevent[ssl] |
241 |
+ sys-libs/zlib |
242 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
243 |
+ libressl? ( dev-libs/libressl:0= ) |
244 |
+ lzma? ( app-arch/xz-utils ) |
245 |
+ scrypt? ( app-crypt/libscrypt ) |
246 |
+ seccomp? ( sys-libs/libseccomp ) |
247 |
+ systemd? ( sys-apps/systemd ) |
248 |
+ zstd? ( app-arch/zstd )" |
249 |
+RDEPEND="${DEPEND} |
250 |
+ selinux? ( sec-policy/selinux-tor )" |
251 |
+ |
252 |
+PATCHES=( |
253 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
254 |
+ "${FILESDIR}"/${PN}-0.3.3.2-alpha-tor.service.in.patch |
255 |
+) |
256 |
+ |
257 |
+DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) |
258 |
+ |
259 |
+pkg_setup() { |
260 |
+ enewgroup tor |
261 |
+ enewuser tor -1 -1 /var/lib/tor tor |
262 |
+} |
263 |
+ |
264 |
+src_configure() { |
265 |
+ econf \ |
266 |
+ --localstatedir="${EPREFIX}/var" \ |
267 |
+ --enable-system-torrc \ |
268 |
+ --enable-asciidoc \ |
269 |
+ --disable-android \ |
270 |
+ --disable-libfuzzer \ |
271 |
+ --disable-rust \ |
272 |
+ --disable-restart-debugging \ |
273 |
+ $(use_enable lzma) \ |
274 |
+ $(use_enable scrypt libscrypt) \ |
275 |
+ $(use_enable seccomp) \ |
276 |
+ $(use_enable systemd) \ |
277 |
+ $(use_enable tor-hardening gcc-hardening) \ |
278 |
+ $(use_enable tor-hardening linker-hardening) \ |
279 |
+ $(use_enable web tor2web-mode) \ |
280 |
+ $(use_enable test unittests) \ |
281 |
+ $(use_enable test coverage) \ |
282 |
+ $(use_enable zstd) |
283 |
+} |
284 |
+ |
285 |
+src_install() { |
286 |
+ default |
287 |
+ readme.gentoo_create_doc |
288 |
+ |
289 |
+ newconfd "${FILESDIR}"/tor.confd tor |
290 |
+ newinitd "${FILESDIR}"/tor.initd-r8 tor |
291 |
+ systemd_dounit contrib/dist/tor.service |
292 |
+ |
293 |
+ keepdir /var/lib/tor |
294 |
+ |
295 |
+ fperms 750 /var/lib/tor |
296 |
+ fowners tor:tor /var/lib/tor |
297 |
+ |
298 |
+ insinto /etc/tor/ |
299 |
+ newins "${FILESDIR}"/torrc-r1 torrc |
300 |
+} |