logrotate (3.22.0-1) unstable; urgency=medium

  * New upstream version 3.22.0

  * d/tests/control: drop redundant Depends
  * d/control: bump to std version 4.7.0 (no further changes)
  * d/upstream/signing-key.asc: add key for new release
  * d/patches: cherry-pick upstream fixes:
    - test-avoid-locale-dependent-errno-string.patch:
      make testsuite reproducible
    - Adjust-file-limit.patch:
      silence GCC warning with LTO on 32bit
    - test-wait-for-bash-subprocesses.patch:
      wait for subprocesses in testsuite
  * d/copyright: drop comment

 -- Christian Göttsche <cgzones@googlemail.com>  Sun, 14 Jul 2024 18:30:23 +0200

logrotate (3.21.0-2) unstable; urgency=medium

  * d/control: bump to std version 4.6.2 (no further changes)
  * d/copyright: bump year
  * d/patches: set Forwarded header
  * debian: install systemd units via dh_installsystemd (Closes: #1059999)

 -- Christian Göttsche <cgzones@googlemail.com>  Thu, 04 Jan 2024 19:58:20 +0100

logrotate (3.21.0-1) unstable; urgency=medium

  * New upstream version 3.21.0 (Closes: #1015964)

  [ Marc Deslauriers ]
  * d/rules: fix sed syntax to not end up with a backup file (Closes: #1011771)

  [ Christian Göttsche ]
  * d/watch: rework after GitHub API change
  * d/s/lintian-overrides: update format

 -- Christian Göttsche <cgzones@googlemail.com>  Wed, 14 Dec 2022 19:16:50 +0100

logrotate (3.20.1-1) unstable; urgency=medium

  [ Jeremy Bicha ]
  * Use group adm on Ubuntu for rotating logs
  * debian/ubuntu-logrotate.conf: Update comment to /var/log/

  [ Christian Göttsche ]
  * New upstream version 3.20.1
    - fix potential DoS from unprivileged users via the state file
      (CVE-2022-1348)
  * d/patches: drop upstream applied one
  * d/control: bump to std version 4.6.1 (no further changes)
  * d/control: reduce mailx from Recommends to Suggests

 -- Christian Göttsche <cgzones@googlemail.com>  Thu, 26 May 2022 00:15:57 +0200

logrotate (3.19.0-2) unstable; urgency=medium

  * d/patches: cherry-pick commit skip locking /dev/null,
    should fix FTBFS on GNU/Hurd

 -- Christian Göttsche <cgzones@googlemail.com>  Sun, 30 Jan 2022 16:15:24 +0100

logrotate (3.19.0-1) unstable; urgency=medium

  * New upstream version 3.19.0
    - More strict configuration parser, e.g. invalid lines are no longer
      accepted (Closes: #1002022)
    - Files with multiple hard links are no longer rotated by default

  * d/rules: enable LTO
  * d/copyright: update years and upstream names
  * d/control: bump to std version 4.6.0 (no further changes)
  * d/patches: add patch to drop ELF header from test case file

 -- Christian Göttsche <cgzones@googlemail.com>  Fri, 07 Jan 2022 19:14:25 +0100

logrotate (3.18.1-2) unstable; urgency=medium

   * Upload to unstable

 -- Christian Göttsche <cgzones@googlemail.com>  Mon, 16 Aug 2021 17:25:02 +0200

logrotate (3.18.1-1) experimental; urgency=medium

  * New upstream version 3.18.1 (Closes: #987242)

  * d/patches: drop upstream applied ones

 -- Christian Göttsche <cgzones@googlemail.com>  Sat, 22 May 2021 18:04:29 +0200

logrotate (3.18.0-2) unstable; urgency=medium

  * d/patches: cherry-pick relevant commits for Bullseye
    - improve support for running as unprivileged user
      + Open files we want to compress as read-only.
      + Only attempt to set user/group if running as root.
    - documentation updates
      + logrotate.8: make the /var/log/news example consistent
      + Fix a typo in the example logrotate.conf
  * debian: refactor usage of configuration file
    No actual changes in default configuration.

 -- Christian Göttsche <cgzones@googlemail.com>  Sun, 28 Feb 2021 17:37:19 +0100

logrotate (3.18.0-1) unstable; urgency=medium

  * New upstream version 3.18.0

  * d/patches: drop all upstream applied patches
  * d/copyright: update years
  * d/control: bump to std version 4.5.1 (no further changes)

 -- Christian Göttsche <cgzones@googlemail.com>  Fri, 08 Jan 2021 10:06:25 +0100

logrotate (3.17.0-2) unstable; urgency=medium

  * d/patches: imported upstream applied patches
    - add support for Zstandard compressed files
    - configure: add -Wmissing-prototypes to default compiler warnings
    - Add fallback to resolve uids and gids numerically
      (Closes: #415857)
    - travis: add FreeBSD jobs
      (Makes the testsuite succeed on BSD platforms)
    - Use Bourne Shell for test scripts
    - Avoid mode conversion warning in readModeUidGid
      (Fixes FTBFS on kfreebsd)
  * d/rules: do not disable tests on non-linux platforms

 -- Christian Göttsche <cgzones@googlemail.com>  Mon, 02 Nov 2020 17:44:14 +0100

logrotate (3.17.0-1) unstable; urgency=medium

  * New upstream version 3.17.0 (Closes: #945097, #966016)

  * debian:
    - bump to debhelper compat level 13
    - wrap-and-sort
  * d/rules:
    - drop custom cleanup
  * d/patches:
    - rebase and drop applied ones
    - drop patch disabling test 70
    - move debian specific patch to subdir
    - cherry-pick upstream commits:
      + use getenv() on macOS and BSD
      + logrotate.service: harden with ProtectHostname
      + tests: always run logrotate in verbose mode
      + test-0070: set log modification time to current date
      + make `delaycompress` not to fail with `rotate 0`
  * d/logrotate.preinst: drop ancient maintainer script about old state file
    paths
  * d/control: add acl package to build-dependencies to run ACL unit tests
    on Linux
  * d/copyright: update years

 -- Christian Göttsche <cgzones@googlemail.com>  Thu, 17 Sep 2020 19:37:27 +0200

logrotate (3.16.0-3) unstable; urgency=medium

  * d/patches: cherry-pick upstream switch-user fixes
    - When using configuration directive su, accept staying as user root.
      In particular restore mailman's usage of 'su root list'.
    - Reset user/group when error returning early in rotateLogSet().

 -- Christian Göttsche <cgzones@googlemail.com>  Wed, 08 Apr 2020 20:04:29 +0200

logrotate (3.16.0-2) unstable; urgency=medium

  * d/patches:
    - add upstream commit to silence unused parameter warning in
      acl disabled build
      Should fix FTBFS on architectures without acl
    - add upstream commit to enable systemd hardening option ProtectClock

 -- Christian Göttsche <cgzones@googlemail.com>  Tue, 17 Mar 2020 12:14:13 +0100

logrotate (3.16.0-1) unstable; urgency=medium

  [ Debian Janitor ]
  * Drop no longer supported add-log-mailing-address setting from
    debian/changelog.
  * Add missing colon in closes line.
  * Remove obsolete fields Name from debian/upstream/metadata.

  [ Christian Göttsche ]
  * New upstream version 3.16.0 (Closes: #915301)

  * d/patches: rebase and drop upstream applied ones
    - add new directive ProtectKernelLogs
    - drop NoNewPrivileges, which is actually not implied and
      might be needed for third party rotate scripts
  * d/copyright: add extra sections
    - add section for queue.h licensed under BSD-3-Clause
    - add section for build-aux/git-version-gen licensed under GPL-3+
  * d/control: bump to std version 4.5.0 (no further changes)
  * d/rules: fail on compiler warnings

 -- Christian Göttsche <cgzones@googlemail.com>  Sat, 29 Feb 2020 20:00:32 +0100

logrotate (3.15.1-2) unstable; urgency=medium

  * d/control: drop postgresql-common break
  * d/copyright: update for 2019
  * d/salsa-ci.yml: add standard salsa-ci configuration
  * d/tests: add additional small test script
  * d/patches: add testsuite patches to pass reprotest on salsa-ci
  * d/patches: tighten systemd service hardening
  * d/control: bump to std version 4.4.1 (no further changes)
  * d/source/lintian-overrides: ignore package-does-not-install-examples

 -- Christian Göttsche <cgzones@googlemail.com>  Tue, 12 Nov 2019 15:24:39 +0100

logrotate (3.15.1-1) unstable; urgency=medium

  [ Ondřej Nový ]
  * d/changelog: Remove trailing whitespaces

  [ Christian Göttsche ]
  * New upstream version 3.15.1

  * d/patches: rebase and drop upstream applied ones
  * d/patches: add spelling fix
  * d/control: bump to std version 4.4.0 (no further changes)
  * debian: Switch to debhelper compat level 12 (no further changes)

 -- Christian Göttsche <cgzones@googlemail.com>  Fri, 30 Aug 2019 20:37:13 +0200

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog logrotate`.
