summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Cyril Brulebois [Wed, 15 Feb 2023 09:55:43 +0000 (10:55 +0100)]
Skip flakky tests
Both aim at checking performance, and might error out when the underlying
system is “slow”. That was the case for the first test on arm64 (KO on
arm-arm-01, OK on arm-ubc-03) and on armel (KO on arm-ubc-06, OK on
arm-conova-02), and for the second test on mipsel (KO on mipsel-aql-02).
The same might happen on ci.debian.net, so disable both tests everywhere.
Gbp-Pq: Name 0013-skip-flakky-tests.patch
Cyril Brulebois [Mon, 13 Feb 2023 16:28:35 +0000 (17:28 +0100)]
Work around buggy test.
This test expects a year-less timestamp to be understood as being from
the current year. Except we're next year already!
Bump the expected year for the time being.
Gbp-Pq: Name 0012-work-around-buggy-testparse-test.patch
Manuel Sabban [Fri, 25 Nov 2022 07:34:47 +0000 (08:34 +0100)]
Refresh code generated from protobuf specifications
Without this patch, crowdsec would build fine but would fail in its testsuite,
reaching the 10-minute timeout. This was tracked down to unexpected csplugins
crashes, due to mismatched protobuf versions.
This issue would go away with golang-goprotobuf-dev 1.5.2-1~exp1 (as found in
experimental for a while) instead of 1.3.5-2 (in unstable as of November 2022).
Since protobuf's build-time and run-time are particularly tricky to get right,
incompatible 1.3.x and 1.5.x versions are packaged separately and aren't
co-installable. Since most packages depend on the 1.3.x version, it's not
possible to pull the 1.5.x version to avoid this issue.
Therefore, upstream was kind enough to come up with this patch, refreshing the
generated code so that it works fine within unstable.
Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Gbp-Pq: Name 0011-refresh-protobuf-code.patch
Cyril Brulebois [Wed, 15 Feb 2023 10:03:10 +0000 (10:03 +0000)]
disable-some-tests
Gbp-Pq: Name 0010-disable-some-tests.patch
Cyril Brulebois [Wed, 15 Feb 2023 10:03:10 +0000 (10:03 +0000)]
disable-kafka-acquisition-module
Gbp-Pq: Name 0009-disable-kafka-acquisition-module.patch
Cyril Brulebois [Wed, 15 Feb 2023 10:03:10 +0000 (10:03 +0000)]
r3labs-diff-versions
Gbp-Pq: Name 0008-r3labs-diff-versions.patch
Cyril Brulebois [Mon, 1 Mar 2021 20:40:04 +0000 (20:40 +0000)]
Automatically enable the online hub
By default, crowdsec comes with an offline copy of the hub (see
README.Debian). When running `cscli hub update`, ensure switching from
this offline copy to the online hub.
To ensure cscli doesn't disable anything that was configured (due to
symlinks from /etc/crowdsec becoming dangling all of a sudden), copy the
offline hub in the live directory (/var/lib/crowdsec/hub), and let
further operations (`cscli hub upgrade`, or `cscli <type> install`)
update the live directory as required.
Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Gbp-Pq: Name 0007-automatically-enable-online-hub.patch
Cyril Brulebois [Mon, 1 Mar 2021 14:11:36 +0000 (14:11 +0000)]
Adjust default config
Let's have all hub-related data under /var/lib/crowdsec/hub instead of
the default /etc/crowdsec/hub directory.
Also fix plugin directory.
Also delete pid_dir, which would otherwise generate this at runtime:
Deprecation warning: the pid_dir config can be safely removed and is not required
Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Gbp-Pq: Name 0005-adjust-config.patch
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
Cyril Brulebois [Fri, 22 Jan 2021 13:25:54 +0000 (13:25 +0000)]
Adjust systemd unit
- 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
Cyril Brulebois [Wed, 15 Feb 2023 10:03:10 +0000 (10:03 +0000)]
crowdsec (1.4.2-3) unstable; urgency=medium
* Really fix FTBFS with -A, by really adjusting the override.
* Add patch:
- 0013-skip-flakky-tests.patch: this should avoid build failures, and
probably autopkgtest failures on “slow systems” (arm*, mips*).
[dgit import unpatched crowdsec 1.4.2-3]
Cyril Brulebois [Wed, 15 Feb 2023 10:03:10 +0000 (10:03 +0000)]
Import crowdsec_1.4.2-3.debian.tar.xz
[dgit import tarball crowdsec 1.4.2-3 crowdsec_1.4.2-3.debian.tar.xz]
Cyril Brulebois [Tue, 14 Feb 2023 22:32:27 +0000 (22:32 +0000)]
Import crowdsec_1.4.2.orig.tar.gz
[dgit import orig crowdsec_1.4.2.orig.tar.gz]
Cyril Brulebois [Tue, 14 Feb 2023 22:32:27 +0000 (22:32 +0000)]
Import crowdsec_1.4.2.orig-data1.tar.gz
[dgit import orig crowdsec_1.4.2.orig-data1.tar.gz]
Cyril Brulebois [Tue, 14 Feb 2023 22:32:27 +0000 (22:32 +0000)]
Import crowdsec_1.4.2.orig-hub1.tar.gz
[dgit import orig crowdsec_1.4.2.orig-hub1.tar.gz]