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: Fri, 16 Nov 2018 04:24:39
Message-Id: 1542341977.cb84e11de7626097630d9bd0713f66158a8b6fca.gyakovlev@gentoo
1 commit: cb84e11de7626097630d9bd0713f66158a8b6fca
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 16 04:19:37 2018 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 16 04:19:37 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb84e11d
7
8 net-dns/dnscrypt-proxy: drop 2.0.16-r1
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 net-dns/dnscrypt-proxy/Manifest | 1 -
14 .../dnscrypt-proxy/dnscrypt-proxy-2.0.16-r1.ebuild | 100 ---------------------
15 2 files changed, 101 deletions(-)
16
17 diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
18 index 0eeeff5f1fd..6a4c3e65c2e 100644
19 --- a/net-dns/dnscrypt-proxy/Manifest
20 +++ b/net-dns/dnscrypt-proxy/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST dnscrypt-proxy-2.0.16.tar.gz 3770249 BLAKE2B e6dc40ec503cff11e4deec1a243875fff42ec7ecba8c7c3552b69322d405c762fa152e7e9417baf944e2a476715f00813a305c20db583970520d35acd378f1d4 SHA512 f138df20560dd440a2ed390c1468d630191ae7b0e50521b4dde3fa7ef4377c3ae6409e8c547858bace53216c84aeeea6794305546b9ff87832f704c160c6782f
23 DIST dnscrypt-proxy-2.0.17.tar.gz 3364933 BLAKE2B 65f2f1c91cc175a3bc92103dd0a2984dfccf5b961d070097035e8bd8058c7eab41c05cd3fabbff729f9521b16ebbfb188008c65efa5c89578b4b54ce43348d05 SHA512 c1cb2cfff4a5f6eba81ac3b520ddb3acb311031588495b9f94a7ee5ab35ed0827a856369ce0ac7ff206445dbf24f7931cf937ccd9f724b4e38c97f10814df129
24 DIST dnscrypt-proxy-2.0.18.tar.gz 3334780 BLAKE2B df72449c6aef65d2cd91eca135bc0a2e1480f87cd06a368ffdb2edb4d5ec0901264a02121ec0ff2f2c9a55d8c2253cb2085f0e27b140420ee4f4cb1ddb854c87 SHA512 e37d100a7394cc46e0fbe054c988fca887584cf58c9101a7fb59a6554dc50a864a4f9fc6d403694292bc57aa29f477172011e9c6ba0df8f1bbf96cfbaa5862af
25
26 diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.16-r1.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.16-r1.ebuild
27 deleted file mode 100644
28 index 57dc638fa77..00000000000
29 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.16-r1.ebuild
30 +++ /dev/null
31 @@ -1,100 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -EGO_PN="github.com/jedisct1/${PN}"
38 -
39 -inherit fcaps golang-build systemd user
40 -
41 -DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
42 -HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy"
43 -SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="ISC"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~arm ~x86"
48 -IUSE="test"
49 -
50 -DEPEND="<dev-lang/go-1.11"
51 -
52 -FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
53 -PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
54 -
55 -pkg_setup() {
56 - enewgroup dnscrypt-proxy
57 - enewuser dnscrypt-proxy -1 -1 /var/empty dnscrypt-proxy
58 -}
59 -
60 -src_prepare() {
61 - default
62 - # Create directory structure suitable for building
63 - mkdir -p "src/${EGO_PN%/*}" || die
64 - mv "${PN}" "src/${EGO_PN}" || die
65 - mv "vendor" "src/" || die
66 -}
67 -
68 -src_install() {
69 - dobin dnscrypt-proxy
70 -
71 - insinto /etc/dnscrypt-proxy
72 - newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
73 - doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
74 - doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
75 -
76 - insinto /usr/share/dnscrypt-proxy
77 - doins -r "utils/generate-domains-blacklists/."
78 -
79 - newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
80 - newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
81 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service
82 - systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket
83 -
84 - einstalldocs
85 -}
86 -
87 -pkg_postinst() {
88 - fcaps_pkg_postinst
89 -
90 - if ! use filecaps; then
91 - ewarn "'filecaps' USE flag is disabled"
92 - ewarn "${PN} will fail to listen on port 53"
93 - ewarn "please do one the following:"
94 - ewarn "1) re-enable 'filecaps'"
95 - ewarn "2) change port to > 1024"
96 - ewarn "3) configure to run ${PN} as root (not recommended)"
97 - ewarn
98 - fi
99 -
100 - local v
101 - for v in ${REPLACING_VERSIONS}; do
102 - if [[ ${v} == 1.* ]] ; then
103 - elog "Version 2 is a complete rewrite of ${PN}"
104 - elog "please clean up old config/log files"
105 - elog
106 - fi
107 - if [[ ${v} == 2.* ]] ; then
108 - elog "As of version 2.0.12 of ${PN} runs as an 'dnscrypt-proxy' user/group"
109 - elog "you can remove obsolete 'dnscrypt' accounts from the system"
110 - elog
111 - fi
112 - done
113 -
114 - if systemd_is_booted || has_version sys-apps/systemd; then
115 - elog "Using systemd socket activation may cause issues with speed"
116 - elog "latency and reliability of ${PN} and is discouraged by upstream"
117 - elog "Existing installations advised to disable 'dnscrypt-proxy.socket'"
118 - elog "It is disabled by default for new installations"
119 - elog "check "$(systemd_get_systemunitdir)/${PN}.service" for details"
120 - elog
121 -
122 - fi
123 -
124 - elog "After starting the service you will need to update your"
125 - elog "/etc/resolv.conf and replace your current set of resolvers"
126 - elog "with:"
127 - elog
128 - elog "nameserver 127.0.0.1"
129 - elog
130 - elog "Also see https://github.com/jedisct1/${PN}/wiki"
131 -}