diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile index 396d09bfba..bbbb13edac 100644 --- a/dns/powerdns-recursor/Makefile +++ b/dns/powerdns-recursor/Makefile @@ -1,8 +1,7 @@ # Created by: sten@blinkenlights.nl PORTNAME= recursor -DISTVERSION= 4.4.2 -PORTREVISION= 1 +DISTVERSION= 4.4.3 CATEGORIES= dns MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- @@ -32,7 +31,8 @@ USE_RC_SUBR= pdns-recursor GNU_CONFIGURE= YES CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ --with-protobuf \ - --without-net-snmp + --without-net-snmp \ + --without-systemd SUB_FILES= pkg-message diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo index 53c1caee8f..a09b4f2fc5 100644 --- a/dns/powerdns-recursor/distinfo +++ b/dns/powerdns-recursor/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1608248216 -SHA256 (pdns-recursor-4.4.2.tar.bz2) = b0b97f49848a1758b64bc0b99a596c1583ea525477193f3c01905f5163a4f5cf -SIZE (pdns-recursor-4.4.2.tar.bz2) = 1396763 +TIMESTAMP = 1617201578 +SHA256 (pdns-recursor-4.4.3.tar.bz2) = f8411258100cc310c75710d7f4d59b5eb4797f437f71dc466ed97a83f1babe05 +SIZE (pdns-recursor-4.4.3.tar.bz2) = 1398743 diff --git a/dns/powerdns-recursor/files/pdns-recursor.in b/dns/powerdns-recursor/files/pdns-recursor.in index c7437049c9..4a63cb7fb0 100644 --- a/dns/powerdns-recursor/files/pdns-recursor.in +++ b/dns/powerdns-recursor/files/pdns-recursor.in @@ -25,9 +25,9 @@ pdns_recursor_enable=${pdns_recursor_enable:-"NO"} pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"} required_files=${pdns_recursor_conf} -pidfile=/var/run/pdns-recursor/${name}.pid - -command=%%PREFIX%%/sbin/${name} -command_args="--daemon" +pidfile="/var/run/${name}.pid" +actual_command="%%PREFIX%%/sbin/${name}" +command="/usr/sbin/daemon" +command_args="-c -f -r -P ${pidfile} ${actual_command} --daemon=no --write-pid=no" run_rc_command "$1"