crowdsec: update to 1.4.6
authorS. Brusch <ne20002@gmx.ch>
Sat, 25 Feb 2023 16:53:18 +0000 (17:53 +0100)
committerTianling Shen <cnsztl@gmail.com>
Sat, 11 Mar 2023 05:00:02 +0000 (13:00 +0800)
Update crowdsec to latest upstream release version 1.4.6

Signed-off-by: S. Brusch <ne20002@gmx.ch>
Maintainer: Kerma GĂ©rald <gandalf@gk2.net>
Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.3

net/crowdsec/Makefile
net/crowdsec/patches/001-fix_config_data_dir.patch

index 85dd27f67d069a0c2b28669cd07daba13ca3be55..d3b235996ab694f0ab6c80cf4bd59020f2dac873 100644 (file)
@@ -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
index 9ab65ae2a4234d1b942597d11666c0cef12dce77..2ab10e1d852588ffda567191efb283a22ddb993a 100644 (file)
@@ -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: