Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jul 2017 17:47:13 +0000 (UTC)
From:      Richard Gallamore <ultima@FreeBSD.org>
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
Message-ID:  <201707041747.v64HlDiq028074@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <tremere@cainites.net> (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 <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSETUID}
-USERS=		pdns_recursor
-GROUPS=		pdns
-.endif
+SUB_FILES=	pkg-message
 
 .include <bsd.port.mk>

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"



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