[dnssec-tools/f19] Patch to support NSEC3 records from newer versions of bind

Wes Hardaker hardaker at fedoraproject.org
Thu Apr 18 19:57:35 UTC 2013


commit 9fbb51210ed7e27634eda1fcc27fa072850da7fc
Author: Wes Hardaker <opensource at hardakers.net>
Date:   Thu Apr 18 12:57:24 2013 -0700

    Patch to support NSEC3 records from newer versions of bind

 dnssec-tools-zonefile-fast-nsec3-1.20.patch |   36 ---------------------------
 dnssec-tools.spec                           |    7 ++++-
 2 files changed, 6 insertions(+), 37 deletions(-)
---
diff --git a/dnssec-tools-zonefile-fast-nsec3-1.20.patch b/dnssec-tools-zonefile-fast-nsec3-1.20.patch
index 9a2f8cb..f1fcdf9 100644
--- a/dnssec-tools-zonefile-fast-nsec3-1.20.patch
+++ b/dnssec-tools-zonefile-fast-nsec3-1.20.patch
@@ -2,42 +2,6 @@ diff --git a/dnssec-tools/tools/modules/ZoneFile-Fast/Fast.pm b/dnssec-tools/too
 index 268538c..0c931a2 100644
 --- a/dnssec-tools/tools/modules/ZoneFile-Fast/Fast.pm
 +++ b/dnssec-tools/tools/modules/ZoneFile-Fast/Fast.pm
-@@ -32,6 +32,35 @@
- # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-+# ----------------------------------------------------------------------------
-+# Copyright (c) 2013-2013 PARSONS, Inc.
-+# All rights reserved.
-+#  
-+# Redistribution and use in source and binary forms, with or without
-+# modification, are permitted provided that the following conditions are met:
-+#  
-+# *  Redistributions of source code must retain the above copyright notice,
-+#    this list of conditions and the following disclaimer.
-+#  
-+# *  Redistributions in binary form must reproduce the above copyright
-+#    notice, this list of conditions and the following disclaimer in the
-+#    documentation and/or other materials provided with the distribution.
-+#  
-+# *  Neither the name of SPARTA, Inc nor the names of its contributors may
-+#    be used to endorse or promote products derived from this software
-+#    without specific prior written permission.
-+#  
-+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
-+# IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
-+# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
-+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- #
- # $Id$
- #
 @@ -46,7 +75,7 @@ use Net::DNS;
  use Net::DNS::RR;
  use MIME::Base64;
diff --git a/dnssec-tools.spec b/dnssec-tools.spec
index 4b7e622..9154f7e 100644
--- a/dnssec-tools.spec
+++ b/dnssec-tools.spec
@@ -1,7 +1,7 @@
 Summary: A suite of tools for managing dnssec aware DNS usage
 Name: dnssec-tools
 Version: 2.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: BSD
 Group: System Environment/Base
 URL: http://www.dnssec-tools.org/
@@ -19,6 +19,7 @@ BuildRequires: perl(Test) perl(ExtUtils::MakeMaker)
 # Makes the code installation linux filesystem friendly
 Patch5: dnssec-tools-linux-conf-paths-1.13.patch
 Patch6: dnssec-tools-zonefile-fast-new-bind-1.13.patch
+Patch12: dnssec-tools-zonefile-fast-nsec3-1.20.patch
 
 %description
 
@@ -58,6 +59,7 @@ C-based libraries useful for developing dnssec aware tools.
 
 %patch5 -p0 
 #%patch6 -p2
+%patch12 -p2
 
 %build
 %configure --with-validator-testcases-file=%{_datadir}/dnssec-tools/validator-testcases --with-perl-build-args="INSTALLDIRS=vendor OPTIMIZE='$RPM_OPT_FLAGS'" --sysconfdir=/etc --with-root-hints=/etc/dnssec-tools/root.hints --with-resolv-conf=/etc/dnssec-tools/resolv.conf --disable-static --with-nsec3 --with-ipv6 --with-dlv --disable-bind-checks
@@ -335,6 +337,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/val_freeaddrinfo.3.gz
 
 %changelog
+* Thu Apr 18 2013 Wes Hardaker <wjhns174 at hardakers.net> - 2.0-3
+- Patch to support NSEC3 records from newer versions of bind
+
 * Wed Mar  6 2013 Wes Hardaker <wjhns174 at hardakers.net> - 2.0-2
 - Added ownership of the /etc/dnssec-tools package
 


More information about the scm-commits mailing list