Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/knot/
Date: Tue, 23 Nov 2021 09:40:49
Message-Id: 1637660419.2c0fe66ea1d1e9ad67ec94381c701e9a9a79caf0.flow@gentoo
1 commit: 2c0fe66ea1d1e9ad67ec94381c701e9a9a79caf0
2 Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re>
3 AuthorDate: Tue Nov 23 08:58:27 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 23 09:40:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c0fe66e
7
8 net-dns/knot: Drop olds
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Pierre-Olivier Mercier <nemunaire <AT> nemunai.re>
12 Closes: https://github.com/gentoo/gentoo/pull/23046
13 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
14
15 net-dns/knot/Manifest | 2 -
16 net-dns/knot/knot-3.1.1.ebuild | 106 -----------------------------------------
17 net-dns/knot/knot-3.1.2.ebuild | 106 -----------------------------------------
18 3 files changed, 214 deletions(-)
19
20 diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
21 index 458390affa2e..14f3e9d7e6a6 100644
22 --- a/net-dns/knot/Manifest
23 +++ b/net-dns/knot/Manifest
24 @@ -1,4 +1,2 @@
25 -DIST knot-3.1.1.tar.xz 1402352 BLAKE2B d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff SHA512 44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b
26 -DIST knot-3.1.2.tar.xz 1406684 BLAKE2B a849bf651357e462c5a0afb16e42bcd85bb310980c83b4c642bcf99ddfd17a59e5f5fd5f9fd58b21bcac2e287c57351b3b09cf3f4054ef51243b5226bf0bcc88 SHA512 e72f249f6291980cc69f90dca54cd8ba3ffbc617a1e69e441a48bdcbf46afb9fc202bbb1f88a93887fd264ddb59ad42ff6765c9bd0c1fa4789f035a902a3907a
27 DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23 SHA512 537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838
28 DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0 SHA512 307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060
29
30 diff --git a/net-dns/knot/knot-3.1.1.ebuild b/net-dns/knot/knot-3.1.1.ebuild
31 deleted file mode 100644
32 index b4082a371f4a..000000000000
33 --- a/net-dns/knot/knot-3.1.1.ebuild
34 +++ /dev/null
35 @@ -1,106 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -inherit flag-o-matic systemd
42 -
43 -DESCRIPTION="High-performance authoritative-only DNS server"
44 -HOMEPAGE="https://www.knot-dns.cz/"
45 -SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
46 -
47 -LICENSE="GPL-3"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~riscv ~x86"
50 -
51 -KNOT_MODULES=(
52 - "+cookies"
53 - "+dnsproxy"
54 - "dnstap"
55 - "geoip"
56 - "+noudp"
57 - "+onlinesign"
58 - "+queryacl"
59 - "+rrl"
60 - "+stats"
61 - "+synthrecord"
62 - "+whoami"
63 -)
64 -IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
65 -
66 -RDEPEND="
67 - acct-group/knot
68 - acct-user/knot
69 - dev-db/lmdb
70 - dev-libs/libedit
71 - dev-libs/userspace-rcu:=
72 - dev-python/lmdb
73 - net-libs/gnutls:=
74 - caps? ( sys-libs/libcap-ng )
75 - dnstap? (
76 - dev-libs/fstrm
77 - dev-libs/protobuf-c:=
78 - )
79 - geoip? ( dev-libs/libmaxminddb:= )
80 - idn? (
81 - !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
82 - libidn2? ( net-dns/libidn2:= )
83 - )
84 - systemd? ( sys-apps/systemd:= )
85 -"
86 -DEPEND="${RDEPEND}"
87 -BDEPEND="
88 - virtual/pkgconfig
89 - doc? ( dev-python/sphinx )
90 -"
91 -
92 -S="${WORKDIR}/${P/_/-}"
93 -
94 -src_configure() {
95 - local u
96 - local my_conf=(
97 - --with-storage="${EPREFIX}/var/lib/${PN}"
98 - --with-rundir="${EPREFIX}/var/run/${PN}"
99 - $(use_enable fastparser)
100 - $(use_enable dnstap)
101 - $(use_enable doc documentation)
102 - $(use_enable utils utilities)
103 - --enable-systemd=$(usex systemd)
104 - $(use_with idn libidn)
105 - )
106 -
107 - for u in "${KNOT_MODULES[@]#+}"; do
108 - my_conf+=("$(use_with ${u} module-${u})")
109 - done
110 -
111 - if use riscv; then
112 - append-libs -latomic
113 - fi
114 -
115 - econf "${my_conf[@]}"
116 -}
117 -
118 -src_compile() {
119 - default
120 -
121 - use doc && emake -C doc html
122 -}
123 -
124 -src_test() {
125 - emake check
126 -}
127 -
128 -src_install() {
129 - use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
130 -
131 - default
132 -
133 - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
134 -
135 - newinitd "${FILESDIR}/knot.init" knot
136 - if use systemd; then
137 - systemd_newunit "${FILESDIR}/knot-1.service" knot.service
138 - fi
139 -
140 - find "${D}" -name '*.la' -delete || die
141 -}
142
143 diff --git a/net-dns/knot/knot-3.1.2.ebuild b/net-dns/knot/knot-3.1.2.ebuild
144 deleted file mode 100644
145 index b4082a371f4a..000000000000
146 --- a/net-dns/knot/knot-3.1.2.ebuild
147 +++ /dev/null
148 @@ -1,106 +0,0 @@
149 -# Copyright 1999-2021 Gentoo Authors
150 -# Distributed under the terms of the GNU General Public License v2
151 -
152 -EAPI=7
153 -
154 -inherit flag-o-matic systemd
155 -
156 -DESCRIPTION="High-performance authoritative-only DNS server"
157 -HOMEPAGE="https://www.knot-dns.cz/"
158 -SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
159 -
160 -LICENSE="GPL-3"
161 -SLOT="0"
162 -KEYWORDS="~amd64 ~riscv ~x86"
163 -
164 -KNOT_MODULES=(
165 - "+cookies"
166 - "+dnsproxy"
167 - "dnstap"
168 - "geoip"
169 - "+noudp"
170 - "+onlinesign"
171 - "+queryacl"
172 - "+rrl"
173 - "+stats"
174 - "+synthrecord"
175 - "+whoami"
176 -)
177 -IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}"
178 -
179 -RDEPEND="
180 - acct-group/knot
181 - acct-user/knot
182 - dev-db/lmdb
183 - dev-libs/libedit
184 - dev-libs/userspace-rcu:=
185 - dev-python/lmdb
186 - net-libs/gnutls:=
187 - caps? ( sys-libs/libcap-ng )
188 - dnstap? (
189 - dev-libs/fstrm
190 - dev-libs/protobuf-c:=
191 - )
192 - geoip? ( dev-libs/libmaxminddb:= )
193 - idn? (
194 - !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
195 - libidn2? ( net-dns/libidn2:= )
196 - )
197 - systemd? ( sys-apps/systemd:= )
198 -"
199 -DEPEND="${RDEPEND}"
200 -BDEPEND="
201 - virtual/pkgconfig
202 - doc? ( dev-python/sphinx )
203 -"
204 -
205 -S="${WORKDIR}/${P/_/-}"
206 -
207 -src_configure() {
208 - local u
209 - local my_conf=(
210 - --with-storage="${EPREFIX}/var/lib/${PN}"
211 - --with-rundir="${EPREFIX}/var/run/${PN}"
212 - $(use_enable fastparser)
213 - $(use_enable dnstap)
214 - $(use_enable doc documentation)
215 - $(use_enable utils utilities)
216 - --enable-systemd=$(usex systemd)
217 - $(use_with idn libidn)
218 - )
219 -
220 - for u in "${KNOT_MODULES[@]#+}"; do
221 - my_conf+=("$(use_with ${u} module-${u})")
222 - done
223 -
224 - if use riscv; then
225 - append-libs -latomic
226 - fi
227 -
228 - econf "${my_conf[@]}"
229 -}
230 -
231 -src_compile() {
232 - default
233 -
234 - use doc && emake -C doc html
235 -}
236 -
237 -src_test() {
238 - emake check
239 -}
240 -
241 -src_install() {
242 - use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
243 -
244 - default
245 -
246 - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
247 -
248 - newinitd "${FILESDIR}/knot.init" knot
249 - if use systemd; then
250 - systemd_newunit "${FILESDIR}/knot-1.service" knot.service
251 - fi
252 -
253 - find "${D}" -name '*.la' -delete || die
254 -}