networkd-dispatcher (2.1-2~ubuntu20.04.3) focal-security; urgency=medium

  * SECURITY REGRESSION: Incomplete security fix (LP: #1971550)
    - debian/patches/CVE-2022-29799-regression.patch: Add initialized state
      in ADMIN_STATES in networkd-dispatcher.

 -- Rodrigo Figueiredo Zaiden <rodrigo.zaiden@canonical.com>  Wed, 04 May 2022 10:49:53 -0300

networkd-dispatcher (2.1-2~ubuntu20.04.2) focal-security; urgency=medium

  * SECURITY UPDATE: Directory traversal
    - debian/patches/CVE-2022-29799-pre.patch: Add a word that is missing
      in exception messages in networkd-dispatcher and
      tests/test_networkd-dispatcher.py.
    - debian/patches/CVE-2022-29799.patch: Add allowed admin and
      operational states in networkd-dispatcher and throw exceptions in
      handle_state function if the current state is not one of those and
      add a test case test_handle_state in
      tests/test_networkd-dispatcher.py.
    - CVE-2022-29799
  * SECURITY UPDATE: Time-of-check-time-of-use race condition
    - debian/patches/CVE-2022-29800-1.patch: Add check_perms function that
      will be invoked in scripts_in_path function before appending a file
      path to the script_list in networkd-dispatcher and change
      test_scripts_in_path test case in tests/test_networkd-dispatcher.py
      with follow_symlinks set to false.
    - debian/patches/CVE-2022-29800-2.patch: Passes os.path.dirname(path)
      when checking for permissions in scripts_in_path function in
      networkd-dispatcher.
    - CVE-2022-29800

 -- Rodrigo Figueiredo Zaiden <rodrigo.zaiden@canonical.com>  Wed, 27 Apr 2022 19:10:25 -0300

networkd-dispatcher (2.1-2~ubuntu20.04.1) focal; urgency=medium

  [ Lukas Märdian ]
  * Add d/p/0003-Normalize-parsed-IP-address-value.patch to handle IP address
    networkctl output of systemd v244+ (LP: #1884248)

  [ Julian Andres Klode ]
  * debian/gbp.conf: Point to debian/bullseye

 -- Lukas Märdian <slyon@ubuntu.com>  Mon, 12 Jul 2021 15:26:17 +0200

networkd-dispatcher (2.1-1) unstable; urgency=medium

  * New upstream release 2.1 (Closes: #968941)
    - fixes parsing of current systemd (LP: #1884248)

 -- Julian Andres Klode <jak@debian.org>  Tue, 10 Nov 2020 14:35:05 +0100

networkd-dispatcher (2.0.1-1) unstable; urgency=medium

  * New upstream release 2.0.1
  * Rebase patches, dropping upstreamed patches (0003 and 0004)
  * Bump Standards-Version to 4.4.0
  * debian/rules: Respect nocheck build option
  * Add lintian overrides for empty directories
  * debian/clean: Add .pytest_cache/
  * Override package-supports-alternative-init-but-no-init.d-script
  * Depend on dbus (Closes: #932764)

 -- Julian Andres Klode <jak@debian.org>  Mon, 19 Aug 2019 14:17:24 +0200

networkd-dispatcher (2.0-2) unstable; urgency=medium

  * Refer to networkctl(1) in networkd-dispatcher(8) text (LP: #1787495)

 -- Julian Andres Klode <jak@debian.org>  Wed, 30 Jan 2019 16:01:34 +0100

networkd-dispatcher (2.0-1) unstable; urgency=medium

  * New upstream release
  * Rebase patches and drop patches merged upstream:
    - 0003-Allow-usr-lib-networkd-dispatcher-scripts-with-etc-o.patch
  * d/p/0003-Mock-iwconfig-in-test_get_interface_data.patch: Fix test
    suite error when run with pytest-3
  * debian/n-d.dirs: Add carrier.d and degraded.d hook dirs
  * debian/watch: Update for gitlab
  * Build-Depend on python3-mock

 -- Julian Andres Klode <jak@debian.org>  Thu, 22 Nov 2018 15:36:00 +0100

networkd-dispatcher (1.7-1) unstable; urgency=medium

  [ Julian Andres Klode ]
  * Initial upload to Debian (Closes: #901844); changes from 1.7-0ubuntu8:
    - debian/gbp.conf: Adjust for Debian
    - debian/control: Update maintainer
  * Noteworthy changes from upstream inherited from Ubuntu:
    - Startup triggers run by default
    - configuration file in /etc/default instead of /etc/conf.d/
    - cherry-pick ability to have scripts in /usr/lib/networkd-dispatcher

  [ Ondřej Nový ]
  * d/copyright: Use https protocol in Format field
  * d/control: Set Vcs-* to salsa.debian.org

 -- Julian Andres Klode <jak@debian.org>  Mon, 15 Oct 2018 14:29:11 +0200

networkd-dispatcher (1.7-0ubuntu8) cosmic; urgency=medium

  * Create directories for scripts in /etc

 -- Julian Andres Klode <juliank@ubuntu.com>  Wed, 26 Sep 2018 15:45:00 +0200

networkd-dispatcher (1.7-0ubuntu7) cosmic; urgency=medium

  * Allow overriding /usr/lib scripts in /etc/networkd-dispatcher.
    Replaces our patch to use /usr/lib/networkd-dispatcher with the
    solution contributed upstream that has a search path with both
    /usr/lib/ and /etc locations.

 -- Julian Andres Klode <juliank@ubuntu.com>  Wed, 26 Sep 2018 13:17:21 +0200

networkd-dispatcher (1.7-0ubuntu6) cosmic; urgency=medium

  * networkd-dispatcher.conf: Run startup triggers by default (LP: #1772137)

 -- Julian Andres Klode <julian.klode@canonical.com>  Tue, 19 Jun 2018 11:19:39 +0200

networkd-dispatcher (1.7-0ubuntu5) cosmic; urgency=medium

  * Revert "Cherry-pick upstream fix to start before systemd-networkd"
    (reopens LP #1772137); the change caused an ordering cycle.

 -- Julian Andres Klode <juliank@ubuntu.com>  Thu, 31 May 2018 20:09:08 +0200

networkd-dispatcher (1.7-0ubuntu4) cosmic; urgency=medium

  * Cherry-pick upstream fix to start before systemd-networkd (LP: #1772137)

 -- Julian Andres Klode <juliank@ubuntu.com>  Fri, 25 May 2018 16:08:00 +0200

networkd-dispatcher (1.7-0ubuntu3) bionic; urgency=medium

  * Use /usr/lib/networkd-dispatcher for scripts.
    This allows us to provide integration without conffiles. We later
    need to re-add support for /etc, and overrides.
    We need to pass --skip-private to dh-python3, otherwise it deletes
    all our directories in /usr/lib/networkd-dispatcher.

 -- Julian Andres Klode <juliank@ubuntu.com>  Thu, 19 Apr 2018 08:38:07 +0200

networkd-dispatcher (1.7-0ubuntu2) bionic; urgency=medium

  * Demote iw | wireless-tools to Suggests

 -- Julian Andres Klode <juliank@ubuntu.com>  Wed, 18 Apr 2018 08:40:55 +0200

networkd-dispatcher (1.7-0ubuntu1) bionic; urgency=medium

  * Initial upload (LP: #1762386)

 -- Julian Andres Klode <juliank@ubuntu.com>  Mon, 09 Apr 2018 14:04:45 +0200
