svn commit: r379715 - in head/dns/powerdns-recursor: . files
Bartek Rutkowski
robak at FreeBSD.org
Mon Feb 23 23:20:04 UTC 2015
Author: robak
Date: Mon Feb 23 23:20:02 2015
New Revision: 379715
URL: https://svnweb.freebsd.org/changeset/ports/379715
QAT: https://qat.redports.org/buildarchive/r379715/
Log:
dns/powerdns-recursor: update 3.6.2 -> 3.7.1
- Change MAINTAINER to tremere at cainites.net (maintainer approved)
- Delete obsolete patches
- Strip MASTER_SITES
PR: 197590
Submitted by: Ralf van der Enden <tremere at cainites.net>
Added:
head/dns/powerdns-recursor/files/patch-sendmsg_fix (contents, props changed)
Deleted:
head/dns/powerdns-recursor/files/patch-makefile
head/dns/powerdns-recursor/files/patch-manpages
Modified:
head/dns/powerdns-recursor/Makefile
head/dns/powerdns-recursor/distinfo
head/dns/powerdns-recursor/pkg-plist
Modified: head/dns/powerdns-recursor/Makefile
==============================================================================
--- head/dns/powerdns-recursor/Makefile Mon Feb 23 22:14:11 2015 (r379714)
+++ head/dns/powerdns-recursor/Makefile Mon Feb 23 23:20:02 2015 (r379715)
@@ -2,13 +2,12 @@
# $FreeBSD$
PORTNAME= powerdns-recursor
-PORTVERSION= 3.6.2
+PORTVERSION= 3.7.1
CATEGORIES= dns ipv6
-MASTER_SITES= http://downloads.powerdns.com/releases/ \
- http://mirrors.evolva.ro/powerdns.com/releases/
+MASTER_SITES= http://downloads.powerdns.com/releases/
DISTNAME= pdns-recursor-${PORTVERSION}
-MAINTAINER= sten at blinkenlights.nl
+MAINTAINER= tremere at cainites.net
COMMENT= Advanced DNS recursor
LICENSE= GPLv2
@@ -17,6 +16,7 @@ BUILD_DEPENDS= bjam:${PORTSDIR}/devel/bo
${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
USES= gmake tar:bzip2
+GNU_CONFIGURE= YES
OPTIONS_DEFINE= SETUID LUA STATIC
OPTIONS_DEFAULT= SETUID
@@ -43,7 +43,7 @@ GROUPS= pdns
.endif
.if ${PORT_OPTIONS:MLUA}
-USES+= lua:51
+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}"
@@ -65,9 +65,7 @@ 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/;' \
- ${WRKSRC}/Makefile
-
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/*.8 ${STAGEDIR}${PREFIX}/man/man8/
+ -e 's;/usr/share;${MANPREFIX};' \
+ ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
Modified: head/dns/powerdns-recursor/distinfo
==============================================================================
--- head/dns/powerdns-recursor/distinfo Mon Feb 23 22:14:11 2015 (r379714)
+++ head/dns/powerdns-recursor/distinfo Mon Feb 23 23:20:02 2015 (r379715)
@@ -1,2 +1,2 @@
-SHA256 (pdns-recursor-3.6.2.tar.bz2) = d9abf5bb5982cee1c3ba6eaa684d2777b7c0d3f038e201dd4e7362b4652750a4
-SIZE (pdns-recursor-3.6.2.tar.bz2) = 200313
+SHA256 (pdns-recursor-3.7.1.tar.bz2) = e6b0d255a0d8cd023ebd63c50f453a305c649d04873859b4119745d64b8bd36d
+SIZE (pdns-recursor-3.7.1.tar.bz2) = 245155
Added: head/dns/powerdns-recursor/files/patch-sendmsg_fix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/dns/powerdns-recursor/files/patch-sendmsg_fix Mon Feb 23 23:20:02 2015 (r379715)
@@ -0,0 +1,23 @@
+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)) {
Modified: head/dns/powerdns-recursor/pkg-plist
==============================================================================
--- head/dns/powerdns-recursor/pkg-plist Mon Feb 23 22:14:11 2015 (r379714)
+++ head/dns/powerdns-recursor/pkg-plist Mon Feb 23 23:20:02 2015 (r379715)
@@ -3,5 +3,5 @@ etc/pdns/recursor.conf-dist
@exec [ -f %B/recursor.conf ] || cp %B/%f %B/recursor.conf
bin/rec_control
sbin/pdns_recursor
-man/man8/pdns_recursor.8.gz
-man/man8/rec_control.8.gz
+man/man1/pdns_recursor.1.gz
+man/man1/rec_control.1.gz
More information about the svn-ports-all
mailing list