[gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/
commit: dd0edee1d55e62453029e425f973d19e9c030e35 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 24 18:57:40 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 24 18:57:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd0edee1 net-dns/getdns: drop 1.7.0-r1 Closes: https://bugs.gentoo.org/886893 Signed-off-by: Andreas Sturmlechner gentoo.org> net-dns/getdns/Manifest| 1 - net-dns/getdns/files/getdns-1.7.0-docdir.patch | 15 net-dns/getdns/getdns-1.7.0-r1.ebuild | 95 -- 3 files changed, 111 deletions(-) diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest index b8a9569bbd04..77ae018e7a78 100644 --- a/net-dns/getdns/Manifest +++ b/net-dns/getdns/Manifest @@ -1,2 +1 @@ -DIST getdns-1.7.0.tar.gz 690885 BLAKE2B 25e81c01c5da0a5494dc25077257f8f98210b442b7ca65c895aa2a40af180e840aa53205ae84ed242cbd6c55f8830caf255db9d7f607dde39f118ab7494a7072 SHA512 d09b8bdd0b4a3df2d25b9689166226da83a5a7eb2c7436487dc637539ac6077624a4d66cf684c4e6c4911561872c6bd191af3afd90d275b1662e4c6c47773ef6 DIST getdns-1.7.2.tar.gz 702969 BLAKE2B 668a754200b816790f39a772d89c28e14bc5dbd041e07d9e53605ad44d63d6637078b66881c35dda62ed61622142797cc8f0041522e076cf551651fca688053a SHA512 6c4a75a4696c46ec8bd9e9659a93fd81f3490b43da28a4c95f99a766027c7588fc493a8ac51563afb8f975c0e5b77d5ea67014d80e78ee2bb17fba1d1073d19f diff --git a/net-dns/getdns/files/getdns-1.7.0-docdir.patch b/net-dns/getdns/files/getdns-1.7.0-docdir.patch deleted file mode 100644 index e674a3b2b81d.. --- a/net-dns/getdns/files/getdns-1.7.0-docdir.patch +++ /dev/null @@ -1,15 +0,0 @@ -https://github.com/getdnsapi/getdns/pull/509 a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1101,9 +1101,8 @@ endif () - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/getdns DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man3 DESTINATION share/man) - --set(docdir share/doc/getdns) --install(FILES AUTHORS ChangeLog COPYING LICENSE NEWS README.md DESTINATION ${docdir}) --install(FILES spec/index.html DESTINATION ${docdir}/spec) -+install(FILES AUTHORS ChangeLog COPYING LICENSE NEWS README.md DESTINATION ${CMAKE_INSTALL_DOCDIR}) -+install(FILES spec/index.html DESTINATION ${CMAKE_INSTALL_DOCDIR}/spec) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/getdns.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) - - install(CODE "message(\"\ diff --git a/net-dns/getdns/getdns-1.7.0-r1.ebuild b/net-dns/getdns/getdns-1.7.0-r1.ebuild deleted file mode 100644 index 85df2006a4a2.. --- a/net-dns/getdns/getdns-1.7.0-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -_SRCURI_P="${P/%_beta1/-beta.1}" - -inherit cmake fcaps systemd tmpfiles - -DESCRIPTION="Modern asynchronous DNS API" -HOMEPAGE="https://getdnsapi.net/; -SRC_URI="https://getdnsapi.net/releases/${_SRCURI_P//./-}/${_SRCURI_P}.tar.gz; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="doc examples +getdns-query +getdns-server-mon gnutls +idn libev libevent libuv static-libs stubby test +unbound" - -S="${WORKDIR}/${_SRCURI_P}" - -# https://bugs.gentoo.org/661760 -# https://github.com/getdnsapi/getdns/issues/407 -# (As of 1.7.0, seems to need network) -RESTRICT="test" -#RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/libbsd - dev-libs/libyaml - dev-libs/openssl:= - idn? ( net-dns/libidn2:= ) - gnutls? ( - net-libs/gnutls:0=[dane,openssl] - dev-libs/nettle:0= - ) - libev? ( dev-libs/libev:= ) - libevent? ( dev-libs/libevent:= ) - libuv? ( dev-libs/libuv:= ) - test? ( dev-libs/check ) - >=net-dns/unbound-1.5.9:= -" -RDEPEND=" - ${DEPEND} - stubby? ( - acct-group/stubby - acct-user/stubby - sys-libs/libcap - ) -" -BDEPEND=" - doc? ( app-doc/doxygen ) -" - -PATCHES=( - "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" - "${FILESDIR}/${PN}-1.7.0-docdir.patch" -) - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_RUNSTATEDIR=/var/run/stubby - -DBUILD_DOXYGEN=$(usex doc) - -DBUILD_GETDNS_QUERY=$(usex getdns-query) - -DBUILD_GETDNS_SERVER_MON=$(usex getdns-server-mon) - -DBUILD_STUBBY=$(usex stubby) - -DENABLE_STATIC=$(usex static-libs) - -DBUILD_TESTING:BOOL=$(usex test) - -DENABLE_UNBOUND_EVENT_API=$(usex unbound) - -DUSE_GNUTLS=$(usex gnutls) - -DUSE_LIBEV=$(usex libev) - -DUSE_LIBEVENT2=$(usex libevent) - -DUSE_LIBIDN2=$(usex idn) - -DUSE_LIBUV=$(usex libuv) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - if use
[gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/
commit: f07fbf4f25958dbe59deacaca26e0ecfa426d979 Author: Sam James gentoo org> AuthorDate: Sat Jul 31 02:02:30 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jul 31 02:03:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f07fbf4f net-dns/getdns: fix stubby init script Closes: https://bugs.gentoo.org/716492 Thanks-to: Maciej S. Szmigiero maciej.szmigiero.name> Signed-off-by: Sam James gentoo.org> net-dns/getdns/files/stubby.initd-r2 | 9 ++--- net-dns/getdns/{getdns-1.7.0.ebuild => getdns-1.7.0-r1.ebuild} | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/net-dns/getdns/files/stubby.initd-r2 b/net-dns/getdns/files/stubby.initd-r2 index 69e76c0acfd..6af818c2db8 100644 --- a/net-dns/getdns/files/stubby.initd-r2 +++ b/net-dns/getdns/files/stubby.initd-r2 @@ -5,7 +5,7 @@ stubby_opts="-C ${STUBBY_CONFIG_FILE:-/etc/stubby/stubby.yml} -v ${STUBBY_LOGLEVEL:-5}" command="capsh" command_args="--inh=cap_net_bind_service --user=stubby -- -c '/usr/bin/stubby -g ${stubby_opts} >>/var/log/stubby.log 2>&1'" -pidfile="/run/stubby.pid" +pidfile="/run/stubby/stubby.pid" name="DNS Privacy Daemon" depend() @@ -18,11 +18,6 @@ depend() start_pre() { - checkpath -f -m 0644 -o stubby:stubby /run/stubby.pid + checkpath -d -m 0755 -o stubby:stubby /run/stubby checkpath -f -m 0644 -o stubby:stubby /var/log/stubby.log } - -stop_post() -{ - [ -f /run/stubby.pid ] && rm /run/stubby.pid -} diff --git a/net-dns/getdns/getdns-1.7.0.ebuild b/net-dns/getdns/getdns-1.7.0-r1.ebuild similarity index 97% rename from net-dns/getdns/getdns-1.7.0.ebuild rename to net-dns/getdns/getdns-1.7.0-r1.ebuild index ebf797b77be..98248f10308 100644 --- a/net-dns/getdns/getdns-1.7.0.ebuild +++ b/net-dns/getdns/getdns-1.7.0-r1.ebuild @@ -58,7 +58,7 @@ PATCHES=( src_configure() { local mycmakeargs=( - -DCMAKE_INSTALL_RUNSTATEDIR=/var/run + -DCMAKE_INSTALL_RUNSTATEDIR=/var/run/stubby -DBUILD_DOXYGEN=$(usex doc) -DBUILD_GETDNS_QUERY=$(usex getdns-query) -DBUILD_GETDNS_SERVER_MON=$(usex getdns-server-mon)
[gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/
commit: fcfb6cddf587f5c80d0a2cbd14c3838a8556bc51 Author: Conrad Kostecki gentoo org> AuthorDate: Thu Jul 15 22:08:42 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Thu Jul 15 22:11:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcfb6cdd net-dns/getdns: drop old version Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> net-dns/getdns/Manifest | 3 - net-dns/getdns/files/stubby.initd-r1| 23 net-dns/getdns/getdns-1.5.1.ebuild | 76 - net-dns/getdns/getdns-1.5.2-r2.ebuild | 82 --- net-dns/getdns/getdns-1.6.0_beta1-r2.ebuild | 87 - net-dns/getdns/metadata.xml | 1 - 6 files changed, 272 deletions(-) diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest index 688c16cdad6..43f673dd12e 100644 --- a/net-dns/getdns/Manifest +++ b/net-dns/getdns/Manifest @@ -1,4 +1 @@ -DIST getdns-1.5.1.tar.gz 1075728 BLAKE2B fd6ac52a302ecf22cc913d8de6f93f9ab125429d0eb9d6e233f23b84bb2e242573cd93997f88b4d1a2493273691dab897efc8509a0e3f03f6fddcb9d3b53ecb6 SHA512 4013cb4f00cc87164380c22dc6f82a4fd54702769c28eeb7cfcb13fb35ef41e32916c36a1aa2f6ef05f008da97bea5c7ed849aedc6ae7050c285f9589a9817b0 -DIST getdns-1.5.2.tar.gz 1091088 BLAKE2B c5f32af794f3c710c0f84027d38ca393c72a438905c5e2fe49f2d20477e3f90f855d280f43d0ef7d204fa67d95ebdb960ce86d934e26c1ef3030f263f98ec7f4 SHA512 42e56264578f59e94d0a7315cd9cb1720f24c7a9abbaa09e1b42c274d15d1082ad4a036fa3c10573cf4d0ee6d868b6fcedf3a7cd64b53bdabd9d45542e479ca4 -DIST getdns-1.6.0-beta.1.tar.gz 669637 BLAKE2B cab019c38a0e7268a3ffef7ffd6b52ab3565bbf0b4ea4e897d60cfc0885ee7d32d8bd22e58f24b554e03d4297945d4eaa915aff254f43d4e82455f1070923d46 SHA512 b36d05b09b5ab7c384fdb93820bc6ad253e9a44da9c7ea38c735882e56e03eaba1793ea22068d03867ed2ade71682686a359b1b0a821eed4a5f3bebeeaeeb7e2 DIST getdns-1.7.0.tar.gz 690885 BLAKE2B 25e81c01c5da0a5494dc25077257f8f98210b442b7ca65c895aa2a40af180e840aa53205ae84ed242cbd6c55f8830caf255db9d7f607dde39f118ab7494a7072 SHA512 d09b8bdd0b4a3df2d25b9689166226da83a5a7eb2c7436487dc637539ac6077624a4d66cf684c4e6c4911561872c6bd191af3afd90d275b1662e4c6c47773ef6 diff --git a/net-dns/getdns/files/stubby.initd-r1 b/net-dns/getdns/files/stubby.initd-r1 deleted file mode 100644 index e6b799919e2..000 --- a/net-dns/getdns/files/stubby.initd-r1 +++ /dev/null @@ -1,23 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -stubby_opts="-C ${STUBBY_CONFIG_FILE:-/etc/stubby/stubby.yml} -v ${STUBBY_LOGLEVEL:-5}" -command="capsh" -command_args="--inh=cap_net_bind_service --user=stubby -- -c '/usr/bin/stubby -g ${stubby_opts} >>/var/log/stubby.log 2>&1'" -pidfile="/var/run/stubby/stubby.pid" -name="DNS Privacy Daemon" - -depend() -{ - provide dns - need localmount net - after bootmisc - use logger -} - -start_pre() -{ - checkpath -d -m 1755 -o stubby:stubby /var/run/stubby - checkpath -f -m 0644 -o stubby:stubby /var/log/stubby.log -} diff --git a/net-dns/getdns/getdns-1.5.1.ebuild b/net-dns/getdns/getdns-1.5.1.ebuild deleted file mode 100644 index 9333b5ff65f..000 --- a/net-dns/getdns/getdns-1.5.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fcaps systemd user tmpfiles - -DESCRIPTION="Modern asynchronous DNS API" -HOMEPAGE="https://getdnsapi.net/; -SRC_URI="https://getdnsapi.net/releases/${P//./-}/${P}.tar.gz; - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +getdns-query +getdns-server-mon +idn libev libevent libuv static-libs stubby +threads +unbound" - -# https://bugs.gentoo.org/661760 -# https://github.com/getdnsapi/getdns/issues/407 -RESTRICT="test" - -DEPEND=" - dev-libs/libbsd:= - dev-libs/libyaml:= - idn? ( net-dns/libidn2:= ) - dev-libs/openssl:0= - libev? ( dev-libs/libev:= ) - libevent? ( dev-libs/libevent:= ) - libuv? ( dev-libs/libuv:= ) - unbound? ( >=net-dns/unbound-1.4.16:= ) -" -RDEPEND=" - ${DEPEND} - stubby? ( sys-libs/libcap:= ) -" -BDEPEND=" - doc? ( app-doc/doxygen ) -" - -PATCHES=( "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" ) - -src_configure() { - econf \ - --runstatedir=/var/run \ - $(use_enable static-libs static) \ - $(use_with getdns-query getdns_query) \ - $(use_with getdns-server-mon getdns_server_mon) \ - $(use_with idn libidn2) \ - $(use_with libev) \ - $(use_with libevent) \ - $(use_with libuv) \ - $(use_with stubby) \ - $(use_with threads libpthread) \ - $(use_with unbound libunbound) \ -
[gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/
commit: 45217c6fa29dd8414c2561772df7d76b6abedca8 Author: Sam James gentoo org> AuthorDate: Wed Jun 9 23:02:52 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jun 9 23:55:55 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45217c6f net-dns/getdns: add 1.7.0 Signed-off-by: Sam James gentoo.org> net-dns/getdns/Manifest| 1 + net-dns/getdns/files/getdns-1.7.0-docdir.patch | 16 + net-dns/getdns/files/stubby.initd-r1 | 0 net-dns/getdns/files/stubby.initd-r2 | 0 net-dns/getdns/getdns-1.7.0.ebuild | 94 ++ 5 files changed, 111 insertions(+) diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest index 144eeeba9b3..688c16cdad6 100644 --- a/net-dns/getdns/Manifest +++ b/net-dns/getdns/Manifest @@ -1,3 +1,4 @@ DIST getdns-1.5.1.tar.gz 1075728 BLAKE2B fd6ac52a302ecf22cc913d8de6f93f9ab125429d0eb9d6e233f23b84bb2e242573cd93997f88b4d1a2493273691dab897efc8509a0e3f03f6fddcb9d3b53ecb6 SHA512 4013cb4f00cc87164380c22dc6f82a4fd54702769c28eeb7cfcb13fb35ef41e32916c36a1aa2f6ef05f008da97bea5c7ed849aedc6ae7050c285f9589a9817b0 DIST getdns-1.5.2.tar.gz 1091088 BLAKE2B c5f32af794f3c710c0f84027d38ca393c72a438905c5e2fe49f2d20477e3f90f855d280f43d0ef7d204fa67d95ebdb960ce86d934e26c1ef3030f263f98ec7f4 SHA512 42e56264578f59e94d0a7315cd9cb1720f24c7a9abbaa09e1b42c274d15d1082ad4a036fa3c10573cf4d0ee6d868b6fcedf3a7cd64b53bdabd9d45542e479ca4 DIST getdns-1.6.0-beta.1.tar.gz 669637 BLAKE2B cab019c38a0e7268a3ffef7ffd6b52ab3565bbf0b4ea4e897d60cfc0885ee7d32d8bd22e58f24b554e03d4297945d4eaa915aff254f43d4e82455f1070923d46 SHA512 b36d05b09b5ab7c384fdb93820bc6ad253e9a44da9c7ea38c735882e56e03eaba1793ea22068d03867ed2ade71682686a359b1b0a821eed4a5f3bebeeaeeb7e2 +DIST getdns-1.7.0.tar.gz 690885 BLAKE2B 25e81c01c5da0a5494dc25077257f8f98210b442b7ca65c895aa2a40af180e840aa53205ae84ed242cbd6c55f8830caf255db9d7f607dde39f118ab7494a7072 SHA512 d09b8bdd0b4a3df2d25b9689166226da83a5a7eb2c7436487dc637539ac6077624a4d66cf684c4e6c4911561872c6bd191af3afd90d275b1662e4c6c47773ef6 diff --git a/net-dns/getdns/files/getdns-1.7.0-docdir.patch b/net-dns/getdns/files/getdns-1.7.0-docdir.patch new file mode 100644 index 000..1c955fdd4b3 --- /dev/null +++ b/net-dns/getdns/files/getdns-1.7.0-docdir.patch @@ -0,0 +1,16 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6928a02..e8a0cbb 100644 +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -1101,9 +1101,8 @@ endif () + install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/getdns DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/man3 DESTINATION share/man) + +-set(docdir share/doc/getdns) +-install(FILES AUTHORS ChangeLog COPYING LICENSE NEWS README.md DESTINATION ${docdir}) +-install(FILES spec/index.html DESTINATION ${docdir}/spec) ++install(FILES AUTHORS ChangeLog COPYING LICENSE NEWS README.md DESTINATION ${CMAKE_INSTALL_DOCDIR}) ++install(FILES spec/index.html DESTINATION ${CMAKE_INSTALL_DOCDIR}/spec) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/getdns.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + + install(CODE "message(\"\ diff --git a/net-dns/getdns/files/stubby.initd-r1 b/net-dns/getdns/files/stubby.initd-r1 old mode 100755 new mode 100644 diff --git a/net-dns/getdns/files/stubby.initd-r2 b/net-dns/getdns/files/stubby.initd-r2 old mode 100755 new mode 100644 diff --git a/net-dns/getdns/getdns-1.7.0.ebuild b/net-dns/getdns/getdns-1.7.0.ebuild new file mode 100644 index 000..39b9a79e186 --- /dev/null +++ b/net-dns/getdns/getdns-1.7.0.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +_SRCURI_P="${P/%_beta1/-beta.1}" + +inherit cmake fcaps systemd tmpfiles + +DESCRIPTION="Modern asynchronous DNS API" +HOMEPAGE="https://getdnsapi.net/; +SRC_URI="https://getdnsapi.net/releases/${_SRCURI_P//./-}/${_SRCURI_P}.tar.gz; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples +getdns-query +getdns-server-mon gnutls +idn libev libevent libuv static-libs stubby test +unbound" + +S="${WORKDIR}/${_SRCURI_P}" + +# https://bugs.gentoo.org/661760 +# https://github.com/getdnsapi/getdns/issues/407 +# (As of 1.7.0, seems to need network) +RESTRICT="test" +#RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/libbsd + dev-libs/libyaml + dev-libs/openssl:= + idn? ( net-dns/libidn2:= ) + gnutls? ( + net-libs/gnutls:0=[dane,openssl] + dev-libs/nettle:0= + ) + libev? ( dev-libs/libev:= ) + libevent? ( dev-libs/libevent:= ) + libuv? ( dev-libs/libuv:= ) + test? ( dev-libs/check ) + >=net-dns/unbound-1.5.9:= +" +RDEPEND=" + ${DEPEND} + stubby? ( + acct-group/stubby + acct-user/stubby + sys-libs/libcap + ) +" +BDEPEND=" + doc? ( app-doc/doxygen ) +" + +PATCHES=(
[gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/
commit: 5b644cb1a2c287eee592935fcc005ae5b1cf25fa Author: Quentin Retornaz retornaz com> AuthorDate: Sun Dec 22 01:44:37 2019 + Commit: Anthony G. Basile gentoo org> CommitDate: Mon Dec 23 21:42:14 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b644cb1 net-dns/getdns: bump version to 1.6.0_beta1 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Quentin Retornaz retornaz.com> Signed-off-by: Anthony G. Basile gentoo.org> net-dns/getdns/Manifest | 1 + net-dns/getdns/files/stubby.initd-r2 | 28 ++ net-dns/getdns/getdns-1.6.0_beta1.ebuild | 87 3 files changed, 116 insertions(+) diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest index 6c5178376c6..144eeeba9b3 100644 --- a/net-dns/getdns/Manifest +++ b/net-dns/getdns/Manifest @@ -1,2 +1,3 @@ DIST getdns-1.5.1.tar.gz 1075728 BLAKE2B fd6ac52a302ecf22cc913d8de6f93f9ab125429d0eb9d6e233f23b84bb2e242573cd93997f88b4d1a2493273691dab897efc8509a0e3f03f6fddcb9d3b53ecb6 SHA512 4013cb4f00cc87164380c22dc6f82a4fd54702769c28eeb7cfcb13fb35ef41e32916c36a1aa2f6ef05f008da97bea5c7ed849aedc6ae7050c285f9589a9817b0 DIST getdns-1.5.2.tar.gz 1091088 BLAKE2B c5f32af794f3c710c0f84027d38ca393c72a438905c5e2fe49f2d20477e3f90f855d280f43d0ef7d204fa67d95ebdb960ce86d934e26c1ef3030f263f98ec7f4 SHA512 42e56264578f59e94d0a7315cd9cb1720f24c7a9abbaa09e1b42c274d15d1082ad4a036fa3c10573cf4d0ee6d868b6fcedf3a7cd64b53bdabd9d45542e479ca4 +DIST getdns-1.6.0-beta.1.tar.gz 669637 BLAKE2B cab019c38a0e7268a3ffef7ffd6b52ab3565bbf0b4ea4e897d60cfc0885ee7d32d8bd22e58f24b554e03d4297945d4eaa915aff254f43d4e82455f1070923d46 SHA512 b36d05b09b5ab7c384fdb93820bc6ad253e9a44da9c7ea38c735882e56e03eaba1793ea22068d03867ed2ade71682686a359b1b0a821eed4a5f3bebeeaeeb7e2 diff --git a/net-dns/getdns/files/stubby.initd-r2 b/net-dns/getdns/files/stubby.initd-r2 new file mode 100755 index 000..69e76c0acfd --- /dev/null +++ b/net-dns/getdns/files/stubby.initd-r2 @@ -0,0 +1,28 @@ +#!/sbin/openrc-run +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License, v2 or later + +stubby_opts="-C ${STUBBY_CONFIG_FILE:-/etc/stubby/stubby.yml} -v ${STUBBY_LOGLEVEL:-5}" +command="capsh" +command_args="--inh=cap_net_bind_service --user=stubby -- -c '/usr/bin/stubby -g ${stubby_opts} >>/var/log/stubby.log 2>&1'" +pidfile="/run/stubby.pid" +name="DNS Privacy Daemon" + +depend() +{ + provide dns + need localmount net + after bootmisc + use logger +} + +start_pre() +{ + checkpath -f -m 0644 -o stubby:stubby /run/stubby.pid + checkpath -f -m 0644 -o stubby:stubby /var/log/stubby.log +} + +stop_post() +{ + [ -f /run/stubby.pid ] && rm /run/stubby.pid +} diff --git a/net-dns/getdns/getdns-1.6.0_beta1.ebuild b/net-dns/getdns/getdns-1.6.0_beta1.ebuild new file mode 100644 index 000..7b782226afc --- /dev/null +++ b/net-dns/getdns/getdns-1.6.0_beta1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +_SRCURI_P="${P/%_beta1/-beta.1}" + +inherit cmake-utils fcaps systemd + +DESCRIPTION="Modern asynchronous DNS API" +HOMEPAGE="https://getdnsapi.net/; +SRC_URI="https://getdnsapi.net/releases/${_SRCURI_P//./-}/${_SRCURI_P}.tar.gz; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples +getdns-query +getdns-server-mon gnutls +idn libev libevent libuv static-libs stubby +unbound" + +S="${WORKDIR}/${_SRCURI_P}" + +# https://bugs.gentoo.org/661760 +# https://github.com/getdnsapi/getdns/issues/407 +RESTRICT="test" + +DEPEND=" + dev-libs/libbsd:= + dev-libs/libyaml:= + dev-libs/openssl:0= + idn? ( net-dns/libidn2:= ) + gnutls? ( + net-libs/gnutls:0=[dane,openssl] + dev-libs/nettle:0= + ) + libev? ( dev-libs/libev:= ) + libevent? ( dev-libs/libevent:= ) + libuv? ( dev-libs/libuv:= ) + unbound? ( >=net-dns/unbound-1.5.9:= ) +" +RDEPEND=" + ${DEPEND} + stubby? ( + acct-group/stubby + acct-user/stubby + sys-libs/libcap:= + ) +" +BDEPEND=" + doc? ( app-doc/doxygen ) +" + +PATCHES=( "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" ) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_RUNSTATEDIR=/var/run + -DENABLE_STATIC=$(usex static-libs) + -DBUILD_GETDNS_QUERY=$(usex getdns-query) + -DBUILD_GETDNS_SERVER_MON=$(usex getdns-server-mon) + -DUSE_GNUTLS=$(usex gnutls) + -DUSE_LIBIDN2=$(usex idn) + -DUSE_LIBEV=$(usex libev) + -DUSE_LIBEVENT2=$(usex libevent) + -DUSE_LIBUV=$(use_with libuv) + -DBUILD_STUBBY=$(usex stubby) + -DENABLE_UNBOUND_EVENT_API=$(usex unbound) +
[gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/
commit: cecd6be7b3c948d81dd4c97cfba092acfbd0a366 Author: Quentin Retornaz retornaz com> AuthorDate: Wed Jun 20 15:00:34 2018 + Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jul 12 22:31:43 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecd6be7 net-dns/getdns: fix upstream systemd unit to match ebuild configuration #656988 Signed-off-by: Anthony G. Basile gentoo.org> net-dns/getdns/files/getdns-1.4.2-stubby.service.patch | 16 .../{getdns-1.4.2.ebuild => getdns-1.4.2-r1.ebuild} | 2 ++ 2 files changed, 18 insertions(+) diff --git a/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch new file mode 100644 index 000..2bb7546fcfa --- /dev/null +++ b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch @@ -0,0 +1,16 @@ +diff -ur a/stubby/systemd/stubby.service b/stubby/systemd/stubby.service +--- a/stubby/systemd/stubby.service2018-05-11 13:25:22.0 +0200 b/stubby/systemd/stubby.service2018-06-20 15:40:23.650164668 +0200 +@@ -3,9 +3,11 @@ + + [Service] + User=stubby +-DynamicUser=yes ++DynamicUser=no + CacheDirectory=stubby + WorkingDirectory=/var/cache/stubby ++ExecStartPre=/bin/mkdir -p /var/cache/stubby ++ExecStartPre=/bin/chown stubby:stubby /var/cache/stubby + ExecStart=/usr/bin/stubby + AmbientCapabilities=CAP_NET_BIND_SERVICE + CapabilityBoundingSet=CAP_NET_BIND_SERVICE diff --git a/net-dns/getdns/getdns-1.4.2.ebuild b/net-dns/getdns/getdns-1.4.2-r1.ebuild similarity index 96% rename from net-dns/getdns/getdns-1.4.2.ebuild rename to net-dns/getdns/getdns-1.4.2-r1.ebuild index de86ca0dce7..28d7a6c9c3c 100644 --- a/net-dns/getdns/getdns-1.4.2.ebuild +++ b/net-dns/getdns/getdns-1.4.2-r1.ebuild @@ -30,6 +30,8 @@ RDEPEND=" stubby? ( sys-libs/libcap:= ) " +PATCHES=( "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" ) + src_configure() { econf \ --runstatedir=/var/run \
[gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/
commit: 1d28661efeeff81e034c735131efbe4a1077820f Author: CaseOf outlook com> AuthorDate: Thu Apr 12 18:37:01 2018 + Commit: Anthony G. Basile gentoo org> CommitDate: Sun Apr 15 15:15:09 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d28661e net-dns/getdns: new package Signed-off-by: Anthony G. Basile gentoo.org> net-dns/getdns/Manifest| 1 + net-dns/getdns/files/stubby.confd | 4 +++ net-dns/getdns/files/stubby.initd | 21 net-dns/getdns/getdns-1.4.1.ebuild | 66 ++ net-dns/getdns/metadata.xml| 17 ++ 5 files changed, 109 insertions(+) diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest new file mode 100644 index 000..2df8dc169a7 --- /dev/null +++ b/net-dns/getdns/Manifest @@ -0,0 +1 @@ +DIST getdns-1.4.1.tar.gz 1055348 BLAKE2B 3b664e669327f5d866e6b40defb3ee4b62a09be228cac726478dbc6843b64aaf49faa328e1013700daf554c4df1144a8d56cca9d9405057d35b89b8ab7ae1f43 SHA512 b15da1c898d4bb4e5dcd93b47f481696dd456d8a841b02122c46035f3da27ca13b5513e7b6a00e943d1a5f5cec8c5ce1f13729d3ce0c887d8faa31d201864b27 diff --git a/net-dns/getdns/files/stubby.confd b/net-dns/getdns/files/stubby.confd new file mode 100644 index 000..b862ea4a40d --- /dev/null +++ b/net-dns/getdns/files/stubby.confd @@ -0,0 +1,4 @@ +# /etc/conf.d/stubby: config file for /etc/init.d/stubby + +# See stubby -h for possible options to put here. +STUBBY_OPTS="" diff --git a/net-dns/getdns/files/stubby.initd b/net-dns/getdns/files/stubby.initd new file mode 100755 index 000..170db9be07f --- /dev/null +++ b/net-dns/getdns/files/stubby.initd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later + +command="capsh" +command_args="--inh=cap_net_bind_service --user=stubby -- -c '/usr/bin/stubby -g ${STUBBY_OPTS}'" +pidfile="/var/run/stubby/stubby.pid" +name="DNS Privacy Daemon" + +depend() +{ + provide dns + need localmount net + after bootmisc + use logger +} + +start_pre() +{ + checkpath -d -m 1755 -o stubby:stubby /var/run/stubby +} diff --git a/net-dns/getdns/getdns-1.4.1.ebuild b/net-dns/getdns/getdns-1.4.1.ebuild new file mode 100644 index 000..13ab6bc3b15 --- /dev/null +++ b/net-dns/getdns/getdns-1.4.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit user fcaps + +DESCRIPTION="Modern asynchronous DNS API" +HOMEPAGE="https://getdnsapi.net/; +SRC_URI="https://getdnsapi.net/releases/${P//./-}/${P}.tar.gz; + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="stubby +getdns_query +getdns_server_mon libressl +idn +unbound libevent libev libuv +threads" + +DEPEND=" + dev-libs/libyaml:= + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + idn? ( net-dns/libidn2:= ) + unbound? ( >=net-dns/unbound-1.4.16:= ) + libevent? ( dev-libs/libevent:= ) + libev? ( dev-libs/libev:= ) + libuv? ( dev-libs/libuv:= ) +" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + --runstatedir=/var/run \ + --with-piddir=/var/run/stubby \ + $(use_with stubby) \ + $(use_with getdns_query) \ + $(use_with getdns_server_mon) \ + $(use_with idn libidn2) \ + --without-libidn \ + $(use_with unbound libunbound) \ + $(use_with libevent) \ + $(use_with libev) \ + $(use_with libuv) \ + $(use_with threads libpthread) +} + +src_install() { + default + if use stubby; then + newinitd "${FILESDIR}"/stubby.initd stubby + newconfd "${FILESDIR}"/stubby.confd stubby + fi +} + +pkg_postinst() { + if use stubby; then + enewgroup stubby + enewuser stubby -1 -1 -1 stubby + fcaps cap_net_bind_service=ei /usr/bin/stubby + fi + + if has_version +http://www.gentoo.org/dtd/metadata.dtd;> + + + gen...@retornaz.com + Quentin Retornaz + + + Add Stubby DNS Privacy Deamon + Add getdns_query tool + Add getdns_server_mon tool + Enable net-dns/unbound libraries support + Enable dev-libs/libevent support + Enable dev-libs/libev support + Enable dev-libs/libuv support + +