1 |
commit: f853995bf29b7d3aac488aeba894ba4ee4de4b02 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 02:25:15 2020 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 02:25:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f853995b |
7 |
|
8 |
net-vpn/tor: version bumps to 4.1.8 and 4.2.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
net-vpn/tor/Manifest | 2 + |
14 |
net-vpn/tor/tor-0.4.1.8.ebuild | 88 +++++++++++++++++++++++++++++++++++++++++ |
15 |
net-vpn/tor/tor-0.4.2.6.ebuild | 90 ++++++++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 180 insertions(+) |
17 |
|
18 |
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest |
19 |
index 59bdc0aa00d..63eb9ed932d 100644 |
20 |
--- a/net-vpn/tor/Manifest |
21 |
+++ b/net-vpn/tor/Manifest |
22 |
@@ -1,3 +1,5 @@ |
23 |
DIST tor-0.4.1.7.tar.gz 7512661 BLAKE2B 34c1c8e40c6a2a2aeb19e1161b3b32d1683da246c5839c9fc4375471d8e7c46bb1277bcf8fc700898580a6b15d8f401ee61f422ecd7a88c783cffb1157150fc5 SHA512 f6ead1412d23516a16f31e1157b4538071752ae09a421d9dceaa7cf76599c01490f9bfcb8e26f1a75e888359adf6adcd029ca64cf48e3b45b07e2d62482c9541 |
24 |
+DIST tor-0.4.1.8.tar.gz 7513612 BLAKE2B bd9e126d04111aa1232107b3de3f59a258754454deba8bbbb7f34f7245b915e336f999dce4544f6e211b29702d28898938f2816a6ae9550884348f6628304461 SHA512 0118012ec723379316d5ee684eb4fdd98f64f538abf6db95071015eb5e0079d155a93cc5c4a9dbeaa7a3f56cfbcc8741fcd0c94c5101aa44fb11000ec27715c1 |
25 |
DIST tor-0.4.2.5.tar.gz 7596836 BLAKE2B 0c7fa5d427f9d0683846c1023a4539ae4042c0d26f1c5afff20037f0681f6ea0dfb735e9c0e9d14bd7dddbfd5a0023064dc6e6cf6e6629402a6a13248129e6c5 SHA512 e63157713caa3590324f652f17c5c5634bab015dcde5c7832eb725351c3a91c1051dd8a95650502703e9c3dd5daefc2867ff3d20530dfec17310bb3dd4bb5b7d |
26 |
+DIST tor-0.4.2.6.tar.gz 7600081 BLAKE2B c0ae5972a096e7f442b39d9dcfc5d5f13146243690a10cf6bf96ffed698c0b8bc8b4fe39d13ce40714e8aacf98ca30be6c6e8e75dc38d7799642247122a46152 SHA512 0e757cd6f48ca3ed5737978e8f63f1f267d2223479bfc7a431b71a6912040a4a9bc63cc97a73356ff998e03123b0a6a4519486c41359d1ef1f0fe30aa1fa168f |
27 |
DIST tor-0.4.3.1-alpha.tar.gz 7716850 BLAKE2B a03d0a1ad172ac9e5fd511ad772b4dbb4f2c75f42bb30636d5928bad819b984ac36bc11894d2aa75f0cca57591385a8cda5186c64c54aad222cd233268bfe8c9 SHA512 fb51b368927fd292de7f257e31bd882168a04bf7ffc108a1fff2bf555118d71732213ef6d2b5adb93f9178b5410307025c4a0494858fb457913655a0b705466b |
28 |
|
29 |
diff --git a/net-vpn/tor/tor-0.4.1.8.ebuild b/net-vpn/tor/tor-0.4.1.8.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..84c4db15e79 |
32 |
--- /dev/null |
33 |
+++ b/net-vpn/tor/tor-0.4.1.8.ebuild |
34 |
@@ -0,0 +1,88 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI="7" |
39 |
+ |
40 |
+inherit flag-o-matic readme.gentoo-r1 systemd |
41 |
+ |
42 |
+MY_PV="$(ver_rs 4 -)" |
43 |
+MY_PF="${PN}-${MY_PV}" |
44 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
45 |
+HOMEPAGE="http://www.torproject.org/" |
46 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
47 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
48 |
+S="${WORKDIR}/${MY_PF}" |
49 |
+ |
50 |
+LICENSE="BSD GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
53 |
+IUSE="caps doc libressl lzma +man scrypt seccomp selinux systemd tor-hardening test zstd" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ dev-libs/libevent:=[ssl] |
57 |
+ sys-libs/zlib |
58 |
+ caps? ( sys-libs/libcap ) |
59 |
+ man? ( app-text/asciidoc ) |
60 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
61 |
+ libressl? ( dev-libs/libressl:0= ) |
62 |
+ lzma? ( app-arch/xz-utils ) |
63 |
+ scrypt? ( app-crypt/libscrypt ) |
64 |
+ seccomp? ( >=sys-libs/libseccomp-2.4.1 ) |
65 |
+ systemd? ( sys-apps/systemd ) |
66 |
+ zstd? ( app-arch/zstd )" |
67 |
+RDEPEND=" |
68 |
+ acct-user/tor |
69 |
+ acct-group/tor |
70 |
+ ${DEPEND} |
71 |
+ selinux? ( sec-policy/selinux-tor )" |
72 |
+ |
73 |
+PATCHES=( |
74 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
75 |
+ "${FILESDIR}"/${PN}-0.3.3.2-alpha-tor.service.in.patch |
76 |
+) |
77 |
+ |
78 |
+DOCS=() |
79 |
+ |
80 |
+RESTRICT="!test? ( test )" |
81 |
+ |
82 |
+src_configure() { |
83 |
+ use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING ) |
84 |
+ export ac_cv_lib_cap_cap_init=$(usex caps) |
85 |
+ econf \ |
86 |
+ --localstatedir="${EPREFIX}/var" \ |
87 |
+ --enable-system-torrc \ |
88 |
+ --disable-android \ |
89 |
+ --disable-libfuzzer \ |
90 |
+ --disable-module-dirauth \ |
91 |
+ --enable-pic \ |
92 |
+ --disable-rust \ |
93 |
+ --disable-restart-debugging \ |
94 |
+ --disable-zstd-advanced-apis \ |
95 |
+ $(use_enable man asciidoc) \ |
96 |
+ $(use_enable lzma) \ |
97 |
+ $(use_enable scrypt libscrypt) \ |
98 |
+ $(use_enable seccomp) \ |
99 |
+ $(use_enable systemd) \ |
100 |
+ $(use_enable tor-hardening gcc-hardening) \ |
101 |
+ $(use_enable tor-hardening linker-hardening) \ |
102 |
+ $(use_enable test unittests) \ |
103 |
+ $(use_enable test coverage) \ |
104 |
+ $(use_enable zstd) |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ default |
109 |
+ readme.gentoo_create_doc |
110 |
+ |
111 |
+ newconfd "${FILESDIR}"/tor.confd tor |
112 |
+ newinitd "${FILESDIR}"/tor.initd-r9 tor |
113 |
+ systemd_dounit contrib/dist/tor.service |
114 |
+ |
115 |
+ keepdir /var/lib/tor |
116 |
+ |
117 |
+ fperms 750 /var/lib/tor |
118 |
+ fowners tor:tor /var/lib/tor |
119 |
+ |
120 |
+ insinto /etc/tor/ |
121 |
+ newins "${FILESDIR}"/torrc-r2 torrc |
122 |
+} |
123 |
|
124 |
diff --git a/net-vpn/tor/tor-0.4.2.6.ebuild b/net-vpn/tor/tor-0.4.2.6.ebuild |
125 |
new file mode 100644 |
126 |
index 00000000000..f03b2707ab6 |
127 |
--- /dev/null |
128 |
+++ b/net-vpn/tor/tor-0.4.2.6.ebuild |
129 |
@@ -0,0 +1,90 @@ |
130 |
+# Copyright 1999-2020 Gentoo Authors |
131 |
+# Distributed under the terms of the GNU General Public License v2 |
132 |
+ |
133 |
+EAPI="7" |
134 |
+ |
135 |
+inherit flag-o-matic readme.gentoo-r1 systemd |
136 |
+ |
137 |
+MY_PV="$(ver_rs 4 -)" |
138 |
+MY_PF="${PN}-${MY_PV}" |
139 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
140 |
+HOMEPAGE="http://www.torproject.org/" |
141 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
142 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
143 |
+S="${WORKDIR}/${MY_PF}" |
144 |
+ |
145 |
+LICENSE="BSD GPL-2" |
146 |
+SLOT="0" |
147 |
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86 ~ppc-macos" |
148 |
+IUSE="caps doc libressl lzma +man scrypt seccomp selinux systemd tor-hardening test zstd" |
149 |
+ |
150 |
+DEPEND=" |
151 |
+ dev-libs/libevent:=[ssl] |
152 |
+ sys-libs/zlib |
153 |
+ caps? ( sys-libs/libcap ) |
154 |
+ man? ( app-text/asciidoc ) |
155 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
156 |
+ libressl? ( dev-libs/libressl:0= ) |
157 |
+ lzma? ( app-arch/xz-utils ) |
158 |
+ scrypt? ( app-crypt/libscrypt ) |
159 |
+ seccomp? ( >=sys-libs/libseccomp-2.4.1 ) |
160 |
+ systemd? ( sys-apps/systemd ) |
161 |
+ zstd? ( app-arch/zstd )" |
162 |
+RDEPEND=" |
163 |
+ acct-user/tor |
164 |
+ acct-group/tor |
165 |
+ ${DEPEND} |
166 |
+ selinux? ( sec-policy/selinux-tor )" |
167 |
+ |
168 |
+PATCHES=( |
169 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
170 |
+ "${FILESDIR}"/${PN}-0.3.3.2-alpha-tor.service.in.patch |
171 |
+) |
172 |
+ |
173 |
+DOCS=() |
174 |
+ |
175 |
+RESTRICT="!test? ( test )" |
176 |
+ |
177 |
+src_configure() { |
178 |
+ use doc && DOCS+=( README ChangeLog ReleaseNotes doc/HACKING ) |
179 |
+ export ac_cv_lib_cap_cap_init=$(usex caps) |
180 |
+ econf \ |
181 |
+ --localstatedir="${EPREFIX}/var" \ |
182 |
+ --enable-system-torrc \ |
183 |
+ --disable-android \ |
184 |
+ --disable-html-manual \ |
185 |
+ --disable-libfuzzer \ |
186 |
+ --disable-module-dirauth \ |
187 |
+ --enable-pic \ |
188 |
+ --disable-rust \ |
189 |
+ --disable-restart-debugging \ |
190 |
+ --disable-zstd-advanced-apis \ |
191 |
+ $(use_enable man asciidoc) \ |
192 |
+ $(use_enable man manpage) \ |
193 |
+ $(use_enable lzma) \ |
194 |
+ $(use_enable scrypt libscrypt) \ |
195 |
+ $(use_enable seccomp) \ |
196 |
+ $(use_enable systemd) \ |
197 |
+ $(use_enable tor-hardening gcc-hardening) \ |
198 |
+ $(use_enable tor-hardening linker-hardening) \ |
199 |
+ $(use_enable test unittests) \ |
200 |
+ $(use_enable test coverage) \ |
201 |
+ $(use_enable zstd) |
202 |
+} |
203 |
+ |
204 |
+src_install() { |
205 |
+ default |
206 |
+ readme.gentoo_create_doc |
207 |
+ |
208 |
+ newconfd "${FILESDIR}"/tor.confd tor |
209 |
+ newinitd "${FILESDIR}"/tor.initd-r9 tor |
210 |
+ systemd_dounit contrib/dist/tor.service |
211 |
+ |
212 |
+ keepdir /var/lib/tor |
213 |
+ |
214 |
+ fperms 750 /var/lib/tor |
215 |
+ fowners tor:tor /var/lib/tor |
216 |
+ |
217 |
+ insinto /etc/tor/ |
218 |
+ newins "${FILESDIR}"/torrc-r2 torrc |
219 |
+} |