[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-09-07 Thread Sam James
commit: ad7a3aabb8e0da796043acff50bfe00bb988a9fd
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  8 00:12:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  8 00:12:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad7a3aab

net-dns/dnscrypt-proxy: Stabilize 2.1.5 x86, #913789

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
index 6a3a0503a5eb..84145490ad5e 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-09-07 Thread Sam James
commit: 145eff5095d11f242d7b0783f9d9359c527b1174
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:07:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:07:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145eff50

net-dns/dnscrypt-proxy: Stabilize 2.1.5 ppc64, #913789

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
index 0ed2f4261c85..4d64317e1556 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm arm64 ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-09-07 Thread Sam James
commit: 9ac809f36fb24fa598cb44de94cc82d770c90c9d
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:07:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:07:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ac809f3

net-dns/dnscrypt-proxy: Stabilize 2.1.5 arm64, #913789

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
index 345eca56bb69..0ed2f4261c85 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-09-07 Thread Sam James
commit: 58c5ae9f7acdb0503e64aee8a6dc9215e7c55d1d
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:07:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:07:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58c5ae9f

net-dns/dnscrypt-proxy: Stabilize 2.1.5 arm, #913789

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
index 74779702e9ac..345eca56bb69 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2023-08-11 Thread Sam James
commit: 99f73017a1cff764354205ccb0e1b11ed77858d4
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 12 04:40:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 12 04:40:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99f73017

net-dns/dnscrypt-proxy: add 2.1.5

- Drop USE=pie because the eclass handles it for us now
- Use ego helper
- Respect prefix in config paths

Closes: https://bugs.gentoo.org/912151
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  1 +
 ...oxy-.ebuild => dnscrypt-proxy-2.1.5.ebuild} | 14 ++--
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild  | 14 ++--
 .../dnscrypt-proxy-2.1.5-config-full-paths.patch   | 92 ++
 4 files changed, 107 insertions(+), 14 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index fad6acc75562..537000cfa8d1 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1 +1,2 @@
 DIST dnscrypt-proxy-2.1.4.tar.gz 6897787 BLAKE2B 
655011c98e335e0f605c093e5b12156afc9be88f0e14882e11cfdca1affa6de29830344e7c3aa7a5013f90a322f824d54e2db4d37a69395d344e90b0160e442b
 SHA512 
4540d11432c4f35244b79f66b8926f8a1025e09010d8d313f0cd0d62e3fafcbd12bd24e9956ddf9cd8c1ec8aae997b031ab08dae4ee220bf31f33227ec6c07ca
+DIST dnscrypt-proxy-2.1.5.tar.gz 4065395 BLAKE2B 
f8984121776565342c1920832839a9cebe8660eaa5f380baf5db6530a137efefbe270f61f9967426f3bea44110bf66b50524d2b891ec285eef1ad7329b1e305c
 SHA512 
2c9a0e0896483b4453cb3779efd41205be8839e61e17b86701deb91e531676529a82b8859ae0975d121322ec8cc05bdd13a1324b8f56010692e1ac9f36a99d69

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
similarity index 86%
copy from net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
copy to net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
index f80bcb78727b..74779702e9ac 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit fcaps go-module systemd
+inherit fcaps go-module prefix systemd
 
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+DESCRIPTION="Flexible DNS proxy, with support for encrypted DNS protocols"
 HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
 
 if [[ ${PV} ==  ]]; then
@@ -18,7 +18,6 @@ fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
-IUSE="+pie"
 
 RDEPEND="
acct-group/dnscrypt-proxy
@@ -28,18 +27,18 @@ RDEPEND="
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch
+   "${FILESDIR}"/${PN}-2.1.5-config-full-paths.patch
 )
 
 src_compile() {
pushd "${PN}" >/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   ego build -v -x -mod=readonly -mod=vendor
popd >/dev/null || die
 }
 
 src_test() {
cd "${PN}" || die
-   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+   ego test -mod=vendor
 }
 
 src_install() {
@@ -47,6 +46,7 @@ src_install() {
 
dobin dnscrypt-proxy
 
+   eprefixify example-dnscrypt-proxy.toml
insinto /etc/dnscrypt-proxy
newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
doins example-{allowed,blocked}-{ips.txt,names.txt}

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index f80bcb78727b..74779702e9ac 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit fcaps go-module systemd
+inherit fcaps go-module prefix systemd
 
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+DESCRIPTION="Flexible DNS proxy, with support for encrypted DNS protocols"
 HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
 
 if [[ ${PV} ==  ]]; then
@@ -18,7 +18,6 @@ fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
-IUSE="+pie"
 
 RDEPEND="
acct-group/dnscrypt-proxy
@@ -28,18 +27,18 @@ RDEPEND="
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 
 PATCHES=(
-   "${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch
+   "${FILESDIR}"/${PN}-2.1.5-config-full-paths.patch
 )
 
 src_compile() {
pushd "${PN}" >/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   ego build -v -x -mod=readonly -mod=vendor
popd >/dev/null || die
 }
 
 src_test() {

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-05-01 Thread Sam James
commit: 30d07094ebe42fda28f09e2baaef37a33289b372
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 13:31:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 13:31:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d07094

net-dns/dnscrypt-proxy: drop 2.1.2, 2.1.3

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   2 -
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild | 103 -
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild | 102 
 3 files changed, 207 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 58520083eb05..fad6acc75562 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,3 +1 @@
-DIST dnscrypt-proxy-2.1.2.tar.gz 6792121 BLAKE2B 
f6e69e9b7bba5bcaf49f710c78fc1b9607a8e791ad222da7af2a129de4807ecf87ddb7289aa79132a0d5ada588d2557beff618a79a341d168674bda7c8ba58ee
 SHA512 
1b3598d60abc70141127b5bf8bfaa76239d33e4220664dadd47f09544553e06eba6d82e5daf2c44c6da9c3c21c53683c2ff33db63257b782ad48c534bd54
-DIST dnscrypt-proxy-2.1.3.tar.gz 6891950 BLAKE2B 
e23bb64a4c9153ac19420b68f4a698e63b393ab66aa2801e87328093444156f24605d3c0ff1aa80ea21be6f255b71cd3d5b0af087d8080fdf55026b3b473003d
 SHA512 
72a63f57f643950a010f7659e705cb1ac8ce9c27386c42112bd9396be61426d1d23419c40e551f12a7e861a022235db710e6cd345c2052dbf9555d2b7dbd362f
 DIST dnscrypt-proxy-2.1.4.tar.gz 6897787 BLAKE2B 
655011c98e335e0f605c093e5b12156afc9be88f0e14882e11cfdca1affa6de29830344e7c3aa7a5013f90a322f824d54e2db4d37a69395d344e90b0160e442b
 SHA512 
4540d11432c4f35244b79f66b8926f8a1025e09010d8d313f0cd0d62e3fafcbd12bd24e9956ddf9cd8c1ec8aae997b031ab08dae4ee220bf31f33227ec6c07ca

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
deleted file mode 100644
index ac75f1b29dd9..
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module systemd
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
-if [[ ${PV} ==  ]]; then
-   EGIT_REPO_URI="https://github.com/DNSCrypt/dnscrypt-proxy.git;
-   inherit git-r3
-else
-   
SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ppc64 x86"
-fi
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="+pie"
-
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-BDEPEND="/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
-   popd >/dev/null || die
-}
-
-src_test() {
-   cd "${PN}" || die
-   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
-}
-
-src_install() {
-   pushd "${PN}" >/dev/null || die
-
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{allowed,blocked}-{ips.txt,names.txt}
-   doins example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   popd >/dev/null || die
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blocklist/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
-   ewarn
-   fi
-
-   if systemd_is_booted || has_version sys-apps/systemd; then
-   elog "Using systemd socket activation may cause issues with 
speed"
-   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
-   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
-   elog "It is disabled by default for new installations"
-   elog "check "$(systemd_get_systemunitdir)/${PN}.service" for 
details"
-   elog
-
-   fi
-
-   elog "After starting the service you will need to update your"

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-03-24 Thread Arthur Zamarin
commit: b38b91eddfb557d7a7eac03f904e34e32c42dd3c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 24 13:31:00 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 24 13:31:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38b91ed

net-dns/dnscrypt-proxy: Stabilize 2.1.4 arm64, #902603

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
index 913645de5499..76ec52a2adbe 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm ~arm64 ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-03-21 Thread Sam James
commit: 2a425cfdf3f62cd79904aecf563f72e665603d3c
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 22 05:54:20 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 05:54:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a425cfd

net-dns/dnscrypt-proxy: Stabilize 2.1.4 ppc64, #902603

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
index d336f8041bcb..913645de5499 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm ~arm64 ~ppc64 x86"
+   KEYWORDS="amd64 arm ~arm64 ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-03-09 Thread Arthur Zamarin
commit: 6f69d1acff8d6d74ba80535aefb871cb3b0428ac
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar  9 09:15:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar  9 09:15:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f69d1ac

net-dns/dnscrypt-proxy: Stabilize 2.1.3 ppc64, #900455

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
index 46ec40e78985..76ec52a2adbe 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-03-09 Thread Sam James
commit: 679d61863512f75d1c245f78290362edc6997441
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar  9 08:59:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar  9 08:59:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679d6186

net-dns/dnscrypt-proxy: Stabilize 2.1.3 x86, #900455

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
index 423eae4ebd0b..7507573c4b06 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-03-09 Thread Sam James
commit: 44087881f20f0913bd64ee6e2aa819b31c201491
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar  9 08:59:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar  9 08:59:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44087881

net-dns/dnscrypt-proxy: Stabilize 2.1.3 amd64, #900455

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
index 1fd4ed2f4721..46ec40e78985 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm arm64 ~ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-03-09 Thread Sam James
commit: 667e5ac5f56f98be45317fe88a4ff807cbc4c50a
Author: Sam James  gentoo  org>
AuthorDate: Thu Mar  9 08:59:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar  9 08:59:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=667e5ac5

net-dns/dnscrypt-proxy: Stabilize 2.1.3 arm64, #900455

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
index 7507573c4b06..1fd4ed2f4721 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 arm ~arm64 ~ppc64 x86"
+   KEYWORDS="~amd64 arm arm64 ~ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-03-08 Thread Arthur Zamarin
commit: 45a56752cda11db2c2358485ed0e466f7acea9cc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar  9 07:38:06 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar  9 07:38:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a56752

net-dns/dnscrypt-proxy: Stabilize 2.1.3 arm, #900455

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
index cb37a3d211ee..423eae4ebd0b 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-02-08 Thread Sam James
commit: 18badc92166344db1989f641df8302e1b5636b32
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb  8 20:54:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb  8 21:13:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18badc92

net-dns/dnscrypt-proxy: add 2.1.4

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 5abee8223fa2..58520083eb05 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1,3 @@
 DIST dnscrypt-proxy-2.1.2.tar.gz 6792121 BLAKE2B 
f6e69e9b7bba5bcaf49f710c78fc1b9607a8e791ad222da7af2a129de4807ecf87ddb7289aa79132a0d5ada588d2557beff618a79a341d168674bda7c8ba58ee
 SHA512 
1b3598d60abc70141127b5bf8bfaa76239d33e4220664dadd47f09544553e06eba6d82e5daf2c44c6da9c3c21c53683c2ff33db63257b782ad48c534bd54
 DIST dnscrypt-proxy-2.1.3.tar.gz 6891950 BLAKE2B 
e23bb64a4c9153ac19420b68f4a698e63b393ab66aa2801e87328093444156f24605d3c0ff1aa80ea21be6f255b71cd3d5b0af087d8080fdf55026b3b473003d
 SHA512 
72a63f57f643950a010f7659e705cb1ac8ce9c27386c42112bd9396be61426d1d23419c40e551f12a7e861a022235db710e6cd345c2052dbf9555d2b7dbd362f
+DIST dnscrypt-proxy-2.1.4.tar.gz 6897787 BLAKE2B 
655011c98e335e0f605c093e5b12156afc9be88f0e14882e11cfdca1affa6de29830344e7c3aa7a5013f90a322f824d54e2db4d37a69395d344e90b0160e442b
 SHA512 
4540d11432c4f35244b79f66b8926f8a1025e09010d8d313f0cd0d62e3fafcbd12bd24e9956ddf9cd8c1ec8aae997b031ab08dae4ee220bf31f33227ec6c07ca

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
new file mode 100644
index ..cb37a3d211ee
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module systemd
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/DNSCrypt/dnscrypt-proxy.git;
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+pie"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch
+)
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   popd >/dev/null || die
+}
+
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{allowed,blocked}-{ips.txt,names.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blocklist/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
+   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
+   elog "It is disabled by default for new installations"
+   elog "check "$(systemd_get_systemunitdir)/${PN}.service" for 
details"
+   elog

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-02-02 Thread William Hubbs
commit: 0cf329eaf89aeb2e686b9b8ddc5f009bb2e6a258
Author: William Hubbs  gentoo  org>
AuthorDate: Fri Feb  3 06:08:12 2023 +
Commit: William Hubbs  gentoo  org>
CommitDate: Fri Feb  3 06:08:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf329ea

net-dns/dnscrypt-proxy: add build dependency for < go 1.20

Bug: https://bugs.gentoo.org/892974
Signed-off-by: William Hubbs  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
index e23b67946b8e..ac75f1b29dd9 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,6 +24,7 @@ RDEPEND="
acct-group/dnscrypt-proxy
acct-user/dnscrypt-proxy
 "
+BDEPEND="

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2023-02-02 Thread Sam James
commit: ba20532860723d9acf578c69b20179593194a2ad
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 05:43:10 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 05:43:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba205328

net-dns/dnscrypt-proxy: add 2.1.3

Closes: https://bugs.gentoo.org/892974
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild | 102 +
 2 files changed, 103 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index a56cbe5c3d84..5abee8223fa2 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1 +1,2 @@
 DIST dnscrypt-proxy-2.1.2.tar.gz 6792121 BLAKE2B 
f6e69e9b7bba5bcaf49f710c78fc1b9607a8e791ad222da7af2a129de4807ecf87ddb7289aa79132a0d5ada588d2557beff618a79a341d168674bda7c8ba58ee
 SHA512 
1b3598d60abc70141127b5bf8bfaa76239d33e4220664dadd47f09544553e06eba6d82e5daf2c44c6da9c3c21c53683c2ff33db63257b782ad48c534bd54
+DIST dnscrypt-proxy-2.1.3.tar.gz 6891950 BLAKE2B 
e23bb64a4c9153ac19420b68f4a698e63b393ab66aa2801e87328093444156f24605d3c0ff1aa80ea21be6f255b71cd3d5b0af087d8080fdf55026b3b473003d
 SHA512 
72a63f57f643950a010f7659e705cb1ac8ce9c27386c42112bd9396be61426d1d23419c40e551f12a7e861a022235db710e6cd345c2052dbf9555d2b7dbd362f

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
new file mode 100644
index ..cb37a3d211ee
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps go-module systemd
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
+
+if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/DNSCrypt/dnscrypt-proxy.git;
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+pie"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch
+)
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   popd >/dev/null || die
+}
+
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{allowed,blocked}-{ips.txt,names.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blocklist/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
+   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
+   elog "It is disabled by default for new installations"
+   elog "check "$(systemd_get_systemunitdir)/${PN}.service" for 
details"
+   elog
+
+   fi
+
+   elog "After starting the service you will need to update your"
+   elog "${EROOT}/etc/resolv.conf and replace your current set of 
resolvers"
+   elog "with:"
+   elog
+   elog "nameserver 127.0.0.1"
+   elog
+   elog "Also see 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2022-10-28 Thread Sam James
commit: 1b5460d5f945b8f7e9079dbbc4423bdcf5a5651b
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 28 19:34:34 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 28 19:50:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b5460d5

net-dns/dnscrypt-proxy: drop 2.1.1

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 -
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild | 105 -
 .../dnscrypt-proxy-2.1.0-config-full-paths.patch   |  76 ---
 3 files changed, 182 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 076d965057a9..a56cbe5c3d84 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1 @@
-DIST dnscrypt-proxy-2.1.1.tar.gz 6114345 BLAKE2B 
9d68d94d1fc142d53ed74840080feca56d7abf606b8df9b2ebea7a69b75f13cdc93be53418e6101d30d31d6f4130b3794c1029a5972e129a4c06feeff7dd81e7
 SHA512 
1118d79aad8d3e3629616c203194a5346f00fcfe88783ebddc6f167d22a82006f26022e728c57905aa82997b87b77f0841f7c1b60e0f8e5335f9df142b759c21
 DIST dnscrypt-proxy-2.1.2.tar.gz 6792121 BLAKE2B 
f6e69e9b7bba5bcaf49f710c78fc1b9607a8e791ad222da7af2a129de4807ecf87ddb7289aa79132a0d5ada588d2557beff618a79a341d168674bda7c8ba58ee
 SHA512 
1b3598d60abc70141127b5bf8bfaa76239d33e4220664dadd47f09544553e06eba6d82e5daf2c44c6da9c3c21c53683c2ff33db63257b782ad48c534bd54

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
deleted file mode 100644
index 2f8f698a764a..
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/DNSCrypt/${PN}"
-
-inherit fcaps go-module systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ppc64 x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="+pie"
-
-BDEPEND=">=dev-lang/go-1.13"
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.1.0-config-full-paths.patch"
-)
-
-src_compile() {
-   pushd "${PN}" >/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
-   popd >/dev/null || die
-}
-
-src_test() {
-   cd "${PN}" || die
-   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
-}
-
-src_install() {
-   pushd "${PN}" >/dev/null || die
-
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{allowed,blocked}-{ips.txt,names.txt}
-   doins example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   popd >/dev/null || die
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blocklist/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
-   ewarn
-   fi
-
-   if systemd_is_booted || has_version sys-apps/systemd; then
-   elog "Using systemd socket activation may cause issues with 
speed"
-   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
-   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
-   elog "It is disabled by default for new installations"
-   elog "check "$(systemd_get_systemunitdir)/${PN}.service" for 
details"
-   elog
-
-   fi
-
-   elog "After starting the service you will need to update your"
-   elog "/etc/resolv.conf and replace your current set of resolvers"
-   elog "with:"
-   elog
-   elog "nameserver 127.0.0.1"
- 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2022-10-11 Thread Agostino Sarubbo
commit: 549245fbc2cd201ee11535231b25656e6f5a6e0f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 11 06:48:29 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 11 06:48:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549245fb

net-dns/dnscrypt-proxy: Stabilize 2.1.2 x86, #876649

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
index a84af6e5acf3..e23b67946b8e 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2022-10-11 Thread Agostino Sarubbo
commit: c1ed96e2e726ff631780e78b04d085117ac2dc8a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 11 06:46:10 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 11 06:46:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1ed96e2

net-dns/dnscrypt-proxy: Stabilize 2.1.2 ppc64, #876649

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
index 89223ead07cf..a84af6e5acf3 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2022-10-11 Thread Agostino Sarubbo
commit: 28a68c4c1688c97a71bb3c0626a2b8a2559d9dd7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 11 06:43:58 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 11 06:43:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a68c4c

net-dns/dnscrypt-proxy: Stabilize 2.1.2 arm64, #876649

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
index 1c07ddb59967..89223ead07cf 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2022-10-11 Thread Agostino Sarubbo
commit: 0ffb242d97e6b471ba11d058dc76983eb95c6366
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 11 06:42:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 11 06:42:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ffb242d

net-dns/dnscrypt-proxy: Stabilize 2.1.2 arm, #876649

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
index a15d0e01b54d..1c07ddb59967 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2022-10-11 Thread Agostino Sarubbo
commit: 4e9ecdd2869df85e3a5f803b12b297c233b3ed6a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Oct 11 06:41:02 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Oct 11 06:41:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9ecdd2

net-dns/dnscrypt-proxy: Stabilize 2.1.2 amd64, #876649

Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
index f80bcb78727b..a15d0e01b54d 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
@@ -13,7 +13,7 @@ if [[ ${PV} ==  ]]; then
inherit git-r3
 else

SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2022-08-02 Thread Sam James
commit: 3302f5bab7454f7dffde6902c97d5031d92d61e3
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  3 02:40:01 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  3 02:40:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3302f5ba

net-dns/dnscrypt-proxy: add 2.1.2

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  1 +
 ...oxy-.ebuild => dnscrypt-proxy-2.1.2.ebuild} | 21 +++--
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild  | 21 +++--
 .../dnscrypt-proxy-2.1.2-config-full-paths.patch   | 92 ++
 4 files changed, 111 insertions(+), 24 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index d719871447cd..076d965057a9 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1 +1,2 @@
 DIST dnscrypt-proxy-2.1.1.tar.gz 6114345 BLAKE2B 
