knot: upgrade to 3.4.7

enable XDP and add kxdpgun utility for dnsdist AF_XDP performance
test [0]

[0]: https://www.dnsdist.org/advanced/xsk.html

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2025-06-23 22:05:06 -07:00
parent 59e389cbfe
commit 9d20e54edc
2 changed files with 6 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
usr/bin/kdig
usr/bin/kxdpgun
#usr/lib/libcontrib.a
#usr/lib/libcontrib.la
#usr/lib/libdnssec.la

View File

@@ -24,7 +24,7 @@
include Config
VER = 3.3.8
VER = 3.4.7
THISAPP = knot-$(VER)
DL_FILE = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = a51e756f34d8641b2bc8ce32cb37c68c19ce1b5e13e981647e165634644ee005bb0a31b869148d50b3cd0a040f6952857df726e8ff67c5a46204270fa02396c5
$(DL_FILE)_BLAKE2 = 31e0d939847a1fb7538eed371b4e9a4d8dcfb45b9df996fa13b083a6ec32550fc5d90fc528eb43b20a4effbed06353abd0238da3a04fdf48f5139a22d1eced35
install : $(TARGET)
@@ -76,13 +76,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--enable-static=no \
--enable-xdp=yes \
--disable-fastparser \
--disable-daemon \
--disable-modules \
--enable-maxminddb=no \
--disable-documentation
cd $(DIR_APP)/src && make $(MAKETUNING) kdig
cd $(DIR_APP)/src/.libs && cp -av kdig /usr/bin
cd $(DIR_APP)/src && make $(MAKETUNING) kdig kxdpgun
cd $(DIR_APP)/src/.libs && cp -av kdig kxdpgun /usr/bin
cd $(DIR_APP)/src/.libs && cp -av lib* /usr/lib
@rm -rf $(DIR_APP)
@$(POSTBUILD)