snetaid (1.5.21-1+6genuen3) unstable; urgency=medium

  * Move runit service to debian/sv/snetaid/ (run, finish, log/run).
  * Use dh-runit bin= metadata; drop manual runit-helper maintainer snippets.
  * Install OpenRC init as debian/snetaid.init (remove not-installed block).
  * debian/rules: simplify dh_installinit override.

 -- Aitor <aitor@genuen.org>  Mon, 31 Aug 2026 09:30:00 +0200

snetaid (1.5.21-1+6genuen2) unstable; urgency=medium

  * Rebuild with dh-openrc 1.0.2: depend on openrc-helper instead of
    openrc, so system upgrades no longer block openrc updates.

 -- Aitor <aitor@genuen.org>  Fri, 28 Aug 2026 13:15:03 +0200

snetaid (1.5.21-1+6genuen1) unstable; urgency=medium

  * Hotplug: invoke connect immediately on link-up; netlink event bursts no
    longer reset a 500 ms timer that never fired. Log when hotplug is skipped.

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 10:25:00 +0200

snetaid (1.5.20-1+6genuen1) unstable; urgency=medium

  * Hotplug: fix silent no-connect after link-up event (stuck connect_active,
    carrier-down tracking, cancel in-flight hotplug task, visible defer log).

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 10:15:00 +0200

snetaid (1.5.19-1+6genuen1) unstable; urgency=medium

  * Hotplug wired connect: use the same async ifup + IP retry path as GTK
    (carrier wait, interface_up, DHCP settle) instead of synchronous ifup.

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 10:00:00 +0200

snetaid (1.5.18-1+6genuen1) unstable; urgency=medium

  * Hotplug after GTK disconnect: suppress only while cable stays plugged;
    physical unplug+replug restores hotplug. Clear stale flags on hotplug
    connect success. Fix connect_begin stuck if task alloc fails.

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 09:50:00 +0200

snetaid (1.5.17-1+6genuen1) unstable; urgency=medium

  * Hotplug: suppress only after intentional disconnect (ifdown); restore
    after successful wired_connection, not on a fixed timer.

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 09:35:00 +0200

snetaid (1.5.16-1+6genuen1) unstable; urgency=medium

  * Software disconnect: leave interface admin UP (no manual ip link set up);
    netlink hotplug stays suppressed until GTK wired_connection.

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 09:25:00 +0200

snetaid (1.5.15-1+6genuen1) unstable; urgency=medium

  * Software disconnect (GTK ubus disconnect): leave eth admin DOWN and
    suppress netlink hotplug; old path called interface_up and hotplug
    raced wired_connection with "Configuration error for eth0".
  * wired_connection ubus: suppress hotplug; allow connect when admin DOWN.

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 09:15:00 +0200

snetaid (1.5.14-1+6genuen1) unstable; urgency=medium

  * Fix Ethernet hotplug: safe_execute used "/dev/null/" (ENOTDIR) so
    ifdown/ifup never ran → "Configuration error for eth0" on reconnect.
  * On cable disconnect run wired_disconnect (ifdown --force, kill dhcpcd).
  * Defer hotplug ifup 500 ms after carrier-up (same as ubus wired path).

 -- Aitor <aitor@genuen.org>  Fri, 14 Aug 2026 08:50:00 +0200

snetaid (1.5.13-1+6genuen3) unstable; urgency=medium

  * On upgrade no stop.

 -- Aitor <aitor@genuen.org>  Wed, 12 Aug 2026 12:37:41 +0200

snetaid (1.5.13-1+6genuen2) unstable; urgency=medium

  * initscript: migrate /etc/init.d/snetaid script to openrc-run 
    (depend/start/stop semantics) for use with OpenRC runlevels instead 
    of SysV rc?.d links
  * Build with dh-openrc

 -- Aitor <aitor@genuen.org>  Thu, 30 Jul 2026 22:37:48 +0200

snetaid (1.5.13-1+6genuen1) unstable; urgency=medium

  * Fix wireless_connection: do not overwrite saved WiFi file when essid/passwd empty
  * New upstream version 1.5.13

 -- Aitor <aitor@genuen.org>  Thu, 05 Jun 2026 12:00:00 +0200

snetaid (1.5.12-1+6genuen1) unstable; urgency=medium

  * Restore netlink log output to /var/log/netaid_events.pipe for GTK VTE
  * Always schedule UI SIGUSR1 notify; ubus network.log only when ctx is set
  * New upstream version 1.5.12

 -- Aitor <aitor@genuen.org>  Thu, 04 Jun 2026 12:00:00 +0200

snetaid (1.5.11-1+6genuen1) unstable; urgency=medium

  * Fix build: IFF_LOWER_UP via linux/if.h in netlink_monitor.c
  * New upstream version 1.5.11

 -- Aitor <aitor@genuen.org>  Wed, 03 Jun 2026 18:00:00 +0200

snetaid (1.5.10-1+6genuen1) unstable; urgency=medium

  * Fix WiFi cancel killing wrong process (separate ifup_proc from wpa proc)
  * Fix config CLI/INI: use passed config_t, bounded get_fullpath, INI OOM errors
  * Apply netlink SO_RCVBUF from nl_rcvbufsize and log buffer size changes
  * Remove dead WiFi connection helpers from policy.c
  * Update BUGS.md — all tracked defects addressed
  * New upstream version 1.5.10

 -- Aitor <aitor@genuen.org>  Wed, 03 Jun 2026 16:00:00 +0200

