dhcpcd5 (9.4.1-17) unstable; urgency=medium

  * Fix systemd unit hardening to work with dhcpcd-gtk (Closes: #1020641).
    + Add /etc/wpa_supplicant /etc/dhcpcd.conf to ReadWritePaths.
    - Comment out PrivateTmp=true.
    Many thanks to martintxo and János Pásztor for extensive testing.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Wed, 08 Feb 2023 08:42:40 +0200

dhcpcd5 (9.4.1-16) unstable; urgency=medium

  * Add patch from upstream Git: Fix incorrect CTASSERT in ND_OPT_DNSSL.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Wed, 01 Feb 2023 07:07:23 +0200

dhcpcd5 (9.4.1-15) unstable; urgency=medium

  * Fix "dhcpcd fails to chroot during start" (Closes: #1029437).
    Thanks to János Pásztor for the patch.
  * Add ORed Depends on sysvinit-utils for obsolete lsb-base.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Thu, 26 Jan 2023 10:32:24 +0200

dhcpcd5 (9.4.1-14) unstable; urgency=medium

  * Revert "Add 4 patches from upstream Git to fix compiler warnings."
    Those 4 patches cannot be cherry-picked. They depend on earlier upstream
    Git commits without which the code breaks, even though it compiles fine.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Thu, 19 Jan 2023 11:07:51 +0200

dhcpcd5 (9.4.1-13) unstable; urgency=medium

  * Update my copyright for 2023.
  * Move transitional package to Section: oldlibs.
  * Add 4 patches from upstream Git to fix compiler warnings:
    0008_use_return_of_functions.patch
    0009_fix_clang_compiler_warning.patch
    0010_fix_more_compiler_warnings.patch
    0011_remove_suffix_from_md5.patch

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Sat, 14 Jan 2023 10:12:39 +0200

dhcpcd5 (9.4.1-12) unstable; urgency=medium

  * Add patch from Git 0007_set_buffer_lenght_to_0.patch (Closes: #1024357).
  * Migrate binaries from dhcpcd5 to dhcpcd.
    = Move maintainer scripts from dhcpcd5 to dhcpcd.
    + Add transitional package dhcpcd5.
    = Rename dhcpcd5 to dhcpcd.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Sun, 08 Jan 2023 13:08:42 +0200

dhcpcd5 (9.4.1-11) unstable; urgency=medium

  * Merge patch from Git to skip ~ backup hooks (Closes: #1014446).

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Sat, 12 Nov 2022 12:29:49 +0200

dhcpcd5 (9.4.1-10) unstable; urgency=medium

  * Add Conflicts/Provides/Replaces: dhcp-client
    interfaces(5) precedence for DHCP method is: dhclient, pump, udhcpc, dhcpcd.
    We wanna ensure that none of those with a higher priority are installed.
    We skip pump since it hasn't been in the Debian archive for a long time.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Fri, 11 Nov 2022 15:02:15 +0200

dhcpcd5 (9.4.1-9) unstable; urgency=medium

  * Add --no-block to Debian's timesyncd exit hook (Closes: #1003225).

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Thu, 27 Oct 2022 07:38:44 +0300

dhcpcd5 (9.4.1-8) unstable; urgency=medium

  * Add missing Build-Depends on pkg-config.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Wed, 19 Oct 2022 00:47:38 +0300

dhcpcd5 (9.4.1-7) unstable; urgency=medium

  * [patches]
    + Merge upstream Git patch to fix configure --prefix for autoconf.
  * [rules]
    = Simplified configure options to match.
  * [postinst]
    = Input GECOS for dhcpcd upon account creation instead of afterwards.
  * [postinst|postrm]
    - Remove cruft for upgrading from oldstable.
    - Remove binary symlinks since Bookworm pulls usrmerge.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Tue, 18 Oct 2022 08:45:55 +0300

dhcpcd5 (9.4.1-6) unstable; urgency=medium

  * Merge patch from upstream Git: Use netlink to workout address flags.
    + 0004_use_netlink_for_ipv6.patch

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Wed, 31 Aug 2022 05:52:03 +0300

dhcpcd5 (9.4.1-5) unstable; urgency=medium

  * Add sample config for IPv6 Prefix Delegation.
  * Merge patch from upstream Git for minimum IPv6 lifetime.
    + 0003_RFC4862_minimum_lft.patch

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Sun, 28 Aug 2022 12:07:33 +0300

dhcpcd5 (9.4.1-4) unstable; urgency=medium

  * [service]
    = Update pid paths in both systemd service units (Closes: #1014277).

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Thu, 07 Jul 2022 08:31:37 +0300

dhcpcd5 (9.4.1-3) unstable; urgency=medium

  * [control]
    = Move Depends on lsb-base from dhcpcd-base to dhcpcd5.
      Needed by the init.d script, not by the binaries.
    = Make Build-Depends on libudev-dev specific to [linux-any].

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Thu, 30 Jun 2022 10:55:38 +0300

dhcpcd5 (9.4.1-2) unstable; urgency=medium

  [ Martin-Éric Racine ]
  * Adopt package (Closes: #1013763).
    Thanks to Scott Leggett for having maintained the package in recent years.
  * Implement privilege separation (Closes: #1013430).
    + Add to [rules]:
      --privsepuser=dhcpcd
    + Add to [posinst]: dhcpcd system user creation.
    + Add to [postrm]: dhcpcd system user deletion.
    + Add to [control]: Depends: adduser
  * Bump Standards-Version to 4.6.1 (no change required).
  * Merge patch against hooks/60-ntp-common.conf (Closes: #1008059).
  * Move path of Chrony helper from /usr/lib to /usr/libexec (Closes: #980861).
  * Fix openntpd restart command (Closes: #1001763).
  * Split package into two targets:
    + dhcpcd-base (binaries, exit hooks and manual pages) Provides: dhcp-client
    + dhcpcd5 (init.d script and systemd unit) Depends: dhcpcd-base
    Thus dhcpcd-base provides a dhcp-client backend for ifupdown that offers
    a dual-stack replacement for isc-dhcp-client.
    Meanwhile dhcpcd5 still exists for minimalist systems without ifupdown.
  [ Scott Leggett ]
  * Avoid pointless NTP client reloads
  * Add local gbp.conf for upstream tag format.
  * Add to [control]:
    + Rules-Requires-Root: no
  * Tests: work around issue with checksums on veth interfaces.
  * Tests: Give NTP services more grace time for updates.
  * Add support for systemd unit file hardening.
  [ Bastian Germann ]
  * Update rundir to align with upstream.
  [ Julien Rabier ]
  * Update the systemd unit.
  * Add a systemd unit template for interface-specific cases.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Mon, 27 Jun 2022 22:37:37 +0300

dhcpcd5 (9.4.1-1) unstable; urgency=medium

  * QA upload
  * Vcs: Use debian namespace

 -- Bastian Germann <bage@debian.org>  Sun, 26 Jun 2022 21:57:01 +0200

dhcpcd5 (9.4.1-0.1) unstable; urgency=low

  * Non-maintainer upload.
  * Fix "New upstream version available: 9.1.4" (Closes: #964947).
  * Drop Lintian override.
  * Drop all patches. Applied upstream.
  * Add patch 0001_typo-in-manual-page.patch. Forwarded upstream.
  * Add patch 0002_type_to_command-v.patch from upstream Git.
  * Migrate d/control to debhelper-compat (= 13). Drop d/compat.
  * Add Build-Dep libudev-dev. Now uses Predictable Network Interface Names.
  * Bump d/watch to version 4. No change required.
  * Run 'wrap-and-sort -a -b' on the source tree.
  * Fix d/rules to use upstream default --prefix=/usr. Caveats:
    1) --prefix somehow doesn't propagate to --libdir or --mandir.
       Compensated by manually specifying these in d/rules.
    2) Lintian doesn't like scripts without the shebang in /usr/libexec.
       Using --libexecdir=/usr/lib for now.
    3) Lintian incorrectly reports non-standard-dir-in-var for /var/db.
       This path nonetheless is mentioned in FHS. Bug report filed.
       Using --dbdir=/var/lib for now.
    4) Using --rundir=/run to match current Debian practices.
  * Rename postinst and postrm to dhcpcd5.* for clarity.

 -- Martin-Éric Racine <martin-eric.racine@iki.fi>  Fri, 04 Mar 2022 11:06:21 +0200

dhcpcd5 (7.1.0-2) unstable; urgency=high

  * Apply upstream patches to fix potential security vulnerabilities:
    CVE-2019-11578, CVE-2019-11579, CVE-2019-11577, and CVE-2019-11766.
    (Closes: #928056, #928104, #928105, #928440)
  * Add lintian override for upstream patch spelling

 -- Scott Leggett <scott@sl.id.au>  Sun, 05 May 2019 21:55:14 +0800

dhcpcd5 (7.1.0-1) unstable; urgency=low

  * Upstream release 7.1.0

 -- Scott Leggett <scott@sl.id.au>  Thu, 07 Feb 2019 08:54:56 +1100

dhcpcd5 (7.0.8-2) unstable; urgency=low

  * Fix quoting in autopkgtest-setup script
  * Add tests for /sbin/dhcpcd symlink
  * Add compatibility symlink for /sbin/dhcpcd (Closes: #920292)
  * Bump Standards-Version

 -- Scott Leggett <scott@sl.id.au>  Thu, 24 Jan 2019 22:56:05 +1100

dhcpcd5 (7.0.8-1) unstable; urgency=low

  * Remove unused lintian override
  * Update watch URL to HTTPS
  * Bump standards and compat versions
  * Add patch for typo in manpage
  * Revert to upstream binary naming
  * Update maintainer scripts
  * Update debian/copyright
  * Update init script for new binary location
  * Add systemd service file
  * Update package maintainer (Closes: #914070)
  * Run wrap-and-sort over the package
  * Add VCS fields to control file
  * Add hooks for chrony, ntp, systemd-timesyncd, and openntpd (Closes: #863462)
  * Add autopkgtest-virt-ssh setup script
  * Add autopkgtests for NTP hook scripts
  * Disable built-in NTP hook script
  * Update debian/copyright

 -- Scott Leggett <scott@sl.id.au>  Thu, 27 Dec 2018 22:26:40 +1100

dhcpcd5 (7.0.8-0.1) unstable; urgency=medium

  [ Gianfranco Costamagna ]
  * New upstream release.
  * Non-maintainer upload.
    - Closes: #846938
  * Switch control/copyright files in secure mode

  [ Julien Lavergne ]
  * New upstream release.
  * debian/control:
   - Add lsb-base (>= 3.0-6) on depends, for the init script.
  * debian/patches:
   - Disable, merged upstream.
  * debian/copyright:
   - Update copyright.

 -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 26 Sep 2018 10:03:43 +0200

dhcpcd5 (6.10.1-1) unstable; urgency=medium

  * New upstream release (Closes: #813595)
  * Fix CVE-2016-1504 invalid read/crash
     via malformed dhcp responses by upstream (Closes: #810620)
  * Fix CVE-2016-1503 heap overflow via malformed
     dhcp responses in print_option (via dhcp_envoption1)
     due to incorrect option length values by upstream (Closes: #810621)
  * d/control:
     - Bump Standards-Version to 3.9.7
  * Fix dhcpcd5 FTBFS on kfreebsd-amd64
     and kfreebsd-i386 by upstream (Closes: #815338)
  * Fix Multiplication of IPv6 addresses by upstream (Closes: #791582)
  * d/rules:
     - Add hardening
  * d/patches:
     - fix-spelling-error for all older files
     - fix-spelling-error-in-manpage for manpage`s
  * d/dhcpcd5.lintian-overrides:
     - Add overrides for spelling error binary false positive
  * recommended revision in your dhcp by upstream (Closes: #799795)

 -- Jose dos Santos Junior <j.s.junior@live.com>  Mon, 04 Apr 2016 09:58:32 -0300

dhcpcd5 (6.9.3-1) unstable; urgency=medium

  * New upstream release
    - Fixed Multiplication of IPv6 addresses by upstream (Closes: #791582)
    - Fixed dhcpcd doesn't configure chrony by upstream (Closes: #791583)
  * New maintainer (Closes: #770082)
  * Remove lintian overrides.
  * d/dhcpd5.init:
      - Added $remote_fs for script init.d

 -- Jose dos Santos Junior <j.s.junior@live.com>  Mon, 14 Sep 2015 12:11:25 -0300

dhcpcd5 (6.9.1-1) unstable; urgency=medium

  * QA Upload.
  * New upstream release. Closes: #791558
  * Update d/watch file

 -- Daniel Echeverry <epsilon77@gmail.com>  Sun, 26 Jul 2015 17:35:55 -0500

dhcpcd5 (6.9.0-1) unstable; urgency=low

  * QA Upload
  * New upstream release. Closes: #786772 #758713 #782085
  * debian/control
    + Change Replaces instead conflicts field
    + Bump Standards-Version 3.9.6
      + Update to DEP5 copyright format 1.0
  * debian/rules
    + Add DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE
  * debian/patches
    + Add fix_ftbfs_kfreebsd.diff patch
      + Fix ftbfs on kfreebsd Closes: #770464
    + Add fix_manpage.diff patch
      * Fix lintian warning
    + Remove CVE-2014-6060.patch patch
      + Merge with upstream
    + Remove kfreebsd.diff patch
      * Upstream removed platform-bsd.c file in new version
  * debian/prerm
    + Replace bashim with set -e
  * debian/postint
    + Replace bashim with set -e
  * debian/postrm
    + Replace bashim with set -e

 -- Daniel Echeverry <epsilon77@gmail.com>  Wed, 03 Jun 2015 10:43:23 -0500

dhcpcd5 (6.0.5-2) unstable; urgency=medium

  * QA upload.

  [ Pierre Schweitzer ]
  * Fix denial of service (CVE-2014-6060) in dhcpcd5. (Closes: #770043).

  [ Salvatore Bonaccorso ]
  * Refresh CVE-2014-6060.patch (offset)
  * Update patch headers for CVE-2014-6060.patch.
    Wrap long lines in fields and use Description field.
    Add Applied-Upstream value.
  * Set Maintainer to Debian QA Group (cf. #770082)

 -- Salvatore Bonaccorso <carnil@debian.org>  Wed, 19 Nov 2014 17:08:30 +0100

dhcpcd5 (6.0.5-1.1) unstable; urgency=low

  * Non-maintainer upload.
  * debian/rules (taken from Ubuntu, thanks!):
      - If config.mk doesn't exist, don't try to run dh_auto_clean.
        This fixes a FTBFS. (Closes: #723967) (LP: #1251776)
  * Add missing include for platform-bsd using patch from Petr Salinger
    (Closes: #719588)

 -- Christoph Egger <christoph@debian.org>  Wed, 04 Dec 2013 14:47:10 +0100

dhcpcd5 (6.0.5-1) unstable; urgency=medium

  * New upstream release

 -- Roy Marples <roy@marples.name>  Sun, 4 Aug 2013 08:00:44 +0100

dhcpcd5 (6.0.2-1) unstable; urgency=medium

  * New upstream release
  * recommend the resolvconf package as well (closes: 705759)
  * -t 0 works (closes: 707705)

 -- Roy Marples <roy@marples.name>  Tue, 25 Jun 2013 14:29:02 +0100

dhcpcd5 (5.5.6-1) unstable; urgency=medium

  * New upstream release
  * 50-ntp.conf now checks for a valid /etc/ntp.conf (closes: 630420)
  * Works better with netlink messages to work on bridges (closes: 634331)

 -- Roy Marples <roy@marples.name>  Sun, 1 Apr 2012 09:03:27 +0100

dhcpcd5 (5.2.12-1) unstable; urgency=medium

  * New upstream release

 -- Roy Marples <roy@marples.name>  Wed, 6 Mar 2011 10:16:22 +0100

dhcpcd5 (5.2.11-1) unstable; urgency=low

  * New upstream release

 -- Roy Marples <roy@marples.name>  Mon, 28 Feb 2011 20:35:37 +0100

dhcpcd5 (5.2.8-1) unstable; urgency=low

  * New upstream release

 -- Roy Marples <roy@marples.name>  Fri, 22 Oct 2010 19:47:32 +0100

dhcpcd5 (5.2.7-3) unstable; urgency=low

  * Initial upload to Debian (closes: #594672)

 -- Roy Marples <roy@marples.name>  Tue, 23 Sep 2010 10:57:38 +0100