9d68d94d1fc142d53ed74840080feca56d7abf606b8df9b2ebea7a69b75f13cdc93be53418e6101d30d31d6f4130b3794c1029a5972e129a4c06feeff7dd81e7
 SHA512 
1118d79aad8d3e3629616c203194a5346f00fcfe88783ebddc6f167d22a82006f26022e728c57905aa82997b87b77f0841f7c1b60e0f8e5335f9df142b759c21
+DIST dnscrypt-proxy-2.1.2.tar.gz 6792121 BLAKE2B 
f6e69e9b7bba5bcaf49f710c78fc1b9607a8e791ad222da7af2a129de4807ecf87ddb7289aa79132a0d5ada588d2557beff618a79a341d168674bda7c8ba58ee
 SHA512 
1b3598d60abc70141127b5bf8bfaa76239d33e4220664dadd47f09544553e06eba6d82e5daf2c44c6da9c3c21c53683c2ff33db63257b782ad48c534bd54

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
similarity index 88%
copy from net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
copy to net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
index 3e4c51ce549e..f80bcb78727b 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.2.ebuild
@@ -1,28 +1,25 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-
-EGO_PN="github.com/DNSCrypt/${PN}"
+EAPI=8
 
 inherit fcaps go-module systemd
 
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
+
 if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/DNSCrypt/dnscrypt-proxy.git;
inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
 else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   
SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
 IUSE="+pie"
 
-BDEPEND=">=dev-lang/go-1.13"
 RDEPEND="
