Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2021 16:53:29 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f008c3a2ef20 - main - dns/powerdns-recursor: update to 4.5.2
Message-ID:  <202106111653.15BGrTtA035266@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f008c3a2ef2021778c768b1a49d241566f45b93b

commit f008c3a2ef2021778c768b1a49d241566f45b93b
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2021-06-11 16:38:22 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2021-06-11 16:51:14 +0000

    dns/powerdns-recursor: update to 4.5.2
    
    rc.d script changes + cleanup deps
    
    mark NOT_FOR_ARCHS=i386 since upstream no longer supports archs with
    32bit time_t.
    
    Changes: https://doc.powerdns.com/recursor/changelog/4.5.html#change-4.5.2
    
    PR:             256530
    Approved by:    maintainer
---
 dns/powerdns-recursor/Makefile               | 13 ++++++-------
 dns/powerdns-recursor/distinfo               |  6 +++---
 dns/powerdns-recursor/files/pdns-recursor.in |  7 ++++++-
 3 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index c756ef58ed69..28e4c46e039b 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -1,7 +1,7 @@
 # Created by: sten@blinkenlights.nl
 
 PORTNAME=	recursor
-DISTVERSION=	4.5.1
+DISTVERSION=	4.5.2
 CATEGORIES=	dns
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 PKGNAMEPREFIX=	powerdns-
@@ -15,22 +15,21 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BROKEN_armv6=	fails to compile: use of overloaded operator << is ambiguous
 BROKEN_armv7=	fails to compile: use of overloaded operator << is ambiguous
-BROKEN_i386=	crashes on startup (SIGSEGV)
 BROKEN_FreeBSD_12_powerpc64=	fails to compile: Assembler messages: unaligned opcodes detected in executable segment
+NOT_FOR_ARCHS=	i386
+NOT_FOR_ARCHS_REASON=	archs with 32-bits time_t are no longer supported by upstream
 
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs
-LIB_DEPENDS=	libboost_context.so:devel/boost-libs \
-		libprotobuf.so:devel/protobuf
+LIB_DEPENDS=	libboost_context.so:devel/boost-libs
 
-USES=		autoreconf compiler:c++11-lib cpe gmake libtool localbase:ldflags \
-		pkgconfig ssl tar:bzip2
+USES=		autoreconf compiler:c++11-lib cpe gmake libtool \
+		localbase:ldflags pkgconfig ssl tar:bzip2
 
 CPE_VENDOR=	powerdns
 USE_RC_SUBR=	pdns-recursor
 
 GNU_CONFIGURE=	YES
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/pdns \
-		--with-protobuf \
 		--without-net-snmp \
 		--without-systemd
 
diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo
index 53a1758783d4..66d31cf9c6e4 100644
--- a/dns/powerdns-recursor/distinfo
+++ b/dns/powerdns-recursor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620750356
-SHA256 (pdns-recursor-4.5.1.tar.bz2) = 3721a1d0e438a683735f518db1e91da6ace1b90fbfdb9c588adabdf164114e79
-SIZE (pdns-recursor-4.5.1.tar.bz2) = 1463138
+TIMESTAMP = 1623230795
+SHA256 (pdns-recursor-4.5.2.tar.bz2) = b1283d5354f1cbb3d15791f96af3ab3e08a13453431e94fe87b8dbe9f78f0184
+SIZE (pdns-recursor-4.5.2.tar.bz2) = 1464834
diff --git a/dns/powerdns-recursor/files/pdns-recursor.in b/dns/powerdns-recursor/files/pdns-recursor.in
index 4a63cb7fb06a..75733410bbad 100644
--- a/dns/powerdns-recursor/files/pdns-recursor.in
+++ b/dns/powerdns-recursor/files/pdns-recursor.in
@@ -25,9 +25,14 @@ pdns_recursor_enable=${pdns_recursor_enable:-"NO"}
 pdns_recursor_conf=${pdns_recursor_conf:-"%%PREFIX%%/etc/pdns/recursor.conf"}
 required_files=${pdns_recursor_conf}
 
+# run_rc_command would send ${name}_flags as parameters to $command (daemon)
+# This ensures they are actually passed to pdns_recursor instead.
+actual_pdns_recursor_flags="${pdns_recursor_flags}"
+pdns_recursor_flags=""
+
 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"
+command_args="-c -f -r -P ${pidfile} ${actual_command} --daemon=no --write-pid=no ${actual_pdns_recursor_flags}"
 
 run_rc_command "$1"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106111653.15BGrTtA035266>