1 |
commit: 8f426fb91a7cd4bafcdfe00c137fee1ebeddb83d |
2 |
Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> |
3 |
AuthorDate: Sun Dec 29 20:28:25 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 3 21:31:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f426fb9 |
7 |
|
8 |
net-dns/getdns: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> |
12 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
13 |
|
14 |
net-dns/getdns/getdns-1.6.0_beta1.ebuild | 87 -------------------------------- |
15 |
1 file changed, 87 deletions(-) |
16 |
|
17 |
diff --git a/net-dns/getdns/getdns-1.6.0_beta1.ebuild b/net-dns/getdns/getdns-1.6.0_beta1.ebuild |
18 |
deleted file mode 100644 |
19 |
index 7b782226afc..00000000000 |
20 |
--- a/net-dns/getdns/getdns-1.6.0_beta1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,87 +0,0 @@ |
23 |
-# Copyright 1999-2019 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-_SRCURI_P="${P/%_beta1/-beta.1}" |
29 |
- |
30 |
-inherit cmake-utils fcaps systemd |
31 |
- |
32 |
-DESCRIPTION="Modern asynchronous DNS API" |
33 |
-HOMEPAGE="https://getdnsapi.net/" |
34 |
-SRC_URI="https://getdnsapi.net/releases/${_SRCURI_P//./-}/${_SRCURI_P}.tar.gz" |
35 |
- |
36 |
-LICENSE="BSD" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="doc examples +getdns-query +getdns-server-mon gnutls +idn libev libevent libuv static-libs stubby +unbound" |
40 |
- |
41 |
-S="${WORKDIR}/${_SRCURI_P}" |
42 |
- |
43 |
-# https://bugs.gentoo.org/661760 |
44 |
-# https://github.com/getdnsapi/getdns/issues/407 |
45 |
-RESTRICT="test" |
46 |
- |
47 |
-DEPEND=" |
48 |
- dev-libs/libbsd:= |
49 |
- dev-libs/libyaml:= |
50 |
- dev-libs/openssl:0= |
51 |
- idn? ( net-dns/libidn2:= ) |
52 |
- gnutls? ( |
53 |
- net-libs/gnutls:0=[dane,openssl] |
54 |
- dev-libs/nettle:0= |
55 |
- ) |
56 |
- libev? ( dev-libs/libev:= ) |
57 |
- libevent? ( dev-libs/libevent:= ) |
58 |
- libuv? ( dev-libs/libuv:= ) |
59 |
- unbound? ( >=net-dns/unbound-1.5.9:= ) |
60 |
-" |
61 |
-RDEPEND=" |
62 |
- ${DEPEND} |
63 |
- stubby? ( |
64 |
- acct-group/stubby |
65 |
- acct-user/stubby |
66 |
- sys-libs/libcap:= |
67 |
- ) |
68 |
-" |
69 |
-BDEPEND=" |
70 |
- doc? ( app-doc/doxygen ) |
71 |
-" |
72 |
- |
73 |
-PATCHES=( "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" ) |
74 |
- |
75 |
-src_configure() { |
76 |
- local mycmakeargs=( |
77 |
- -DCMAKE_INSTALL_RUNSTATEDIR=/var/run |
78 |
- -DENABLE_STATIC=$(usex static-libs) |
79 |
- -DBUILD_GETDNS_QUERY=$(usex getdns-query) |
80 |
- -DBUILD_GETDNS_SERVER_MON=$(usex getdns-server-mon) |
81 |
- -DUSE_GNUTLS=$(usex gnutls) |
82 |
- -DUSE_LIBIDN2=$(usex idn) |
83 |
- -DUSE_LIBEV=$(usex libev) |
84 |
- -DUSE_LIBEVENT2=$(usex libevent) |
85 |
- -DUSE_LIBUV=$(use_with libuv) |
86 |
- -DBUILD_STUBBY=$(usex stubby) |
87 |
- -DENABLE_UNBOUND_EVENT_API=$(usex unbound) |
88 |
- -DBUILD_DOXYGEN=$(usex doc) |
89 |
- ) |
90 |
- cmake-utils_src_configure |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- cmake-utils_src_install |
95 |
- if use stubby; then |
96 |
- newinitd "${FILESDIR}"/stubby.initd-r2 stubby |
97 |
- newconfd "${FILESDIR}"/stubby.confd-r1 stubby |
98 |
- insinto /etc/logrotate.d |
99 |
- newins "${FILESDIR}"/stubby.logrotate stubby |
100 |
- systemd_dounit "${S}"/stubby/systemd/stubby.service |
101 |
- systemd_dotmpfilesd "${S}"/stubby/systemd/stubby.conf |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- if use stubby; then |
107 |
- fcaps cap_net_bind_service=ei /usr/bin/stubby |
108 |
- fi |
109 |
-} |