From 4ee651287edee225ae6d1fedcc736a4fa1da714b Mon Sep 17 00:00:00 2001 From: "S. Brusch" Date: Sat, 25 Feb 2023 17:53:18 +0100 Subject: [PATCH] crowdsec: update to 1.4.6 Update crowdsec to latest upstream release version 1.4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: S. Brusch Maintainer: Kerma Gérald Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.3 --- net/crowdsec/Makefile | 6 +++--- net/crowdsec/patches/001-fix_config_data_dir.patch | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net/crowdsec/Makefile b/net/crowdsec/Makefile index 85dd27f67d..d3b235996a 100644 --- a/net/crowdsec/Makefile +++ b/net/crowdsec/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=crowdsec -PKG_VERSION:=1.3.0 -PKG_RELEASE:=$(AUTORELEASE) +PKG_VERSION:=1.4.6 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=b81419d9a1af500c16a02f052ac6af54253a621ee1575131dfae0f578426d816 +PKG_HASH:=acec1560593da78e37acbf44f2337a1e3026646ece00ab02eded78f71a2adda3 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/net/crowdsec/patches/001-fix_config_data_dir.patch b/net/crowdsec/patches/001-fix_config_data_dir.patch index 9ab65ae2a4..2ab10e1d85 100644 --- a/net/crowdsec/patches/001-fix_config_data_dir.patch +++ b/net/crowdsec/patches/001-fix_config_data_dir.patch @@ -1,6 +1,6 @@ --- a/config/config.yaml +++ b/config/config.yaml -@@ -7,7 +7,7 @@ common: +@@ -10,7 +10,7 @@ common: working_dir: . config_paths: config_dir: /etc/crowdsec/ @@ -9,12 +9,12 @@ simulation_path: /etc/crowdsec/simulation.yaml hub_dir: /etc/crowdsec/hub/ index_path: /etc/crowdsec/hub/.index.json -@@ -21,7 +21,7 @@ cscli: +@@ -26,7 +26,7 @@ cscli: db_config: log_level: info type: sqlite - db_path: /var/lib/crowdsec/data/crowdsec.db + db_path: /srv/crowdsec/data/crowdsec.db + #max_open_conns: 100 #user: #password: - #db_name: -- 2.30.2