Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2017 11:24:40 +0000 (UTC)
From:      Jason Unovitch <junovitch@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431788 - in head/dns/powerdns-recursor: . files
Message-ID:  <201701181124.v0IBOelE094865@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: junovitch
Date: Wed Jan 18 11:24:40 2017
New Revision: 431788
URL: https://svnweb.freebsd.org/changeset/ports/431788

Log:
  dns/powerdns-recursor: update 4.0.3 -> 4.0.4
  
  Changes:	https://doc.powerdns.com/md/changelog/#powerdns-recursor-404
  
  PR:		216135
  Reported by:	Dani <i.dani@outlook.com>
  Submitted by:	ghostonthewire@gmail.com
  Approved by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
  Security:	CVE-2016-7068
  Security:	CVE-2016-7073
  Security:	CVE-2016-7074
  Security:	https://vuxml.FreeBSD.org/freebsd/e3200958-dd6c-11e6-ae1b-002590263bf5.html
  MFH:		2017Q1

Deleted:
  head/dns/powerdns-recursor/files/patch-lua-recursor4.cc
  head/dns/powerdns-recursor/files/patch-mtasker__fcontext.cc
Modified:
  head/dns/powerdns-recursor/Makefile
  head/dns/powerdns-recursor/distinfo
  head/dns/powerdns-recursor/files/extrapatch-setuid
  head/dns/powerdns-recursor/files/patch-dnsname.hh

Modified: head/dns/powerdns-recursor/Makefile
==============================================================================
--- head/dns/powerdns-recursor/Makefile	Wed Jan 18 11:23:58 2017	(r431787)
+++ head/dns/powerdns-recursor/Makefile	Wed Jan 18 11:24:40 2017	(r431788)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	recursor
-PORTVERSION=	4.0.3
-PORTREVISION=	3
+PORTVERSION=	4.0.4
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 PKGNAMEPREFIX=	powerdns-

Modified: head/dns/powerdns-recursor/distinfo
==============================================================================
--- head/dns/powerdns-recursor/distinfo	Wed Jan 18 11:23:58 2017	(r431787)
+++ head/dns/powerdns-recursor/distinfo	Wed Jan 18 11:24:40 2017	(r431788)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1473284590
-SHA256 (pdns-recursor-4.0.3.tar.bz2) = ae9813a64d13d9ebe4b44e89e8e4e44fc438693b6ce4c3a98e4cab1af22d9627
-SIZE (pdns-recursor-4.0.3.tar.bz2) = 1045041
+TIMESTAMP = 1484621032
+SHA256 (pdns-recursor-4.0.4.tar.bz2) = 2338778f49ccd03401e65f6f4b39047890e691c8ff6d810ecee45321fb4f1e4d
+SIZE (pdns-recursor-4.0.4.tar.bz2) = 1050596

Modified: head/dns/powerdns-recursor/files/extrapatch-setuid
==============================================================================
--- head/dns/powerdns-recursor/files/extrapatch-setuid	Wed Jan 18 11:23:58 2017	(r431787)
+++ head/dns/powerdns-recursor/files/extrapatch-setuid	Wed Jan 18 11:24:40 2017	(r431788)
@@ -1,8 +1,8 @@
---- pdns_recursor.cc.orig	2010-03-06 13:10:44.000000000 +0100
-+++ pdns_recursor.cc	2010-03-07 21:13:07.000000000 +0100
-@@ -1890,8 +1890,8 @@
-     ::arg().set("daemon","Operate as a daemon")="yes";
-     ::arg().set("log-common-errors","If we should log rather common errors")="yes";
+--- pdns_recursor.cc.orig	2017-01-17 02:48:30 UTC
++++ pdns_recursor.cc
+@@ -2969,8 +2969,8 @@ int main(int argc, char **argv)
+     ::arg().set("disable-syslog","Disable logging to syslog, useful when running inside a supervisor that logs stdout")="no";
+     ::arg().set("log-common-errors","If we should log rather common errors")="no";
      ::arg().set("chroot","switch to chroot jail")="";
 -    ::arg().set("setgid","If set, change group id to this gid for more security")="";
 -    ::arg().set("setuid","If set, change user id to this uid for more security")="";
@@ -10,4 +10,4 @@
 +    ::arg().set("setuid","If set, change user id to this uid for more security")="pdns_recursor";
      ::arg().set("network-timeout", "Wait this nummer of milliseconds for network i/o")="1500";
      ::arg().set("threads", "Launch this number of threads")="2";
- #ifdef WIN32
+     ::arg().set("processes", "Launch this number of processes (EXPERIMENTAL, DO NOT CHANGE)")="1"; // if we un-experimental this, need to fix openssl rand seeding for multiple PIDs!

Modified: head/dns/powerdns-recursor/files/patch-dnsname.hh
==============================================================================
--- head/dns/powerdns-recursor/files/patch-dnsname.hh	Wed Jan 18 11:23:58 2017	(r431787)
+++ head/dns/powerdns-recursor/files/patch-dnsname.hh	Wed Jan 18 11:24:40 2017	(r431788)
@@ -1,13 +1,11 @@
-https://github.com/PowerDNS/pdns/issues/2955
-
---- dnsname.hh.orig	2016-09-06 12:50:29 UTC
+--- dnsname.hh.orig	2017-01-17 03:18:41 UTC
 +++ dnsname.hh
 @@ -30,7 +30,7 @@
  #include <boost/version.hpp>
  
  // it crashes on OSX and doesn't compile on OpenBSD
--#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
-+#if BOOST_VERSION >= 104800 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__)
+-#if BOOST_VERSION >= 105300 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
++#if BOOST_VERSION >= 105300 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__)
  #include <boost/container/string.hpp>
  #endif
  
@@ -15,8 +13,8 @@ https://github.com/PowerDNS/pdns/issues/
    inline bool canonCompare(const DNSName& rhs) const;
    bool slowCanonCompare(const DNSName& rhs) const;  
  
--#if BOOST_VERSION >= 104800 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
-+#if BOOST_VERSION >= 104800 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__)
+-#if BOOST_VERSION >= 105300 && ! defined( __APPLE__ ) && ! defined(__OpenBSD__)
++#if BOOST_VERSION >= 105300 && ! defined(_LIBCPP_VERSION) && ! defined(__OpenBSD__)
    typedef boost::container::string string_t;
  #else
    typedef std::string string_t;



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