From owner-svn-ports-all@freebsd.org Tue Dec 19 21:42:38 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20CC1EA2581; Tue, 19 Dec 2017 21:42:38 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D46FC6CCF4; Tue, 19 Dec 2017 21:42:37 +0000 (UTC) (envelope-from krion@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBJLgag9038792; Tue, 19 Dec 2017 21:42:36 GMT (envelope-from krion@FreeBSD.org) Received: (from krion@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBJLgaoi038788; Tue, 19 Dec 2017 21:42:36 GMT (envelope-from krion@FreeBSD.org) Message-Id: <201712192142.vBJLgaoi038788@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: krion set sender to krion@FreeBSD.org using -f From: Kirill Ponomarev Date: Tue, 19 Dec 2017 21:42:36 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: krion X-SVN-Commit-Paths: in head/dns: . powerdns-recursor40 powerdns-recursor40/files X-SVN-Commit-Revision: 456769 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 21:42:38 -0000 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 - -.if ${OSVERSION} < 1003506 -IGNORE= no _cxa_thread_atexit() support in FreeBSD libc < 10.4 -.endif - -.include +.include 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!