Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Sep 2015 16:46:08 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r395864 - in branches/2015Q3/dns/powerdns: . files
Message-ID:  <201509021646.t82Gk8nZ014935@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Wed Sep  2 16:46:08 2015
New Revision: 395864
URL: https://svnweb.freebsd.org/changeset/ports/395864

Log:
  MFH: r395863
  
  dns/powerdns: Update to 3.4.6
  
  - No longer install dnsdist, which conflicted with dns/dnsdist port
  - Luabackend patch is now FreeBSD/i386 specific and has been submitted upstream
  for inclusion
  
  This update also fixes a DoS vulnerability:
  
  https://doc.powerdns.com/md/security/powerdns-advisory-2015-02/
  
  Changelog:	https://doc.powerdns.com/md/changelog/#powerdns-authoritative-server-346
  
  PR:		202738
  Security:	55c43f5b-5190-11e5-9ad8-14dae9d210b8
  Security:	CVE-2015-5230
  Approved by:	ports-secteam (with hat)

Modified:
  branches/2015Q3/dns/powerdns/Makefile
  branches/2015Q3/dns/powerdns/distinfo
  branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc
  branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__luabackend.hh
  branches/2015Q3/dns/powerdns/pkg-plist
Directory Properties:
  branches/2015Q3/   (props changed)

Modified: branches/2015Q3/dns/powerdns/Makefile
==============================================================================
--- branches/2015Q3/dns/powerdns/Makefile	Wed Sep  2 16:42:46 2015	(r395863)
+++ branches/2015Q3/dns/powerdns/Makefile	Wed Sep  2 16:46:08 2015	(r395864)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	powerdns
-PORTVERSION=	3.4.5
+PORTVERSION=	3.4.6
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 DISTNAME=	pdns-${PORTVERSION}

Modified: branches/2015Q3/dns/powerdns/distinfo
==============================================================================
--- branches/2015Q3/dns/powerdns/distinfo	Wed Sep  2 16:42:46 2015	(r395863)
+++ branches/2015Q3/dns/powerdns/distinfo	Wed Sep  2 16:46:08 2015	(r395864)
@@ -1,2 +1,2 @@
-SHA256 (pdns-3.4.5.tar.bz2) = f3e1441532b0af05a6b5efe5346f02d0c55f252fbed62d5b4f2e4a80997c507d
-SIZE (pdns-3.4.5.tar.bz2) = 1337222
+SHA256 (pdns-3.4.6.tar.bz2) = 80a6a43cabd14db844bce84482ba56d03d46ebfbf96c88689fb3e2185ac286d8
+SIZE (pdns-3.4.6.tar.bz2) = 1336760

Modified: branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc
==============================================================================
--- branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc	Wed Sep  2 16:42:46 2015	(r395863)
+++ branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__lua_functions.cc	Wed Sep  2 16:46:08 2015	(r395864)
@@ -4,7 +4,7 @@
    return ret;
  }
  
-+#ifndef __i386__
++#if !(defined( __i386__) && defined(__FreeBSD__))
  bool LUABackend::getValueFromTable(lua_State *lua, const std::string& key, time_t& value) {
    lua_pushstring(lua, key.c_str()); 
    lua_gettable(lua, -2);  

Modified: branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__luabackend.hh
==============================================================================
--- branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__luabackend.hh	Wed Sep  2 16:42:46 2015	(r395863)
+++ branches/2015Q3/dns/powerdns/files/patch-modules__luabackend__luabackend.hh	Wed Sep  2 16:46:08 2015	(r395864)
@@ -4,7 +4,7 @@
  //  FUNCTIONS TO THIS BACKEND
      bool getValueFromTable(lua_State *lua, const std::string& key, string& value);
      bool getValueFromTable(lua_State *lua, uint32_t key, string& value);
-+#ifndef __i386__
++#if !(defined(__i386__) && defined(__FreeBSD__))
      bool getValueFromTable(lua_State *lua, const std::string& key, time_t& value);
 +#endif
      bool getValueFromTable(lua_State *lua, const std::string& key, uint32_t& value);

Modified: branches/2015Q3/dns/powerdns/pkg-plist
==============================================================================
--- branches/2015Q3/dns/powerdns/pkg-plist	Wed Sep  2 16:42:46 2015	(r395863)
+++ branches/2015Q3/dns/powerdns/pkg-plist	Wed Sep  2 16:46:08 2015	(r395864)
@@ -5,7 +5,6 @@ bin/zone2ldap
 bin/zone2sql
 sbin/pdns_server
 %%TOOLS%%bin/dnsbulktest
-%%TOOLS%%bin/dnsdist
 %%TOOLS%%bin/dnsreplay
 %%TOOLS%%bin/dnsscan
 %%TOOLS%%bin/dnsscope
@@ -29,7 +28,6 @@ sbin/pdns_server
 %%LMDB%%bin/zone2lmdb
 lib/pdns/libbindbackend.so
 lib/pdns/libpipebackend.so
-%%TOOLS%%man/man1/dnsdist.1.gz
 %%TOOLS%%man/man1/dnstcpbench.1.gz
 %%TOOLS%%man/man1/dnsreplay.1.gz
 %%TOOLS%%man/man1/dnsscope.1.gz



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