From d285f0ab4ab38d4ea1cd0757a465db5f06764e06 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Dec 2024 02:07:39 +0000 Subject: gentoo auto-resync : 06:12:2024 - 02:07:38 --- net-dns/knot/Manifest | 2 +- net-dns/knot/knot-3.2.9-r1.ebuild | 122 ++++++++++++++++++++++++++++++++++++++ net-dns/knot/knot-3.2.9.ebuild | 121 ------------------------------------- 3 files changed, 123 insertions(+), 122 deletions(-) create mode 100644 net-dns/knot/knot-3.2.9-r1.ebuild delete mode 100644 net-dns/knot/knot-3.2.9.ebuild (limited to 'net-dns/knot') diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest index 5b24d0dbdeda..5a2aee9f00ed 100644 --- a/net-dns/knot/Manifest +++ b/net-dns/knot/Manifest @@ -8,7 +8,7 @@ DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 185567dc883f946570fe60cd7d01d96162c5f13ac DIST knot-3.2.9.tar.xz 1642600 BLAKE2B 2c81b2afa96c6077778c3458b2ddeeb8b47ea99607ba755a904278f9755a32171738418ea442b1e6b4afcebe0db2c86e68845d38f8e78342b8354411d1e34af8 SHA512 baf8da222e38198c85fa62e45e71b29ddac7c90433b811710ace1e0395e6e7b5d63547ce8f3a62792ee11259ec2e36d6ddd8fff999416f9171671444a95086cf DIST knot-3.4.2.tar.xz 1632976 BLAKE2B 0b633b27b22665db243bc4222f05028a17ee7ec6ba5960ff1cfe503d27bf3d26218f771cb15b70bbf8782898bcc7748bd5c27d55747607a1d93f784cdadddad7 SHA512 d5353fdd51224e20a8009aea7df6fe7503a726756c82041b770d8e90cae00b38ede7ecb2f31178ccb9f472a98b86f90208d4627fa4aaaf3c0383272b451e3015 EBUILD knot-3.2.2.ebuild 2351 BLAKE2B 456d0058996844d267484c81541b35d55d48c4451c23762abb98b378f73f6371f66f2dae327fc98d1f648779b784cdcf796d4edb1bae86a9578103c59f5b0c86 SHA512 f07e0ef6885cc8ee60dfcf8a3b064bd7edb81d2f4b7d236f7fecba3ff3292cbdb3f2f2d9fa42ad45da0fc2f5f5142feda4cae40ca0dc0b0954a91db3fb2064f9 -EBUILD knot-3.2.9.ebuild 2362 BLAKE2B f60e095c8213bbdc2e074ee42de0e2e337676c25130659352a76e1778b548358c3774513fbd9fbc3d43e3979add8fde4348653a8b81f1df1b1d37e719f960f23 SHA512 fb5dd093c85ce7cb8e85532f2a634d9d0492ed4ef290ccf46af97ee40f6f2d4d0a9ec5dfa06509bdfc0431b45a08c30be20ac96a4e836b8e6de19b58119e296c +EBUILD knot-3.2.9-r1.ebuild 2387 BLAKE2B b4b7a9a409830e548d4996d350e1958728d2800901fffd1db2a151ced90b79871121ba3c03f9995b967cb069a570d7bcf61e6986406725ff2a9bd568316655a1 SHA512 4c23c2882b13667e9a4ad6d26668abaecb01130853242e705c08e039da59ff10351b8d4262cec2709ca15052fb32fd3b8d0f04103f58cb0dc457fe7654992445 EBUILD knot-3.4.2-r1.ebuild 3389 BLAKE2B 8a77bf8c9cb1df14a5f658800e53bfe00c5a91e2d569f28b841bb8b54ae49f3d95913da25869c364bb3da1fc4f38244e5ef8239d90d1a6f336a06f7abd8239bf SHA512 993749bc3d5fac36e43560a272134a27adb45a56e6335b4143c25eb17774b55866fa9e1b487efcad131992bde7e751ddcdacf3448ebf059b64e00c2b53121044 EBUILD knot-3.4.2.ebuild 3348 BLAKE2B eb4d0fb6c91fc7ed0b9415e3c44c4ae0653c3063a24c21e91a7365334cdb88bf275f81e65fc90990b9689ab8ff9f76b290a12a60588ca973f98d2fb30b567b86 SHA512 5ba5bcc094d07831481e0453cbd6e511ea99560e71f717379d0f5b16a1efb4ce48e1aba8ec547a532224d00ec19696e1349810f827b776def8eccd4d0e39c4ba MISC metadata.xml 2358 BLAKE2B 49b224bac7b6828b759663e64d9f768afa7904ab5ad87fbc48a22c9e26a24e3ccec5306171a8ee6cdef32dfe1798cfd6257a8af62f42e70d5b9f487f44dab60b SHA512 a8d48af1366421e506b6117620916a775a3ebca50cdffdd40ee45429fc181aef3d70d5f0f8a99df09ea07babbe6c6c124a2716c71ffa09ec6806e0dc10d44ba4 diff --git a/net-dns/knot/knot-3.2.9-r1.ebuild b/net-dns/knot/knot-3.2.9-r1.ebuild new file mode 100644 index 000000000000..7a4b327e73e2 --- /dev/null +++ b/net-dns/knot/knot-3.2.9-r1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic systemd + +# subslot: libknot major.libdnssec major.libzscanner major +KNOT_SUBSLOT="13.9.4" + +DESCRIPTION="High-performance authoritative-only DNS server" +HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns" +SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" + +S="${WORKDIR}/${P/_/-}" + +LICENSE="GPL-3+" +SLOT="0/${KNOT_SUBSLOT}" +KEYWORDS="~amd64 ~riscv ~x86" + +KNOT_MODULES=( + "+cookies" + "+dnsproxy" + "dnstap" + "geoip" + "+noudp" + "+onlinesign" + "+queryacl" + "+rrl" + "+stats" + "+synthrecord" + "+whoami" +) +IUSE="doc caps doh +fastparser idn +libidn2 quic 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:= ) + ) + quic? ( >=net-libs/ngtcp2-0.13.1:=[gnutls] ) + systemd? ( sys-apps/systemd:= ) + xdp? ( + >=dev-libs/libbpf-1.0:= + net-libs/libmnl:= + net-libs/xdp-tools + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) +" + +src_configure() { + local u + local my_conf=( + --with-storage="${EPREFIX}/var/lib/${PN}" + --with-rundir="${EPREFIX}/var/run/${PN}" + $(use_enable caps cap_ng) + $(use_enable fastparser) + $(use_enable dnstap) + $(use_enable doc documentation) + $(use_enable quic) + $(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 +} diff --git a/net-dns/knot/knot-3.2.9.ebuild b/net-dns/knot/knot-3.2.9.ebuild deleted file mode 100644 index b668939ce738..000000000000 --- a/net-dns/knot/knot-3.2.9.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic systemd - -# subslot: libknot major.libdnssec major.libzscanner major -KNOT_SUBSLOT="13.9.4" - -DESCRIPTION="High-performance authoritative-only DNS server" -HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns" -SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" - -LICENSE="GPL-3+" -SLOT="0/${KNOT_SUBSLOT}" -KEYWORDS="~amd64 ~riscv ~x86" - -KNOT_MODULES=( - "+cookies" - "+dnsproxy" - "dnstap" - "geoip" - "+noudp" - "+onlinesign" - "+queryacl" - "+rrl" - "+stats" - "+synthrecord" - "+whoami" -) -IUSE="doc caps doh +fastparser idn +libidn2 quic 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:= ) - ) - quic? ( >=net-libs/ngtcp2-0.13.1:=[gnutls] ) - 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 caps cap_ng) - $(use_enable fastparser) - $(use_enable dnstap) - $(use_enable doc documentation) - $(use_enable quic) - $(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 -} -- cgit v1.2.3