Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/
Date: Mon, 09 Mar 2020 20:50:40
Message-Id: 1583787019.16bb58fd1aa6bed2b3e25d3cc3d8d029c2ce25e6.gyakovlev@gentoo
1 commit: 16bb58fd1aa6bed2b3e25d3cc3d8d029c2ce25e6
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 9 20:42:26 2020 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 9 20:50:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bb58fd
7
8 net-dns/dnscrypt-proxy: drop old
9
10 Closes: https://bugs.gentoo.org/711924
11 Package-Manager: Portage-2.3.84, Repoman-2.3.20
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 net-dns/dnscrypt-proxy/Manifest | 3 -
15 .../dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild | 99 ----------------------
16 .../dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild | 99 ----------------------
17 .../dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild | 99 ----------------------
18 4 files changed, 300 deletions(-)
19
20 diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
21 index 2d3a0dd140a..3ff726cd60d 100644
22 --- a/net-dns/dnscrypt-proxy/Manifest
23 +++ b/net-dns/dnscrypt-proxy/Manifest
24 @@ -1,5 +1,2 @@
25 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830 SHA512 5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
26 -DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381 SHA512 b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381
27 -DIST dnscrypt-proxy-2.0.35.tar.gz 2740595 BLAKE2B a64d1771979179f6b2387473c6ac21705b30263572550efd4ffb8ef008e67a74878ab4e72bbb4f29528c4c13dfaf4654f7625671579cb90c3b784ab4299f7ec0 SHA512 41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9
28 -DIST dnscrypt-proxy-2.0.36.tar.gz 2814470 BLAKE2B d1483d1c0550d9493129fd7b9969d45ab5225b09cfa6c2e10c60d9df963742664a1fa75720561e1e883c4688077ee1e2de84669f527271c8c5455e435ea2daf8 SHA512 b1e3ed2a0226eaf35980b9f1125e0794640bcd837f99b8f2a0346498770305f04e27f13ccf97f01f0639285ef35f63cbbf72e9f2b419d592b615f6b07cdf7f2d
29 DIST dnscrypt-proxy-2.0.39.tar.gz 2814424 BLAKE2B 59be804a9c9641dd43e6b49e95c58c7d20dfdc940f2279a47a9ced707d1bbe64b1864c65feab2cada6c12945567ffd93478bd0a8129d40ea65c0fef50e5e90e4 SHA512 d4eacd8d1989b99d9932d66ef609948558af26f9db1fc37acd6b5609e2a410d20828e32f2b79f2f9fbdf822998af641aec20128e4c58233663929106e29d8e24
30
31 diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
32 deleted file mode 100644
33 index 3d902b82aae..00000000000
34 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
35 +++ /dev/null
36 @@ -1,99 +0,0 @@
37 -# Copyright 1999-2019 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -EGO_PN="github.com/jedisct1/${PN}"
43 -
44 -inherit fcaps go-module systemd
45 -
46 -if [[ ${PV} == 9999 ]]; then
47 - inherit git-r3
48 - EGIT_REPO_URI="https://${EGO_PN}.git"
49 -else
50 - SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
51 - KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
52 -fi
53 -
54 -DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
55 -HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy"
56 -
57 -LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
58 -SLOT="0"
59 -IUSE="pie"
60 -
61 -BDEPEND=">=dev-lang/go-1.13"
62 -
63 -RDEPEND="
64 - acct-group/dnscrypt-proxy
65 - acct-user/dnscrypt-proxy
66 -"
67 -
68 -FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
69 -PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
70 -
71 -src_compile() {
72 - pushd "${PN}" >/dev/null || die
73 - go build -buildmode="$(usex pie pie default)" || die
74 - popd >/dev/null || die
75 -}
76 -
77 -src_install() {
78 - pushd "${PN}" >/dev/null || die
79 -
80 - dobin dnscrypt-proxy
81 -
82 - insinto /etc/dnscrypt-proxy
83 - newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
84 - doins example-{blacklist.txt,whitelist.txt}
85 - doins example-{cloaking-rules.txt,forwarding-rules.txt}
86 -
87 - popd >/dev/null || die
88 -
89 - insinto /usr/share/dnscrypt-proxy
90 - doins -r "utils/generate-domains-blacklists/."
91 -
92 - newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
93 - newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
94 -
95 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service
96 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket
97 -
98 - insinto /etc/logrotate.d
99 - newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
100 -
101 - einstalldocs
102 -}
103 -
104 -pkg_postinst() {
105 - fcaps_pkg_postinst
106 - go-module_pkg_postinst
107 -
108 - if ! use filecaps; then
109 - ewarn "'filecaps' USE flag is disabled"
110 - ewarn "${PN} will fail to listen on port 53"
111 - ewarn "please do one the following:"
112 - ewarn "1) re-enable 'filecaps'"
113 - ewarn "2) change port to > 1024"
114 - ewarn "3) configure to run ${PN} as root (not recommended)"
115 - ewarn
116 - fi
117 -
118 - if systemd_is_booted || has_version sys-apps/systemd; then
119 - elog "Using systemd socket activation may cause issues with speed"
120 - elog "latency and reliability of ${PN} and is discouraged by upstream"
121 - elog "Existing installations advised to disable 'dnscrypt-proxy.socket'"
122 - elog "It is disabled by default for new installations"
123 - elog "check "$(systemd_get_systemunitdir)/${PN}.service" for details"
124 - elog
125 -
126 - fi
127 -
128 - elog "After starting the service you will need to update your"
129 - elog "/etc/resolv.conf and replace your current set of resolvers"
130 - elog "with:"
131 - elog
132 - elog "nameserver 127.0.0.1"
133 - elog
134 - elog "Also see https://github.com/jedisct1/${PN}/wiki"
135 -}
136
137 diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild
138 deleted file mode 100644
139 index 3d902b82aae..00000000000
140 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild
141 +++ /dev/null
142 @@ -1,99 +0,0 @@
143 -# Copyright 1999-2019 Gentoo Authors
144 -# Distributed under the terms of the GNU General Public License v2
145 -
146 -EAPI=7
147 -
148 -EGO_PN="github.com/jedisct1/${PN}"
149 -
150 -inherit fcaps go-module systemd
151 -
152 -if [[ ${PV} == 9999 ]]; then
153 - inherit git-r3
154 - EGIT_REPO_URI="https://${EGO_PN}.git"
155 -else
156 - SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
157 - KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
158 -fi
159 -
160 -DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
161 -HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy"
162 -
163 -LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
164 -SLOT="0"
165 -IUSE="pie"
166 -
167 -BDEPEND=">=dev-lang/go-1.13"
168 -
169 -RDEPEND="
170 - acct-group/dnscrypt-proxy
171 - acct-user/dnscrypt-proxy
172 -"
173 -
174 -FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
175 -PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
176 -
177 -src_compile() {
178 - pushd "${PN}" >/dev/null || die
179 - go build -buildmode="$(usex pie pie default)" || die
180 - popd >/dev/null || die
181 -}
182 -
183 -src_install() {
184 - pushd "${PN}" >/dev/null || die
185 -
186 - dobin dnscrypt-proxy
187 -
188 - insinto /etc/dnscrypt-proxy
189 - newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
190 - doins example-{blacklist.txt,whitelist.txt}
191 - doins example-{cloaking-rules.txt,forwarding-rules.txt}
192 -
193 - popd >/dev/null || die
194 -
195 - insinto /usr/share/dnscrypt-proxy
196 - doins -r "utils/generate-domains-blacklists/."
197 -
198 - newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
199 - newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
200 -
201 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service
202 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket
203 -
204 - insinto /etc/logrotate.d
205 - newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
206 -
207 - einstalldocs
208 -}
209 -
210 -pkg_postinst() {
211 - fcaps_pkg_postinst
212 - go-module_pkg_postinst
213 -
214 - if ! use filecaps; then
215 - ewarn "'filecaps' USE flag is disabled"
216 - ewarn "${PN} will fail to listen on port 53"
217 - ewarn "please do one the following:"
218 - ewarn "1) re-enable 'filecaps'"
219 - ewarn "2) change port to > 1024"
220 - ewarn "3) configure to run ${PN} as root (not recommended)"
221 - ewarn
222 - fi
223 -
224 - if systemd_is_booted || has_version sys-apps/systemd; then
225 - elog "Using systemd socket activation may cause issues with speed"
226 - elog "latency and reliability of ${PN} and is discouraged by upstream"
227 - elog "Existing installations advised to disable 'dnscrypt-proxy.socket'"
228 - elog "It is disabled by default for new installations"
229 - elog "check "$(systemd_get_systemunitdir)/${PN}.service" for details"
230 - elog
231 -
232 - fi
233 -
234 - elog "After starting the service you will need to update your"
235 - elog "/etc/resolv.conf and replace your current set of resolvers"
236 - elog "with:"
237 - elog
238 - elog "nameserver 127.0.0.1"
239 - elog
240 - elog "Also see https://github.com/jedisct1/${PN}/wiki"
241 -}
242
243 diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild
244 deleted file mode 100644
245 index 3d902b82aae..00000000000
246 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild
247 +++ /dev/null
248 @@ -1,99 +0,0 @@
249 -# Copyright 1999-2019 Gentoo Authors
250 -# Distributed under the terms of the GNU General Public License v2
251 -
252 -EAPI=7
253 -
254 -EGO_PN="github.com/jedisct1/${PN}"
255 -
256 -inherit fcaps go-module systemd
257 -
258 -if [[ ${PV} == 9999 ]]; then
259 - inherit git-r3
260 - EGIT_REPO_URI="https://${EGO_PN}.git"
261 -else
262 - SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
263 - KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
264 -fi
265 -
266 -DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
267 -HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy"
268 -
269 -LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
270 -SLOT="0"
271 -IUSE="pie"
272 -
273 -BDEPEND=">=dev-lang/go-1.13"
274 -
275 -RDEPEND="
276 - acct-group/dnscrypt-proxy
277 - acct-user/dnscrypt-proxy
278 -"
279 -
280 -FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
281 -PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
282 -
283 -src_compile() {
284 - pushd "${PN}" >/dev/null || die
285 - go build -buildmode="$(usex pie pie default)" || die
286 - popd >/dev/null || die
287 -}
288 -
289 -src_install() {
290 - pushd "${PN}" >/dev/null || die
291 -
292 - dobin dnscrypt-proxy
293 -
294 - insinto /etc/dnscrypt-proxy
295 - newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
296 - doins example-{blacklist.txt,whitelist.txt}
297 - doins example-{cloaking-rules.txt,forwarding-rules.txt}
298 -
299 - popd >/dev/null || die
300 -
301 - insinto /usr/share/dnscrypt-proxy
302 - doins -r "utils/generate-domains-blacklists/."
303 -
304 - newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
305 - newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
306 -
307 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service
308 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket
309 -
310 - insinto /etc/logrotate.d
311 - newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
312 -
313 - einstalldocs
314 -}
315 -
316 -pkg_postinst() {
317 - fcaps_pkg_postinst
318 - go-module_pkg_postinst
319 -
320 - if ! use filecaps; then
321 - ewarn "'filecaps' USE flag is disabled"
322 - ewarn "${PN} will fail to listen on port 53"
323 - ewarn "please do one the following:"
324 - ewarn "1) re-enable 'filecaps'"
325 - ewarn "2) change port to > 1024"
326 - ewarn "3) configure to run ${PN} as root (not recommended)"
327 - ewarn
328 - fi
329 -
330 - if systemd_is_booted || has_version sys-apps/systemd; then
331 - elog "Using systemd socket activation may cause issues with speed"
332 - elog "latency and reliability of ${PN} and is discouraged by upstream"
333 - elog "Existing installations advised to disable 'dnscrypt-proxy.socket'"
334 - elog "It is disabled by default for new installations"
335 - elog "check "$(systemd_get_systemunitdir)/${PN}.service" for details"
336 - elog
337 -
338 - fi
339 -
340 - elog "After starting the service you will need to update your"
341 - elog "/etc/resolv.conf and replace your current set of resolvers"
342 - elog "with:"
343 - elog
344 - elog "nameserver 127.0.0.1"
345 - elog
346 - elog "Also see https://github.com/jedisct1/${PN}/wiki"
347 -}