snetaid (1.5.9-1+6genuen1) unstable; urgency=medium

  * Fix use-after-free when uninstalling an active WiFi profile
  * Fix double ubus reply and connection task lifecycle in wireless handler
  * Fix null passwd dereference and unrestricted open-network config paths
  * Fix netlink crash on missing IFLA_MTU and Ethernet hotplug reconnect
  * Fix iwlist exiting the daemon; bound encoding buffer and Quality field
  * Load snetaid.conf from disk; stop absolutizing interface names as paths
  * Fix default lockfile path, append_wpa_config zombie, and get_pid_t NULL
  * Defer Ethernet hotplug from netlink callback; bound netlink log buffers
  * Non-blocking netlink drain, safer signals, and startup failure on netlink error
  * Add BUGS.md audit document
  * New upstream version 1.5.9

 -- Aitor <aitor@genuen.org>  Wed, 03 Jun 2026 14:00:00 +0200

snetaid (1.5.8-1+6genuen1) unstable; urgency=medium

  * Fix segmentation fault when evaluating iproute()
  * New upstream version 1.5.8

 -- Aitor <aitor@genuen.org>  Tue, 10 Mar 2026 23:36:53 +0100

snetaid (1.5.7-1+6genuen1) unstable; urgency=medium

  * Minor changes in the policy
  * New upstream version 1.5.7

 -- Aitor <aitor@genuen.org>  Sun, 25 Jan 2026 21:38:39 +0100

snetaid (1.5.6-1+5gnuinos1) unstable; urgency=medium

  * Clear the IP address of all the existing network interfaces before 
    attempting to connect to a concrete device
  * New upstream version 1.5.6

 -- Aitor <aitor_czr@gnuinos.org>  Tue, 24 Dec 2024 12:02:19 +0100

snetaid (1.5.5-1+5gnuinos1) unstable; urgency=medium

  * Send active wifis in json format 
  * Make the tty variable optional
  * New upstream version 1.5.5

 -- Aitor <aitor_czr@gnuinos.org>  Tue, 30 Apr 2024 17:51:34 +0200

snetaid (1.5.4-1+5gnuinos1) unstable; urgency=medium

  * make use of a lock file to determine whether some process is still pending
  * New upstream version 1.5.4

 -- Aitor <aitor_czr@gnuinos.org>  Sun, 28 Apr 2024 12:16:00 +0200

snetaid (1.5.3-1+5gnuinos1) unstable; urgency=medium

  * Make use of a lock file during automatically connect attempts
  * New upstream version 1.5.3

 -- Aitor <aitor_czr@gnuinos.org>  Mon, 15 Apr 2024 01:07:15 +0200

snetaid (1.5.2-1+5gnuinos1) unstable; urgency=medium

  * Become static the variable sig_atomic_t keep_going used in sigact.c
  * New upstream version 1.5.2

 -- Aitor <aitor_czr@gnuinos.org>  Sun, 14 Apr 2024 18:38:30 +0200

snetaid (1.5.1-1+5gnuinos1) unstable; urgency=medium

  * Change version numbering scheme  
  * Add new ubus handler that lists active wifis in json format 
  * New upstream version 1.5.1

 -- Aitor <aitor_czr@gnuinos.org>  Sat, 30 Mar 2024 09:58:03 +0100

snetaid (1.5-1+5gnuinos1) unstable; urgency=medium

  * Fix a typo in d/snetaid.runit

 -- Aitor <aitor_czr@gnuinos.org>  Sun, 18 Jun 2023 17:40:55 +0200

snetaid (1.5-1) unstable; urgency=medium

  * New upstream version 1.5

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Sat, 20 May 2023 12:49:48 +0200

snetaid (1.4-2) unstable; urgency=medium

  * Add finish script to runit supervision

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Sat, 11 Mar 2023 11:51:49 +0100

snetaid (1.4-1) unstable; urgency=medium

  * New upstream version 1.4
  * Take out the netlink monitoring tool and treat it as an standalone project 
    (nl-monitor) that can be run as a regular user.

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Sun, 29 Jan 2023 23:18:55 +0100

snetaid (1.3-1) unstable; urgency=medium

  * New upstream version 1.3
  * Fix lintian errors and warnings.

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Sun, 11 Dec 2022 14:35:23 +0100

snetaid (1.2-2) chimaera; urgency=medium

  * Solve the problem of a dangling symlink in /etc/rc2.d during the removal of the package.
  * New upstream version 1.2 taking from libnetaid all the helpers requiring system calls.

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Thu, 28 Apr 2022 00:09:03 +0200

snetaid (1.1-1) chimaera; urgency=medium

  * New upstream version 1.1 relying on OpenWRT's ubus interprocess communication.

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Sat, 16 Apr 2022 18:42:39 +0200

snetaid (1.0-2) unstable; urgency=medium

  * Upgrade dependencies

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Sat, 05 Feb 2022 01:13:43 +0100

snetaid (1.0-1) unstable; urgency=medium

  * Bump to 1.0

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Sat, 02 Oct 2021 10:23:10 +0200

snetaid (0.1-1) unstable;  urgency=low

  * Initial release.

 -- Aitor Cuadrado Zubizarreta <aitor_czr@gnuinos.org>  Wed, 12 Aug 2020 10:40:55 +0200
