diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /net-dns/getdns | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'net-dns/getdns')
-rw-r--r-- | net-dns/getdns/Manifest | 4 | ||||
-rw-r--r-- | net-dns/getdns/getdns-1.5.1.ebuild | 2 | ||||
-rw-r--r-- | net-dns/getdns/getdns-1.5.2.ebuild | 84 |
3 files changed, 88 insertions, 2 deletions
diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest index a23ac6fd14ae..2472c432152e 100644 --- a/net-dns/getdns/Manifest +++ b/net-dns/getdns/Manifest @@ -3,5 +3,7 @@ AUX stubby.confd-r1 546 BLAKE2B 2f81b79b290264701ee75029ee61e006e7f6e2425ebd8090 AUX stubby.initd-r1 636 BLAKE2B 1f8e96c0b844837af8d46f12c80750979be3e763bd7ac08b956f69a8fd4fd9cdf018cc666e1fc47a324ee3960e358489e01b8da6d7d09cae8dffe9cff1b38b90 SHA512 556c35dbcdc157668308e502895519e73fa723074bc8cb1d7cbfd762e0831a584be67a9204744dad17ff4ffaaf9b97b67ed60acfc6ef56e44e240c51d2f783b0 AUX stubby.logrotate 76 BLAKE2B f68efa844df0a0b97bcfaa117fa74b0c314df18d4aefd9b934f9b9b9f9001a41ebaf148d266272529c594a79eb27c0b99ff9f30d4c519f91128d35b4ea87eb22 SHA512 c4f1de3789debd1d51a47499960b6f688bc594b4beb01062a55c5623a6ceb07d03705e4f411c9a0cc88442af223120b29c46a9dc72c600477d3e598f9c02c805 DIST getdns-1.5.1.tar.gz 1075728 BLAKE2B fd6ac52a302ecf22cc913d8de6f93f9ab125429d0eb9d6e233f23b84bb2e242573cd93997f88b4d1a2493273691dab897efc8509a0e3f03f6fddcb9d3b53ecb6 SHA512 4013cb4f00cc87164380c22dc6f82a4fd54702769c28eeb7cfcb13fb35ef41e32916c36a1aa2f6ef05f008da97bea5c7ed849aedc6ae7050c285f9589a9817b0 -EBUILD getdns-1.5.1.ebuild 2084 BLAKE2B 82001d1fe871e1f7aacdb101d005ca8a28bd07601e820cbad7521fe996387bdc633d18e1fac497539768446e9f71aa1f598d80d0d5ab5983457544a27c8d7c18 SHA512 fc393adb50f840ff5783d0a8cf8fed564d1361955edb4bd9e4c65064253a1cffef53637744cbaae69e8be87254b1b2c74120921219c364299678c8ac83b84a81 +DIST getdns-1.5.2.tar.gz 1091088 BLAKE2B c5f32af794f3c710c0f84027d38ca393c72a438905c5e2fe49f2d20477e3f90f855d280f43d0ef7d204fa67d95ebdb960ce86d934e26c1ef3030f263f98ec7f4 SHA512 42e56264578f59e94d0a7315cd9cb1720f24c7a9abbaa09e1b42c274d15d1082ad4a036fa3c10573cf4d0ee6d868b6fcedf3a7cd64b53bdabd9d45542e479ca4 +EBUILD getdns-1.5.1.ebuild 2086 BLAKE2B 0ed0e7e26b1281ef4eebc09a786e4cb0d5124f5db19135746813cc1e88168c8d033f6fbc989bf7b285312b1e9c9f213d5731d79cbe66be8b3b3b43fa66a58ff6 SHA512 ea45872a78ee6bfaaa42d44e4f2aec8bab1a615f0e847fab94414fa3d321bd6160ef4aed915c4672fcd6ae548ad8a9b23fef3086161d0f5f61443a7a23ec7dc1 +EBUILD getdns-1.5.2.ebuild 2086 BLAKE2B 0ed0e7e26b1281ef4eebc09a786e4cb0d5124f5db19135746813cc1e88168c8d033f6fbc989bf7b285312b1e9c9f213d5731d79cbe66be8b3b3b43fa66a58ff6 SHA512 ea45872a78ee6bfaaa42d44e4f2aec8bab1a615f0e847fab94414fa3d321bd6160ef4aed915c4672fcd6ae548ad8a9b23fef3086161d0f5f61443a7a23ec7dc1 MISC metadata.xml 857 BLAKE2B 25a516aa2d67d8ce5961b8a99d71f355fb99f163ccbbeee29c7c505729ba76735b7d6977f5aa8cb60b328943c715a9dbb4652b4e3133009e220c1db0de9cf875 SHA512 33065cbe6ddfa2b0382d55a0441a819f2d4795cd458fe6b53d4da444b9542d49781d7dcf7b11615c46e3157bdc1deab89c765a24ee100c67687fb64cd2099bd1 diff --git a/net-dns/getdns/getdns-1.5.1.ebuild b/net-dns/getdns/getdns-1.5.1.ebuild index 619bd5568797..05ba4798a0f4 100644 --- a/net-dns/getdns/getdns-1.5.1.ebuild +++ b/net-dns/getdns/getdns-1.5.1.ebuild @@ -75,7 +75,7 @@ pkg_postinst() { fcaps cap_net_bind_service=ei /usr/bin/stubby fi - if has_version <dev-libs/libressl-2.7.0; then + if has_version '<dev-libs/libressl-2.7.0'; then ewarn "BEWARE: dev-libs/libressl prior to 2.7 does NOT check TLS certificates." if use stubby; then ewarn "You will NOT be able to use strict profile in Stubby." diff --git a/net-dns/getdns/getdns-1.5.2.ebuild b/net-dns/getdns/getdns-1.5.2.ebuild new file mode 100644 index 000000000000..05ba4798a0f4 --- /dev/null +++ b/net-dns/getdns/getdns-1.5.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fcaps systemd user + +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 libressl 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:= ) + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl: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) \ + $(use_with 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) \ + --without-libidn \ + --with-piddir=/var/run/stubby +} + +src_install() { + default + if use stubby; then + newinitd "${FILESDIR}"/stubby.initd-r1 stubby + newconfd "${FILESDIR}"/stubby.confd-r1 stubby + insinto /etc/logrotate.d + newins "${FILESDIR}"/stubby.logrotate stubby + systemd_dounit "${S}"/stubby/systemd/stubby.service + systemd_dotmpfilesd "${S}"/stubby/systemd/stubby.conf + 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 '<dev-libs/libressl-2.7.0'; then + ewarn "BEWARE: dev-libs/libressl prior to 2.7 does NOT check TLS certificates." + if use stubby; then + ewarn "You will NOT be able to use strict profile in Stubby." + fi + fi +} |