acct-group/dnscrypt-proxy
acct-user/dnscrypt-proxy
@@ -31,7 +28,7 @@ RDEPEND="
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 
 PATCHES=(
-   "${FILESDIR}/${PN}-2.1.0-config-full-paths.patch"
+   "${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch
 )
 
 src_compile() {
@@ -96,7 +93,7 @@ pkg_postinst() {
fi
 
elog "After starting the service you will need to update your"
-   elog "/etc/resolv.conf and replace your current set of resolvers"
+   elog "${EROOT}/etc/resolv.conf and replace your current set of 
resolvers"
elog "with:"
elog
elog "nameserver 127.0.0.1"

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 3e4c51ce549e..f80bcb78727b 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -1,28 +1,25 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
-
-EGO_PN="github.com/DNSCrypt/${PN}"
+EAPI=8
 
 inherit fcaps go-module systemd
 
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
+
 if [[ ${PV} ==  ]]; then
+   EGIT_REPO_URI="https://github.com/DNSCrypt/dnscrypt-proxy.git;
inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
 else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   
SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
 IUSE="+pie"
 
-BDEPEND=">=dev-lang/go-1.13"
 RDEPEND="
acct-group/dnscrypt-proxy
acct-user/dnscrypt-proxy
@@ 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/, net-dns/dnscrypt-proxy/files/

2022-01-01 Thread Sam James
commit: 0ee20a4d2c987a374d7751091259e06caa6fc443
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  1 09:27:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  1 09:38:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee20a4d

net-dns/dnscrypt-proxy: drop 2.0.45, 2.1.0

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   2 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild| 105 -
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 105 -
 .../dnscrypt-proxy-2.0.45-config-full-paths.patch  | 101 
 4 files changed, 313 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 28b447df6e50..d719871447cd 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,3 +1 @@
-DIST dnscrypt-proxy-2.0.45.tar.gz 2721610 BLAKE2B 
cddeafec2a2fa8179b722a1b4fe8527bcb3991f5d9e04e31667ea8c38deda5b8c9a3c3a3c16e4e2f5d1bfdb5f8d540c6d61273c34df27f4a78215736b240846f
 SHA512 
becfe3c2d4567725e6b7e973647163e32dd2eaae361087bb05c90b6ddc3b0db0891c2725f6b5c255b8965990832bad53bd6ef137be54a342f46594f3633fe47a
-DIST dnscrypt-proxy-2.1.0.tar.gz 6248378 BLAKE2B 
6b0db8eae8bd380634a86ee2026fb6a3f64d0874a77633f9b8ef46bd37601ebf8d9163516b5ccc371d5354023d5c5c542384718aa885dd1f99809a7b98df5de2
 SHA512 
201a2741f4703872901fa9c045323444d2939d662316e0026f7aa33c7136e45a564225106884ed80522be5247e128c70ced176c8ddaacc66dc0f87c74029
 DIST dnscrypt-proxy-2.1.1.tar.gz 6114345 BLAKE2B 
9d68d94d1fc142d53ed74840080feca56d7abf606b8df9b2ebea7a69b75f13cdc93be53418e6101d30d31d6f4130b3794c1029a5972e129a4c06feeff7dd81e7
 SHA512 
1118d79aad8d3e3629616c203194a5346f00fcfe88783ebddc6f167d22a82006f26022e728c57905aa82997b87b77f0841f7c1b60e0f8e5335f9df142b759c21

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
deleted file mode 100644
index ffe2f5f05aa2..
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/DNSCrypt/${PN}"
-
-inherit fcaps go-module systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ppc64 x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="pie"
-
-BDEPEND=">=dev-lang/go-1.13"
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-
-PATCHES=(
-   "${FILESDIR}/${PN}-2.0.45-config-full-paths.patch"
-)
-
-src_compile() {
-   pushd "${PN}" >/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
-   popd >/dev/null || die
-}
-
-src_test() {
-   cd "${PN}" || die
-   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
-}
-
-src_install() {
-   pushd "${PN}" >/dev/null || die
-
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{allowed,blocked}-{ips.txt,names.txt}
-   doins example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   popd >/dev/null || die
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blocklist/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
-   ewarn
-   fi
-
-   if systemd_is_booted || has_version sys-apps/systemd; then
-   elog "Using systemd socket activation may cause issues with 
speed"
-   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
-   elog "Existing installations advised to disable 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/

2021-12-03 Thread Brian Evans
commit: 34d0fd905f2581f33320abad2840da8e1ff65288
Author: Brian Evans  gentoo  org>
AuthorDate: Fri Dec  3 14:41:13 2021 +
Commit: Brian Evans  gentoo  org>
CommitDate: Fri Dec  3 14:41:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d0fd90

net-dns/dnscrypt-proxy: Update OpenRC script

Non-maintainer commit: This is effectively the same options reorganized
for future consideration.

Closes: https://bugs.gentoo.org/828076
Signed-off-by: Brian Evans  gentoo.org>

 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
index ce1d1175d707..c1cb90040a20 100644
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 command="/usr/bin/dnscrypt-proxy"
@@ -7,7 +7,7 @@ command_args="${DNSCRYPT_PROXY_OPTS:--config 
/etc/dnscrypt-proxy/dnscrypt-proxy.
 
command_user="${DNSCRYPT_PROXY_USER:-dnscrypt-proxy}:${DNSCRYPT_PROXY_GROUP:-dnscrypt-proxy}"
 pidfile="/run/${RC_SVCNAME}.pid"
 retry="SIGTERM/5/SIGTERM/5/SIGKILL/5"
-start_stop_daemon_args="--background --make-pidfile"
+command_background="yes"
 
 depend() {
use logger net



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-11-02 Thread Agostino Sarubbo
commit: 899d4ca624a8c520ead5bc2f72d7dbce36f6b73e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov  2 09:14:32 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov  2 09:14:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=899d4ca6

net-dns/dnscrypt-proxy: ppc64 stable wrt bug #813162

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
index 8266eb0e7c1..2f8f698a764 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-10-30 Thread Agostino Sarubbo
commit: 63d713bc686e2cf9ea5a724a53b0f4a514740019
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Oct 30 17:23:32 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Oct 30 17:24:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63d713bc

net-dns/dnscrypt-proxy: x86 stable wrt bug #820575

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
index 19baba12f1e..2f8f698a764 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-10-29 Thread Sam James
commit: c6c38931d8f78e76193ed392428bcfa1a710b5c2
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 29 18:29:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 29 18:29:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6c38931

net-dns/dnscrypt-proxy: Stabilize 2.1.1 arm, #820575

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
index 8005f0be176..d1187e0fcd7 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
+   KEYWORDS="amd64 arm ~arm64 ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-10-29 Thread Sam James
commit: 341e4ddc52189674bc523b7255d06819ad5bfdf8
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct 29 18:30:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct 29 18:30:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=341e4ddc

net-dns/dnscrypt-proxy: Stabilize 2.1.1 arm64, #820575

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
index d1187e0fcd7..19baba12f1e 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm ~arm64 ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-10-28 Thread Agostino Sarubbo
commit: 9d4a5db221e84b63f5b499e2bda7d22e080d1a55
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Oct 28 14:01:13 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Oct 28 14:01:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d4a5db2

net-dns/dnscrypt-proxy: ppc64 stable wrt bug #820575

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
index 4805a04e687..8005f0be176 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-10-28 Thread Agostino Sarubbo
commit: ddc91d4b076f447720a08604c669cc8b170ef367
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Oct 28 13:58:56 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Oct 28 13:58:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc91d4b

net-dns/dnscrypt-proxy: amd64 stable wrt bug #820575

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
index 3e4c51ce549..4805a04e687 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-09-27 Thread Sam James
commit: 0c810a8e6ed6cfcd092b4fd819b574a7dc3b5642
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep 28 04:52:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep 28 04:53:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c810a8e

net-dns/dnscrypt-proxy: add 2.1.1

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest   | 1 +
 .../{dnscrypt-proxy-.ebuild => dnscrypt-proxy-2.1.1.ebuild}   | 4 ++--
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index e799b8395ee..28b447df6e5 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1,3 @@
 DIST dnscrypt-proxy-2.0.45.tar.gz 2721610 BLAKE2B 
cddeafec2a2fa8179b722a1b4fe8527bcb3991f5d9e04e31667ea8c38deda5b8c9a3c3a3c16e4e2f5d1bfdb5f8d540c6d61273c34df27f4a78215736b240846f
 SHA512 
becfe3c2d4567725e6b7e973647163e32dd2eaae361087bb05c90b6ddc3b0db0891c2725f6b5c255b8965990832bad53bd6ef137be54a342f46594f3633fe47a
 DIST dnscrypt-proxy-2.1.0.tar.gz 6248378 BLAKE2B 
6b0db8eae8bd380634a86ee2026fb6a3f64d0874a77633f9b8ef46bd37601ebf8d9163516b5ccc371d5354023d5c5c542384718aa885dd1f99809a7b98df5de2
 SHA512 
201a2741f4703872901fa9c045323444d2939d662316e0026f7aa33c7136e45a564225106884ed80522be5247e128c70ced176c8ddaacc66dc0f87c74029
+DIST dnscrypt-proxy-2.1.1.tar.gz 6114345 BLAKE2B 
9d68d94d1fc142d53ed74840080feca56d7abf606b8df9b2ebea7a69b75f13cdc93be53418e6101d30d31d6f4130b3794c1029a5972e129a4c06feeff7dd81e7
 SHA512 
1118d79aad8d3e3629616c203194a5346f00fcfe88783ebddc6f167d22a82006f26022e728c57905aa82997b87b77f0841f7c1b60e0f8e5335f9df142b759c21

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
similarity index 97%
copy from net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
copy to net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
index ef229346589..3e4c51ce549 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.1.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
-IUSE="pie"
+IUSE="+pie"
 
 BDEPEND=">=dev-lang/go-1.13"
 RDEPEND="
@@ -31,7 +31,7 @@ RDEPEND="
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 
 PATCHES=(
-   "${FILESDIR}/${PN}-2.0.45-config-full-paths.patch"
+   "${FILESDIR}/${PN}-2.1.0-config-full-paths.patch"
 )
 
 src_compile() {

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index ef229346589..3e4c51ce549 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
-IUSE="pie"
+IUSE="+pie"
 
 BDEPEND=">=dev-lang/go-1.13"
 RDEPEND="
@@ -31,7 +31,7 @@ RDEPEND="
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 
 PATCHES=(
-   "${FILESDIR}/${PN}-2.0.45-config-full-paths.patch"
+   "${FILESDIR}/${PN}-2.1.0-config-full-paths.patch"
 )
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-09-18 Thread Agostino Sarubbo
commit: 36d0fd58cc3bd7b08b75ad32ea6e77d638122745
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Sep 18 12:30:39 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Sep 18 12:30:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36d0fd58

net-dns/dnscrypt-proxy: x86 stable wrt bug #813162

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
index 62f6800aef8..8266eb0e7c1 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-09-16 Thread Sam James
commit: cb22a1f8231995f128bd23214e85ecd2fd843fcd
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 16 18:55:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 16 18:55:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb22a1f8

net-dns/dnscrypt-proxy: Stabilize 2.1.0 arm64, #813162

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
index bb63067c927..62f6800aef8 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-09-16 Thread Agostino Sarubbo
commit: 76282551fb501b5f208124f800468d80de4b6735
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 16 08:01:55 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 16 08:01:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76282551

net-dns/dnscrypt-proxy: amd64 stable wrt bug #813162

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
index a10d4a1a10e..bb63067c927 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-09-16 Thread Sam James
commit: 86b95f05871a27d37fb991269a67bca09168bd91
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 16 06:28:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 16 06:28:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b95f05

net-dns/dnscrypt-proxy: Stabilize 2.1.0 arm, #813162

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
index 3e4c51ce549..a10d4a1a10e 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-09-01 Thread William Hubbs
commit: 65bbf1e22e71c8fd21a54808f2f48e8301d5d758
Author: William Hubbs  gentoo  org>
AuthorDate: Wed Sep  1 16:12:20 2021 +
Commit: William Hubbs  gentoo  org>
CommitDate: Wed Sep  1 16:40:53 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65bbf1e2

net-dns/dnscrypt-proxy: drop calls to go-module_pkg_postinst

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: William Hubbs  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild | 1 -
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild  | 1 -
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild   | 1 -
 3 files changed, 3 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
index 86f103a511c..ffe2f5f05aa 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
@@ -74,7 +74,6 @@ src_install() {
 
 pkg_postinst() {
fcaps_pkg_postinst
-   go-module_pkg_postinst
 
if ! use filecaps; then
ewarn "'filecaps' USE flag is disabled"

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
index 19acce66145..3e4c51ce549 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
@@ -74,7 +74,6 @@ src_install() {
 
 pkg_postinst() {
fcaps_pkg_postinst
-   go-module_pkg_postinst
 
if ! use filecaps; then
ewarn "'filecaps' USE flag is disabled"

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 43359636f25..ef229346589 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -74,7 +74,6 @@ src_install() {
 
 pkg_postinst() {
fcaps_pkg_postinst
-   go-module_pkg_postinst
 
if ! use filecaps; then
ewarn "'filecaps' USE flag is disabled"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2021-08-15 Thread Sam James
commit: 40e58581693abc41314d828dae36b80f49267e8c
Author: Sam James  gentoo  org>
AuthorDate: Mon Aug 16 01:12:53 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Aug 16 01:58:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e58581

net-dns/dnscrypt-proxy: add 2.1.0

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild | 106 +
 .../dnscrypt-proxy-2.1.0-config-full-paths.patch   |  76 +++
 3 files changed, 183 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 6dc33183e09..e799b8395ee 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1 +1,2 @@
 DIST dnscrypt-proxy-2.0.45.tar.gz 2721610 BLAKE2B 
cddeafec2a2fa8179b722a1b4fe8527bcb3991f5d9e04e31667ea8c38deda5b8c9a3c3a3c16e4e2f5d1bfdb5f8d540c6d61273c34df27f4a78215736b240846f
 SHA512 
becfe3c2d4567725e6b7e973647163e32dd2eaae361087bb05c90b6ddc3b0db0891c2725f6b5c255b8965990832bad53bd6ef137be54a342f46594f3633fe47a
+DIST dnscrypt-proxy-2.1.0.tar.gz 6248378 BLAKE2B 
6b0db8eae8bd380634a86ee2026fb6a3f64d0874a77633f9b8ef46bd37601ebf8d9163516b5ccc371d5354023d5c5c542384718aa885dd1f99809a7b98df5de2
 SHA512 
201a2741f4703872901fa9c045323444d2939d662316e0026f7aa33c7136e45a564225106884ed80522be5247e128c70ced176c8ddaacc66dc0f87c74029

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
new file mode 100644
index 000..19acce66145
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/DNSCrypt/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="+pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+
+PATCHES=(
+   "${FILESDIR}/${PN}-2.1.0-config-full-paths.patch"
+)
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   popd >/dev/null || die
+}
+
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{allowed,blocked}-{ips.txt,names.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blocklist/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
+   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
+   elog "It is disabled by default for new installations"
+   elog "check "$(systemd_get_systemunitdir)/${PN}.service" for 
details"
+   elog
+
+   fi
+
+   elog "After starting the service you will need to update your"
+   elog "/etc/resolv.conf and replace your current set of resolvers"
+   elog "with:"
+   elog
+   

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2021-02-14 Thread Sam James
commit: 5c35a789ce0cd12ea9af685d15080d1f16e45c73
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 15 00:42:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 15 00:42:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c35a789

net-dns/dnscrypt-proxy: cleanup old

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild| 105 
 .../files/config-full-paths-r11.patch  | 106 -
 3 files changed, 212 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 0b2a4e38348..6dc33183e09 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1 @@
-DIST dnscrypt-proxy-2.0.44.tar.gz 2279842 BLAKE2B 
90f156914dd29ab5baa2eb02ed2992583999a6688d09a532f8c7c1ec6d285bd39893f66726da928f295056fd66cd756f4332f1ed21284ffa3d357ce355a08625
 SHA512 
009e2b669c1d6f6cd6b41f5e04d08735587f420dacdea8d422a3c12a62614c1ce1963deebca3af1f956070abd9ff5df9182cb27e31fa0fac8a95478739445801
 DIST dnscrypt-proxy-2.0.45.tar.gz 2721610 BLAKE2B 
cddeafec2a2fa8179b722a1b4fe8527bcb3991f5d9e04e31667ea8c38deda5b8c9a3c3a3c16e4e2f5d1bfdb5f8d540c6d61273c34df27f4a78215736b240846f
 SHA512 
becfe3c2d4567725e6b7e973647163e32dd2eaae361087bb05c90b6ddc3b0db0891c2725f6b5c255b8965990832bad53bd6ef137be54a342f46594f3633fe47a

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
deleted file mode 100644
index a0456c6a5fc..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/DNSCrypt/${PN}"
-
-inherit fcaps go-module systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm arm64 ~ppc64 ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="pie"
-
-BDEPEND=">=dev-lang/go-1.13"
-
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-
-PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
-
-src_compile() {
-   pushd "${PN}" >/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
-   popd >/dev/null || die
-}
-
-src_test() {
-   cd "${PN}" || die
-   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
-}
-
-src_install() {
-   pushd "${PN}" >/dev/null || die
-
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{blacklist.txt,whitelist.txt}
-   doins example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   popd >/dev/null || die
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-   go-module_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
-   ewarn
-   fi
-
-   if systemd_is_booted || has_version sys-apps/systemd; then
-   elog "Using systemd socket activation may cause issues with 
speed"
-   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
-   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
-   elog "It is disabled by default for new installations"
-   elog "check "$(systemd_get_systemunitdir)/${PN}.service" for 
details"
-   elog
-
-   fi
-
-   elog "After starting the service you will need to update your"
-   elog "/etc/resolv.conf and replace your current set of resolvers"
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-02-14 Thread Sam James
commit: ecf091f01926eef74ce59b904bbd3934ae0d841e
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 15 00:38:23 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 15 00:38:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf091f0

net-dns/dnscrypt-proxy: Stabilize 2.0.45 arm, #768372

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
index cdcfa14ad53..86f103a511c 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm arm64 ppc64 x86"
+   KEYWORDS="amd64 arm arm64 ppc64 x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-02-13 Thread Sam James
commit: 5d925cc52d3dae79a11fd335c920dc605cb4c1e9
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb 13 21:15:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb 13 21:15:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d925cc5

net-dns/dnscrypt-proxy: Stabilize 2.0.45 arm64, #768372

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
index 748d72fac44..cdcfa14ad53 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
+   KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-02-09 Thread Sam James
commit: a6842e2da4aeaafc19fbfb74c79e6993eaf3f54b
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  9 21:31:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  9 21:31:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6842e2d

net-dns/dnscrypt-proxy: Stabilize 2.0.45 ppc64, #768372

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
index 33e8509cda0..748d72fac44 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+   KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-02-09 Thread Sam James
commit: ef15bc0cf97d315b4b85223676ec413c0c11dcae
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  9 09:47:50 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  9 09:47:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef15bc0c

net-dns/dnscrypt-proxy: Stabilize 2.0.45 x86, #768372

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
index 329d5a42670..33e8509cda0 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2021-02-02 Thread Sam James
commit: 6a88d0ce2de8d491736539a2dc36f1f730990b5f
Author: Sam James  gentoo  org>
AuthorDate: Tue Feb  2 21:00:27 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Feb  2 21:00:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a88d0ce

net-dns/dnscrypt-proxy: Stabilize 2.0.45 amd64, #768372

Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
index 43359636f25..329d5a42670 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/

2021-01-03 Thread Sam James
commit: 20a1da9271be1b1303a3b74f0581345ea33a654e
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  3 23:12:35 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  3 23:12:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a1da92

net-dns/dnscrypt-proxy: cleanup patch cruft

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 .../dnscrypt-proxy/files/dnscrypt-proxy-2.0.45-config-full-paths.patch  | 2 --
 1 file changed, 2 deletions(-)

diff --git 
a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.0.45-config-full-paths.patch 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.0.45-config-full-paths.patch
index 86ca893440d..a871990deb9 100644
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.0.45-config-full-paths.patch
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.0.45-config-full-paths.patch
@@ -1,5 +1,3 @@
-diff --git a/dnscrypt-proxy/example-dnscrypt-proxy.toml 
b/dnscrypt-proxy/example-dnscrypt-proxy.toml
-index 12d9bde..0c7f3e1 100644
 --- a/dnscrypt-proxy/example-dnscrypt-proxy.toml
 +++ b/dnscrypt-proxy/example-dnscrypt-proxy.toml
 @@ -157,7 +157,7 @@ keepalive = 30



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/, net-dns/dnscrypt-proxy/files/

2021-01-03 Thread Sam James
commit: dc5570c2c49db48832676e68f77fd4cb94596979
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  3 23:10:16 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  3 23:10:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5570c2

net-dns/dnscrypt-proxy: bump to 2.0.45

Closes: https://bugs.gentoo.org/763312
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 ...xy-.ebuild => dnscrypt-proxy-2.0.45.ebuild} |  13 +--
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild  |  13 +--
 .../dnscrypt-proxy-2.0.45-config-full-paths.patch  | 103 +
 4 files changed, 118 insertions(+), 12 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 1723c8920ad..0b2a4e38348 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1 +1,2 @@
 DIST dnscrypt-proxy-2.0.44.tar.gz 2279842 BLAKE2B 
90f156914dd29ab5baa2eb02ed2992583999a6688d09a532f8c7c1ec6d285bd39893f66726da928f295056fd66cd756f4332f1ed21284ffa3d357ce355a08625
 SHA512 
009e2b669c1d6f6cd6b41f5e04d08735587f420dacdea8d422a3c12a62614c1ce1963deebca3af1f956070abd9ff5df9182cb27e31fa0fac8a95478739445801
+DIST dnscrypt-proxy-2.0.45.tar.gz 2721610 BLAKE2B 
cddeafec2a2fa8179b722a1b4fe8527bcb3991f5d9e04e31667ea8c38deda5b8c9a3c3a3c16e4e2f5d1bfdb5f8d540c6d61273c34df27f4a78215736b240846f
 SHA512 
becfe3c2d4567725e6b7e973647163e32dd2eaae361087bb05c90b6ddc3b0db0891c2725f6b5c255b8965990832bad53bd6ef137be54a342f46594f3633fe47a

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
similarity index 91%
copy from net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
copy to net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
index 4f7ddaa4a1b..43359636f25 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.45.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
@@ -23,7 +23,6 @@ SLOT="0"
 IUSE="pie"
 
 BDEPEND=">=dev-lang/go-1.13"
-
 RDEPEND="
acct-group/dnscrypt-proxy
acct-user/dnscrypt-proxy
@@ -31,7 +30,9 @@ RDEPEND="
 
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 
-PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
+PATCHES=(
+   "${FILESDIR}/${PN}-2.0.45-config-full-paths.patch"
+)
 
 src_compile() {
pushd "${PN}" >/dev/null || die
@@ -51,13 +52,13 @@ src_install() {
 
insinto /etc/dnscrypt-proxy
newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{allowed,blocked}-{ips.txt,names.txt}
doins example-{cloaking-rules.txt,forwarding-rules.txt}
 
popd >/dev/null || die
 
insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
+   doins -r "utils/generate-domains-blocklist/."
 
newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 4f7ddaa4a1b..43359636f25 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
@@ -23,7 +23,6 @@ SLOT="0"
 IUSE="pie"
 
 BDEPEND=">=dev-lang/go-1.13"
-
 RDEPEND="
acct-group/dnscrypt-proxy
acct-user/dnscrypt-proxy
@@ -31,7 +30,9 @@ RDEPEND="
 
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 
-PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
+PATCHES=(
+   "${FILESDIR}/${PN}-2.0.45-config-full-paths.patch"
+)
 
 src_compile() {
pushd "${PN}" >/dev/null || die
@@ -51,13 +52,13 @@ src_install() {
 
insinto /etc/dnscrypt-proxy
newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-09-06 Thread Sam James
commit: 1059f5ed9556e94ae173faf64dee378056a6a805
Author: Sam James  gentoo  org>
AuthorDate: Sun Sep  6 21:38:36 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep  6 21:39:02 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1059f5ed

net-dns/dnscrypt-proxy: cleanup old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild| 105 -
 2 files changed, 106 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 1cd014712ec..1723c8920ad 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1 @@
-DIST dnscrypt-proxy-2.0.43.tar.gz 2279744 BLAKE2B 
f06892bc14da2be2e97dfb5d233420cf3726e359ccd0658d4309981291a12a7cac7a7592d11717a9466144bd5cb9d9a4e1b6ba8877a8b5c539783749588a10a1
 SHA512 
a1d14756d6be6450683a44adae197aa582df2556dda588debdadd0903b5993a4dc579880479f138ec3690045aeab833a19f23b2555a403930d26d4a5bc90ed5f
 DIST dnscrypt-proxy-2.0.44.tar.gz 2279842 BLAKE2B 
90f156914dd29ab5baa2eb02ed2992583999a6688d09a532f8c7c1ec6d285bd39893f66726da928f295056fd66cd756f4332f1ed21284ffa3d357ce355a08625
 SHA512 
009e2b669c1d6f6cd6b41f5e04d08735587f420dacdea8d422a3c12a62614c1ce1963deebca3af1f956070abd9ff5df9182cb27e31fa0fac8a95478739445801

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild
deleted file mode 100644
index bfc4fef8eb0..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/DNSCrypt/${PN}"
-
-inherit fcaps go-module systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="pie"
-
-BDEPEND=">=dev-lang/go-1.13"
-
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-
-PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
-
-src_compile() {
-   pushd "${PN}" >/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
-   popd >/dev/null || die
-}
-
-src_test() {
-   cd "${PN}" || die
-   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
-}
-
-src_install() {
-   pushd "${PN}" >/dev/null || die
-
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{blacklist.txt,whitelist.txt}
-   doins example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   popd >/dev/null || die
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-   go-module_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
-   ewarn
-   fi
-
-   if systemd_is_booted || has_version sys-apps/systemd; then
-   elog "Using systemd socket activation may cause issues with 
speed"
-   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
-   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
-   elog "It is disabled by default for new installations"
-   elog "check "$(systemd_get_systemunitdir)/${PN}.service" for 
details"
-   elog
-
-   fi
-
-   elog "After starting the service you will need to update your"
-   elog "/etc/resolv.conf and replace your current set of resolvers"
-   elog "with:"
-   elog
-   elog "nameserver 127.0.0.1"
-   elog
- 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-07-23 Thread Sam James
commit: ba696a28e3aeb79db15c3b0ba054fdaf0d987b79
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 23 22:34:28 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 23 22:34:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba696a28

net-dns/dnscrypt-proxy: cleanup old

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   2 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild| 105 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild| 105 -
 3 files changed, 212 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 70d7d128cb1..1cd014712ec 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,4 +1,2 @@
-DIST dnscrypt-proxy-2.0.41.tar.gz 2323421 BLAKE2B 
572a0ad15df6c40d1738b296972584f5d8fe382ca3c0a05b4fc74e986e767a058227dda2127c843127bc0b90e8b7bbe17a5eaee42175f0b77e21160ac63f7a88
 SHA512 
26be163daa03633f2d76f1121fb1987e0155613bd84cbb2aad2ba0eedbd35ec0b393d1c1a0aaba47968b3a08bd0273ad929a164695ce35d2ebe05ce3b5f5dfd1
-DIST dnscrypt-proxy-2.0.42.tar.gz 2324442 BLAKE2B 
8444eca1fc2bfc6029c1848bbeb77697b9b9c228c1bd0d17ed357b73667524c7052b33410a92847743533c3712f749fd93dbac46a81da48dae367e2a515cad8c
 SHA512 
093b07ee8eb44c1264e6ea4b60ad32e0221b1b02c1d61f142b1fbf37dc5181533cc3c5d6e7468d0f7488611de4620947684269da9f08f21da0aa501ba70be711
 DIST dnscrypt-proxy-2.0.43.tar.gz 2279744 BLAKE2B 
f06892bc14da2be2e97dfb5d233420cf3726e359ccd0658d4309981291a12a7cac7a7592d11717a9466144bd5cb9d9a4e1b6ba8877a8b5c539783749588a10a1
 SHA512 
a1d14756d6be6450683a44adae197aa582df2556dda588debdadd0903b5993a4dc579880479f138ec3690045aeab833a19f23b2555a403930d26d4a5bc90ed5f
 DIST dnscrypt-proxy-2.0.44.tar.gz 2279842 BLAKE2B 
90f156914dd29ab5baa2eb02ed2992583999a6688d09a532f8c7c1ec6d285bd39893f66726da928f295056fd66cd756f4332f1ed21284ffa3d357ce355a08625
 SHA512 
009e2b669c1d6f6cd6b41f5e04d08735587f420dacdea8d422a3c12a62614c1ce1963deebca3af1f956070abd9ff5df9182cb27e31fa0fac8a95478739445801

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
deleted file mode 100644
index 4f7ddaa4a1b..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/DNSCrypt/${PN}"
-
-inherit fcaps go-module systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="pie"
-
-BDEPEND=">=dev-lang/go-1.13"
-
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-
-PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
-
-src_compile() {
-   pushd "${PN}" >/dev/null || die
-   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
-   popd >/dev/null || die
-}
-
-src_test() {
-   cd "${PN}" || die
-   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
-}
-
-src_install() {
-   pushd "${PN}" >/dev/null || die
-
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{blacklist.txt,whitelist.txt}
-   doins example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   popd >/dev/null || die
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-   go-module_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
-   ewarn
-   fi
-
-   if systemd_is_booted || 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-07-19 Thread Agostino Sarubbo
commit: 1871a414629061b2baa27849455e5e05905e6caf
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 19 12:18:20 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 19 12:18:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1871a414

net-dns/dnscrypt-proxy: amd64 stable wrt bug #732564

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
index fb95b87cdf9..a0456c6a5fc 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 arm arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-07-16 Thread Sam James
commit: b10c22f95971fb37104433cfbfb74c99895713e8
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 17 00:12:30 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 17 00:14:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b10c22f9

net-dns/dnscrypt-proxy: arm64 stable (bug #732564)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
index 08493ba2da8..fb95b87cdf9 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-07-14 Thread Sam James
commit: 1c4c2c6ec73d2782e4831dd0cbba9d79256e4649
Author: Sam James  gentoo  org>
AuthorDate: Tue Jul 14 16:43:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jul 14 17:01:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4c2c6e

net-dns/dnscrypt-proxy: arm stable (bug #732564)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
index bfc4fef8eb0..08493ba2da8 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="~amd64 arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-07-11 Thread Georgy Yakovlev
commit: eb096707a17a891417400867813d8362fc975aef
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Jul 11 06:13:10 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Jul 11 06:13:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb096707

net-dns/dnscrypt-proxy: remove myself from meatdata

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/metadata.xml 
b/net-dns/dnscrypt-proxy/metadata.xml
index b05e6420ff3..65acfbb20ea 100644
--- a/net-dns/dnscrypt-proxy/metadata.xml
+++ b/net-dns/dnscrypt-proxy/metadata.xml
@@ -5,10 +5,6 @@
s...@gentoo.org
Sam James

-   
-   gyakov...@gentoo.org
-   Georgy Yakovlev
-   

dnscrypt-proxy provides local service which can be used 
directly as your
local resolver or as a DNS forwarder, encrypting and 
authenticating



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-07-08 Thread Sam James
commit: 6cf4994d25fde9f356ff2efc777c37e4839974ec
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul  8 20:42:44 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul  8 20:50:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cf4994d

net-dns/dnscrypt-proxy: update sam's email

Package-Manager: Portage-2.3.103, Repoman-2.3.22
Signed-off-by: Sam James  gentoo.org>

 net-dns/dnscrypt-proxy/metadata.xml | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/metadata.xml 
b/net-dns/dnscrypt-proxy/metadata.xml
index 4319f7f3675..b05e6420ff3 100644
--- a/net-dns/dnscrypt-proxy/metadata.xml
+++ b/net-dns/dnscrypt-proxy/metadata.xml
@@ -2,17 +2,13 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   s...@cmpct.info
+   s...@gentoo.org
Sam James


gyakov...@gentoo.org
Georgy Yakovlev

-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   

dnscrypt-proxy provides local service which can be used 
directly as your
local resolver or as a DNS forwarder, encrypting and 
authenticating



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-06-11 Thread Georgy Yakovlev
commit: f3f15e6bcf8be448c80237b4f6f7adc91d98eca2
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Jun 11 21:56:12 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Jun 12 02:35:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f15e6b

net-dns/dnscrypt-proxy: run tests

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild | 5 +
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 5 +
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild | 5 +
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild   | 5 +
 4 files changed, 20 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
index 7bc0187ab8c..4f7ddaa4a1b 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
@@ -39,6 +39,11 @@ src_compile() {
popd >/dev/null || die
 }
 
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
 src_install() {
pushd "${PN}" >/dev/null || die
 

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
index 2a13bf21225..a0456c6a5fc 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
@@ -39,6 +39,11 @@ src_compile() {
popd >/dev/null || die
 }
 
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
 src_install() {
pushd "${PN}" >/dev/null || die
 

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild
index 1de44bd952e..bfc4fef8eb0 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild
@@ -39,6 +39,11 @@ src_compile() {
popd >/dev/null || die
 }
 
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
 src_install() {
pushd "${PN}" >/dev/null || die
 

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 7bc0187ab8c..4f7ddaa4a1b 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -39,6 +39,11 @@ src_compile() {
popd >/dev/null || die
 }
 
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
 src_install() {
pushd "${PN}" >/dev/null || die
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-06-11 Thread Georgy Yakovlev
commit: e286ef56f3a147c6ff8ab9f5a46618e0fcdb936c
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu Jun 11 21:56:13 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Jun 12 02:35:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e286ef56

net-dns/dnscrypt-proxy: bump to 2.0.44

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/16198
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild| 105 +
 2 files changed, 106 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 2f04d7b30a8..70d7d128cb1 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,3 +1,4 @@
 DIST dnscrypt-proxy-2.0.41.tar.gz 2323421 BLAKE2B 
572a0ad15df6c40d1738b296972584f5d8fe382ca3c0a05b4fc74e986e767a058227dda2127c843127bc0b90e8b7bbe17a5eaee42175f0b77e21160ac63f7a88
 SHA512 
26be163daa03633f2d76f1121fb1987e0155613bd84cbb2aad2ba0eedbd35ec0b393d1c1a0aaba47968b3a08bd0273ad929a164695ce35d2ebe05ce3b5f5dfd1
 DIST dnscrypt-proxy-2.0.42.tar.gz 2324442 BLAKE2B 
8444eca1fc2bfc6029c1848bbeb77697b9b9c228c1bd0d17ed357b73667524c7052b33410a92847743533c3712f749fd93dbac46a81da48dae367e2a515cad8c
 SHA512 
093b07ee8eb44c1264e6ea4b60ad32e0221b1b02c1d61f142b1fbf37dc5181533cc3c5d6e7468d0f7488611de4620947684269da9f08f21da0aa501ba70be711
 DIST dnscrypt-proxy-2.0.43.tar.gz 2279744 BLAKE2B 
f06892bc14da2be2e97dfb5d233420cf3726e359ccd0658d4309981291a12a7cac7a7592d11717a9466144bd5cb9d9a4e1b6ba8877a8b5c539783749588a10a1
 SHA512 
a1d14756d6be6450683a44adae197aa582df2556dda588debdadd0903b5993a4dc579880479f138ec3690045aeab833a19f23b2555a403930d26d4a5bc90ed5f
+DIST dnscrypt-proxy-2.0.44.tar.gz 2279842 BLAKE2B 
90f156914dd29ab5baa2eb02ed2992583999a6688d09a532f8c7c1ec6d285bd39893f66726da928f295056fd66cd756f4332f1ed21284ffa3d357ce355a08625
 SHA512 
009e2b669c1d6f6cd6b41f5e04d08735587f420dacdea8d422a3c12a62614c1ce1963deebca3af1f956070abd9ff5df9182cb27e31fa0fac8a95478739445801

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
new file mode 100644
index 000..bfc4fef8eb0
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/DNSCrypt/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+
+PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   popd >/dev/null || die
+}
+
+src_test() {
+   cd "${PN}" || die
+   go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed 
to run tests"
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+ 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-06-09 Thread Thomas Deutschmann
commit: 73a1e7bca6153d1ec3542444df6164637267476c
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Jun  9 15:21:53 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Jun 10 01:23:20 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73a1e7bc

net-dns/dnscrypt-proxy: Bump to 2.0.43

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/16157
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild| 100 +
 2 files changed, 101 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 9c319f51eda..2f04d7b30a8 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1,3 @@
 DIST dnscrypt-proxy-2.0.41.tar.gz 2323421 BLAKE2B 
572a0ad15df6c40d1738b296972584f5d8fe382ca3c0a05b4fc74e986e767a058227dda2127c843127bc0b90e8b7bbe17a5eaee42175f0b77e21160ac63f7a88
 SHA512 
26be163daa03633f2d76f1121fb1987e0155613bd84cbb2aad2ba0eedbd35ec0b393d1c1a0aaba47968b3a08bd0273ad929a164695ce35d2ebe05ce3b5f5dfd1
 DIST dnscrypt-proxy-2.0.42.tar.gz 2324442 BLAKE2B 
8444eca1fc2bfc6029c1848bbeb77697b9b9c228c1bd0d17ed357b73667524c7052b33410a92847743533c3712f749fd93dbac46a81da48dae367e2a515cad8c
 SHA512 
093b07ee8eb44c1264e6ea4b60ad32e0221b1b02c1d61f142b1fbf37dc5181533cc3c5d6e7468d0f7488611de4620947684269da9f08f21da0aa501ba70be711
+DIST dnscrypt-proxy-2.0.43.tar.gz 2279744 BLAKE2B 
f06892bc14da2be2e97dfb5d233420cf3726e359ccd0658d4309981291a12a7cac7a7592d11717a9466144bd5cb9d9a4e1b6ba8877a8b5c539783749588a10a1
 SHA512 
a1d14756d6be6450683a44adae197aa582df2556dda588debdadd0903b5993a4dc579880479f138ec3690045aeab833a19f23b2555a403930d26d4a5bc90ed5f

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild
new file mode 100644
index 000..1de44bd952e
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/DNSCrypt/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+
+PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   popd >/dev/null || die
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
+   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
+   elog "It is disabled by default for new installations"
+   elog "check 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/

2020-05-01 Thread Georgy Yakovlev
commit: 56c0f3e1344c21d6a1ea98fc61ed4cec374cdb27
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Apr 30 16:22:44 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri May  1 07:04:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c0f3e1

net-dns/dnscrypt-proxy: remove unused patch

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15577
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../files/config-full-paths-r10.patch  | 72 --
 1 file changed, 72 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/files/config-full-paths-r10.patch 
b/net-dns/dnscrypt-proxy/files/config-full-paths-r10.patch
deleted file mode 100644
index aba278c221a..000
--- a/net-dns/dnscrypt-proxy/files/config-full-paths-r10.patch
+++ /dev/null
@@ -1,72 +0,0 @@
 dnscrypt-proxy-2.0.9/dnscrypt-proxy/example-dnscrypt-proxy.toml  
2018-04-11 05:05:16.0 -0700
-+++ dnscrypt-proxy-2.0.9/dnscrypt-proxy/dnscrypt-proxy.toml 2018-04-11 
22:29:21.810501858 -0700
-@@ -96,7 +96,7 @@
- 
- ## log file for the application
- 
--# log_file = 'dnscrypt-proxy.log'
-+# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
- 
- 
- ## Use the system logger (syslog on Unix, Event Log on Windows)
-@@ -254,7 +254,7 @@
- 
-   ## Path to the query log file (absolute, or relative to the same directory 
as the executable file)
- 
--  # file = 'query.log'
-+  # file = '/var/log/dnscrypt-proxy/query.log'
- 
- 
-   ## Query log format (currently supported: tsv and ltsv)
-@@ -280,7 +280,7 @@
- 
-   ## Path to the query log file (absolute, or relative to the same directory 
as the executable file)
- 
--  # file = 'nx.log'
-+  # file = '/var/log/dnscrypt-proxy/nx.log'
- 
- 
-   ## Query log format (currently supported: tsv and ltsv)
-@@ -315,7 +315,7 @@
- 
-   ## Optional path to a file logging blocked queries
- 
--  # log_file = 'blocked.log'
-+  # log_file = '/var/log/dnscrypt-proxy/blocked.log'
- 
- 
-   ## Optional log format: tsv or ltsv (default: tsv)
-@@ -343,7 +343,7 @@
- 
-   ## Optional path to a file logging blocked queries
- 
--  # log_file = 'ip-blocked.log'
-+  # log_file = '/var/log/dnscrypt-proxy/ip-blocked.log'
- 
- 
-   ## Optional log format: tsv or ltsv (default: tsv)
-@@ -371,7 +371,7 @@
- 
-   ## Optional path to a file logging whitelisted queries
- 
--  # log_file = 'whitelisted.log'
-+  # log_file = '/var/log/dnscrypt-proxy/whitelisted.log'
- 
- 
-   ## Optional log format: tsv or ltsv (default: tsv)
-@@ -441,7 +441,7 @@
- 
-   [sources.'public-resolvers']
-   urls = 
['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md',
 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md']
--  cache_file = 'public-resolvers.md'
-+  cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
-   minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
-   refresh_delay = 72
-   prefix = ''
-@@ -451,7 +451,7 @@
- 
-   #  [sources.'parental-control']
-   #  urls = 
['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/parental-control.md',
 'https://download.dnscrypt.info/resolvers-list/v2/parental-control.md']
--  #  cache_file = 'parental-control.md'
-+  #  cache_file = '/var/cache/dnscrypt-proxy/parental-control.md'
-   #  minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/, net-dns/dnscrypt-proxy/files/

2020-04-29 Thread Joonas Niilola
commit: 9d089bfb421cfb2665aa0e13c497b89a21fb8842
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Wed Apr 29 01:28:14 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Apr 29 10:15:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d089bfb

net-dns/dnscrypt-proxy: fix homepage

Move from upstream's old personal URL to new GitHub organisation.

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c)  cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/15559
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild | 2 +-
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 2 +-
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild   | 2 +-
 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service | 2 +-
 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.socket  | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
index b5bda3db325..7bc0187ab8c 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
@@ -16,7 +16,7 @@ else
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
index 995396f0597..2a13bf21225 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
@@ -16,7 +16,7 @@ else
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index b5bda3db325..7bc0187ab8c 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -16,7 +16,7 @@ else
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy;
 
 LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"

diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service
index a0c7a1408c8..4e447cdd777 100644
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.service
@@ -1,6 +1,6 @@
 [Unit]
 Description=DNSCrypt-proxy client
-Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki
+Documentation=https://github.com/DNSCrypt/dnscrypt-proxy/wiki
 
 ## systemd sockets - Do not enable unless you are very familiar with the 
systemd socket activation mechanism.
 ## Always try without systemd sockets before reporting any issues related to 
speed, latency or reliability.

diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.socket 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.socket
index ea38c90e8a5..8467b6f2970 100644
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.socket
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.socket
@@ -1,6 +1,6 @@
 [Unit]
 Description=DNSCrypt-proxy socket
-Documentation=https://github.com/jedisct1/dnscrypt-proxy/wiki
+Documentation=https://github.com/DNSCrypt/dnscrypt-proxy/wiki
 
 [Socket]
 ## Listen on TCP socket.



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-04-29 Thread Joonas Niilola
commit: 94d50a6f90f50fae4e9b68dc1d57cb37587b75c0
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Wed Apr 29 01:26:11 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Apr 29 10:15:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d50a6f

net-dns/dnscrypt-proxy: cleanup old

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   2 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild| 101 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild|  99 
 3 files changed, 202 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 054695abc37..9c319f51eda 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,4 +1,2 @@
-DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
-DIST dnscrypt-proxy-2.0.39.tar.gz 2814424 BLAKE2B 
59be804a9c9641dd43e6b49e95c58c7d20dfdc940f2279a47a9ced707d1bbe64b1864c65feab2cada6c12945567ffd93478bd0a8129d40ea65c0fef50e5e90e4
 SHA512 
d4eacd8d1989b99d9932d66ef609948558af26f9db1fc37acd6b5609e2a410d20828e32f2b79f2f9fbdf822998af641aec20128e4c58233663929106e29d8e24
 DIST dnscrypt-proxy-2.0.41.tar.gz 2323421 BLAKE2B 
572a0ad15df6c40d1738b296972584f5d8fe382ca3c0a05b4fc74e986e767a058227dda2127c843127bc0b90e8b7bbe17a5eaee42175f0b77e21160ac63f7a88
 SHA512 
26be163daa03633f2d76f1121fb1987e0155613bd84cbb2aad2ba0eedbd35ec0b393d1c1a0aaba47968b3a08bd0273ad929a164695ce35d2ebe05ce3b5f5dfd1
 DIST dnscrypt-proxy-2.0.42.tar.gz 2324442 BLAKE2B 
8444eca1fc2bfc6029c1848bbeb77697b9b9c228c1bd0d17ed357b73667524c7052b33410a92847743533c3712f749fd93dbac46a81da48dae367e2a515cad8c
 SHA512 
093b07ee8eb44c1264e6ea4b60ad32e0221b1b02c1d61f142b1fbf37dc5181533cc3c5d6e7468d0f7488611de4620947684269da9f08f21da0aa501ba70be711

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
deleted file mode 100644
index 357e2fb1bc9..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/jedisct1/${PN}"
-
-inherit fcaps golang-build systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~ppc64 ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="pie"
-
-DEPEND=">=dev-lang/go-1.12"
-
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
-
-src_prepare() {
-   default
-   # Create directory structure suitable for building
-   mkdir -p "src/${EGO_PN%/*}" || die
-   # fixes $GOPATH/go.mod exists but should not
-   rm go.mod || die
-   mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/${EGO_PN}" || die
-}
-
-src_configure() {
-   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
-}
-
-src_install() {
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
-   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
- 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-04-28 Thread Mart Raudsepp
commit: 21b3c6d1daca60e13f9c3ae403253ee33e077380
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Apr 28 01:53:27 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Tue Apr 28 19:23:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b3c6d1

net-dns/dnscrypt-proxy: arm64 stable (bug #719850)

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
index c5a72eee5cd..995396f0597 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-04-28 Thread Agostino Sarubbo
commit: 050db997d67998ac79bd6035322ddf876f513944
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 28 09:40:22 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 28 09:40:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=050db997

net-dns/dnscrypt-proxy: arm stable wrt bug #719850

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
index 8bf9227060f..c5a72eee5cd 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-04-28 Thread Agostino Sarubbo
commit: 29500185a619871f9941f1f814043508e84a92d7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr 28 09:39:22 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr 28 09:39:22 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29500185

net-dns/dnscrypt-proxy: amd64 stable wrt bug #719850

Package-Manager: Portage-2.3.89, Repoman-2.3.20
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
index 0f6de969f21..8bf9227060f 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-04-01 Thread Georgy Yakovlev
commit: 4347a73f473e60e176bdeb876a7a9dbb0f161927
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sun Mar 29 00:30:04 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Apr  2 05:18:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4347a73f

net-dns/dnscrypt-proxy: amd64 stable for 2.0.39

The current version is 2.0.33 which is a bit old, so
bump for amd64 for now.

Will do a full STABLEREQ for 2.0.4x once newly keyworded has
had time to settle on it, and they've been in tree the requisite
amount of time.

Signed-off-by: Sam James (sam_c)  cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/15159
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild
index bf14276c848..99b2bf98d0e 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-28 Thread Mart Raudsepp
commit: 626492199a51f34d03e1dda758b0da089fb12ade
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sat Mar 28 22:22:49 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Mar 28 22:46:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62649219

net-dns/dnscrypt-proxy: keyword ~arm64

Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
index b5bda3db325..0f6de969f21 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-27 Thread Georgy Yakovlev
commit: 91634390617c42008d78565a1c8db3f38da145ad
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sat Mar 28 01:09:51 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Mar 28 02:00:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91634390

net-dns/dnscrypt-proxy: Bump to 2.0.42

Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild| 100 +
 2 files changed, 101 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 0fd119dfa6f..054695abc37 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,3 +1,4 @@
 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
 DIST dnscrypt-proxy-2.0.39.tar.gz 2814424 BLAKE2B 
59be804a9c9641dd43e6b49e95c58c7d20dfdc940f2279a47a9ced707d1bbe64b1864c65feab2cada6c12945567ffd93478bd0a8129d40ea65c0fef50e5e90e4
 SHA512 
d4eacd8d1989b99d9932d66ef609948558af26f9db1fc37acd6b5609e2a410d20828e32f2b79f2f9fbdf822998af641aec20128e4c58233663929106e29d8e24
 DIST dnscrypt-proxy-2.0.41.tar.gz 2323421 BLAKE2B 
572a0ad15df6c40d1738b296972584f5d8fe382ca3c0a05b4fc74e986e767a058227dda2127c843127bc0b90e8b7bbe17a5eaee42175f0b77e21160ac63f7a88
 SHA512 
26be163daa03633f2d76f1121fb1987e0155613bd84cbb2aad2ba0eedbd35ec0b393d1c1a0aaba47968b3a08bd0273ad929a164695ce35d2ebe05ce3b5f5dfd1
+DIST dnscrypt-proxy-2.0.42.tar.gz 2324442 BLAKE2B 
8444eca1fc2bfc6029c1848bbeb77697b9b9c228c1bd0d17ed357b73667524c7052b33410a92847743533c3712f749fd93dbac46a81da48dae367e2a515cad8c
 SHA512 
093b07ee8eb44c1264e6ea4b60ad32e0221b1b02c1d61f142b1fbf37dc5181533cc3c5d6e7468d0f7488611de4620947684269da9f08f21da0aa501ba70be711

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
new file mode 100644
index 000..b5bda3db325
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/DNSCrypt/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+
+PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   popd >/dev/null || die
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and reliability of ${PN} and is discouraged by 
upstream"

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-25 Thread Georgy Yakovlev
commit: faabda87b20c49c9dc75ade87018d8b03fd66e42
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Mar 25 20:42:21 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Mar 25 20:50:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faabda87

net-dns/dnscrypt-proxy: update metadata.xml

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/metadata.xml | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/metadata.xml 
b/net-dns/dnscrypt-proxy/metadata.xml
index 812136f3be3..4319f7f3675 100644
--- a/net-dns/dnscrypt-proxy/metadata.xml
+++ b/net-dns/dnscrypt-proxy/metadata.xml
@@ -1,14 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   gyakov...@gentoo.org
-   Georgy Yakovlev
-   

s...@cmpct.info
Sam James

+   
+   gyakov...@gentoo.org
+   Georgy Yakovlev
+   

proxy-ma...@gentoo.org
Proxy Maintainers



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2020-03-25 Thread Georgy Yakovlev
commit: f5e0993e70b089c58916e9b3c79902bbc22196fd
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Mar 25 20:41:01 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Mar 25 20:49:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e0993e

net-dns/dnscrypt-proxy: update config patch

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev  gentoo.org>

 .../dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild|   1 +
 .../files/config-full-paths-r11.patch  | 106 ++---
 2 files changed, 70 insertions(+), 37 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
index e5403d4594b..b5bda3db325 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
@@ -30,6 +30,7 @@ RDEPEND="
 "
 
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+
 PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
 
 src_compile() {

diff --git a/net-dns/dnscrypt-proxy/files/config-full-paths-r11.patch 
b/net-dns/dnscrypt-proxy/files/config-full-paths-r11.patch
index 15247d42880..b7489fa2985 100644
--- a/net-dns/dnscrypt-proxy/files/config-full-paths-r11.patch
+++ b/net-dns/dnscrypt-proxy/files/config-full-paths-r11.patch
@@ -1,74 +1,106 @@
 dnscrypt-proxy-2.0.41/dnscrypt-proxy/example-dnscrypt-proxy.toml
-+++ dnscrypt-proxy-2.0.41/dnscrypt-proxy/dnscrypt-proxy.toml
-@@ -142,7 +142,7 @@
-
+From c6a126931297b8256c06ea5c85229a721768f15e Mon Sep 17 00:00:00 2001
+From: Georgy Yakovlev 
+Date: Wed, 25 Mar 2020 13:38:31 -0700
+Subject: [PATCH] config paths
+
+---
+ dnscrypt-proxy/example-dnscrypt-proxy.toml | 20 ++--
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/dnscrypt-proxy/example-dnscrypt-proxy.toml 
b/dnscrypt-proxy/example-dnscrypt-proxy.toml
+index 778de5c..5eaffb1 100644
+--- a/dnscrypt-proxy/example-dnscrypt-proxy.toml
 b/dnscrypt-proxy/example-dnscrypt-proxy.toml
+@@ -142,7 +142,7 @@ keepalive = 30
+ 
  ## log file for the application
-
+ 
 -# log_file = 'dnscrypt-proxy.log'
 +# log_file = '/var/log/dnscrypt-proxy/dnscrypt-proxy.log'
-
-
+ 
+ 
  ## Use the system logger (syslog on Unix, Event Log on Windows)
-@@ -399,7 +399,7 @@
+@@ -399,7 +399,7 @@ cache_neg_max_ttl = 600
## Path to the query log file (absolute, or relative to the same directory 
as the config file)
## On non-Windows systems, can be /dev/stdout to log to the standard output 
(also set log_files_max_size to 0)
-
+ 
 -  # file = 'query.log'
 +  # file = '/var/log/dnscrypt-proxy/query.log'
-
-
+ 
+ 
## Query log format (currently supported: tsv and ltsv)
-@@ -425,7 +425,7 @@
-
+@@ -425,7 +425,7 @@ cache_neg_max_ttl = 600
+ 
## Path to the query log file (absolute, or relative to the same directory 
as the config file)
-
+ 
 -  # file = 'nx.log'
 +  # file = '/var/log/dnscrypt-proxy/nx.log'
-
-
+ 
+ 
## Query log format (currently supported: tsv and ltsv)
-@@ -460,7 +460,7 @@
-
+@@ -460,7 +460,7 @@ cache_neg_max_ttl = 600
+ 
## Optional path to a file logging blocked queries
-
+ 
 -  # log_file = 'blocked.log'
 +  # log_file = '/var/log/dnscrypt-proxy/blocked.log'
-
-
+ 
+ 
## Optional log format: tsv or ltsv (default: tsv)
-@@ -488,7 +488,7 @@
-
+@@ -488,7 +488,7 @@ cache_neg_max_ttl = 600
+ 
## Optional path to a file logging blocked queries
-
+ 
 -  # log_file = 'ip-blocked.log'
 +  # log_file = '/var/log/dnscrypt-proxy/ip-blocked.log'
-
-
+ 
+ 
## Optional log format: tsv or ltsv (default: tsv)
-@@ -516,7 +516,7 @@
-
+@@ -516,7 +516,7 @@ cache_neg_max_ttl = 600
+ 
## Optional path to a file logging whitelisted queries
-
+ 
 -  # log_file = 'whitelisted.log'
 +  # log_file = '/var/log/dnscrypt-proxy/whitelisted.log'
-
-
+ 
+ 
## Optional log format: tsv or ltsv (default: tsv)
-@@ -585,7 +585,7 @@
-
+@@ -585,7 +585,7 @@ cache_neg_max_ttl = 600
+ 
[sources.'public-resolvers']
urls = 
['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md',
 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md']
 -  cache_file = 'public-resolvers.md'
 +  cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md'
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
prefix = ''
-
-@@ -593,7 +593,7 @@
-
+ 
+@@ -593,7 +593,7 @@ cache_neg_max_ttl = 600
+ 
[sources.'relays']
urls = 
['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/relays.md',
 'https://download.dnscrypt.info/resolvers-list/v2/relays.md']
 -  cache_file = 'relays.md'
-+  cache_file = '/var/cache/dnscrypt-proxy/parental-control.md'
++  cache_file = '/var/cache/dnscrypt-proxy/relays.md'
minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3'
refresh_delay = 72
prefix = ''
+@@ -603,7 +603,7 @@ cache_neg_max_ttl = 600
+   # 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-25 Thread Georgy Yakovlev
commit: 977b5a3c7fe2781f2b02330b9544695db1f810ee
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Mar 24 19:19:29 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Mar 25 20:49:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=977b5a3c

net-dns/dnscrypt-proxy: Use new upstream

Upstream now redirects to the official DNSCrypt Github project.

Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/metadata.xml 
b/net-dns/dnscrypt-proxy/metadata.xml
index 08853a7624b..812136f3be3 100644
--- a/net-dns/dnscrypt-proxy/metadata.xml
+++ b/net-dns/dnscrypt-proxy/metadata.xml
@@ -20,6 +20,6 @@
to upstream servers.


-   jedisct1/dnscrypt-proxy
+   DNSCrypt/dnscrypt-proxy

 



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-25 Thread Georgy Yakovlev
commit: 67b40d9f3d60c06d4f0b44b17d04cff8031bc7e3
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Mar 24 17:58:42 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Mar 25 20:49:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b40d9f

net-dns/dnscrypt-proxy: Add myself as proxy maint

Thanks to gyakovlev for letting me help out.

Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/metadata.xml | 8 
 1 file changed, 8 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/metadata.xml 
b/net-dns/dnscrypt-proxy/metadata.xml
index a53696d4406..08853a7624b 100644
--- a/net-dns/dnscrypt-proxy/metadata.xml
+++ b/net-dns/dnscrypt-proxy/metadata.xml
@@ -5,6 +5,14 @@
gyakov...@gentoo.org
Georgy Yakovlev

+   
+   s...@cmpct.info
+   Sam James
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   

dnscrypt-proxy provides local service which can be used 
directly as your
local resolver or as a DNS forwarder, encrypting and 
authenticating



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/, net-dns/dnscrypt-proxy/files/

2020-03-25 Thread Georgy Yakovlev
commit: 8077d9109b40c48e57a5ad223e31225861e3fa49
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Tue Mar 24 19:20:39 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Mar 25 20:49:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8077d910

net-dns/dnscrypt-proxy: Bump to 2.0.41

Signed-off-by: Sam James (sam_c)  cmpct.info>
Closes: https://github.com/gentoo/gentoo/pull/15091
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild| 99 ++
 .../files/config-full-paths-r11.patch  | 74 
 3 files changed, 174 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 3ff726cd60d..0fd119dfa6f 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1,3 @@
 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
 DIST dnscrypt-proxy-2.0.39.tar.gz 2814424 BLAKE2B 
59be804a9c9641dd43e6b49e95c58c7d20dfdc940f2279a47a9ced707d1bbe64b1864c65feab2cada6c12945567ffd93478bd0a8129d40ea65c0fef50e5e90e4
 SHA512 
d4eacd8d1989b99d9932d66ef609948558af26f9db1fc37acd6b5609e2a410d20828e32f2b79f2f9fbdf822998af641aec20128e4c58233663929106e29d8e24
+DIST dnscrypt-proxy-2.0.41.tar.gz 2323421 BLAKE2B 
572a0ad15df6c40d1738b296972584f5d8fe382ca3c0a05b4fc74e986e767a058227dda2127c843127bc0b90e8b7bbe17a5eaee42175f0b77e21160ac63f7a88
 SHA512 
26be163daa03633f2d76f1121fb1987e0155613bd84cbb2aad2ba0eedbd35ec0b393d1c1a0aaba47968b3a08bd0273ad929a164695ce35d2ebe05ce3b5f5dfd1

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
new file mode 100644
index 000..e5403d4594b
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/DNSCrypt/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
+   popd >/dev/null || die
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
+   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
+   elog "It is disabled by default for new installations"
+   elog "check 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-25 Thread Georgy Yakovlev
commit: da6d2b1d0bc34d448f04215c402fbdee6c48104a
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Mar 25 20:41:45 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Mar 25 20:49:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da6d2b1d

net-dns/dnscrypt-proxy: update live ebuild

new config patch revision

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index bf14276c848..b5bda3db325 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-EGO_PN="github.com/jedisct1/${PN}"
+EGO_PN="github.com/DNSCrypt/${PN}"
 
 inherit fcaps go-module systemd
 
@@ -30,7 +30,8 @@ RDEPEND="
 "
 
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch )
 
 src_compile() {
pushd "${PN}" >/dev/null || die
@@ -95,5 +96,5 @@ pkg_postinst() {
elog
elog "nameserver 127.0.0.1"
elog
-   elog "Also see https://github.com/jedisct1/${PN}/wiki;
+   elog "Also see https://github.com/DNSCrypt/${PN}/wiki;
 }



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-09 Thread Georgy Yakovlev
commit: 9195eecc38151c11bb9e7a6952ffb7f19c8bafe9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Mar  9 20:41:08 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Mar  9 20:50:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9195eecc

net-dns/dnscrypt-proxy: fix vendored source usage

was broken with latest go-module eclass changes

Bug: https://bugs.gentoo.org/711924
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild
index df223114220..bf14276c848 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild
@@ -34,7 +34,7 @@ PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
 
 src_compile() {
pushd "${PN}" >/dev/null || die
-   go build -buildmode="$(usex pie pie default)" || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
popd >/dev/null || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-09 Thread Georgy Yakovlev
commit: 16bb58fd1aa6bed2b3e25d3cc3d8d029c2ce25e6
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Mar  9 20:42:26 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Mar  9 20:50:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16bb58fd

net-dns/dnscrypt-proxy: drop old

Closes: https://bugs.gentoo.org/711924
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  3 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild| 99 --
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild| 99 --
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild| 99 --
 4 files changed, 300 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 2d3a0dd140a..3ff726cd60d 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,5 +1,2 @@
 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
-DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 
81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381
 SHA512 
b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381
-DIST dnscrypt-proxy-2.0.35.tar.gz 2740595 BLAKE2B 
a64d1771979179f6b2387473c6ac21705b30263572550efd4ffb8ef008e67a74878ab4e72bbb4f29528c4c13dfaf4654f7625671579cb90c3b784ab4299f7ec0
 SHA512 
41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9
-DIST dnscrypt-proxy-2.0.36.tar.gz 2814470 BLAKE2B 
d1483d1c0550d9493129fd7b9969d45ab5225b09cfa6c2e10c60d9df963742664a1fa75720561e1e883c4688077ee1e2de84669f527271c8c5455e435ea2daf8
 SHA512 
b1e3ed2a0226eaf35980b9f1125e0794640bcd837f99b8f2a0346498770305f04e27f13ccf97f01f0639285ef35f63cbbf72e9f2b419d592b615f6b07cdf7f2d
 DIST dnscrypt-proxy-2.0.39.tar.gz 2814424 BLAKE2B 
59be804a9c9641dd43e6b49e95c58c7d20dfdc940f2279a47a9ced707d1bbe64b1864c65feab2cada6c12945567ffd93478bd0a8129d40ea65c0fef50e5e90e4
 SHA512 
d4eacd8d1989b99d9932d66ef609948558af26f9db1fc37acd6b5609e2a410d20828e32f2b79f2f9fbdf822998af641aec20128e4c58233663929106e29d8e24

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
deleted file mode 100644
index 3d902b82aae..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/jedisct1/${PN}"
-
-inherit fcaps go-module systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
-
-LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
-SLOT="0"
-IUSE="pie"
-
-BDEPEND=">=dev-lang/go-1.13"
-
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
-
-src_compile() {
-   pushd "${PN}" >/dev/null || die
-   go build -buildmode="$(usex pie pie default)" || die
-   popd >/dev/null || die
-}
-
-src_install() {
-   pushd "${PN}" >/dev/null || die
-
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins example-{blacklist.txt,whitelist.txt}
-   doins example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   popd >/dev/null || die
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-   go-module_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-03-09 Thread Georgy Yakovlev
commit: 2cf3fa6fb3a7979f4e7cc5caf155a6e2666cfd5c
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Mar  9 20:41:33 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Mar  9 20:50:19 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf3fa6f

net-dns/dnscrypt-proxy: sync live ebuild

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 3d902b82aae..bf14276c848 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -34,7 +34,7 @@ PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
 
 src_compile() {
pushd "${PN}" >/dev/null || die
-   go build -buildmode="$(usex pie pie default)" || die
+   go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie 
default)" || die
popd >/dev/null || die
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-01-31 Thread Georgy Yakovlev
commit: cfacd68da9ad5d7375ee806819e7cf0ab2c4dd20
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Jan 31 17:35:07 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Jan 31 17:35:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfacd68d

net-dns/dnscrypt-proxy: bump to 2.0.39

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest | 2 +-
 .../{dnscrypt-proxy-2.0.38.ebuild => dnscrypt-proxy-2.0.39.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index f812ad7651f..2d3a0dd140a 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -2,4 +2,4 @@ DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412
 DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 
81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381
 SHA512 
b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381
 DIST dnscrypt-proxy-2.0.35.tar.gz 2740595 BLAKE2B 
a64d1771979179f6b2387473c6ac21705b30263572550efd4ffb8ef008e67a74878ab4e72bbb4f29528c4c13dfaf4654f7625671579cb90c3b784ab4299f7ec0
 SHA512 
41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9
 DIST dnscrypt-proxy-2.0.36.tar.gz 2814470 BLAKE2B 
d1483d1c0550d9493129fd7b9969d45ab5225b09cfa6c2e10c60d9df963742664a1fa75720561e1e883c4688077ee1e2de84669f527271c8c5455e435ea2daf8
 SHA512 
b1e3ed2a0226eaf35980b9f1125e0794640bcd837f99b8f2a0346498770305f04e27f13ccf97f01f0639285ef35f63cbbf72e9f2b419d592b615f6b07cdf7f2d
-DIST dnscrypt-proxy-2.0.38.tar.gz 2814501 BLAKE2B 
6dd4e3a0056a7a687335fcf6f15d8dccd9088c0cb44fa8f44be65a25290e0cbbde5b122cf43a2488311ab6b65511a9311b16434bdd31df1dbed0c2dd89e224b1
 SHA512 
eab418580eddce4f1788784cdea15ff7f2456c7f723b495fbc70a7ed5b3e9828fb0bc3b0ac169718044f27b081cb94d561054d24b1bd167fb8d84c5aeaae1a26
+DIST dnscrypt-proxy-2.0.39.tar.gz 2814424 BLAKE2B 
59be804a9c9641dd43e6b49e95c58c7d20dfdc940f2279a47a9ced707d1bbe64b1864c65feab2cada6c12945567ffd93478bd0a8129d40ea65c0fef50e5e90e4
 SHA512 
d4eacd8d1989b99d9932d66ef609948558af26f9db1fc37acd6b5609e2a410d20828e32f2b79f2f9fbdf822998af641aec20128e4c58233663929106e29d8e24

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.38.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild
similarity index 100%
rename from net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.38.ebuild
rename to net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.39.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2020-01-30 Thread Georgy Yakovlev
commit: 19ddaac43c07ca60bb27a54c92c53ee6f49351e5
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Jan 30 20:45:55 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Jan 30 20:45:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ddaac4

net-dns/dnscrypt-proxy: bump to 2.0.38

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.38.ebuild| 99 ++
 2 files changed, 100 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 66a479f6498..f812ad7651f 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -2,3 +2,4 @@ DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412
 DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 
81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381
 SHA512 
b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381
 DIST dnscrypt-proxy-2.0.35.tar.gz 2740595 BLAKE2B 
a64d1771979179f6b2387473c6ac21705b30263572550efd4ffb8ef008e67a74878ab4e72bbb4f29528c4c13dfaf4654f7625671579cb90c3b784ab4299f7ec0
 SHA512 
41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9
 DIST dnscrypt-proxy-2.0.36.tar.gz 2814470 BLAKE2B 
d1483d1c0550d9493129fd7b9969d45ab5225b09cfa6c2e10c60d9df963742664a1fa75720561e1e883c4688077ee1e2de84669f527271c8c5455e435ea2daf8
 SHA512 
b1e3ed2a0226eaf35980b9f1125e0794640bcd837f99b8f2a0346498770305f04e27f13ccf97f01f0639285ef35f63cbbf72e9f2b419d592b615f6b07cdf7f2d
+DIST dnscrypt-proxy-2.0.38.tar.gz 2814501 BLAKE2B 
6dd4e3a0056a7a687335fcf6f15d8dccd9088c0cb44fa8f44be65a25290e0cbbde5b122cf43a2488311ab6b65511a9311b16434bdd31df1dbed0c2dd89e224b1
 SHA512 
eab418580eddce4f1788784cdea15ff7f2456c7f723b495fbc70a7ed5b3e9828fb0bc3b0ac169718044f27b081cb94d561054d24b1bd167fb8d84c5aeaae1a26

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.38.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.38.ebuild
new file mode 100644
index 000..df223114220
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.38.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -buildmode="$(usex pie pie default)" || die
+   popd >/dev/null || die
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2019-12-21 Thread Georgy Yakovlev
commit: 632f74a9055bf64626eb60cc038ba3a41bc038d7
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Dec 22 02:39:25 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Dec 22 02:41:47 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=632f74a9

net-dns/dnscrypt-proxy: rename initd file

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild | 2 +-
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild | 2 +-
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild | 2 +-
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild | 2 +-
 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild   | 2 +-
 .../files/{dnscrypt-proxy.initd-r1 => dnscrypt-proxy.initd} | 0
 6 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
index eac66d7f082..357e2fb1bc9 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
@@ -57,7 +57,7 @@ src_install() {
insinto /usr/share/dnscrypt-proxy
doins -r "utils/generate-domains-blacklists/."
 
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
index e3266982fa2..3d902b82aae 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
@@ -53,7 +53,7 @@ src_install() {
insinto /usr/share/dnscrypt-proxy
doins -r "utils/generate-domains-blacklists/."
 
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
 
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild
index e3266982fa2..3d902b82aae 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild
@@ -53,7 +53,7 @@ src_install() {
insinto /usr/share/dnscrypt-proxy
doins -r "utils/generate-domains-blacklists/."
 
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
 
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild
index e3266982fa2..3d902b82aae 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild
@@ -53,7 +53,7 @@ src_install() {
insinto /usr/share/dnscrypt-proxy
doins -r "utils/generate-domains-blacklists/."
 
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
 
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index e3266982fa2..3d902b82aae 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -53,7 +53,7 @@ src_install() {
insinto /usr/share/dnscrypt-proxy
doins -r "utils/generate-domains-blacklists/."
 
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
 
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service

diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd-r1 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
similarity index 100%
rename from net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd-r1
rename to net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/, net-dns/dnscrypt-proxy/

2019-12-21 Thread Georgy Yakovlev
commit: d995f2843d1ff2ffcf64a90d376364c9ea1e0a02
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Dec 22 02:37:27 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Dec 22 02:41:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d995f284

net-dns/dnscrypt-proxy: drop old, cleanup

Closes: https://bugs.gentoo.org/695280
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   5 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild | 101 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.25.ebuild|  98 
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.27.ebuild| 101 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.28.ebuild| 101 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.29.ebuild| 101 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.31.ebuild| 101 -
 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd  |  19 
 8 files changed, 627 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 97ccc6e3b2d..66a479f6498 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,8 +1,3 @@
-DIST dnscrypt-proxy-2.0.25.tar.gz 2596674 BLAKE2B 
10947c9e496c47a565e62fb4ca6ad95679da0d237885fe09da367b501bf0dd228cb3d4af41b3527dca64665364527ec2db06afab2c209792409078debd7d3fc8
 SHA512 
74a47b013e15cbdcf8691bf3618cce40149f9832f6fc4c2cbfb6af2a72b4ecb52b068a150999771a77fcf4fdb49c64dabd127c5101ae29fb86723bc30c946133
-DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1a0a5482b642d458dd9fc7cba8d05333e7d91c37d43fbd360d8fbcda1c5febd2e5d577e0e612d9c2211047ba2a047b929ef
 SHA512 
68cecec0228b3f03d5c50576c7dec32c7474a22bd1740d43b29514b5a00f27376ed5236302fa68c493f0c188134855b277f92937fa726783af3f7246
-DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c8362405e06dba6de32121d9dea5d64d396ec39b1cfa884d5587c21367bb1dc3c1a4b4f994c286d0b8cc2a8bdbd9d247d239e
 SHA512 
45496a02bd19c94def17b621d0843cc93de4467e51ded4c20af91d9b5aa127529d85b8ff2473a88293c726611291a055d466a50258b7587da0e7d4ba7f0f366e
-DIST dnscrypt-proxy-2.0.29.tar.gz 2621844 BLAKE2B 
3ebd02b3c9df9dcb41d27d38a9d9f64c01d98f7b1afee7a7c3b1dd3ef26b2104aae650e34ff1b5651007461ee75d28bcfbfa3c7e82c32532f36553740e3dcb50
 SHA512 
f02abe56e017153e7fc8b4a26b34c90f68554a1b32a16558c05e8113327896dbf7f81aa69c76fa823a4a0a697b4bb2089bdeb1237ad4ef3587121c2d4cdfe78c
-DIST dnscrypt-proxy-2.0.31.tar.gz 2640523 BLAKE2B 
cf2e2b5557e6fcf59d3d28978db6c5e46f6b7f58aa4c5ae423149ec2f557269e88846dc4f97c6f6f20ff013b14b61b20d2df750d6b07946606293778a31e0ca1
 SHA512 
500c800213b94bf8ecbea7493716de5fe41afd584c70844519f1f50827b94a28ec982f2c2b85f7a281dca58273ba968113beed6a965c62bb3dc47ab83d7a1629
 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
 DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 
81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381
 SHA512 
b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381
 DIST dnscrypt-proxy-2.0.35.tar.gz 2740595 BLAKE2B 
a64d1771979179f6b2387473c6ac21705b30263572550efd4ffb8ef008e67a74878ab4e72bbb4f29528c4c13dfaf4654f7625671579cb90c3b784ab4299f7ec0
 SHA512 
41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
deleted file mode 100644
index 694bc5d7c02..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/jedisct1/${PN}"
-
-inherit fcaps golang-build systemd
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
-
-LICENSE="ISC"
-SLOT="0"
-IUSE="pie"
-
-DEPEND=">=dev-lang/go-1.12"
-
-RDEPEND="
-   acct-group/dnscrypt-proxy
-   acct-user/dnscrypt-proxy
-"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
-
-src_prepare() {
-   

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-12-21 Thread Georgy Yakovlev
commit: ec2583a3e195d61a85c5e8dfe739978d51009c51
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Dec 22 02:33:04 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Dec 22 02:33:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec2583a3

net-dns/dnscrypt-proxy: bump to 2.0.36

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild| 99 ++
 2 files changed, 100 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index ef8ba97ba06..97ccc6e3b2d 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -6,3 +6,4 @@ DIST dnscrypt-proxy-2.0.31.tar.gz 2640523 BLAKE2B 
cf2e2b5557e6fcf59d3d28978db6c5
 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
 DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 
81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381
 SHA512 
b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381
 DIST dnscrypt-proxy-2.0.35.tar.gz 2740595 BLAKE2B 
a64d1771979179f6b2387473c6ac21705b30263572550efd4ffb8ef008e67a74878ab4e72bbb4f29528c4c13dfaf4654f7625671579cb90c3b784ab4299f7ec0
 SHA512 
41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9
+DIST dnscrypt-proxy-2.0.36.tar.gz 2814470 BLAKE2B 
d1483d1c0550d9493129fd7b9969d45ab5225b09cfa6c2e10c60d9df963742664a1fa75720561e1e883c4688077ee1e2de84669f527271c8c5455e435ea2daf8
 SHA512 
b1e3ed2a0226eaf35980b9f1125e0794640bcd837f99b8f2a0346498770305f04e27f13ccf97f01f0639285ef35f63cbbf72e9f2b419d592b615f6b07cdf7f2d

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild
new file mode 100644
index 000..e3266982fa2
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.36.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -buildmode="$(usex pie pie default)" || die
+   popd >/dev/null || die
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-12-10 Thread Georgy Yakovlev
commit: 60bec5a4ef34c5d27f48d9dccaa99a441808e9b9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Dec 11 01:55:01 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Dec 11 01:55:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60bec5a4

net-dns/dnscrypt-proxy: drop 2.0.19

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild| 109 -
 2 files changed, 110 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index a4a14b476eb..ef8ba97ba06 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,4 +1,3 @@
-DIST dnscrypt-proxy-2.0.19.tar.gz 3339713 BLAKE2B 
e65b5ed8243aa6cf471700c6edba6e843fdf6482443335ec74201363657b23a7c6e432318e4de508120b6210cecd02666d97bb62a5f2968ce7d4813518eb3997
 SHA512 
4501a64717c0f2a9313e9328340e466c9ec325d09ef548f6af9a7855ff3497fb741269a17b397a36e2a120519820378e9f98a6a768a3678ea8144ee4690364f6
 DIST dnscrypt-proxy-2.0.25.tar.gz 2596674 BLAKE2B 
10947c9e496c47a565e62fb4ca6ad95679da0d237885fe09da367b501bf0dd228cb3d4af41b3527dca64665364527ec2db06afab2c209792409078debd7d3fc8
 SHA512 
74a47b013e15cbdcf8691bf3618cce40149f9832f6fc4c2cbfb6af2a72b4ecb52b068a150999771a77fcf4fdb49c64dabd127c5101ae29fb86723bc30c946133
 DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1a0a5482b642d458dd9fc7cba8d05333e7d91c37d43fbd360d8fbcda1c5febd2e5d577e0e612d9c2211047ba2a047b929ef
 SHA512 
68cecec0228b3f03d5c50576c7dec32c7474a22bd1740d43b29514b5a00f27376ed5236302fa68c493f0c188134855b277f92937fa726783af3f7246
 DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c8362405e06dba6de32121d9dea5d64d396ec39b1cfa884d5587c21367bb1dc3c1a4b4f994c286d0b8cc2a8bdbd9d247d239e
 SHA512 
45496a02bd19c94def17b621d0843cc93de4467e51ded4c20af91d9b5aa127529d85b8ff2473a88293c726611291a055d466a50258b7587da0e7d4ba7f0f366e

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild
deleted file mode 100644
index fe53b5431fa..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-EGO_PN="github.com/jedisct1/${PN}"
-
-inherit fcaps golang-build systemd user
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="amd64 ~arm ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
-
-LICENSE="ISC"
-SLOT="0"
-IUSE="pie test"
-RESTRICT+=" !test? ( test )"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
-
-pkg_setup() {
-   enewgroup dnscrypt-proxy
-   enewuser dnscrypt-proxy -1 -1 /var/empty dnscrypt-proxy
-}
-
-src_prepare() {
-   default
-   # Create directory structure suitable for building
-   mkdir -p "src/${EGO_PN%/*}" || die
-   mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/${EGO_PN}" || die
-}
-
-src_configure() {
-   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
-}
-
-src_install() {
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
-   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
-   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
-
-   einstalldocs
-}
-
-pkg_postinst() {
-   fcaps_pkg_postinst
-
-   if ! use filecaps; then
-   ewarn "'filecaps' USE flag is disabled"
-   ewarn "${PN} will fail to listen on port 53"
-   ewarn "please do one the following:"
-   ewarn "1) re-enable 'filecaps'"
-   ewarn "2) change port to > 1024"
-   ewarn "3) configure to run ${PN} as root (not recommended)"
-   ewarn
-   fi
-
-   local v
-   for v in ${REPLACING_VERSIONS}; do
-   if [[ ${v} == 1.* ]] ; then
-   elog "Version 2 is a complete rewrite of ${PN}"
-   elog "please clean up old config/log files"
-   elog

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-12-10 Thread Georgy Yakovlev
commit: 21c5f4d9c77b9c35a7616ada7aebaba720e98193
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Dec 11 01:53:06 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Dec 11 01:53:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21c5f4d9

net-dns/dnscrypt-proxy: 2.0.33 amd64 stable

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
index 215c07210b2..eac66d7f082 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+   KEYWORDS="amd64 ~arm ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-12-10 Thread Georgy Yakovlev
commit: 3dfccb6585ceb652e80eca343f315b0caa1941b0
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Dec 11 01:49:40 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Dec 11 01:49:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dfccb65

net-dns/dnscrypt-proxy: bump to 2.0.35

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild| 99 ++
 2 files changed, 100 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 0fd9093f95d..a4a14b476eb 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -6,3 +6,4 @@ DIST dnscrypt-proxy-2.0.29.tar.gz 2621844 BLAKE2B 
3ebd02b3c9df9dcb41d27d38a9d9f6
 DIST dnscrypt-proxy-2.0.31.tar.gz 2640523 BLAKE2B 
cf2e2b5557e6fcf59d3d28978db6c5e46f6b7f58aa4c5ae423149ec2f557269e88846dc4f97c6f6f20ff013b14b61b20d2df750d6b07946606293778a31e0ca1
 SHA512 
500c800213b94bf8ecbea7493716de5fe41afd584c70844519f1f50827b94a28ec982f2c2b85f7a281dca58273ba968113beed6a965c62bb3dc47ab83d7a1629
 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
 DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 
81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381
 SHA512 
b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381
+DIST dnscrypt-proxy-2.0.35.tar.gz 2740595 BLAKE2B 
a64d1771979179f6b2387473c6ac21705b30263572550efd4ffb8ef008e67a74878ab4e72bbb4f29528c4c13dfaf4654f7625671579cb90c3b784ab4299f7ec0
 SHA512 
41e3c0646e215da3ce00e9ff9f22a4d3468b6589c424343ce0649c5a47cdbce26c2d9ffc3abf61c35d85eda964c499877d6f13619ce2308fe045a0272b1ca0e9

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild
new file mode 100644
index 000..e3266982fa2
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.35.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -buildmode="$(usex pie pie default)" || die
+   popd >/dev/null || die
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/files/

2019-12-04 Thread Georgy Yakovlev
commit: fddb0093047f7894988be85053367612d550db48
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Wed Dec  4 20:57:29 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Wed Dec  4 21:01:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fddb0093

net-dns/dnscrypt-proxy: fix missing initfile

accidentally mv file on bump instead of copying.

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd | 19 +++
 1 file changed, 19 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
new file mode 100644
index 000..e0fc08ad6a0
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/bin/dnscrypt-proxy"
+command_args="${DNSCRYPT_PROXY_OPTS:--config 
/etc/dnscrypt-proxy/dnscrypt-proxy.toml}"
+command_user="${DNSCRYPT_PROXY_USER:-dnscrypt-proxy}:${DNSCRYPT_PROXY_GROUP:-dnscrypt-proxy}"
+pidfile="/run/${RC_SVCNAME}.pid"
+start_stop_daemon_args="--background --make-pidfile"
+
+depend() {
+   use logger net
+   provide dns
+}
+
+start_pre() {
+   checkpath -q -d -m 0775 -o "${command_user}" /var/cache/"${RC_SVCNAME}"
+   checkpath -q -d -m 0775 -o "${command_user}" /var/log/"${RC_SVCNAME}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-12-03 Thread Georgy Yakovlev
commit: 927bacbab020e1fac03ef9cfdb8c313bb5be0fb3
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Dec  3 19:50:03 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Dec  3 19:51:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=927bacba

net-dns/dnscrypt-proxy: sync live ebuild

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 32 +++
 1 file changed, 15 insertions(+), 17 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 215c07210b2..e3266982fa2 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 EGO_PN="github.com/jedisct1/${PN}"
 
-inherit fcaps golang-build systemd
+inherit fcaps go-module systemd
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
@@ -22,7 +22,7 @@ LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
 IUSE="pie"
 
-DEPEND=">=dev-lang/go-1.12"
+BDEPEND=">=dev-lang/go-1.13"
 
 RDEPEND="
acct-group/dnscrypt-proxy
@@ -32,33 +32,30 @@ RDEPEND="
 FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
 PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
 
-src_prepare() {
-   default
-   # Create directory structure suitable for building
-   mkdir -p "src/${EGO_PN%/*}" || die
-   # fixes $GOPATH/go.mod exists but should not
-   rm go.mod || die
-   mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/${EGO_PN}" || die
-}
-
-src_configure() {
-   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -buildmode="$(usex pie pie default)" || die
+   popd >/dev/null || die
 }
 
 src_install() {
+   pushd "${PN}" >/dev/null || die
+
dobin dnscrypt-proxy
 
insinto /etc/dnscrypt-proxy
-   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
-   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
 
insinto /usr/share/dnscrypt-proxy
doins -r "utils/generate-domains-blacklists/."
 
newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
 
@@ -70,6 +67,7 @@ src_install() {
 
 pkg_postinst() {
fcaps_pkg_postinst
+   go-module_pkg_postinst
 
if ! use filecaps; then
ewarn "'filecaps' USE flag is disabled"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-12-03 Thread Georgy Yakovlev
commit: 88ad8b377e65ec8bf61ca563e0e2007fa472a717
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Dec  3 19:49:10 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Dec  3 19:51:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ad8b37

net-dns/dnscrypt-proxy: bump to 2.0.34

also migrate to go-module.eclass

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild| 99 ++
 2 files changed, 100 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 3637c4bc0f5..0fd9093f95d 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -5,3 +5,4 @@ DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c83
 DIST dnscrypt-proxy-2.0.29.tar.gz 2621844 BLAKE2B 
3ebd02b3c9df9dcb41d27d38a9d9f64c01d98f7b1afee7a7c3b1dd3ef26b2104aae650e34ff1b5651007461ee75d28bcfbfa3c7e82c32532f36553740e3dcb50
 SHA512 
f02abe56e017153e7fc8b4a26b34c90f68554a1b32a16558c05e8113327896dbf7f81aa69c76fa823a4a0a697b4bb2089bdeb1237ad4ef3587121c2d4cdfe78c
 DIST dnscrypt-proxy-2.0.31.tar.gz 2640523 BLAKE2B 
cf2e2b5557e6fcf59d3d28978db6c5e46f6b7f58aa4c5ae423149ec2f557269e88846dc4f97c6f6f20ff013b14b61b20d2df750d6b07946606293778a31e0ca1
 SHA512 
500c800213b94bf8ecbea7493716de5fe41afd584c70844519f1f50827b94a28ec982f2c2b85f7a281dca58273ba968113beed6a965c62bb3dc47ab83d7a1629
 DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429
+DIST dnscrypt-proxy-2.0.34.tar.gz 2741556 BLAKE2B 
81e3c5b1de70cf81882725b1d1f9bfb0b687dbac6ce408c70178ac7107c6c4fc6fbee4a05deb775519aef82c2added5cec9e264a73af1b6eca1524ecd973c381
 SHA512 
b48bbedbd5fea5514669ff5593ecd0aee083979c3030fe775558441ee2c398206eba786b9497022c3fab08fe7ee49dcc5205303629834f8fe65d7246e3352381

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
new file mode 100644
index 000..e3266982fa2
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.34.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps go-module systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+BDEPEND=">=dev-lang/go-1.13"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_compile() {
+   pushd "${PN}" >/dev/null || die
+   go build -buildmode="$(usex pie pie default)" || die
+   popd >/dev/null || die
+}
+
+src_install() {
+   pushd "${PN}" >/dev/null || die
+
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins example-{blacklist.txt,whitelist.txt}
+   doins example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   popd >/dev/null || die
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+   go-module_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+  

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-11-18 Thread Georgy Yakovlev
commit: 065c97536a09d6232da74b1235e3538ce86af1c1
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Nov 18 19:56:28 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Nov 18 19:56:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=065c9753

net-dns/dnscrypt-proxy: bugfix bump to 2.0.33

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest | 2 +-
 .../{dnscrypt-proxy-2.0.32.ebuild => dnscrypt-proxy-2.0.33.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index acde3df1648..3637c4bc0f5 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -4,4 +4,4 @@ DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1
 DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c8362405e06dba6de32121d9dea5d64d396ec39b1cfa884d5587c21367bb1dc3c1a4b4f994c286d0b8cc2a8bdbd9d247d239e
 SHA512 
45496a02bd19c94def17b621d0843cc93de4467e51ded4c20af91d9b5aa127529d85b8ff2473a88293c726611291a055d466a50258b7587da0e7d4ba7f0f366e
 DIST dnscrypt-proxy-2.0.29.tar.gz 2621844 BLAKE2B 
3ebd02b3c9df9dcb41d27d38a9d9f64c01d98f7b1afee7a7c3b1dd3ef26b2104aae650e34ff1b5651007461ee75d28bcfbfa3c7e82c32532f36553740e3dcb50
 SHA512 
f02abe56e017153e7fc8b4a26b34c90f68554a1b32a16558c05e8113327896dbf7f81aa69c76fa823a4a0a697b4bb2089bdeb1237ad4ef3587121c2d4cdfe78c
 DIST dnscrypt-proxy-2.0.31.tar.gz 2640523 BLAKE2B 
cf2e2b5557e6fcf59d3d28978db6c5e46f6b7f58aa4c5ae423149ec2f557269e88846dc4f97c6f6f20ff013b14b61b20d2df750d6b07946606293778a31e0ca1
 SHA512 
500c800213b94bf8ecbea7493716de5fe41afd584c70844519f1f50827b94a28ec982f2c2b85f7a281dca58273ba968113beed6a965c62bb3dc47ab83d7a1629
-DIST dnscrypt-proxy-2.0.32.tar.gz 2722700 BLAKE2B 
858fcc20d1466104e387d5f6ea9f93a08976d4a98c7cf80ccee922d7b89749e5b88d487c08d300e0eab759abc4a97d0337146b397e0301465726fe5b06bcb915
 SHA512 
faceca394d793a78c3c9b71b99492953c77857a071e48ad163b3624322f5321e0185da055000508588507a4d2fe76afe2407a56db83c637565ce119c91827cc4
+DIST dnscrypt-proxy-2.0.33.tar.gz 2723092 BLAKE2B 
26ed819f264c1a536b2e47d9ffa412097eba5c9597ad2a5e7ff7a485ad660aeb882c5ce527bb072a5f7b5782387ce1b72cc74400973f9cebd66a50bd2308d830
 SHA512 
5c6eb655aa70457889253cbf630e7e37011a461a7f181f0a667694d53146ad9dee88bbbf80c7db3187bba0054af2a63b7b5be1a229800b2566a9758e9d047429

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.32.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild
similarity index 100%
rename from net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.32.ebuild
rename to net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.33.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-11-18 Thread Georgy Yakovlev
commit: c7f81c49c76db7e2830821e8a46d19ea77cb62f2
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Nov 18 19:52:41 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Nov 18 19:52:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7f81c49

net-dns/dnscrypt-proxy: bump to 2.0.32

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.32.ebuild| 101 +
 2 files changed, 102 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 4fb0ec3f25c..acde3df1648 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -4,3 +4,4 @@ DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1
 DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c8362405e06dba6de32121d9dea5d64d396ec39b1cfa884d5587c21367bb1dc3c1a4b4f994c286d0b8cc2a8bdbd9d247d239e
 SHA512 
45496a02bd19c94def17b621d0843cc93de4467e51ded4c20af91d9b5aa127529d85b8ff2473a88293c726611291a055d466a50258b7587da0e7d4ba7f0f366e
 DIST dnscrypt-proxy-2.0.29.tar.gz 2621844 BLAKE2B 
3ebd02b3c9df9dcb41d27d38a9d9f64c01d98f7b1afee7a7c3b1dd3ef26b2104aae650e34ff1b5651007461ee75d28bcfbfa3c7e82c32532f36553740e3dcb50
 SHA512 
f02abe56e017153e7fc8b4a26b34c90f68554a1b32a16558c05e8113327896dbf7f81aa69c76fa823a4a0a697b4bb2089bdeb1237ad4ef3587121c2d4cdfe78c
 DIST dnscrypt-proxy-2.0.31.tar.gz 2640523 BLAKE2B 
cf2e2b5557e6fcf59d3d28978db6c5e46f6b7f58aa4c5ae423149ec2f557269e88846dc4f97c6f6f20ff013b14b61b20d2df750d6b07946606293778a31e0ca1
 SHA512 
500c800213b94bf8ecbea7493716de5fe41afd584c70844519f1f50827b94a28ec982f2c2b85f7a281dca58273ba968113beed6a965c62bb3dc47ab83d7a1629
+DIST dnscrypt-proxy-2.0.32.tar.gz 2722700 BLAKE2B 
858fcc20d1466104e387d5f6ea9f93a08976d4a98c7cf80ccee922d7b89749e5b88d487c08d300e0eab759abc4a97d0337146b397e0301465726fe5b06bcb915
 SHA512 
faceca394d793a78c3c9b71b99492953c77857a071e48ad163b3624322f5321e0185da055000508588507a4d2fe76afe2407a56db83c637565ce119c91827cc4

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.32.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.32.ebuild
new file mode 100644
index 000..215c07210b2
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.32.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps golang-build systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+DEPEND=">=dev-lang/go-1.12"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_prepare() {
+   default
+   # Create directory structure suitable for building
+   mkdir -p "src/${EGO_PN%/*}" || die
+   # fixes $GOPATH/go.mod exists but should not
+   rm go.mod || die
+   mv "${PN}" "src/${EGO_PN}" || die
+   mv "vendor" "src/${EGO_PN}" || die
+}
+
+src_configure() {
+   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
+}
+
+src_install() {
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
+   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-11-04 Thread Georgy Yakovlev
commit: 18f8d14a296d48b829eb8f4f78e554e78c216dc9
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Nov  4 21:31:35 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Nov  4 21:31:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f8d14a

net-dns/dnscrypt-proxy: sync live ebuild

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index c2e5ddb01ed..215c07210b2 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -57,7 +57,7 @@ src_install() {
insinto /usr/share/dnscrypt-proxy
doins -r "utils/generate-domains-blacklists/."
 
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/, net-dns/dnscrypt-proxy/files/

2019-11-04 Thread Georgy Yakovlev
commit: b093ece9d5161f339a52855d7711c551b2743198
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Nov  4 21:15:50 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Nov  4 21:31:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b093ece9

net-dns/dnscrypt-proxy: bump to 2.0.31

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.31.ebuild| 101 +
 ...nscrypt-proxy.initd => dnscrypt-proxy.initd-r1} |   3 +-
 3 files changed, 104 insertions(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index af2a2a0c366..4fb0ec3f25c 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -3,3 +3,4 @@ DIST dnscrypt-proxy-2.0.25.tar.gz 2596674 BLAKE2B 
10947c9e496c47a565e62fb4ca6ad9
 DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1a0a5482b642d458dd9fc7cba8d05333e7d91c37d43fbd360d8fbcda1c5febd2e5d577e0e612d9c2211047ba2a047b929ef
 SHA512 
68cecec0228b3f03d5c50576c7dec32c7474a22bd1740d43b29514b5a00f27376ed5236302fa68c493f0c188134855b277f92937fa726783af3f7246
 DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c8362405e06dba6de32121d9dea5d64d396ec39b1cfa884d5587c21367bb1dc3c1a4b4f994c286d0b8cc2a8bdbd9d247d239e
 SHA512 
45496a02bd19c94def17b621d0843cc93de4467e51ded4c20af91d9b5aa127529d85b8ff2473a88293c726611291a055d466a50258b7587da0e7d4ba7f0f366e
 DIST dnscrypt-proxy-2.0.29.tar.gz 2621844 BLAKE2B 
3ebd02b3c9df9dcb41d27d38a9d9f64c01d98f7b1afee7a7c3b1dd3ef26b2104aae650e34ff1b5651007461ee75d28bcfbfa3c7e82c32532f36553740e3dcb50
 SHA512 
f02abe56e017153e7fc8b4a26b34c90f68554a1b32a16558c05e8113327896dbf7f81aa69c76fa823a4a0a697b4bb2089bdeb1237ad4ef3587121c2d4cdfe78c
+DIST dnscrypt-proxy-2.0.31.tar.gz 2640523 BLAKE2B 
cf2e2b5557e6fcf59d3d28978db6c5e46f6b7f58aa4c5ae423149ec2f557269e88846dc4f97c6f6f20ff013b14b61b20d2df750d6b07946606293778a31e0ca1
 SHA512 
500c800213b94bf8ecbea7493716de5fe41afd584c70844519f1f50827b94a28ec982f2c2b85f7a281dca58273ba968113beed6a965c62bb3dc47ab83d7a1629

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.31.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.31.ebuild
new file mode 100644
index 000..215c07210b2
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.31.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps golang-build systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+DEPEND=">=dev-lang/go-1.12"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_prepare() {
+   default
+   # Create directory structure suitable for building
+   mkdir -p "src/${EGO_PN%/*}" || die
+   # fixes $GOPATH/go.mod exists but should not
+   rm go.mod || die
+   mv "${PN}" "src/${EGO_PN}" || die
+   mv "vendor" "src/${EGO_PN}" || die
+}
+
+src_configure() {
+   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
+}
+
+src_install() {
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
+   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd-r1 dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-10-28 Thread Georgy Yakovlev
commit: 018330a99c4014c37161cb05b5e56cf1303e681b
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Oct 28 19:34:36 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Oct 28 20:59:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=018330a9

net-dns/dnscrypt-proxy: bump to 2.0.29

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.29.ebuild| 101 +
 2 files changed, 102 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 5a32cd31481..af2a2a0c366 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -2,3 +2,4 @@ DIST dnscrypt-proxy-2.0.19.tar.gz 3339713 BLAKE2B 
e65b5ed8243aa6cf471700c6edba6e
 DIST dnscrypt-proxy-2.0.25.tar.gz 2596674 BLAKE2B 
10947c9e496c47a565e62fb4ca6ad95679da0d237885fe09da367b501bf0dd228cb3d4af41b3527dca64665364527ec2db06afab2c209792409078debd7d3fc8
 SHA512 
74a47b013e15cbdcf8691bf3618cce40149f9832f6fc4c2cbfb6af2a72b4ecb52b068a150999771a77fcf4fdb49c64dabd127c5101ae29fb86723bc30c946133
 DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1a0a5482b642d458dd9fc7cba8d05333e7d91c37d43fbd360d8fbcda1c5febd2e5d577e0e612d9c2211047ba2a047b929ef
 SHA512 
68cecec0228b3f03d5c50576c7dec32c7474a22bd1740d43b29514b5a00f27376ed5236302fa68c493f0c188134855b277f92937fa726783af3f7246
 DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c8362405e06dba6de32121d9dea5d64d396ec39b1cfa884d5587c21367bb1dc3c1a4b4f994c286d0b8cc2a8bdbd9d247d239e
 SHA512 
45496a02bd19c94def17b621d0843cc93de4467e51ded4c20af91d9b5aa127529d85b8ff2473a88293c726611291a055d466a50258b7587da0e7d4ba7f0f366e
+DIST dnscrypt-proxy-2.0.29.tar.gz 2621844 BLAKE2B 
3ebd02b3c9df9dcb41d27d38a9d9f64c01d98f7b1afee7a7c3b1dd3ef26b2104aae650e34ff1b5651007461ee75d28bcfbfa3c7e82c32532f36553740e3dcb50
 SHA512 
f02abe56e017153e7fc8b4a26b34c90f68554a1b32a16558c05e8113327896dbf7f81aa69c76fa823a4a0a697b4bb2089bdeb1237ad4ef3587121c2d4cdfe78c

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.29.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.29.ebuild
new file mode 100644
index 000..c2e5ddb01ed
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.29.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps golang-build systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+DEPEND=">=dev-lang/go-1.12"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_prepare() {
+   default
+   # Create directory structure suitable for building
+   mkdir -p "src/${EGO_PN%/*}" || die
+   # fixes $GOPATH/go.mod exists but should not
+   rm go.mod || die
+   mv "${PN}" "src/${EGO_PN}" || die
+   mv "vendor" "src/${EGO_PN}" || die
+}
+
+src_configure() {
+   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
+}
+
+src_install() {
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
+   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-10-24 Thread Georgy Yakovlev
commit: a12af454ac2d865e84f8a9f8c4c4b60c80fbf1d4
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Oct 24 19:33:50 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Oct 24 19:35:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a12af454

net-dns/dnscrypt-proxy: bumpo to 2.0.28

Also add vendored licenses
Bug: https://bugs.gentoo.org/695280
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.28.ebuild| 101 +
 2 files changed, 102 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index af9bb50e5a9..5a32cd31481 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,3 +1,4 @@
 DIST dnscrypt-proxy-2.0.19.tar.gz 3339713 BLAKE2B 
e65b5ed8243aa6cf471700c6edba6e843fdf6482443335ec74201363657b23a7c6e432318e4de508120b6210cecd02666d97bb62a5f2968ce7d4813518eb3997
 SHA512 
4501a64717c0f2a9313e9328340e466c9ec325d09ef548f6af9a7855ff3497fb741269a17b397a36e2a120519820378e9f98a6a768a3678ea8144ee4690364f6
 DIST dnscrypt-proxy-2.0.25.tar.gz 2596674 BLAKE2B 
10947c9e496c47a565e62fb4ca6ad95679da0d237885fe09da367b501bf0dd228cb3d4af41b3527dca64665364527ec2db06afab2c209792409078debd7d3fc8
 SHA512 
74a47b013e15cbdcf8691bf3618cce40149f9832f6fc4c2cbfb6af2a72b4ecb52b068a150999771a77fcf4fdb49c64dabd127c5101ae29fb86723bc30c946133
 DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1a0a5482b642d458dd9fc7cba8d05333e7d91c37d43fbd360d8fbcda1c5febd2e5d577e0e612d9c2211047ba2a047b929ef
 SHA512 
68cecec0228b3f03d5c50576c7dec32c7474a22bd1740d43b29514b5a00f27376ed5236302fa68c493f0c188134855b277f92937fa726783af3f7246
+DIST dnscrypt-proxy-2.0.28.tar.gz 2620245 BLAKE2B 
fe31dd6d8054c4ae3d5892aaef0c8362405e06dba6de32121d9dea5d64d396ec39b1cfa884d5587c21367bb1dc3c1a4b4f994c286d0b8cc2a8bdbd9d247d239e
 SHA512 
45496a02bd19c94def17b621d0843cc93de4467e51ded4c20af91d9b5aa127529d85b8ff2473a88293c726611291a055d466a50258b7587da0e7d4ba7f0f366e

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.28.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.28.ebuild
new file mode 100644
index 000..c2e5ddb01ed
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.28.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps golang-build systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
+SLOT="0"
+IUSE="pie"
+
+DEPEND=">=dev-lang/go-1.12"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_prepare() {
+   default
+   # Create directory structure suitable for building
+   mkdir -p "src/${EGO_PN%/*}" || die
+   # fixes $GOPATH/go.mod exists but should not
+   rm go.mod || die
+   mv "${PN}" "src/${EGO_PN}" || die
+   mv "vendor" "src/${EGO_PN}" || die
+}
+
+src_configure() {
+   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
+}
+
+src_install() {
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
+   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-10-24 Thread Georgy Yakovlev
commit: 995d1a671926232014aa930476f77bb3d7ba9b22
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Oct 24 19:36:29 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Oct 24 19:36:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995d1a67

net-dns/dnscrypt-proxy: sync live ebuild

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 694bc5d7c02..c2e5ddb01ed 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -18,7 +18,7 @@ fi
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
 HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
 
-LICENSE="ISC"
+LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0"
 SLOT="0"
 IUSE="pie"
 



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-09-09 Thread Georgy Yakovlev
commit: 62bb0af938448f53c58cad3ee7efafb02409ef56
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Mon Sep  9 18:22:58 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Mon Sep  9 18:48:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62bb0af9

net-dns/dnscrypt-proxy: bump to 2.0.27

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|   1 +
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.27.ebuild| 101 +
 2 files changed, 102 insertions(+)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 09efb1e76c8..af9bb50e5a9 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,2 +1,3 @@
 DIST dnscrypt-proxy-2.0.19.tar.gz 3339713 BLAKE2B 
e65b5ed8243aa6cf471700c6edba6e843fdf6482443335ec74201363657b23a7c6e432318e4de508120b6210cecd02666d97bb62a5f2968ce7d4813518eb3997
 SHA512 
4501a64717c0f2a9313e9328340e466c9ec325d09ef548f6af9a7855ff3497fb741269a17b397a36e2a120519820378e9f98a6a768a3678ea8144ee4690364f6
 DIST dnscrypt-proxy-2.0.25.tar.gz 2596674 BLAKE2B 
10947c9e496c47a565e62fb4ca6ad95679da0d237885fe09da367b501bf0dd228cb3d4af41b3527dca64665364527ec2db06afab2c209792409078debd7d3fc8
 SHA512 
74a47b013e15cbdcf8691bf3618cce40149f9832f6fc4c2cbfb6af2a72b4ecb52b068a150999771a77fcf4fdb49c64dabd127c5101ae29fb86723bc30c946133
+DIST dnscrypt-proxy-2.0.27.tar.gz 2478887 BLAKE2B 
e9cabd6bdb330c3174cb904951f9e1a0a5482b642d458dd9fc7cba8d05333e7d91c37d43fbd360d8fbcda1c5febd2e5d577e0e612d9c2211047ba2a047b929ef
 SHA512 
68cecec0228b3f03d5c50576c7dec32c7474a22bd1740d43b29514b5a00f27376ed5236302fa68c493f0c188134855b277f92937fa726783af3f7246

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.27.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.27.ebuild
new file mode 100644
index 000..694bc5d7c02
--- /dev/null
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.27.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jedisct1/${PN}"
+
+inherit fcaps golang-build systemd
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://${EGO_PN}.git;
+else
+   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+fi
+
+DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
+HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="pie"
+
+DEPEND=">=dev-lang/go-1.12"
+
+RDEPEND="
+   acct-group/dnscrypt-proxy
+   acct-user/dnscrypt-proxy
+"
+
+FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
+PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
+
+src_prepare() {
+   default
+   # Create directory structure suitable for building
+   mkdir -p "src/${EGO_PN%/*}" || die
+   # fixes $GOPATH/go.mod exists but should not
+   rm go.mod || die
+   mv "${PN}" "src/${EGO_PN}" || die
+   mv "vendor" "src/${EGO_PN}" || die
+}
+
+src_configure() {
+   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
+}
+
+src_install() {
+   dobin dnscrypt-proxy
+
+   insinto /etc/dnscrypt-proxy
+   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
+   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
+   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
+
+   insinto /usr/share/dnscrypt-proxy
+   doins -r "utils/generate-domains-blacklists/."
+
+   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
+   newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service 
dnscrypt-proxy.service
+   systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket 
dnscrypt-proxy.socket
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   fcaps_pkg_postinst
+
+   if ! use filecaps; then
+   ewarn "'filecaps' USE flag is disabled"
+   ewarn "${PN} will fail to listen on port 53"
+   ewarn "please do one the following:"
+   ewarn "1) re-enable 'filecaps'"
+   ewarn "2) change port to > 1024"
+   ewarn "3) configure to run ${PN} as root (not recommended)"
+   ewarn
+   fi
+
+   if systemd_is_booted || has_version sys-apps/systemd; then
+   elog "Using systemd socket activation may cause issues with 
speed"
+   elog "latency and reliability of ${PN} and is discouraged by 
upstream"
+   elog "Existing installations advised to disable 
'dnscrypt-proxy.socket'"
+   elog "It is disabled by default for new installations"
+   elog "check 

[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-09-06 Thread Georgy Yakovlev
commit: e68ce47575e17d155ab13945a1f77a8d9dd1d470
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Sep  7 00:27:46 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  7 00:36:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e68ce475

net-dns/dnscrypt-proxy: sync live ebuild

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 5539148f968..694bc5d7c02 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -39,7 +39,7 @@ src_prepare() {
# fixes $GOPATH/go.mod exists but should not
rm go.mod || die
mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/" || die
+   mv "vendor" "src/${EGO_PN}" || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-09-06 Thread Georgy Yakovlev
commit: f2d4333d8010e64dd17db7908e5f0dbdaa61c406
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Sep  7 00:23:59 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  7 00:36:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d4333d

net-dns/dnscrypt-proxy: fix build with new go

// Vendor is present, and srcDir is outside parent's tree. Not allowed.
perr := *p
perr.Error = {
ImportStack: stk.copy(),
Err: "use of vendored package not allowed",
}
perr.Incomplete = true
return 

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
index 5539148f968..694bc5d7c02 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
@@ -39,7 +39,7 @@ src_prepare() {
# fixes $GOPATH/go.mod exists but should not
rm go.mod || die
mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/" || die
+   mv "vendor" "src/${EGO_PN}" || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-09-06 Thread Georgy Yakovlev
commit: a6801bad63e12f4221e1b10c56b851214a486776
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Sep  7 00:36:19 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Sep  7 00:36:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6801bad

net-dns/dnscrypt-proxy: backport go fix to older versions

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild | 2 +-
 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild
index d8b429e49af..2f732970bcd 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.19.ebuild
@@ -35,7 +35,7 @@ src_prepare() {
# Create directory structure suitable for building
mkdir -p "src/${EGO_PN%/*}" || die
mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/" || die
+   mv "vendor" "src/${EGO_PN}" || die
 }
 
 src_configure() {

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25.ebuild
index 257c123d9b0..fd4f4f93ab0 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25.ebuild
@@ -39,7 +39,7 @@ src_prepare() {
# fixes $GOPATH/go.mod exists but should not
rm go.mod || die
mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/" || die
+   mv "vendor" "src/${EGO_PN}" || die
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-08-16 Thread Georgy Yakovlev
commit: 9f9c9203e66ac6d72d7aba75b1bd19d03009ae2f
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Aug 17 01:55:53 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Aug 17 01:55:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9c9203

net-dns/dnscrypt-proxy: sync live ebuild

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
index 44a5c203f65..5539148f968 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~x86"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-08-16 Thread Georgy Yakovlev
commit: 5b487a4a2128a65db3f91fb9babf8f23b4b08cd2
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sat Aug 17 01:54:56 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sat Aug 17 01:54:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b487a4a

net-dns/dnscrypt-proxy: keyword on ~ppc64

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
index 44a5c203f65..5539148f968 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} ==  ]]; then
EGIT_REPO_URI="https://${EGO_PN}.git;
 else
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~x86"
+   KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
 fi
 
 DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/, net-dns/dnscrypt-proxy/files/

2019-07-29 Thread Georgy Yakovlev
commit: 10f674c0ce76478e454a68cbc63cb043ad360169
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Tue Jul 30 01:21:45 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Tue Jul 30 01:22:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f674c0

net-dns/dnscrypt-proxy: fix logrotate file

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 ...rypt-proxy-2.0.25-r1.ebuild => dnscrypt-proxy-2.0.25-r2.ebuild} | 0
 net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate  | 7 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r1.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
similarity index 100%
rename from net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r1.ebuild
rename to net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild

diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate 
b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate
index dcc603284a8..ff58fbeab1e 100644
--- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate
+++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy.logrotate
@@ -1,5 +1,6 @@
 /var/log/dnscrypt-proxy/*.log {
-copytruncate
-missingok
-notifempty
+   su dnscrypt-proxy dnscrypt-proxy
+   copytruncate
+   missingok
+   notifempty
 }



[gentoo-commits] repo/gentoo:master commit in: net-dns/dnscrypt-proxy/

2019-07-28 Thread Georgy Yakovlev
commit: 0e76478df1e67255723561e18c3b5d403b742f89
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Sun Jul 28 06:45:10 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Sun Jul 28 06:46:42 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e76478d

net-dns/dnscrypt-proxy: drop old

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-dns/dnscrypt-proxy/Manifest|  4 -
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.21.ebuild| 98 --
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.22.ebuild| 98 --
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.23.ebuild| 98 --
 .../dnscrypt-proxy/dnscrypt-proxy-2.0.24.ebuild| 98 --
 5 files changed, 396 deletions(-)

diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest
index 875bdd46767..09efb1e76c8 100644
--- a/net-dns/dnscrypt-proxy/Manifest
+++ b/net-dns/dnscrypt-proxy/Manifest
@@ -1,6 +1,2 @@
 DIST dnscrypt-proxy-2.0.19.tar.gz 3339713 BLAKE2B 
e65b5ed8243aa6cf471700c6edba6e843fdf6482443335ec74201363657b23a7c6e432318e4de508120b6210cecd02666d97bb62a5f2968ce7d4813518eb3997
 SHA512 
4501a64717c0f2a9313e9328340e466c9ec325d09ef548f6af9a7855ff3497fb741269a17b397a36e2a120519820378e9f98a6a768a3678ea8144ee4690364f6
-DIST dnscrypt-proxy-2.0.21.tar.gz 2189155 BLAKE2B 
3cab3ec4208e93733cefad49732c3fde644aac5401191d53a8c5962a1173456c09e12eaadeba6e086c078968b9467743cba7167ff0c84af2cf2f1d2209edd49f
 SHA512 
e01869b963ef7454f9136d8ececc4e541dae489524e03cc2906fc3b661281bd6ebf5ef8b6dc29a6bcc1dabb638b9e74200b3ed48ebcd69cd3306e8bab5dd248a
-DIST dnscrypt-proxy-2.0.22.tar.gz 2192330 BLAKE2B 
7688354d50a9c80368881be622ca8ef9cebd901a7023e071bb7eba603c876bf496f017a0abb5d9c6591fd4c31aad748c574a34ff47c5462c7417124282aaa37e
 SHA512 
ea2641e79739e75e8a7e6bc24a788488537ffa823e18a3585f95ca1ae90bef9890c65eaf7feb80cc5ad09165cef9513d4025e96367ca87fc59333534f8856102
-DIST dnscrypt-proxy-2.0.23.tar.gz 2552615 BLAKE2B 
fe59304d431a006fa8cf09cee97fcb62a2ea04306fd5b632a22c66fd7c0894ca4cac27280dc3eb2470cc1a503da9e0bc4316fe43c6c77391f305618137361a20
 SHA512 
d4eeaf20a397c8aed08a7a91a720637bb49395488eb1f7ab4a52ca8832d3e0b98fb320b86ca30ad19e1e3504e226379e5d325891a68624532493fc4796959462
-DIST dnscrypt-proxy-2.0.24.tar.gz 2596668 BLAKE2B 
6a736d2d1ef11c88191f21bf631d54f6687250841e0b9ed2893b940915fc8b7c5d70f4a6c9dfa06ade97bde4c943d9615725475c4d880033228f247658a879c8
 SHA512 
f345fe9d299dc7fa876de686e5d9c471041f00e8297dcff31787a246caaecd150a76c7e417815181e678ab2b222623dbf6a111c529c40a4f7e17dc7467a2
 DIST dnscrypt-proxy-2.0.25.tar.gz 2596674 BLAKE2B 
10947c9e496c47a565e62fb4ca6ad95679da0d237885fe09da367b501bf0dd228cb3d4af41b3527dca64665364527ec2db06afab2c209792409078debd7d3fc8
 SHA512 
74a47b013e15cbdcf8691bf3618cce40149f9832f6fc4c2cbfb6af2a72b4ecb52b068a150999771a77fcf4fdb49c64dabd127c5101ae29fb86723bc30c946133

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.21.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.21.ebuild
deleted file mode 100644
index 419d40281c6..000
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.21.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGO_PN="github.com/jedisct1/${PN}"
-
-inherit fcaps golang-build systemd user
-
-if [[ ${PV} ==  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://${EGO_PN}.git;
-else
-   SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~x86"
-fi
-
-DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols"
-HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy;
-
-LICENSE="ISC"
-SLOT="0"
-IUSE="pie"
-
-DEPEND=">=dev-lang/go-1.12"
-
-FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
-PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
-
-pkg_setup() {
-   enewgroup dnscrypt-proxy
-   enewuser dnscrypt-proxy -1 -1 /var/empty dnscrypt-proxy
-}
-
-src_prepare() {
-   default
-   # Create directory structure suitable for building
-   mkdir -p "src/${EGO_PN%/*}" || die
-   # fixes $GOPATH/go.mod exists but should not
-   rm go.mod || die
-   mv "${PN}" "src/${EGO_PN}" || die
-   mv "vendor" "src/" || die
-}
-
-src_configure() {
-   EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)"
-}
-
-src_install() {
-   dobin dnscrypt-proxy
-
-   insinto /etc/dnscrypt-proxy
-   newins "src/${EGO_PN}"/example-dnscrypt-proxy.toml dnscrypt-proxy.toml
-   doins "src/${EGO_PN}"/example-{blacklist.txt,whitelist.txt}
-   doins "src/${EGO_PN}"/example-{cloaking-rules.txt,forwarding-rules.txt}
-
-   insinto /usr/share/dnscrypt-proxy
-   doins -r "utils/generate-domains-blacklists/."
-
-   newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy
-   newconfd "${FILESDIR}"/dnscrypt-proxy.confd 

  1   2   >