From 3c6f50578cbb4eea99928172b77b8903e349f687 Mon Sep 17 00:00:00 2001 From: Quentin Retornaz Date: Mon, 24 Dec 2018 17:30:02 +0100 Subject: net-dns/getdns: version bump to 1.5.1 Closes: https://bugs.gentoo.org/679200 Signed-off-by: Quentin Retornaz Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Anthony G. Basile --- net-dns/getdns/Manifest | 2 +- net-dns/getdns/getdns-1.4.2-r2.ebuild | 81 --------------------------------- net-dns/getdns/getdns-1.5.1.ebuild | 84 +++++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 82 deletions(-) delete mode 100644 net-dns/getdns/getdns-1.4.2-r2.ebuild create mode 100644 net-dns/getdns/getdns-1.5.1.ebuild (limited to 'net-dns') diff --git a/net-dns/getdns/Manifest b/net-dns/getdns/Manifest index a6b311b8e0b7..aedd683fca97 100644 --- a/net-dns/getdns/Manifest +++ b/net-dns/getdns/Manifest @@ -1 +1 @@ -DIST getdns-1.4.2.tar.gz 1059122 BLAKE2B 79399bb70e58bf449e99052c9f32ebb9d4e6ac26c753d99963d591661ee04ccfaf58e4f35589187a9a89fd9bccc0bff9d319c8b11da9522fbb17a915612ce9bd SHA512 fbbbe80df0f66e295c590c1751c11fcfc66efa200203ce1fdc11a471130fbaa837fa6bade076e17e1dac03d71c3522a67a660f2bdb4766aead19119da355bdd4 +DIST getdns-1.5.1.tar.gz 1075728 BLAKE2B fd6ac52a302ecf22cc913d8de6f93f9ab125429d0eb9d6e233f23b84bb2e242573cd93997f88b4d1a2493273691dab897efc8509a0e3f03f6fddcb9d3b53ecb6 SHA512 4013cb4f00cc87164380c22dc6f82a4fd54702769c28eeb7cfcb13fb35ef41e32916c36a1aa2f6ef05f008da97bea5c7ed849aedc6ae7050c285f9589a9817b0 diff --git a/net-dns/getdns/getdns-1.4.2-r2.ebuild b/net-dns/getdns/getdns-1.4.2-r2.ebuild deleted file mode 100644 index 457f65c48f16..000000000000 --- a/net-dns/getdns/getdns-1.4.2-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit user fcaps systemd - -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 static-libs" - -# https://bugs.gentoo.org/661760 -# https://github.com/getdnsapi/getdns/issues/407 -RESTRICT="test" - -DEPEND=" - dev-libs/libbsd:= - 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} - stubby? ( sys-libs/libcap:= ) -" - -PATCHES=( "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" ) - -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) \ - $(use_enable static-libs static) -} - -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