diff options
-rw-r--r-- | dns/bind9/Makefile | 2 | ||||
-rw-r--r-- | dns/bind9/files/patch-bin_named_update.c | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/dns/bind9/Makefile b/dns/bind9/Makefile index f249af21d0f6..4c0878a520dc 100644 --- a/dns/bind9/Makefile +++ b/dns/bind9/Makefile @@ -12,7 +12,7 @@ # release you can generally build it cleanly from the source - Doug PORTNAME= bind9 -PORTVERSION= 9.3.6.1 +PORTVERSION= 9.3.6.1.1 CATEGORIES= dns net ipv6 MASTER_SITES= ${MASTER_SITE_ISC} \ http://dougbarton.us/Downloads/%SUBDIR%/ diff --git a/dns/bind9/files/patch-bin_named_update.c b/dns/bind9/files/patch-bin_named_update.c new file mode 100644 index 000000000000..f8a50c938312 --- /dev/null +++ b/dns/bind9/files/patch-bin_named_update.c @@ -0,0 +1,16 @@ +diff -ur bind-9.6.1/bin/named/update.c bind-9.6.1-P1/bin/named/update.c +--- bin/named/update.c 2009-04-30 00:03:37.000000000 -0700 ++++ bin/named/update.c 2009-07-28 07:18:08.000000000 -0700 +@@ -979,7 +979,11 @@ + if (type == dns_rdatatype_rrsig || + type == dns_rdatatype_sig) + covers = dns_rdata_covers(&t->rdata); +- else ++ else if (type == dns_rdatatype_any) { ++ dns_db_detachnode(db, &node); ++ dns_diff_clear(&trash); ++ return (DNS_R_NXRRSET); ++ } else + covers = 0; + + /* |