Index: head/dns/powerdns/distinfo =================================================================== --- head/dns/powerdns/distinfo (revision 385122) +++ head/dns/powerdns/distinfo (revision 385123) @@ -1,3 +1,2 @@ SHA256 (pdns-3.4.4.tar.bz2) = ec49f5a0b55b69ba057bf9ce28ab81e5258fc60c8d4954d9100fe3bb3efd09c8 SIZE (pdns-3.4.4.tar.bz2) = 1336624 - Index: head/dns/powerdns-recursor/Makefile =================================================================== --- head/dns/powerdns-recursor/Makefile (revision 385122) +++ head/dns/powerdns-recursor/Makefile (revision 385123) @@ -1,71 +1,74 @@ # Created by: sten@blinkenlights.nl # $FreeBSD$ -PORTNAME= powerdns-recursor -PORTVERSION= 3.7.1 +PORTNAME= recursor +PORTVERSION= 3.7.2 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ -DISTNAME= pdns-recursor-${PORTVERSION} +PKGNAMEPREFIX= powerdns- +DISTNAME= pdns-${PORTNAME}-${PORTVERSION} MAINTAINER= tremere@cainites.net COMMENT= Advanced DNS recursor LICENSE= GPLv2 BUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost-jam \ ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs -USES= gmake tar:bzip2 +USES= cpe gmake tar:bzip2 GNU_CONFIGURE= YES + +CPE_VENDOR= powerdns OPTIONS_DEFINE= SETUID LUA STATIC OPTIONS_DEFAULT= SETUID SETUID_DESC= Run as pdns_recursor user STATIC_DESC= Build static binaries CXXFLAGS+= -I${PREFIX}/include LDFLAGS+= -L${PREFIX}/lib SUB_FILES= pkg-message .include .if ${ARCH} == "sparc64" BROKEN= Does not compile on sparc64 .endif USE_RC_SUBR+= pdns-recursor .if ${PORT_OPTIONS:MSETUID} EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-setuid USERS= pdns_recursor GROUPS= pdns .endif .if ${PORT_OPTIONS:MLUA} USES+= lua MAKE_ENV+=LUA=1 MAKE_ENV+="LUA_CPPFLAGS_CONFIG=-I${LUA_INCDIR}" MAKE_ENV+="LUA_LIBS_CONFIG=-L${LUA_LIBDIR} -llua-${LUA_VER}" .endif .if ${PORT_OPTIONS:MSTATIC} MAKE_ENV+=STATIC=full .endif .if exists(/usr/include/ucontext.h) UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \ /usr/include/ucontext.h .if ${UCONTEXT} == "" BROKEN= requires setcontext() .endif .endif post-patch: @${REINPLACE_CMD} -e 's;SBINDIR=/usr/sbin/;SBINDIR=${PREFIX}/sbin/;' \ -e 's;BINDIR=/usr/bin/;BINDIR=${PREFIX}/bin/;' \ -e 's;SYSCONFDIR=/etc/powerdns/;SYSCONFDIR=${PREFIX}/etc/pdns/;' \ -e 's;/usr/share;${MANPREFIX};' \ ${WRKSRC}/Makefile.in .include Index: head/dns/powerdns-recursor/distinfo =================================================================== --- head/dns/powerdns-recursor/distinfo (revision 385122) +++ head/dns/powerdns-recursor/distinfo (revision 385123) @@ -1,2 +1,2 @@ -SHA256 (pdns-recursor-3.7.1.tar.bz2) = e6b0d255a0d8cd023ebd63c50f453a305c649d04873859b4119745d64b8bd36d -SIZE (pdns-recursor-3.7.1.tar.bz2) = 245155 +SHA256 (pdns-recursor-3.7.2.tar.bz2) = 1366bc1bed7c96fbd3926cf7a9e6d365c53b8a99182642debe1b2863dd015a7e +SIZE (pdns-recursor-3.7.2.tar.bz2) = 244582 Index: head/dns/powerdns-recursor/files/patch-sendmsg_fix =================================================================== --- head/dns/powerdns-recursor/files/patch-sendmsg_fix (revision 385122) +++ head/dns/powerdns-recursor/files/patch-sendmsg_fix (nonexistent) @@ -1,23 +0,0 @@ -diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc -index fdee0f1..23fca87 100644 ---- pdns_recursor.cc -+++ pdns_recursor.cc -@@ -688,6 +688,8 @@ void startDoResolve(void *p) - fillMSGHdr(&msgh, &iov, cbuf, 0, (char*)&*packet.begin(), packet.size(), &dc->d_remote); - if(dc->d_local.sin4.sin_family) - addCMsgSrcAddr(&msgh, cbuf, &dc->d_local); -+ else -+ msgh.msg_control=NULL; - sendmsg(dc->d_socket, &msgh, 0); - if(!SyncRes::s_nopacketcache && !variableAnswer ) { - t_packetCache->insertResponsePacket(string((const char*)&*packet.begin(), packet.size()), -@@ -961,6 +963,9 @@ string* doProcessUDPQuestion(const std::string& question, const ComboAddress& fr - if(destaddr.sin4.sin_family) { - addCMsgSrcAddr(&msgh, cbuf, &destaddr); - } -+ else { -+ msgh.msg_control=NULL; -+ } - sendmsg(fd, &msgh, 0); - - if(response.length() >= sizeof(struct dnsheader)) { Property changes on: head/dns/powerdns-recursor/files/patch-sendmsg_fix ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property