zoitechat for Debian
--------------------

Explanation of debian/default_servers and the patch logic in d/rules:

IRC is the recommended way to get support as a debian user. Thus this package
includes patches to set the default server and channel to match what it says
on https://www.debian.org/support. However, we also know that debian
derivatives will ship this package without modifying it, so the patches use the
following logic:

- if dpkg-vendor --query Vendor returns Debian:
    set the default as OFTC/#debian.

- if dpkg-vendor --query Vendor returns Ubuntu:
    set the default as Libera/#ubuntu.

- if dpkg-vendor --query Vendor returns anything else:
    leave the upstream default Zoite/#zoitechat in place.

It's not a perfect solution since the change happens during build and plenty of
derivatives integrate debian repositories without rebuilding. But for now it
should mostly sort new users into places where they won't get yelled at.

Upstream has discussed pulling defaults from a file at first run instead of
compiling them in. If/when that happens, these patches will be dropped.

 -- Jesse Rhodes <jesse@sney.ca>  Sun, 19 Apr 2026 14:14:39 -0400
