Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 18:40:46 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511261 - in head/dns/powerdns-recursor: . files
Message-ID:  <201909051840.x85IekkG065043@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Thu Sep  5 18:40:45 2019
New Revision: 511261
URL: https://svnweb.freebsd.org/changeset/ports/511261

Log:
  dns/powerdns-recursor: upgrade 4.1.14 -> 4.2.0
  
  PR:		239376
  Submitted by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
  Relnotes:	https://doc.powerdns.com/recursor/changelog/4.2.html
  		https://blog.powerdns.com/2019/07/15/powerdns-recursor-4-2-0-released/

Added:
  head/dns/powerdns-recursor/files/patch-pdns_dns__random.cc   (contents, props changed)
Deleted:
  head/dns/powerdns-recursor/files/patch-rec__channel.cc
Modified:
  head/dns/powerdns-recursor/Makefile
  head/dns/powerdns-recursor/distinfo

Modified: head/dns/powerdns-recursor/Makefile
==============================================================================
--- head/dns/powerdns-recursor/Makefile	Thu Sep  5 18:29:06 2019	(r511260)
+++ head/dns/powerdns-recursor/Makefile	Thu Sep  5 18:40:45 2019	(r511261)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	recursor
-DISTVERSION=	4.1.14
-PORTREVISION=	4
+DISTVERSION=	4.2.0
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 PKGNAMEPREFIX=	powerdns-
@@ -14,7 +13,7 @@ COMMENT=	Advanced DNS recursor
 
 LICENSE=	GPLv2
 
-BROKEN_armv6=		fails to compile: use of overloaded operator << is ambiguous
+BROKEN_armv6=	fails to compile: use of overloaded operator << is ambiguous
 BROKEN_armv7=	fails to compile: use of overloaded operator << is ambiguous
 BROKEN_sparc64=	fails to compile: json11.cpp: undefined reference to std::__throw_out_of_range_fmt
 
@@ -37,26 +36,27 @@ CXXFLAGS+=	-D_GLIBCXX_USE_C99
 
 SUB_FILES=	pkg-message
 
-OPTIONS_DEFINE=		LUAJIT OPTALGO SETUID
+OPTIONS_DEFINE=		LUAJIT SETUID
 OPTIONS_DEFAULT=	SETUID
 
 LUAJIT_DESC=	Use LuaJIT instead of Lua
-OPTALGO_DESC=	Enable optional algorithms (12, 15 & 16)
 SETUID_DESC=	Run as pdns_recursor user
 
 LUAJIT_LIB_DEPENDS=	libluajit-5.1.so.2:lang/luajit
 LUAJIT_USES_OFF=	lua
-LUAJIT_CONFIGURE_WITH=	luajit
+LUAJIT_CONFIGURE_ON=	--with-lua=luajit
 
-OPTALGO_LIB_DEPENDS=	libbotan-2.so:security/botan2 \
-			libdecaf.so:security/libdecaf \
-			libsodium.so:security/libsodium
-OPTALGO_CONFIGURE_ON=	--enable-botan \
-			--enable-libdecaf \
-			--enable-libsodium
-
 SETUID_EXTRA_PATCHES=	${PATCHDIR}/extrapatch-setuid
 SETUID_VARS=		GROUPS=pdns \
 			USERS=pdns_recursor
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200085 && ${SSL_DEFAULT} != openssl111
+CONFIGURE_ARGS+=	--enable-libdecaf \
+			--enable-libsodium
+LIB_DEPENDS+=		libdecaf.so:security/libdecaf \
+			libsodium.so:security/libsodium
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/dns/powerdns-recursor/distinfo
==============================================================================
--- head/dns/powerdns-recursor/distinfo	Thu Sep  5 18:29:06 2019	(r511260)
+++ head/dns/powerdns-recursor/distinfo	Thu Sep  5 18:40:45 2019	(r511261)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1560505728
-SHA256 (pdns-recursor-4.1.14.tar.bz2) = 7fceb8fa3bea693aad49d137c801bb3ecc15525cc5a7dc84380321546e87bf14
-SIZE (pdns-recursor-4.1.14.tar.bz2) = 1249908
+TIMESTAMP = 1563267791
+SHA256 (pdns-recursor-4.2.0.tar.bz2) = f03c72c1816fdcc645cc539d8c16721d2ec294feac9b5179e78c3db311b7c2c2
+SIZE (pdns-recursor-4.2.0.tar.bz2) = 1316156

Added: head/dns/powerdns-recursor/files/patch-pdns_dns__random.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/powerdns-recursor/files/patch-pdns_dns__random.cc	Thu Sep  5 18:40:45 2019	(r511261)
@@ -0,0 +1,12 @@
+--- dns_random.cc.orig	2018-11-29 12:53:42 UTC
++++ dns_random.cc
+@@ -40,7 +40,9 @@
+ #include <openssl/rand.h>
+ #endif
+ #if defined(HAVE_GETRANDOM)
++extern "C" {
+ #include <sys/random.h>
++}
+ #endif
+ 
+ static enum DNS_RNG {



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