mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -1,4 +1,5 @@
|
|||||||
usr/bin/kdig
|
usr/bin/kdig
|
||||||
|
usr/bin/kxdpgun
|
||||||
#usr/lib/libcontrib.a
|
#usr/lib/libcontrib.a
|
||||||
#usr/lib/libcontrib.la
|
#usr/lib/libcontrib.la
|
||||||
#usr/lib/libdnssec.la
|
#usr/lib/libdnssec.la
|
||||||
|
|||||||
9
lfs/knot
9
lfs/knot
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 3.3.8
|
VER = 3.4.7
|
||||||
|
|
||||||
THISAPP = knot-$(VER)
|
THISAPP = knot-$(VER)
|
||||||
DL_FILE = $(THISAPP).tar.xz
|
DL_FILE = $(THISAPP).tar.xz
|
||||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_BLAKE2 = a51e756f34d8641b2bc8ce32cb37c68c19ce1b5e13e981647e165634644ee005bb0a31b869148d50b3cd0a040f6952857df726e8ff67c5a46204270fa02396c5
|
$(DL_FILE)_BLAKE2 = 31e0d939847a1fb7538eed371b4e9a4d8dcfb45b9df996fa13b083a6ec32550fc5d90fc528eb43b20a4effbed06353abd0238da3a04fdf48f5139a22d1eced35
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
|
|
||||||
@@ -76,13 +76,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
cd $(DIR_APP) && ./configure \
|
cd $(DIR_APP) && ./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-static=no \
|
--enable-static=no \
|
||||||
|
--enable-xdp=yes \
|
||||||
--disable-fastparser \
|
--disable-fastparser \
|
||||||
--disable-daemon \
|
--disable-daemon \
|
||||||
--disable-modules \
|
--disable-modules \
|
||||||
--enable-maxminddb=no \
|
--enable-maxminddb=no \
|
||||||
--disable-documentation
|
--disable-documentation
|
||||||
cd $(DIR_APP)/src && make $(MAKETUNING) kdig
|
cd $(DIR_APP)/src && make $(MAKETUNING) kdig kxdpgun
|
||||||
cd $(DIR_APP)/src/.libs && cp -av kdig /usr/bin
|
cd $(DIR_APP)/src/.libs && cp -av kdig kxdpgun /usr/bin
|
||||||
cd $(DIR_APP)/src/.libs && cp -av lib* /usr/lib
|
cd $(DIR_APP)/src/.libs && cp -av lib* /usr/lib
|
||||||
@rm -rf $(DIR_APP)
|
@rm -rf $(DIR_APP)
|
||||||
@$(POSTBUILD)
|
@$(POSTBUILD)
|
||||||
|
|||||||
Reference in New Issue
Block a user