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