dh-sysuser (2.0.1) experimental; urgency=medium

  * dh_sysuser: skip pkg when no minsysusers file is found
  * dh_sysuser: drop unused sub parse_options
  * dh_sysuser: bump internal version to 2.0.1

 -- Lorenzo Puliti <plorenzo@disroot.org>  Fri, 29 May 2026 17:39:16 +0200

dh-sysuser (2.0.0) experimental; urgency=medium

  * dh_sysuser: bump internal version to 2.0
  * sysuser-helper: become a systemd-sysusers provider
    - provide and conflicts with systemd-sysusers
    - ship a /usr/bin/systemd-sysusers link
    - use OR in injected dependency
  * minsysusers: install into /usr/bin (was in /usr/sbin)
  * drop deprecated native sysuser-helper format
  * simplify postinst-minsysusers code
  * sysuser-helper: update package description
  * lintian: override 'sysuser-helper: no-manual-page'
  * NEWS: removal of deprecated native sysuser format
  * bump Standards-Version to 4.7.4
     - d/control: drop Rules-Requires-Root: no
     - drop Priority optional field
  * d/copyright: update years (2026)

 -- Lorenzo Puliti <plorenzo@disroot.org>  Thu, 28 May 2026 22:28:52 +0200

dh-sysuser (1.6.0) unstable; urgency=medium

  * switch to sysusers.d format, deprecate our
     sysuser format (Closes: #981937)
  * update dh_sysuser manpage
  * update sequence, run after installsysusers
  * postinstall snippet: use minsysusers as fallback
  * NEWS for dh_sysuser
  * sysuser-helper:
   - add minsysusers fallback parser
   - add manpage for minsysuser
  * d/copyright: update
  * d/control: update package description

 -- Lorenzo Puliti <plorenzo@disroot.org>  Wed, 22 Jan 2025 19:32:31 +0100

dh-sysuser (1.5.0) unstable; urgency=medium

  * release 1.5 to unstable
  * drop 'really' from version, no longer needed
  * Stop using given/when (Closes: #1063819)
  * Add a compat layer with systemd sysusers.d (Closes: #1074286)
  * sysuser-helper:
     - move aliased files to /usr (Closes: #981941)
     - stop removing users on purge (Closes: #981918)
     - use adduser to create users (Closes: #981917)
  * update manpage
  * update copyright years
  * Add Provides: dh-sequence-sysuser
  * Bump Standards-Version to 4.7.0, no changes needed

 -- Lorenzo Puliti <plorenzo@disroot.org>  Thu, 27 Jun 2024 20:39:09 +0200

dh-sysuser (1.3.10+really1.4.4) experimental; urgency=medium

  * Fix typo in postrm snippet (Closes: #1032947)
  * update copyright years

 -- Lorenzo Puliti <plorenzo@disroot.org>  Tue, 28 Mar 2023 00:23:43 +0200

dh-sysuser (1.3.9+really1.4.3) unstable; urgency=medium

  * sysuser-helper: depends on passwd (Closes: #1031833)

 -- Lorenzo Puliti <plorenzo@disroot.org>  Sat, 25 Feb 2023 00:28:52 +0100

dh-sysuser (1.3.8+really1.4.2) unstable; urgency=medium

  * No longer impose a strictly minor version for
     sysuser-helper: it doesn't save the need for a
     transition in case of a major version bump and
     it also forces the use of +really in package version
  * bump Standards-Version to 4.6.2
  * dh_sysuser: declare our $VERSION

 -- Lorenzo Puliti <plorenzo@disroot.org>  Thu, 29 Dec 2022 15:39:58 +0100

dh-sysuser (1.3.7+really1.4.1) unstable; urgency=medium

  * Autopkgtest:
     - stop testing libvirt-dbus package;
     - temporary disable the purge test (Closes: #1001733)

 -- Lorenzo Puliti <plorenzo@disroot.org>  Sun, 02 Jan 2022 22:11:38 +0100

dh-sysuser (1.3.6+really1.4.0) unstable; urgency=medium

  * Bump Standards-Version to 4.6.0 (no changes required)
  * Update copyright year to 2021
  * Do not attempt to remove nonexistent home as it will
       cause postrm script failure
       + thanks to Andrea Bolognani <eof@kiyuko.org>
  * Fix user removal on purge (Closes: #1000478);
       the purge logic was wrongly placed in prerm, but
       purge is only performed in postrm
       + thanks to Andrea Bolognani <eof@kiyuko.org>
  * Run sysuser-helper in postrm only if it's installed;
       we need this check now because sysuser-helper
       may be not installed at postrm stage
  * Keep sysuser-helper backward-compatible with
       packages builded with dh-sysuser <=1.3.5.1
  * Relax constrains on future versions of sysuser-helper:
       the 'strictly minor' constrain over the next minor version
       makes upgrades problematic and is the reason for
       the '+really1.4.0' in this version. It makes more sense to
       impose such constrain on the next major (non-backward
       compatible) bump althought it's not clear if it will be of
       any help smoothing a transition.
  * Add sysuser-helper autopkgtest

 -- Lorenzo Puliti <plorenzo@disroot.org>  Wed, 24 Nov 2021 19:50:21 +0100

dh-sysuser (1.3.5.1) unstable; urgency=medium

  * Bump Stadards-Version to 4.5.1
  * Mark dh-sysuser and sysuser-helper Multi-Arch: foreign (Closes: #981683)
     + Many thanks to Helmut Grohne <helmut@subdivi.de>

 -- Lorenzo Puliti <plorenzo@disroot.org>  Fri, 05 Feb 2021 04:00:42 +0100

dh-sysuser (1.3.5) unstable; urgency=medium

  [ Lorenzo Puliti ]
  * Do not pollute namespace in maintscript
  * Do not impose unneeded dependency on sysuser-helper
  * Bump Standards-Versions to 4.5.0:
      - Add Rules-Requires-Root: no
  * Update copyright file
  * Adopt the package
  * Release to unstable

  [ Chris Lamb ]
  * Tidy the grammar (etc.) of the dh_sysuser(1) manpage.

  [ Andrej Shadura ]
  * Improve the grammar of the manpage and comments in scripts.
  * Update copyright notices.
  * Bump debhelper from old 11 to 13.
  * Set debhelper-compat version in Build-Depends.

 -- Andrej Shadura <andrewsh@debian.org>  Wed, 30 Sep 2020 10:58:33 +0200

dh-sysuser (1.3.4) experimental; urgency=medium

  * [d16fed95] Add sensible comment for generated users (Closes: #928251)
  * [829c5c5c] Move project to debian/ namespace
  * [8f960455] Add Gitlab CI config file

 -- Dmitry Bogatov <KAction@debian.org>  Thu, 06 Jun 2019 14:43:34 +0000

dh-sysuser (1.3.3) unstable; urgency=medium

  * Do not block uninstallation if for some reason system user could not be
    removed. (Closes: #901799)
  * Update standards version to 4.1.4 (no changes needed)
  * Use secure url when referring to debian/copyright format

 -- Dmitry Bogatov <KAction@gnu.org>  Mon, 25 Jun 2018 21:40:46 +0300

dh-sysuser (1.3.2) unstable; urgency=medium

  * Remove user on purge, not remove (Closes: #848239)
    + Thanks: Antoine Beaupré <anarcat@debian.org>

 -- Dmitry Bogatov <KAction@gnu.org>  Sun, 25 Mar 2018 14:58:19 +0300

dh-sysuser (1.3.1) unstable; urgency=medium

  * Fix description of sysuser-helper package: s/it's/its. (Closes: #844342)
    + Thanks: Toby Speight <T.M.Speight.90@cantab.net>
  * Remove system user without home directory at package uninstall. If
    there is no home directory, it seems safe to assume that no files
    belong to that user, and removing that user will not cause harm.
  * Create system users with /usr/sbin/nologin as shell.
  * Do not impose dependency on bin:adduser. It is unneeded, since
    bin:sysuser-helper uses useradd(8), which is provided by bin:passwd,
    with is of required priority.
  * Document in manpage, that sysuser-helper delegates its job to useradd(8)
    (Closes: #848240)
  * Remove useless account locking in prerm.
  * Ensure that content of /etc/skel is not copied into home directory.
  * Update Vcs-* and Homepage fields in debian/control.
  * Update standards version to 4.1.3 (no changes needed)
  * Bump compat version to 11 (no changes needed)
  * Document and implement login, that system user is removed
    when it has either empty home directory or none at all (Closes: #848239)

 -- Dmitry Bogatov <KAction@gnu.org>  Wed, 07 Mar 2018 03:33:07 +0300

dh-sysuser (1.3) unstable; urgency=medium

  * Rethink what this package actually does. Instead of removing user, it
    is just locked. It drastically simplify maintainer script code and
    avoids tricky situation with `deluser --remove-home'.
    (Closes: #840469)
    + Thanks: Simon McVittie <smcv@debian.org>
  * New binary package: sysuser-helper. This way maintainer script
    contains as little logic, as possible.
  * New option: home without arguments. It creates home directory
    for system user somewhere under /var/lib.

 -- Dmitry Bogatov <KAction@gnu.org>  Mon, 31 Oct 2016 22:14:16 +0300

dh-sysuser (0.2) unstable; urgency=medium

  * Remove empty 'debian/docs' file
  * Fix typo in 'debian/copyright'
  * Add dependency on perl, which is required for
    `deluser --remove-home' (Closes: #840469)
  * Delete user with --force flag, allowing removing users,
    which have running processed.

 -- Dmitry Bogatov <KAction@gnu.org>  Tue, 23 Aug 2016 15:39:11 +0300

dh-sysuser (0.1) unstable; urgency=low

  * Initial release (Closes: #834165)

 -- Dmitry Bogatov <KAction@gnu.org>  Sat, 23 Jul 2016 01:17:28 +0300
