1 |
commit: a1ce290f619f32d7cf13552eaca6063cf6f16c54 |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Tue Nov 23 07:35:38 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=a1ce290f |
7 |
|
8 |
net-dns/knot: bump to 3.1.4 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/826366 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Pierre-Olivier Mercier <nemunaire <AT> nemunai.re> |
13 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
14 |
|
15 |
net-dns/knot/Manifest | 1 + |
16 |
net-dns/knot/knot-3.1.4.ebuild | 106 +++++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 107 insertions(+) |
18 |
|
19 |
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest |
20 |
index 6c122ea04df1..458390affa2e 100644 |
21 |
--- a/net-dns/knot/Manifest |
22 |
+++ b/net-dns/knot/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST knot-3.1.1.tar.xz 1402352 BLAKE2B d6f9d29de153b5bdea8a294ae3d65131a0bdcc339ecdc507a9e1429a9cc50752e91f14ea84a7446de76869c6f129d571e9b6b4f9b048618941c4f4c0d667dbff SHA512 44c2973025e752f73ebd6bc78dad5c48c1c1432b62ec3b6d75b5876af4dd21aeed94f78523ef85cd6a986ff27789143a0a67450819c0b75ffa627d06b98e1b0b |
25 |
DIST knot-3.1.2.tar.xz 1406684 BLAKE2B a849bf651357e462c5a0afb16e42bcd85bb310980c83b4c642bcf99ddfd17a59e5f5fd5f9fd58b21bcac2e287c57351b3b09cf3f4054ef51243b5226bf0bcc88 SHA512 e72f249f6291980cc69f90dca54cd8ba3ffbc617a1e69e441a48bdcbf46afb9fc202bbb1f88a93887fd264ddb59ad42ff6765c9bd0c1fa4789f035a902a3907a |
26 |
DIST knot-3.1.3.tar.xz 1407576 BLAKE2B 03cde89e32ac2440e721157db1af9b9cbb40ad2d8d813b0d8bc26fe1feb28f59055a3cbe287d50adb13f5190ce3ed532521189997d03b4fe9e4264f309032e23 SHA512 537013e914c3f00615a384c92da06c40bb33871e7dbd28e987280d62d91df42026774cfe0596ac72a218dafa650d8d600b1d831dd0a5c28a9fd796c5cd799838 |
27 |
+DIST knot-3.1.4.tar.xz 1408656 BLAKE2B 637371e5cc9aa0b880fda96d1d61f9e168cc96c244551b17381a1641a8b6ace7cac7ac6b7cf40fb2e86ac8f606be8d1342e548e5cadd64770610b2a5aa35f1f0 SHA512 307667a12b989fee443832d4642fc927231f38f0331439c8c7196c489d196245eca368d96a36fe49639b773f652f7cb80bf0c16bc1ad107e11b47b70e1f04060 |
28 |
|
29 |
diff --git a/net-dns/knot/knot-3.1.4.ebuild b/net-dns/knot/knot-3.1.4.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..4b7058faa52a |
32 |
--- /dev/null |
33 |
+++ b/net-dns/knot/knot-3.1.4.ebuild |
34 |
@@ -0,0 +1,106 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit flag-o-matic systemd |
41 |
+ |
42 |
+DESCRIPTION="High-performance authoritative-only DNS server" |
43 |
+HOMEPAGE="https://www.knot-dns.cz/" |
44 |
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~riscv ~x86" |
49 |
+ |
50 |
+KNOT_MODULES=( |
51 |
+ "+cookies" |
52 |
+ "+dnsproxy" |
53 |
+ "dnstap" |
54 |
+ "geoip" |
55 |
+ "+noudp" |
56 |
+ "+onlinesign" |
57 |
+ "+queryacl" |
58 |
+ "+rrl" |
59 |
+ "+stats" |
60 |
+ "+synthrecord" |
61 |
+ "+whoami" |
62 |
+) |
63 |
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}" |
64 |
+ |
65 |
+RDEPEND=" |
66 |
+ acct-group/knot |
67 |
+ acct-user/knot |
68 |
+ dev-db/lmdb |
69 |
+ dev-libs/libedit |
70 |
+ dev-libs/userspace-rcu:= |
71 |
+ dev-python/lmdb |
72 |
+ net-libs/gnutls:= |
73 |
+ caps? ( sys-libs/libcap-ng ) |
74 |
+ dnstap? ( |
75 |
+ dev-libs/fstrm |
76 |
+ dev-libs/protobuf-c:= |
77 |
+ ) |
78 |
+ geoip? ( dev-libs/libmaxminddb:= ) |
79 |
+ idn? ( |
80 |
+ !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) |
81 |
+ libidn2? ( net-dns/libidn2:= ) |
82 |
+ ) |
83 |
+ systemd? ( sys-apps/systemd:= ) |
84 |
+" |
85 |
+DEPEND="${RDEPEND}" |
86 |
+BDEPEND=" |
87 |
+ virtual/pkgconfig |
88 |
+ doc? ( dev-python/sphinx ) |
89 |
+" |
90 |
+ |
91 |
+S="${WORKDIR}/${P/_/-}" |
92 |
+ |
93 |
+src_configure() { |
94 |
+ local u |
95 |
+ local my_conf=( |
96 |
+ --with-storage="${EPREFIX}/var/lib/${PN}" |
97 |
+ --with-rundir="${EPREFIX}/var/run/${PN}" |
98 |
+ $(use_enable fastparser) |
99 |
+ $(use_enable dnstap) |
100 |
+ $(use_enable doc documentation) |
101 |
+ $(use_enable utils utilities) |
102 |
+ --enable-systemd=$(usex systemd) |
103 |
+ $(use_with idn libidn) |
104 |
+ ) |
105 |
+ |
106 |
+ for u in "${KNOT_MODULES[@]#+}"; do |
107 |
+ my_conf+=("$(use_with ${u} module-${u})") |
108 |
+ done |
109 |
+ |
110 |
+ if use riscv; then |
111 |
+ append-libs -latomic |
112 |
+ fi |
113 |
+ |
114 |
+ econf "${my_conf[@]}" |
115 |
+} |
116 |
+ |
117 |
+src_compile() { |
118 |
+ default |
119 |
+ |
120 |
+ use doc && emake -C doc html |
121 |
+} |
122 |
+ |
123 |
+src_test() { |
124 |
+ emake check |
125 |
+} |
126 |
+ |
127 |
+src_install() { |
128 |
+ use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) |
129 |
+ |
130 |
+ default |
131 |
+ |
132 |
+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die |
133 |
+ |
134 |
+ newinitd "${FILESDIR}/knot.init" knot |
135 |
+ if use systemd; then |
136 |
+ systemd_newunit "${FILESDIR}/knot-1.service" knot.service |
137 |
+ fi |
138 |
+ |
139 |
+ find "${D}" -name '*.la' -delete || die |
140 |
+} |