mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/knot: drop 3.1.5, 3.1.9
Closes: https://github.com/gentoo/gentoo/pull/39065 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST knot-3.1.5.tar.xz 1414500 BLAKE2B c05fcd9e99d4c7dba03ad9fd9a1131ca4c2556d4911640ef929e68d4caea26ae69ddc61fa19f8c3c4f29efcd0c4c2e47593e86a0ac1826cc96c25f2fe4145bab SHA512 3a8cf04a2d65e04343a70009d43796ae00bf09e34348119b55ba70dac7deb7ff42906d88ef0e413d33dec28a952396a51781dee96727c0c2047b4c5ade54e6fa
|
||||
DIST knot-3.1.9.tar.xz 1441408 BLAKE2B 383829107bef6b35cbef3c531bc91050e7742ca930bf6645c25cab04203ee360837808c3b5342089ce9ba9ee704290ab95b2f76172577d251c6a9c18796245a0 SHA512 e4ba1c006edcde2dc820e74c39df7a8b8983dfb2d8b8845ac759c6c67dfaabc5aae38282995ed92879a683665c0c179502858631c89ad53c2738f79df951eef7
|
||||
DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae SHA512 29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f
|
||||
DIST knot-3.2.9.tar.xz 1642600 BLAKE2B 2c81b2afa96c6077778c3458b2ddeeb8b47ea99607ba755a904278f9755a32171738418ea442b1e6b4afcebe0db2c86e68845d38f8e78342b8354411d1e34af8 SHA512 baf8da222e38198c85fa62e45e71b29ddac7c90433b811710ace1e0395e6e7b5d63547ce8f3a62792ee11259ec2e36d6ddd8fff999416f9171671444a95086cf
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
[Unit]
|
||||
Description=Knot high-performance DNS Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/knotd
|
||||
ExecReload=/usr/sbin/knotc reload
|
||||
ExecStop=/usr/sbin/knotc stop
|
||||
PrivateTmp=true
|
||||
RuntimeDirectory=knot
|
||||
RuntimeDirectoryMode=750
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,108 +0,0 @@
|
||||
# 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/ https://gitlab.nic.cz/knot/knot-dns"
|
||||
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 +fastparser idn +libidn2 systemd +utils ${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:=
|
||||
)
|
||||
geoip? ( dev-libs/libmaxminddb:= )
|
||||
idn? (
|
||||
!libidn2? ( net-dns/libidn:0= !net-dns/libidn2 )
|
||||
libidn2? ( net-dns/libidn2:= )
|
||||
)
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
"
|
||||
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)
|
||||
--enable-systemd=$(usex systemd)
|
||||
$(use_with idn libidn)
|
||||
)
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,115 +0,0 @@
|
||||
# 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/ https://gitlab.nic.cz/knot/knot-dns"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user