Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2017 21:42:36 +0000 (UTC)
From:      Kirill Ponomarev <krion@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456769 - in head/dns: . powerdns-recursor40 powerdns-recursor40/files
Message-ID:  <201712192142.vBJLgaoi038788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: krion
Date: Tue Dec 19 21:42:36 2017
New Revision: 456769
URL: https://svnweb.freebsd.org/changeset/ports/456769

Log:
  Add new port dns/powerdns-recursor40
  
  FreeBSD 10.3 and below doesn't support __cxa_thread_atexit() in
  libc, which is required for building PowerDNS Recursor 4.1.0.
  
  This new port follows the 4.0.x branch, which has no such
  requirement.
  
  PR:		224297
  Submitted by:	tremere@cainites.net
  Approved by:	mat
  Differential Revision: https://reviews.freebsd.org/D13540

Added:
  head/dns/powerdns-recursor40/
     - copied from r456764, head/dns/powerdns-recursor/
Modified:
  head/dns/Makefile
  head/dns/powerdns-recursor40/Makefile
  head/dns/powerdns-recursor40/distinfo
  head/dns/powerdns-recursor40/files/extrapatch-setuid

Modified: head/dns/Makefile
==============================================================================
--- head/dns/Makefile	Tue Dec 19 20:54:17 2017	(r456768)
+++ head/dns/Makefile	Tue Dec 19 21:42:36 2017	(r456769)
@@ -172,6 +172,7 @@
     SUBDIR += pear-Net_DNS2
     SUBDIR += powerdns
     SUBDIR += powerdns-recursor
+    SUBDIR += powerdns-recursor40
     SUBDIR += public_suffix_list
     SUBDIR += py-dns
     SUBDIR += py-dns-lexicon

Modified: head/dns/powerdns-recursor40/Makefile
==============================================================================
--- head/dns/powerdns-recursor/Makefile	Tue Dec 19 20:06:09 2017	(r456764)
+++ head/dns/powerdns-recursor40/Makefile	Tue Dec 19 21:42:36 2017	(r456769)
@@ -2,11 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	recursor
-DISTVERSION=	4.1.0
-PORTREVISION=	1
+DISTVERSION=	4.0.8
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://downloads.powerdns.com/releases/
 PKGNAMEPREFIX=	powerdns-
+PKGNAMESUFFIX=	40
 DISTNAME=	pdns-${PORTNAME}-${DISTVERSION}
 
 MAINTAINER=	tremere@cainites.net
@@ -58,10 +58,4 @@ SETUID_EXTRA_PATCHES=	${PATCHDIR}/extrapatch-setuid
 
 SUB_FILES=	pkg-message
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 1003506
-IGNORE=		no _cxa_thread_atexit() support in FreeBSD libc < 10.4
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/dns/powerdns-recursor40/distinfo
==============================================================================
--- head/dns/powerdns-recursor/distinfo	Tue Dec 19 20:06:09 2017	(r456764)
+++ head/dns/powerdns-recursor40/distinfo	Tue Dec 19 21:42:36 2017	(r456769)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1512394122
-SHA256 (pdns-recursor-4.1.0.tar.bz2) = 880b9d4cc57e2b11cae5bff9b20571fb3466f4385c010d06764296fef44f60a3
-SIZE (pdns-recursor-4.1.0.tar.bz2) = 1222751
+TIMESTAMP = 1513108912
+SHA256 (pdns-recursor-4.0.8.tar.bz2) = 9c6ff00f0e26044b0c81f1a8304743b4fc0f6699a356fce28cc8c2e6aaf16513
+SIZE (pdns-recursor-4.0.8.tar.bz2) = 1071831

Modified: head/dns/powerdns-recursor40/files/extrapatch-setuid
==============================================================================
--- head/dns/powerdns-recursor/files/extrapatch-setuid	Tue Dec 19 20:06:09 2017	(r456764)
+++ head/dns/powerdns-recursor40/files/extrapatch-setuid	Tue Dec 19 21:42:36 2017	(r456769)
@@ -1,13 +1,13 @@
---- pdns_recursor.cc.orig	2017-12-11 13:13:52.274237000 +0100
-+++ pdns_recursor.cc	2017-12-11 13:18:42.339569000 +0100
-@@ -3325,8 +3325,8 @@
-     ::arg().set("log-timestamp","Print timestamps in log lines, useful to disable when running with a tool that timestamps stdout already")="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")="";
 +    ::arg().set("setgid","If set, change group id to this gid for more security")="pdns";
 +    ::arg().set("setuid","If set, change user id to this uid for more security")="pdns_recursor";
-     ::arg().set("network-timeout", "Wait this number of milliseconds for network i/o")="1500";
+     ::arg().set("network-timeout", "Wait this nummer of milliseconds for network i/o")="1500";
      ::arg().set("threads", "Launch this number of threads")="2";
      ::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!



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