From owner-svn-ports-all@freebsd.org Tue Jul 4 17:47:14 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 8C7C6D96E75; Tue, 4 Jul 2017 17:47:14 +0000 (UTC) (envelope-from ultima@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 6599B825F2; Tue, 4 Jul 2017 17:47:14 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v64HlDjQ028077; Tue, 4 Jul 2017 17:47:13 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v64HlDiq028074; Tue, 4 Jul 2017 17:47:13 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201707041747.v64HlDiq028074@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Tue, 4 Jul 2017 17:47:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445029 - in head/dns/powerdns-recursor: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: in head/dns/powerdns-recursor: . files X-SVN-Commit-Revision: 445029 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.23 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, 04 Jul 2017 17:47:14 -0000 Author: ultima Date: Tue Jul 4 17:47:13 2017 New Revision: 445029 URL: https://svnweb.freebsd.org/changeset/ports/445029 Log: * Updated to 4.0.5 Changelog: https://doc.powerdns.com/md/changelog/#powerdns-recursor-405 PR: 220289 Submitted by: Ralf van der Enden (maintainer) Reviewed by: matthew (mentor), matt Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D11472 Added: head/dns/powerdns-recursor/files/patch-configure (contents, props changed) Deleted: head/dns/powerdns-recursor/files/patch-ext_json11_json11.cpp Modified: head/dns/powerdns-recursor/Makefile head/dns/powerdns-recursor/distinfo Modified: head/dns/powerdns-recursor/Makefile ============================================================================== --- head/dns/powerdns-recursor/Makefile Tue Jul 4 17:38:30 2017 (r445028) +++ head/dns/powerdns-recursor/Makefile Tue Jul 4 17:47:13 2017 (r445029) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= recursor -PORTVERSION= 4.0.4 -PORTREVISION= 3 +PORTVERSION= 4.0.5 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- @@ -14,19 +13,22 @@ COMMENT= Advanced DNS recursor LICENSE= GPLv2 -BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs -LIB_DEPENDS= libboost_context.so:devel/boost-libs - BROKEN_armv6= 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 BROKEN_powerpc64= fails to compile: dnslabeltext.cc: undefined reference to std::__cxx11::basic_string +BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs +LIB_DEPENDS= libboost_context.so:devel/boost-libs + USES= compiler:c++11-lib cpe gmake localbase pkgconfig ssl tar:bzip2 GNU_CONFIGURE= YES CXXFLAGS+= -D_GLIBCXX_USE_C99 +CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns CPE_VENDOR= powerdns +USE_RC_SUBR= pdns-recursor + OPTIONS_DEFINE= SETUID OPTIONS_DEFAULT= LUA SETUID OPTIONS_RADIO= LUA_RG @@ -35,25 +37,15 @@ LUAJIT_DESC= Enable LuaJIT LUA_RG_DESC= Lua Engine SETUID_DESC= Run as pdns_recursor user -CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/pdns - -SUB_FILES= pkg-message - LUA_CONFIGURE_WITH= lua LUA_USES= lua LUAJIT_CONFIGURE_WITH= luajit LUAJIT_LIB_DEPENDS= libluajit-5.1.so.2:lang/luajit +SETUID_VARS= USERS=pdns_recursor GROUPS=pdns SETUID_EXTRA_PATCHES= ${PATCHDIR}/extrapatch-setuid -USE_RC_SUBR+= pdns-recursor - -.include - -.if ${PORT_OPTIONS:MSETUID} -USERS= pdns_recursor -GROUPS= pdns -.endif +SUB_FILES= pkg-message .include Modified: head/dns/powerdns-recursor/distinfo ============================================================================== --- head/dns/powerdns-recursor/distinfo Tue Jul 4 17:38:30 2017 (r445028) +++ head/dns/powerdns-recursor/distinfo Tue Jul 4 17:47:13 2017 (r445029) @@ -1,3 +1,3 @@ -TIMESTAMP = 1484621032 -SHA256 (pdns-recursor-4.0.4.tar.bz2) = 2338778f49ccd03401e65f6f4b39047890e691c8ff6d810ecee45321fb4f1e4d -SIZE (pdns-recursor-4.0.4.tar.bz2) = 1050596 +TIMESTAMP = 1497513533 +SHA256 (pdns-recursor-4.0.5.tar.bz2) = ba43ce4280b3a06afebe58c5d63680f51dd525c63d1de7f3b229b380e6b1b7af +SIZE (pdns-recursor-4.0.5.tar.bz2) = 1066145 Added: head/dns/powerdns-recursor/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/powerdns-recursor/files/patch-configure Tue Jul 4 17:47:13 2017 (r445029) @@ -0,0 +1,52 @@ +--- configure.orig 2017-06-13 09:59:12 UTC ++++ configure +@@ -15885,17 +15885,14 @@ fi + + case "$host" in + mips* | powerpc* ) +- as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_cannot continue" "$LINENO" 5 +- _-latomic" | $as_tr_sh` +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 ++ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -latomic" >&5 + $as_echo_n "checking whether the linker accepts -latomic... " >&6; } +-if eval \${$as_CACHEVAR+:} false; then : ++if ${ax_cv_check_ldflags___latomic+:} false; then : + $as_echo_n "(cached) " >&6 + else + + ax_check_save_flags=$LDFLAGS +- LDFLAGS="$LDFLAGS cannot continue" "$LINENO" 5 +- -latomic" ++ LDFLAGS="$LDFLAGS -latomic" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + +@@ -15908,21 +15905,21 @@ main () + } + _ACEOF + if ac_fn_cxx_try_link "$LINENO"; then : +- eval "$as_CACHEVAR=yes" ++ ax_cv_check_ldflags___latomic=yes + else +- eval "$as_CACHEVAR=no" ++ ax_cv_check_ldflags___latomic=no + fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$ax_check_save_flags + fi +-eval ac_res=\$$as_CACHEVAR +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then : ++{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___latomic" >&5 ++$as_echo "$ax_cv_check_ldflags___latomic" >&6; } ++if test "x$ax_cv_check_ldflags___latomic" = xyes; then : + : + else +- as_fn_error $? "Unable to link against libatomic ++ as_fn_error $? "Unable to link against libatomic, cannot continue" "$LINENO" 5 ++ + fi + + LDFLAGS="-latomic $LDFLAGS"