Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/knot/
Date: Wed, 30 Sep 2020 07:07:00
Message-Id: 1601449604.f8b39f282f0b922e8cc7204e50f5493399820691.juippis@gentoo
1 commit: f8b39f282f0b922e8cc7204e50f5493399820691
2 Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re>
3 AuthorDate: Fri Sep 4 12:11:48 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 30 07:06:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b39f28
7
8 net-dns/knot: remove old
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Pierre-Olivier Mercier <nemunaire <AT> nemunai.re>
12 Closes: https://github.com/gentoo/gentoo/pull/17412
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 net-dns/knot/Manifest | 1 -
16 net-dns/knot/knot-2.9.5.ebuild | 102 -----------------------------------------
17 2 files changed, 103 deletions(-)
18
19 diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
20 index 048bb98b0d4..66e3a6e728f 100644
21 --- a/net-dns/knot/Manifest
22 +++ b/net-dns/knot/Manifest
23 @@ -1,3 +1,2 @@
24 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd SHA512 f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de
25 -DIST knot-2.9.5.tar.xz 1190872 BLAKE2B 4c60972676efb2e6cef5431ab688ffff9eeda4fe5f9a02bba10fbfced50c1edc9e15b9cea9e018428f3d075ab241128748fa1f777e6fc9de0dbdca1033c8d92a SHA512 6bfd6a720eb512983f934c3bf853ac310391805a102546ed18b3e805d10339837569e970e0e51f64e9d938bc362c8f9d01acb15ca4dca0a66dea9deb6b59cc73
26 DIST knot-2.9.6.tar.xz 1188412 BLAKE2B 95b165bf37079fbda91cc8e81b8a4a5e662d53bf5efdf9a96cfd59646fe246f0c59e2438d42f9566dcf6dbe675400d450e131f66bfa88769b1c3fcf55b09d849 SHA512 95164a8ec913b3e3f01355d7f41f08caf6048c39317e63b2968e2bf8cf2ed08791ea0136b1e721add07f183b81a241ab2c2b8779c44368079d8eac082f49e368
27
28 diff --git a/net-dns/knot/knot-2.9.5.ebuild b/net-dns/knot/knot-2.9.5.ebuild
29 deleted file mode 100644
30 index 2cc9e9753df..00000000000
31 --- a/net-dns/knot/knot-2.9.5.ebuild
32 +++ /dev/null
33 @@ -1,102 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit systemd
40 -
41 -DESCRIPTION="High-performance authoritative-only DNS server"
42 -HOMEPAGE="https://www.knot-dns.cz/"
43 -SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
44 -
45 -LICENSE="GPL-3"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -
49 -KNOT_MODULES=(
50 - "+cookies"
51 - "+dnsproxy"
52 - "dnstap"
53 - "geoip"
54 - "+noudp"
55 - "+onlinesign"
56 - "+queryacl"
57 - "+rrl"
58 - "+stats"
59 - "+synthrecord"
60 - "+whoami"
61 -)
62 -IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
63 -
64 -RDEPEND="
65 - acct-group/knot
66 - acct-user/knot
67 - dev-db/lmdb
68 - dev-libs/libedit
69 - dev-libs/userspace-rcu:=
70 - dev-python/lmdb
71 - net-libs/gnutls:=
72 - caps? ( sys-libs/libcap-ng )
73 - dnstap? (
74 - dev-libs/fstrm
75 - dev-libs/protobuf-c:=
76 - )
77 - geoip? ( dev-libs/libmaxminddb:= )
78 - idn? (
79 - !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
80 - libidn2? ( net-dns/libidn2:= )
81 - )
82 - systemd? ( sys-apps/systemd:= )
83 -"
84 -DEPEND="${RDEPEND}"
85 -BDEPEND="
86 - virtual/pkgconfig
87 - doc? ( dev-python/sphinx )
88 -"
89 -
90 -S="${WORKDIR}/${P/_/-}"
91 -
92 -src_configure() {
93 - local u
94 - local my_conf=(
95 - --with-storage="${EPREFIX}/var/lib/${PN}"
96 - --with-rundir="${EPREFIX}/var/run/${PN}"
97 - $(use_enable fastparser)
98 - $(use_enable dnstap)
99 - $(use_enable doc documentation)
100 - $(use_enable utils utilities)
101 - --enable-systemd=$(usex systemd)
102 - $(use_with idn libidn)
103 - )
104 -
105 - for u in "${KNOT_MODULES[@]#+}"; do
106 - my_conf+=("$(use_with ${u} module-${u})")
107 - done
108 -
109 - econf "${my_conf[@]}"
110 -}
111 -
112 -src_compile() {
113 - default
114 -
115 - use doc && emake -C doc html
116 -}
117 -
118 -src_test() {
119 - emake check
120 -}
121 -
122 -src_install() {
123 - use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
124 -
125 - default
126 -
127 - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
128 -
129 - newinitd "${FILESDIR}/knot.init" knot
130 - if use systemd; then
131 - systemd_newunit "${FILESDIR}/knot-1.service" knot.service
132 - fi
133 -
134 - find "${D}" -name '*.la' -delete || die
135 -}