crowdsec.git
4 years agoDisable geoip-enrich in the hub files
Cyril Brulebois [Fri, 22 Jan 2021 14:35:42 +0000 (14:35 +0000)]
Disable geoip-enrich in the hub files

It would download GeoLite2*.mmdb files from the network. Let users
enable the hub by themselves if they want to use it.

Gbp-Pq: Name 0004-disable-geoip-enrich.patch

4 years agoAdjust systemd unit
Cyril Brulebois [Fri, 22 Jan 2021 13:25:54 +0000 (13:25 +0000)]
Adjust systemd unit

 - Drop PIDFile (that uses an obsolete path, and doesn't seem to be
   used at all).
 - Adjust paths for the packaged crowdsec binary (/usr/bin).
 - Drop commented out ExecStartPost entirely.
 - Drop syslog.target dependency, it's socket-activated (thanks to the
   systemd-service-file-refers-to-obsolete-target lintian tag).
 - Ensure both local and online API credentials have been defined.

Gbp-Pq: Name 0003-adjust-systemd-unit.patch

4 years agoUse _foreign_keys=1 instead of _fk=1
Cyril Brulebois [Fri, 8 Jan 2021 17:27:15 +0000 (17:27 +0000)]
Use _foreign_keys=1 instead of _fk=1

The _foreign_keys=1 syntax is widely supported but the _fk=1 alias for
it was only added in version 1.8.0 of the sqlite3 driver. Avoid using
the alias for the time being (the freeze is near).

Gbp-Pq: Name 0002-add-compatibility-for-older-sqlite-driver.patch

4 years agoUse local machineid implementation
Cyril Brulebois [Thu, 7 Jan 2021 17:07:12 +0000 (17:07 +0000)]
Use local machineid implementation

Let's avoid a dependency on an extra package (denisbrodbeck/machineid),
since its ID() function is mostly about trying to read from two files.

Signed-off-by: Manuel Sabban <manuel@crowdsec.net>
Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Gbp-Pq: Name 0001-use-a-local-machineid-implementation.patch

4 years agocrowdsec (1.0.9-2) unstable; urgency=medium
Cyril Brulebois [Mon, 3 May 2021 07:29:06 +0000 (08:29 +0100)]
crowdsec (1.0.9-2) unstable; urgency=medium

  * Backport hub patch from upstream to fix false positives due to
    substring matches (https://github.com/crowdsecurity/hub/pull/197):
     + 0009-Improve-http-bad-user-agent-use-regexp-197.patch

[dgit import unpatched crowdsec 1.0.9-2]

4 years agoImport crowdsec_1.0.9-2.debian.tar.xz
Cyril Brulebois [Mon, 3 May 2021 07:29:06 +0000 (08:29 +0100)]
Import crowdsec_1.0.9-2.debian.tar.xz

[dgit import tarball crowdsec 1.0.9-2 crowdsec_1.0.9-2.debian.tar.xz]

4 years agoImport crowdsec_1.0.9.orig.tar.gz
Cyril Brulebois [Mon, 15 Mar 2021 00:19:43 +0000 (00:19 +0000)]
Import crowdsec_1.0.9.orig.tar.gz

[dgit import orig crowdsec_1.0.9.orig.tar.gz]

4 years agoImport crowdsec_1.0.9.orig-data1.tar.gz
Cyril Brulebois [Mon, 15 Mar 2021 00:19:43 +0000 (00:19 +0000)]
Import crowdsec_1.0.9.orig-data1.tar.gz

[dgit import orig crowdsec_1.0.9.orig-data1.tar.gz]

4 years agoImport crowdsec_1.0.9.orig-hub1.tar.gz
Cyril Brulebois [Mon, 15 Mar 2021 00:19:43 +0000 (00:19 +0000)]
Import crowdsec_1.0.9.orig-hub1.tar.gz

[dgit import orig crowdsec_1.0.9.orig-hub1.tar.gz]