diff -Nru znc-1.7.5/debian/changelog znc-1.7.5/debian/changelog --- znc-1.7.5/debian/changelog 2020-03-03 20:42:57.000000000 +0000 +++ znc-1.7.5/debian/changelog 2020-03-05 11:31:46.000000000 +0000 @@ -1,8 +1,9 @@ -znc (1.7.5-3build1) focal; urgency=medium +znc (1.7.5-4) unstable; urgency=medium - * No-change rebuild for icu soname change. + * Add oidentd configuration example and explain it in README.Debian. + Closes: #950571 - -- Matthias Klose Tue, 03 Mar 2020 21:42:57 +0100 + -- Patrick Matthäi Thu, 05 Mar 2020 12:31:46 +0100 znc (1.7.5-3) unstable; urgency=medium diff -Nru znc-1.7.5/debian/oidentd.conf znc-1.7.5/debian/oidentd.conf --- znc-1.7.5/debian/oidentd.conf 1970-01-01 00:00:00.000000000 +0000 +++ znc-1.7.5/debian/oidentd.conf 2020-03-05 11:31:46.000000000 +0000 @@ -0,0 +1,5 @@ +user "_znc" { + default { + force reply "znc" + } +} diff -Nru znc-1.7.5/debian/README.Debian znc-1.7.5/debian/README.Debian --- znc-1.7.5/debian/README.Debian 2019-07-11 11:56:05.000000000 +0000 +++ znc-1.7.5/debian/README.Debian 2020-03-05 11:31:46.000000000 +0000 @@ -26,3 +26,17 @@ # systemctl enable znc Now znc will run as a system daemon. + +=== oidentd configuration === + +Especially if you use the systemd service, you are not able to connect to many +IRC networks, because you will use the default username (_znc), which is +invalid. +You can configure oidentd to allow identity spoofing or to reply with "znc" as +username. You will find an example here: + /usr/share/doc/znc/examples/oidentd.conf +You have to copy it to the home directory of the znc user: + /var/lib/znc/.oidentd.conf + +You will find more information and configuration examples here: + https://wiki.znc.in/Identfile diff -Nru znc-1.7.5/debian/znc.examples znc-1.7.5/debian/znc.examples --- znc-1.7.5/debian/znc.examples 1970-01-01 00:00:00.000000000 +0000 +++ znc-1.7.5/debian/znc.examples 2020-03-05 11:31:46.000000000 +0000 @@ -0,0 +1 @@ +debian/oidentd.conf