Сравнение knot-3.4.10 с knot-3.5.3

/usr/portage/net-dns/knot/knot-3.5.3.ebuild 2026-03-17 11:46:09.025970003 +0300
4 4
EAPI=8
5 5

  
6 6
PYTHON_COMPAT=( python3_{11..14} )
7
inherit autotools python-r1 systemd tmpfiles verify-sig
7
inherit autotools eapi9-ver python-r1 systemd tmpfiles verify-sig
8 8

  
9 9
# subslot: libknot major.libdnssec major.libzscanner major
10
KNOT_SUBSLOT="15.9.4"
10
KNOT_SUBSLOT="16.10.5"
11 11

  
12 12
DESCRIPTION="High-performance authoritative-only DNS server"
13 13
HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns"
......
16 16
	!doc? ( https://raw.githubusercontent.com/PPN-SD/gentoo-manpages/refs/tags/${P}/${P}-manpages.tar.xz )
17 17
	verify-sig? ( https://knot-dns.nic.cz/release/${P}.tar.xz.asc )
18 18
"
19
LICENSE="GPL-3+"
19
LICENSE="GPL-2+"
20 20
SLOT="0/${KNOT_SUBSLOT}"
21
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
21
KEYWORDS="amd64 ~arm64 ~riscv x86"
22 22

  
23 23
# Modules without dep. Built unconditionally.
24 24
KNOT_MODULES=(
......
39 39
	"geoip"
40 40
)
41 41

  
42
IUSE="caps +daemon dbus doc doh +fastparser +idn pkcs11 prometheus python quic selinux systemd test +utils xdp ${KNOT_MODULES_OPT[@]}"
42
IUSE="caps +daemon dbus doc doh +fastparser +idn pkcs11 prometheus python quic redis selinux systemd test +utils xdp ${KNOT_MODULES_OPT[@]}"
43 43
RESTRICT="!test? ( test )"
44 44
REQUIRED_USE="
45 45
	prometheus? ( python )
......
64 64
		caps? ( sys-libs/libcap-ng )
65 65
		dbus? ( sys-apps/dbus )
66 66
		geoip? ( dev-libs/libmaxminddb:= )
67
		redis? ( >=dev-libs/hiredis-1.1.0:= )
67 68
		systemd? ( sys-apps/systemd:= )
68 69
	)
69 70
	prometheus? (
......
87 88
DEPEND="${RDEPEND}"
88 89
BDEPEND="
89 90
	virtual/pkgconfig
91
	dnstap? (
92
		dev-libs/protobuf[protoc(+)]
93
		dev-libs/protobuf-c
94
	)
90 95
	doc? (
91 96
		$(python_gen_any_dep '
92 97
			dev-python/sphinx[${PYTHON_USEDEP}]
93 98
			dev-python/sphinx-panels[${PYTHON_USEDEP}]
94 99
		')
95 100
	)
96
	dnstap? (
97
		dev-libs/protobuf[protoc(+)]
98
		dev-libs/protobuf-c
99
	)
100 101
	python? ( ${PYTHON_DEPS} )
101 102
	test? (
102 103
		pkcs11? ( dev-libs/softhsm )
......
104 105
	verify-sig? ( sec-keys/openpgp-keys-knot )
105 106
"
106 107

  
107
PATCHES=(
108
	# PR 1830 merged
109
	"${FILESDIR}"/${PN}-3.5.2-fix_automagic_pkcs11.patch
110
)
111

  
112 108
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.asc
113 109

  
114 110
# Used to check cpuset_t in sched.h with NetBSD.
......
157 153
		$(use_with idn libidn)
158 154
		$(use_enable pkcs11)
159 155
		$(use_enable quic)
156
		$(use_enable redis redis $(usex daemon client))
160 157
		$(use_enable systemd)
161 158
		$(use_enable utils utilities)
162 159
		$(use_enable xdp)
......
232 229

  
233 230
pkg_postinst() {
234 231
	use daemon && tmpfiles_process ${PN}.conf
232

  
233
	if has_version net-dns/redis-knot || use redis; then
234
		ewarn "To use redis, ${EPREFIX}/usr/$(get_libdir)/knot/redis/knot.so from net-dns/redis-knot"
235
		ewarn "must be loaded by an instance of Redis."
236
	fi
237

  
238
	if ver_replacing -lt 3.5; then
239
		elog "See documentation for migration:"
240
		elog "https://www.knot-dns.cz/docs/3.5/html/migration.html#upgrade-3-4-x-to-3-5-x"
241
	fi
235 242
}
Спасибо!