summaryrefslogtreecommitdiff
path: root/net-dns/knot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-13 14:24:01 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-13 14:24:01 +0100
commitb392cbf078526e18db5d54ec37f9580be480fd48 (patch)
treef2f8f60717bb0fbe3df7452c2e0b1e0c192341d1 /net-dns/knot
parentcd40bc9ab405aca4e72f869db79d9d1ff77d8313 (diff)
gentoo auto-resync : 13:08:2022 - 14:24:01
Diffstat (limited to 'net-dns/knot')
-rw-r--r--net-dns/knot/Manifest2
-rw-r--r--net-dns/knot/knot-3.1.9.ebuild115
2 files changed, 117 insertions, 0 deletions
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest
index 73b048cba701..441e2aa0dc7e 100644
--- a/net-dns/knot/Manifest
+++ b/net-dns/knot/Manifest
@@ -4,7 +4,9 @@ AUX knot.service 275 BLAKE2B c39b50630a84cb20d33a02ad82c0fc0c994b098766af0cd3e11
DIST knot-3.1.5.tar.xz 1414500 BLAKE2B c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab SHA512 3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
DIST knot-3.1.7.tar.xz 1418944 BLAKE2B d0e5c999c1b4bca89b86ad956dd91643f795fcba94757e34c44e3e6b925030c332da9cb0bfd72d6ae0f32b3016a8c50d821cfcc513268682dd6b5715714d9047 SHA512 4b6982e8b44addbc77f42d0a1c435dd257cc8a8f112677c371d16063ee8e769b646a6425d54ef338cd21555f276d8d6f4faad2da2f24bf92437ce4af9ff1fb44
DIST knot-3.1.8.tar.xz 1439912 BLAKE2B bcc089d547a7cad8150e93d70da036273a60b0e740df9693bc38813c3d7ed1968b8f97ce4d32c2359ba509fdfcd8403e73eed1f0107d470e6cd4ba4e7012f96d SHA512 af72cbcc5b511dad148e7ce990819df00bdf99c110b44b3b521eddd8690a6ebd4c76c24e63d843956971d5f158bbfa851804616630d34f3a0ec06888c78ecf2c
+DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0 SHA512 e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
EBUILD knot-3.1.5.ebuild 1982 BLAKE2B 4ed81ba340aa7aaf970b60efbf443c3ed13664ec2cba99678620afe76c0947b9f720460641e6f1ed2e190d3a100b25dfb2d32819e75537256e922df760b89d0f SHA512 7631d193f56ce90ea8fe5f793a300f8b8efd8cecf0b21a835be60906a0ad34342333911b9bd4c20d24ccc5fb04e900a61970d7fd15446883f8745233703e9658
EBUILD knot-3.1.7.ebuild 2125 BLAKE2B fab1938925de8da6870ce8821593a66985de36650618575fe4367eb3d1e801fc5e7011796abcfcba3c87e8a87d629c75fd7f3afa2cb69387fc5b9711e8a7c824 SHA512 0a216dbca834d16cdf5a1d6b316e223ab920f9362facb5310f3f7c7c08bbc27de5f2db63705329acefd9063e33943d6eb295b4a822a77ca1523e27d4bc268b76
EBUILD knot-3.1.8.ebuild 2127 BLAKE2B 1053f84b2ec58e3baa6127a1f3fc1107572ff939a56b00fcba9ed80c3c1116ec8dc0296d3077afd5c267e21582e9c4fc7f2e999b339386bf83637b9a57d519b7 SHA512 62f813251824b28340a8e548aa394e81f64b3596e33b7fb9359594965c02b3dbb36ab29bf454815a96553e311706d4e9e888bf3633ff9d6dbe2453d64fe307ce
+EBUILD knot-3.1.9.ebuild 2127 BLAKE2B 1053f84b2ec58e3baa6127a1f3fc1107572ff939a56b00fcba9ed80c3c1116ec8dc0296d3077afd5c267e21582e9c4fc7f2e999b339386bf83637b9a57d519b7 SHA512 62f813251824b28340a8e548aa394e81f64b3596e33b7fb9359594965c02b3dbb36ab29bf454815a96553e311706d4e9e888bf3633ff9d6dbe2453d64fe307ce
MISC metadata.xml 1843 BLAKE2B c65bcd213f52e20388fd3ba6733ee9ae62c563b0d0ac6f58deb015d64355c2c90647d5b0b03c7ac5978caeb418da1a55f2e98125fe7fd5a20469e3351968bd1c SHA512 eb6c2a1252155c0a8fc21f1f24434a84de01e81a7b0e8f583c80f50ed198e57ddbc19aca33138771dd4c6bec133a3b19a5a95a7eb161e7f17f02cdc63fd62245
diff --git a/net-dns/knot/knot-3.1.9.ebuild b/net-dns/knot/knot-3.1.9.ebuild
new file mode 100644
index 000000000000..77cbe56a39d2
--- /dev/null
+++ b/net-dns/knot/knot-3.1.9.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic systemd
+
+DESCRIPTION="High-performance authoritative-only DNS server"
+HOMEPAGE="https://www.knot-dns.cz/"
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+KNOT_MODULES=(
+ "+cookies"
+ "+dnsproxy"
+ "dnstap"
+ "geoip"
+ "+noudp"
+ "+onlinesign"
+ "+queryacl"
+ "+rrl"
+ "+stats"
+ "+synthrecord"
+ "+whoami"
+)
+IUSE="doc caps doh +fastparser idn +libidn2 systemd +utils xdp ${KNOT_MODULES[@]}"
+
+RDEPEND="
+ acct-group/knot
+ acct-user/knot
+ dev-db/lmdb:=
+ dev-libs/libedit
+ dev-libs/userspace-rcu:=
+ dev-python/lmdb:=
+ net-libs/gnutls:=
+ caps? ( sys-libs/libcap-ng )
+ dnstap? (
+ dev-libs/fstrm
+ dev-libs/protobuf-c:=
+ )
+ doh? ( net-libs/nghttp2:= )
+ geoip? ( dev-libs/libmaxminddb:= )
+ idn? (
+ !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
+ libidn2? ( net-dns/libidn2:= )
+ )
+ systemd? ( sys-apps/systemd:= )
+ xdp? (
+ dev-libs/libbpf:=
+ net-libs/libmnl:=
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( dev-python/sphinx )
+"
+
+S="${WORKDIR}/${P/_/-}"
+
+src_configure() {
+ local u
+ local my_conf=(
+ --with-storage="${EPREFIX}/var/lib/${PN}"
+ --with-rundir="${EPREFIX}/var/run/${PN}"
+ $(use_enable fastparser)
+ $(use_enable dnstap)
+ $(use_enable doc documentation)
+ $(use_enable utils utilities)
+ $(use_enable xdp)
+ --enable-systemd=$(usex systemd)
+ $(use_with idn libidn)
+ $(use_with doh libnghttp2)
+ )
+
+ for u in "${KNOT_MODULES[@]#+}"; do
+ my_conf+=("$(use_with ${u} module-${u})")
+ done
+
+ if use riscv; then
+ append-libs -latomic
+ fi
+
+ econf "${my_conf[@]}"
+}
+
+src_compile() {
+ default
+
+ use doc && emake -C doc html
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} )
+
+ default
+
+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die
+
+ newinitd "${FILESDIR}/knot.init" knot
+ if use systemd; then
+ systemd_newunit "${FILESDIR}/knot-1.service" knot.service
+ fi
+
+ find "${D}" -name '*.la' -delete || die
+
+ keepdir /var/lib/knot
+}