pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/powerdns-recursor Get kqueue support working



details:   https://anonhg.NetBSD.org/pkgsrc/rev/22b611dbc0e6
branches:  trunk
changeset: 391910:22b611dbc0e6
user:      roy <roy%pkgsrc.org@localhost>
date:      Tue Apr 21 22:52:37 2009 +0000

description:
Get kqueue support working

diffstat:

 net/powerdns-recursor/Makefile         |   5 ++---
 net/powerdns-recursor/distinfo         |   3 ++-
 net/powerdns-recursor/patches/patch-ag |  14 ++++++++++++++
 3 files changed, 18 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 069393a29101 -r 22b611dbc0e6 net/powerdns-recursor/Makefile
--- a/net/powerdns-recursor/Makefile    Tue Apr 21 21:26:13 2009 +0000
+++ b/net/powerdns-recursor/Makefile    Tue Apr 21 22:52:37 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/04/21 14:16:47 roy Exp $
+# $NetBSD: Makefile,v 1.2 2009/04/21 22:52:37 roy Exp $
 #
 
 DISTNAME=              pdns-recursor-3.1.7
@@ -31,8 +31,7 @@
        ${SED} -e "s:/etc/powerdns:${PKG_SYSCONFDIR}:" \
                ${WRKSRC}/config.h >${WRKSRC}/config.h.new
        ${MV} ${WRKSRC}/config.h.new ${WRKSRC}/config.h
-       @# TODO Make kqueue work
-       @#${LN} -s FreeBSD.inc ${WRKSRC}/sysdeps/NetBSD.inc
+       ${LN} -s FreeBSD.inc ${WRKSRC}/sysdeps/NetBSD.inc
        ${MV} ${WRKSRC}/pdns_recursor.1 ${WRKSRC}/pdns_recursor.8
        ${MV} ${WRKSRC}/rec_control.1 ${WRKSRC}/rec_control.8
 
diff -r 069393a29101 -r 22b611dbc0e6 net/powerdns-recursor/distinfo
--- a/net/powerdns-recursor/distinfo    Tue Apr 21 21:26:13 2009 +0000
+++ b/net/powerdns-recursor/distinfo    Tue Apr 21 22:52:37 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/04/21 14:16:47 roy Exp $
+$NetBSD: distinfo,v 1.2 2009/04/21 22:52:37 roy Exp $
 
 SHA1 (pdns-recursor-3.1.7.tar.bz2) = 3e9c46e432d57edd58f767311247e750350883e9
 RMD160 (pdns-recursor-3.1.7.tar.bz2) = 359b3e3fff942f9fd14bebe4bc16b9d6cd23d0e3
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = a28cdd1a6e860c1c9460c36e2e8acece4b163436
 SHA1 (patch-ae) = 54ce9208671928bf4b63331f2a248b601325541e
 SHA1 (patch-af) = 23b8dbad8f7f69652d7417ca6dcca4dde4a6fe57
+SHA1 (patch-ag) = 952182b856fa0ec995d9ba307124e069c1831049
diff -r 069393a29101 -r 22b611dbc0e6 net/powerdns-recursor/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/powerdns-recursor/patches/patch-ag    Tue Apr 21 22:52:37 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ag,v 1.1 2009/04/21 22:52:38 roy Exp $
+
+--- kqueuemplexer.cc.orig      2009-04-21 23:45:31.000000000 +0100
++++ kqueuemplexer.cc   2009-04-21 23:45:41.000000000 +0100
+@@ -6,9 +6,7 @@
+ #include <boost/lexical_cast.hpp>
+ #include "syncres.hh"
+ #include <sys/types.h>
+-#ifdef __FreeBSD__ 
+ #include <sys/event.h>
+-#endif
+ #include <sys/time.h>
+ 
+ using namespace boost;



Home | Main Index | Thread Index | Old Index