crowdsec-custom-bouncer (0.0.15-3) unstable; urgency=medium * Fix failure to install if crowdsec is unpacked but not configured (Closes: #1035499): - If both cscli and /etc/crowdsec/config.yaml exist, register as previously, via `cscli bouncers add`. - If cscli exists but /etc/crowdsec/config.yaml doesn't, create an API key similarly to what cscli would do (32 hexadecimal digits), and queue registration in /var/lib/crowdsec/pending-registration. * Add ConditionPathExists=!/var/lib/crowdsec/pending-registration to the systemd unit accordingly, so that it's skipped until crowdsec's postinst deals with the pending-registration file, removes it, and starts the units. * Use mode 600 when creating crowdsec-custom-bouncer.yaml.local, since it contains an API key. -- Cyril Brulebois Wed, 31 May 2023 19:01:19 +0200 crowdsec-custom-bouncer (0.0.15-2) unstable; urgency=medium * Add patch to honor log-related settings (upstream PR #54): - 0001-Honor-log-related-settings.patch * Stop shipping a logrotate configuration snippet, as the bouncer rotates logs on its own via lumberjack.Logger, and that can be configured in /etc/crowdsec/bouncers/crowdsec-custom-bouncer.yaml (or the .local override): - Delete debian/crowdsec-custom-bouncer.logrotate - Tag /etc/logrotate.d/crowdsec-custom-bouncer remove-on-upgrade via debian/crowdsec-custom-bouncer.conffiles. * When purging the package, remove internally-rotated log files, in addition to removing main log file and the logrotate-generated ones. -- Cyril Brulebois Tue, 21 Mar 2023 01:02:17 +0100 crowdsec-custom-bouncer (0.0.15-1) unstable; urgency=medium * New upstream release. -- Cyril Brulebois Tue, 21 Feb 2023 14:54:26 +0100 crowdsec-custom-bouncer (0.0.14~rc1-1) unstable; urgency=medium * Initial release (Closes: #1025255). -- Cyril Brulebois Fri, 17 Feb 2023 21:03:00 +0100