diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-05-11 15:36:26 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-05-11 15:36:26 +0800 |
commit | 58ae6309f95afad1d6c44e1a46dca6d205ccf53e (patch) | |
tree | b9bb57956d79949bc44691889b550421fd99f947 /dns/powerdns | |
parent | 867c5d13e69104f4b1eeee15b9b42b37fb0dd1cd (diff) | |
download | freebsd-ports-graphics-58ae6309f95afad1d6c44e1a46dca6d205ccf53e.tar.gz freebsd-ports-graphics-58ae6309f95afad1d6c44e1a46dca6d205ccf53e.tar.zst freebsd-ports-graphics-58ae6309f95afad1d6c44e1a46dca6d205ccf53e.zip |
- update to 2.9.8
- recursor defaults off, Option POWERDNS_WITH_RECURSOR
Diffstat (limited to 'dns/powerdns')
-rw-r--r-- | dns/powerdns/Makefile | 4 | ||||
-rw-r--r-- | dns/powerdns/distinfo | 2 | ||||
-rw-r--r-- | dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc | 7 | ||||
-rw-r--r-- | dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc | 2 | ||||
-rw-r--r-- | dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh | 12 | ||||
-rw-r--r-- | dns/powerdns/files/patch-pdns_common_startup_cc | 15 | ||||
-rw-r--r-- | dns/powerdns/pkg-plist | 3 |
7 files changed, 10 insertions, 35 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index 4176ffac578..c5bb4d4c00d 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -6,7 +6,7 @@ # PORTNAME= powerdns -PORTVERSION= 2.9.6 +PORTVERSION= 2.9.8 CATEGORIES= net ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ DISTNAME= pdns-${PORTVERSION} @@ -99,7 +99,7 @@ post-patch: ${WRKSRC}/pdns/Makefile.in .endif -.if ${OSVERSION} >= 500043 && ${MACHINE_ARCH} == "i386" +.if defined(POWERDNS_WITH_RECURSOR) CONFIGURE_ARGS+= --enable-recursor PLIST_SUB+= RECURSOR="" .else diff --git a/dns/powerdns/distinfo b/dns/powerdns/distinfo index 454cccf61e7..3f877859d87 100644 --- a/dns/powerdns/distinfo +++ b/dns/powerdns/distinfo @@ -1 +1 @@ -MD5 (pdns-2.9.6.tar.gz) = 5c954197a8918d1701f8fb2e34654ed9 +MD5 (pdns-2.9.8.tar.gz) = fdd443276f50520efbe2e2b608499a11 diff --git a/dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc b/dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc index 300ff8a3b44..bdee751a913 100644 --- a/dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc +++ b/dns/powerdns/files/patch-modules_gmysqlbackend_gmysqlbackend_cc @@ -1,6 +1,6 @@ ---- modules/gmysqlbackend/gmysqlbackend.cc.orig Tue Dec 17 10:56:43 2002 -+++ modules/gmysqlbackend/gmysqlbackend.cc Tue Dec 17 11:01:33 2002 -@@ -20,13 +20,14 @@ +--- modules/gmysqlbackend/gmysqlbackend.cc.orig Thu Feb 27 13:49:37 2003 ++++ modules/gmysqlbackend/gmysqlbackend.cc Sun May 11 08:49:16 2003 +@@ -20,14 +20,14 @@ gMySQLBackend::gMySQLBackend(const string &mode, const string &suffix) : GSQLBackend(mode,suffix) { @@ -13,6 +13,7 @@ try { - setDB(new SMySQL(getArg("dbname"), - getArg("host"), +- getArg("port"), - getArg("socket"), - getArg("user"), - getArg("password"))); diff --git a/dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc b/dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc index 4cc027918de..27faef6f3c4 100644 --- a/dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc +++ b/dns/powerdns/files/patch-modules_ldapbackend_powerldap.cc @@ -5,7 +5,7 @@ #include <map> #include <vector> -- #include <crypt.h> +- // #include <crypt.h> #include <exception> #include <stdexcept> #include <string> diff --git a/dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh b/dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh deleted file mode 100644 index b7353824512..00000000000 --- a/dns/powerdns/files/patch-modules_ldapbackend_powerldap.hh +++ /dev/null @@ -1,12 +0,0 @@ -*** modules/ldapbackend/powerldap.hh.orig Thu Mar 13 20:49:33 2003 ---- modules/ldapbackend/powerldap.hh Thu Mar 13 20:49:50 2003 -*************** -*** 2,8 **** - #define POWERLDAP_HH - #include <map> - #include <vector> -- #include <crypt.h> - #include <exception> - #include <stdexcept> - #include <string> ---- 2,7 ---- diff --git a/dns/powerdns/files/patch-pdns_common_startup_cc b/dns/powerdns/files/patch-pdns_common_startup_cc deleted file mode 100644 index 939539a58a6..00000000000 --- a/dns/powerdns/files/patch-pdns_common_startup_cc +++ /dev/null @@ -1,15 +0,0 @@ ---- pdns/common_startup.cc.orig Tue Dec 17 08:18:41 2002 -+++ pdns/common_startup.cc Tue Dec 17 08:19:58 2002 -@@ -270,8 +270,10 @@ - TN->go(); // tcp nameserver launch - - // fork(); (this worked :-)) -- for(int n=0;n<arg().asNum("receiver-threads");++n) { -- DNSDistributor *D= new DNSDistributor(arg().asNum("distributor-threads")); // the big dispatcher! -+ int foo1 = arg().asNum("receiver-threads"); -+ for(int n=0;n<foo1;++n) { -+ int foo2 = arg().asNum("distributor-threads"); -+ DNSDistributor *D= new DNSDistributor(foo2); // the big dispatcher! - pthread_create(&qtid,0,qthread,static_cast<void *>(D)); // receives packets - } - diff --git a/dns/powerdns/pkg-plist b/dns/powerdns/pkg-plist index 59a25e744fe..9c102b6dc03 100644 --- a/dns/powerdns/pkg-plist +++ b/dns/powerdns/pkg-plist @@ -1,7 +1,8 @@ bin/pdns_control +bin/zone2ldap bin/zone2sql sbin/pdns_server -%%RECURSOR%%bin/pdns_recursor +%%RECURSOR%%sbin/pdns_recursor @unexec if cmp -s %D/etc/pdns.conf %D/etc/pdns.conf-dist; then rm -f %D/etc/pdns.conf; fi etc/pdns.conf-dist @exec [ -f %B/pdns.conf ] || cp %B/%f %B/pdns.conf |