I cannot stop the server using rc stop command: # /usr/local/etc/rc.d/pdns stop pdns not running? (check /var/run/pdns/pdns_server.pid). 'pidfile=/var/run/pdns/pdns_server.pid' line in rc script seems to be the problem. The pid file is created at '/var/run/pdns/pdns.pid'. If I remove the mentioned line everything seems to work fine.
I'm working on a patch already, since there's an issue with pkg-plist as well. Should be ready somewhere today. Thanks for your report. I totally missed this one.
Created attachment 214452 [details] Fix pkg-plist, pidfile in rc.d script and more - Add missing entries to pkg-plist - Add ixfrdist tool - Change pidfile back to ${name}.pid in the rc.d script - Pet portlint a bit (regenerate files/patch-configure and ran Makefile though portfmt) - Remove patch-dns_random.cc (only needed on 12.0, which is EoL) - Move upgrade instructions from pkg-install to pkg-message - Bump PORTREVISION Upgrading the port now shows a message about required schema changes for several backends.
Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/145628813
Committed, thanks!
A commit references this bug: Author: pi Date: Thu May 14 13:02:38 UTC 2020 New revision: 535231 URL: https://svnweb.freebsd.org/changeset/ports/535231 Log: dns/powerdns: fix pkg-plist, pidfile in rc.d script and more - Add missing entries to pkg-plist - Add ixfrdist tool - Change pidfile back to ${name}.pid in the rc.d script - Pet portlint a bit (regenerate files/patch-configure and ran Makefile though portfmt) - Remove patch-dns_random.cc (only needed on 12.0, which is EoL) - Move upgrade instructions from pkg-install to pkg-message - Bump PORTREVISION - Upgrading the port now shows a message about required schema changes for several backends. PR: 246434 Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer) Reported by: Dominik Lisiak <dominik.lisiak@bemsoft.pl> Changes: head/dns/powerdns/Makefile head/dns/powerdns/files/patch-configure head/dns/powerdns/files/patch-dns_random.cc head/dns/powerdns/files/pdns.in head/dns/powerdns/files/pkg-message.in head/dns/powerdns/pkg-install head/dns/powerdns/pkg-plist