1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-10-27 20:36:18 +00:00

Debian package: Enable the [SSL] section

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 ...
This commit is contained in:
Alexander Barton 2024-01-23 22:25:28 +01:00
parent a1c2ac5d5b
commit 79aefe43dd

View File

@ -35,6 +35,7 @@ execute_after_dh_auto_install:
-e "s|;ServerGID = 65534|ServerGID = irc|g" \ -e "s|;ServerGID = 65534|ServerGID = irc|g" \
-e "s|;PidFile = /var/run/ngircd/ngircd.pid|PidFile = /run/ircd/ngircd.pid|g" \ -e "s|;PidFile = /var/run/ngircd/ngircd.pid|PidFile = /run/ircd/ngircd.pid|g" \
-e "s|;PAM = yes|PAM = no|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" \ -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/usr/share/doc/ngircd/sample-ngircd.conf \
>>$(CURDIR)/debian/ngircd/etc/ngircd/ngircd.conf >>$(CURDIR)/debian/ngircd/etc/ngircd/ngircd.conf