]> arthur.barton.de Git - ngircd.git/commitdiff
Debian package: Enable the [SSL] section
authorAlexander Barton <alex@barton.de>
Tue, 23 Jan 2024 21:25:28 +0000 (22:25 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 23 Jan 2024 21:42:57 +0000 (22:42 +0100)
This makes sense because the package is build with SSL support enabled,
and we set and enable "CAFile" in commit ae9cfade -- which results in an
error when this is not in an enabled(!) [SSL] section ...

contrib/Debian/rules

index bf2ee6524f4c7cbe0616e0dc50231be0b1b22abb..25e27872bd143d05bef96e4d169edc180d3c69df 100755 (executable)
@@ -35,6 +35,7 @@ execute_after_dh_auto_install:
         -e "s|;ServerGID = 65534|ServerGID = irc|g" \
         -e "s|;PidFile = /var/run/ngircd/ngircd.pid|PidFile = /run/ircd/ngircd.pid|g" \
         -e "s|;PAM = yes|PAM = no|g" \
+        -e "s|;\[SSL\]|[SSL]|g" \
         -e "s|;CAFile = /etc/ssl/CA/cacert.pem|CAFile = /etc/ssl/certs/ca-certificates.crt|g" \
         $(CURDIR)/debian/ngircd/usr/share/doc/ngircd/sample-ngircd.conf \
         >>$(CURDIR)/debian/ngircd/etc/ngircd/ngircd.conf