From 8296242cd709d3646e8fd3dbe123ae1592a5d9c5 Mon Sep 17 00:00:00 2001 From: Andre Nathan Date: Thu, 26 Sep 2024 16:01:26 -0300 Subject: [PATCH 1/2] debian: remove logs older than (not exactly) one day old --- debian/gatekeeper.cron.daily | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/gatekeeper.cron.daily b/debian/gatekeeper.cron.daily index 2dc6371f..4c8b156a 100644 --- a/debian/gatekeeper.cron.daily +++ b/debian/gatekeeper.cron.daily @@ -4,5 +4,5 @@ -maxdepth 1 \ -type f \ -name gatekeeper_\*.log \ - -mtime 1 \ + -mtime +1 \ -delete From 1a2613f991c836519385aa3922b1bc217d559769 Mon Sep 17 00:00:00 2001 From: Andre Nathan Date: Thu, 26 Sep 2024 16:02:09 -0300 Subject: [PATCH 2/2] debian: updates for gatekeeper 1.2 --- debian/changelog | 6 ++++++ debian/control | 5 +++-- debian/rules | 8 ++++---- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1ce8a58a..3e663ccb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gatekeeper (1.2.0-0gatekeeper1) noble; urgency=medium + + * Rebuild for 1.2.0 + + -- Andre Nathan Tue, 26 Sep 2024 14:03:25 -0300 + gatekeeper (1.1.0-0gatekeeper1) focal; urgency=medium * Rebuild for 1.1.0 diff --git a/debian/control b/debian/control index 40afb670..47faac0a 100644 --- a/debian/control +++ b/debian/control @@ -15,7 +15,8 @@ Build-Depends: debhelper (>= 12), libmnl-dev, libnuma-dev, meson, - ninja-build + ninja-build, + python3-pyelftools Maintainer: Andre Nathan Standards-Version: 4.1.4 Vcs-Browser: https://github.com/AltraMayor/gatekeeper @@ -25,7 +26,7 @@ Package: gatekeeper Architecture: linux-any Depends: adduser, ucf, - dpdk-rte-kni-dkms, + python3, ${shlibs:Depends}, ${misc:Depends} Description: Open source DDoS protection system diff --git a/debian/rules b/debian/rules index a32753f9..0ee61277 100755 --- a/debian/rules +++ b/debian/rules @@ -26,10 +26,10 @@ build_luajit: cp "$(LUA_PATH)/libluajit.a" "$(LUA_PATH)/libluajit-5.1.a" build_dpdk: - cd dependencies/dpdk; \ - meson --prefix=$(DPDK_INSTALL_PATH) build; \ - cd build; \ - ninja; \ + cd dependencies/dpdk; \ + meson setup --prefix=$(DPDK_INSTALL_PATH) build; \ + cd build; \ + ninja; \ ninja install build_gatekeeper: build_luajit build_dpdk