Place a "make cert" in a deb package for qmail
Hi
I'm patching a qmail deb package with netqmail 1.05 and TLS + AUTH patch
(from netqmail.org).
In order to get TLS working I need to execute "make cert" somewhere in
the rules file I guess.
I have tried putting it in this section:
build: build-stamp
build-stamp:
dh_testdir
# Add here commands to compile the package.
$(MAKE) it man
# My own addition: $(MAKE) cert
$(MAKE) cert
touch build-stamp
With normal compile method this will do:
make
make setup check
make cert
# Voila! You should now have TLS and SMTP-AUTH support working in
# qmail-smtpd.
But how do I apply this "make cert" into the deb package?
The package builds ok, and it seems that it's generating a cert file
while it prompts for information. But issueing STARTTLS at a telnet
mail.server.tld 25 prompt doesn't work:
454 TLS missing certificate: error:0200100D:system
library:fopen:Permission denied (#4.3.0)
Maybe I can install the certificate afterwards somehow?
Thanks in advance.
--
Med venlig hilsen / Best regards
Lars E. D. Jensen
lars@dangvard.dk
Reply to: