1 |
commit: 9a485b92928f4dda26e92faba4779e7588bdc917 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 30 14:23:54 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 30 14:25:08 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a485b92 |
7 |
|
8 |
net-vpn/tor: version bumps to 0.3.0.9 and 0.3.1.4_alpha |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
net-vpn/tor/Manifest | 2 + |
13 |
net-vpn/tor/tor-0.3.0.9.ebuild | 74 +++++++++++++++++++++++++++++++++ |
14 |
net-vpn/tor/tor-0.3.1.4_alpha.ebuild | 80 ++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 156 insertions(+) |
16 |
|
17 |
diff --git a/net-vpn/tor/Manifest b/net-vpn/tor/Manifest |
18 |
index dab787d003f..3736f4b27c7 100644 |
19 |
--- a/net-vpn/tor/Manifest |
20 |
+++ b/net-vpn/tor/Manifest |
21 |
@@ -1,4 +1,6 @@ |
22 |
DIST tor-0.2.9.10.tar.gz 5557586 SHA256 d611283e1fb284b5f884f8c07e7d3151016851848304f56cfdf3be2a88bd1341 SHA512 c18c4faf18406f04165136f0d70e6bc2896f3f02770beadaab5e7a99441d71b897ae3a14a046eaec99a1bd6d8ad7758b28f7d652588842b77621cdc95d4fb7e1 WHIRLPOOL 8a12ab4bd148c6cf57e4e21ae29ccff46b9f687a1646f4453b0ba312b97b78d0c2a428f3178f47e58ec012eb2edce53efff4e07d7f0418d7ccc4ded3856a84a0 |
23 |
DIST tor-0.2.9.11.tar.gz 5584296 SHA256 c1959bebff9a546a54cbedb58c8289a42441991af417d2d16f7b336be8903221 SHA512 bb7ceb416c6cdcf127cb3c45226aa0ce787fba85b6fb59e9c222193c6f2522f2ef85ee0f5062554a4d301ac49d20b68fd82c7ce00406ceae0d00f6ac4107d074 WHIRLPOOL 944657830ed485dc321a0f94bccda30816ad42e1ec1527bdd1b3688437d7df4a0533d16c10c320ae37280d1e00f67591f50964f84b92db1070c47aa85fccb923 |
24 |
DIST tor-0.3.0.8.tar.gz 5796845 SHA256 663a3ba7b8a124c0f8a7351eaa2dda6fd518de3f3c4ee28fff869bfb03860d48 SHA512 93267e51578266f6f6eea57e7fcd7ec5f8fbeb2e880675956724a0b1c1dfe1826945aaba4ca3075b577505d0ce70fd7def2f2a9e06af78f52190e15a7aad2ee1 WHIRLPOOL a301811a7cf7dbd444a16802dcece32dbd679895e6bf45ad7c51787171a4d80d51a438585e5a1f9e1da55405537b706fafc3a6565f72bf08e89608a4fde98b85 |
25 |
+DIST tor-0.3.0.9.tar.gz 5811303 SHA256 48d4880bf6ccb19ce9af2abde6946d7cf0635cc807548badbf4a221a79581e42 SHA512 19b662840ee0c6aaba04c6db7f172def070d0773553f90bc3d1f210266bbcb572b3dd1f383359e36583103235a85a0a4052cf7299a534fde137bee41376ffa02 WHIRLPOOL dc834c84207714a1fe9376dabe34651e506e93526e7f94de822d3691c4947c2332635b10127be5fa23d31adc5f9e1bc93ad65d1dcb7241a68a0459dffa2c6cb6 |
26 |
DIST tor-0.3.1.3-alpha.tar.gz 5946205 SHA256 05b0fd6b1d119d038dc0a4e00261b821e1be0b96c83fbc6251cb25d5435ed9b4 SHA512 72ef78e04d9105e75d72b468ad928321485c34926fe4360224ebe507a5d788527aff76e1d34f6180452cc19f77741a5dbcc3a8676926a94dcebb445fce3d6aa3 WHIRLPOOL febf547e54562a191196462ad5e77dba2b73939337a5929f47d4579f958f8b6793a0114c0c7e96fcfb95e5e3ed48521d06fa410c83609eee877eb78dcbb2eb3a |
27 |
+DIST tor-0.3.1.4-alpha.tar.gz 5964177 SHA256 36ba88bd62f6f630bdba02c6bc348e8176224cec44281f6dacd86c46426c79d1 SHA512 78e62003acfc52a542bb6cffec6081294df9d58d745757c1c3d6a54cca494e62bd6b39396494ca2c2b67bf8f27a6b14f923fca1e02463baca472ecfc6b79a81e WHIRLPOOL 5bdd8477bb33d481ea0b800f0f7003a72cf402ba143489fa94886d1b25047a8c839a2d45378995b69041e1e5c335fedb6db4d33d94bee463294877a7769571d5 |
28 |
|
29 |
diff --git a/net-vpn/tor/tor-0.3.0.9.ebuild b/net-vpn/tor/tor-0.3.0.9.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..b103e82a8ae |
32 |
--- /dev/null |
33 |
+++ b/net-vpn/tor/tor-0.3.0.9.ebuild |
34 |
@@ -0,0 +1,74 @@ |
35 |
+# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI="6" |
39 |
+ |
40 |
+inherit flag-o-matic readme.gentoo-r1 systemd versionator user |
41 |
+ |
42 |
+MY_PV="$(replace_version_separator 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
53 |
+IUSE="libressl scrypt seccomp selinux systemd tor-hardening test web" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ app-text/asciidoc |
57 |
+ dev-libs/libevent[ssl] |
58 |
+ sys-libs/zlib |
59 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
60 |
+ libressl? ( dev-libs/libressl:0= ) |
61 |
+ scrypt? ( app-crypt/libscrypt ) |
62 |
+ seccomp? ( sys-libs/libseccomp ) |
63 |
+ systemd? ( sys-apps/systemd )" |
64 |
+RDEPEND="${DEPEND} |
65 |
+ selinux? ( sec-policy/selinux-tor )" |
66 |
+ |
67 |
+PATCHES=( |
68 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
69 |
+) |
70 |
+ |
71 |
+DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) |
72 |
+ |
73 |
+pkg_setup() { |
74 |
+ enewgroup tor |
75 |
+ enewuser tor -1 -1 /var/lib/tor tor |
76 |
+} |
77 |
+ |
78 |
+src_configure() { |
79 |
+ econf \ |
80 |
+ --localstatedir="${EPREFIX}/var" \ |
81 |
+ --enable-system-torrc \ |
82 |
+ --enable-asciidoc \ |
83 |
+ $(use_enable scrypt libscrypt) \ |
84 |
+ $(use_enable seccomp) \ |
85 |
+ $(use_enable systemd) \ |
86 |
+ $(use_enable tor-hardening gcc-hardening) \ |
87 |
+ $(use_enable tor-hardening linker-hardening) \ |
88 |
+ $(use_enable web tor2web-mode) \ |
89 |
+ $(use_enable test unittests) \ |
90 |
+ $(use_enable test coverage) |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ default |
95 |
+ readme.gentoo_create_doc |
96 |
+ |
97 |
+ newconfd "${FILESDIR}"/tor.confd tor |
98 |
+ newinitd "${FILESDIR}"/tor.initd-r8 tor |
99 |
+ systemd_dounit contrib/dist/tor.service |
100 |
+ |
101 |
+ keepdir /var/lib/tor |
102 |
+ |
103 |
+ fperms 750 /var/lib/tor |
104 |
+ fowners tor:tor /var/lib/tor |
105 |
+ |
106 |
+ insinto /etc/tor/ |
107 |
+ newins "${FILESDIR}"/torrc-r1 torrc |
108 |
+} |
109 |
|
110 |
diff --git a/net-vpn/tor/tor-0.3.1.4_alpha.ebuild b/net-vpn/tor/tor-0.3.1.4_alpha.ebuild |
111 |
new file mode 100644 |
112 |
index 00000000000..f60999a441e |
113 |
--- /dev/null |
114 |
+++ b/net-vpn/tor/tor-0.3.1.4_alpha.ebuild |
115 |
@@ -0,0 +1,80 @@ |
116 |
+# Copyright 1999-2017 Gentoo Foundation |
117 |
+# Distributed under the terms of the GNU General Public License v2 |
118 |
+ |
119 |
+EAPI="6" |
120 |
+ |
121 |
+inherit flag-o-matic readme.gentoo-r1 systemd versionator user |
122 |
+ |
123 |
+MY_PV="$(replace_version_separator 4 -)" |
124 |
+MY_PF="${PN}-${MY_PV}" |
125 |
+DESCRIPTION="Anonymizing overlay network for TCP" |
126 |
+HOMEPAGE="http://www.torproject.org/" |
127 |
+SRC_URI="https://www.torproject.org/dist/${MY_PF}.tar.gz |
128 |
+ https://archive.torproject.org/tor-package-archive/${MY_PF}.tar.gz" |
129 |
+S="${WORKDIR}/${MY_PF}" |
130 |
+ |
131 |
+LICENSE="BSD GPL-2" |
132 |
+SLOT="0" |
133 |
+# We need to keyword app-arch/zstd |
134 |
+#KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" |
135 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
136 |
+IUSE="libressl lzma scrypt seccomp selinux systemd tor-hardening test web zstd" |
137 |
+ |
138 |
+DEPEND=" |
139 |
+ app-text/asciidoc |
140 |
+ dev-libs/libevent[ssl] |
141 |
+ sys-libs/zlib |
142 |
+ !libressl? ( dev-libs/openssl:0=[-bindist] ) |
143 |
+ libressl? ( dev-libs/libressl:0= ) |
144 |
+ lzma? ( app-arch/xz-utils ) |
145 |
+ scrypt? ( app-crypt/libscrypt ) |
146 |
+ seccomp? ( sys-libs/libseccomp ) |
147 |
+ systemd? ( sys-apps/systemd ) |
148 |
+ zstd? ( app-arch/zstd )" |
149 |
+RDEPEND="${DEPEND} |
150 |
+ selinux? ( sec-policy/selinux-tor )" |
151 |
+ |
152 |
+PATCHES=( |
153 |
+ "${FILESDIR}"/${PN}-0.2.7.4-torrc.sample.patch |
154 |
+) |
155 |
+ |
156 |
+DOCS=( README ChangeLog ReleaseNotes doc/HACKING ) |
157 |
+ |
158 |
+pkg_setup() { |
159 |
+ enewgroup tor |
160 |
+ enewuser tor -1 -1 /var/lib/tor tor |
161 |
+} |
162 |
+ |
163 |
+src_configure() { |
164 |
+ econf \ |
165 |
+ --localstatedir="${EPREFIX}/var" \ |
166 |
+ --enable-system-torrc \ |
167 |
+ --enable-asciidoc \ |
168 |
+ --disable-libfuzzer \ |
169 |
+ --disable-rust \ |
170 |
+ $(use_enable scrypt libscrypt) \ |
171 |
+ $(use_enable seccomp) \ |
172 |
+ $(use_enable systemd) \ |
173 |
+ $(use_enable tor-hardening gcc-hardening) \ |
174 |
+ $(use_enable tor-hardening linker-hardening) \ |
175 |
+ $(use_enable web tor2web-mode) \ |
176 |
+ $(use_enable test unittests) \ |
177 |
+ $(use_enable test coverage) |
178 |
+} |
179 |
+ |
180 |
+src_install() { |
181 |
+ default |
182 |
+ readme.gentoo_create_doc |
183 |
+ |
184 |
+ newconfd "${FILESDIR}"/tor.confd tor |
185 |
+ newinitd "${FILESDIR}"/tor.initd-r8 tor |
186 |
+ systemd_dounit contrib/dist/tor.service |
187 |
+ |
188 |
+ keepdir /var/lib/tor |
189 |
+ |
190 |
+ fperms 750 /var/lib/tor |
191 |
+ fowners tor:tor /var/lib/tor |
192 |
+ |
193 |
+ insinto /etc/tor/ |
194 |
+ newins "${FILESDIR}"/torrc-r1 torrc |
195 |
+} |