[dnssec-tools] patch to fix the perl validator header include path

Wes Hardaker hardaker at fedoraproject.org
Fri Jan 27 22:53:16 UTC 2012


commit 4a8e8302775e109282576debc113391c5f68f001
Author: Wes Hardaker <opensource at hardakers.net>
Date:   Fri Jan 27 14:53:15 2012 -0800

    patch to fix the perl validator header include path

 dnssec-tools-perl-validator-header-fix-1.12.patch |   11 +++++++++++
 dnssec-tools.spec                                 |    5 ++++-
 2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/dnssec-tools-perl-validator-header-fix-1.12.patch b/dnssec-tools-perl-validator-header-fix-1.12.patch
new file mode 100644
index 0000000..685db3a
--- /dev/null
+++ b/dnssec-tools-perl-validator-header-fix-1.12.patch
@@ -0,0 +1,11 @@
+--- dnssec-tools-1.12/tools/modules/Net-DNS-SEC-Validator/Validator.xs.~1~	2011-06-24 11:41:27.000000000 -0700
++++ dnssec-tools-1.12/tools/modules/Net-DNS-SEC-Validator/Validator.xs	2012-01-27 14:48:46.810238696 -0800
+@@ -14,7 +14,7 @@
+ #include "perl.h"
+ #include "XSUB.h"
+ 
+-#include "validator-config.h"
++#include "validator/validator-config.h"
+ #include "validator/resolver.h"
+ #include "validator/validator.h"
+ 
diff --git a/dnssec-tools.spec b/dnssec-tools.spec
index 1120254..bb61a8c 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: 1.12
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: BSD
 Group: System Environment/Base
 URL: http://www.dnssec-tools.org/
@@ -18,6 +18,7 @@ BuildRequires: openssl-devel
 BuildRequires: perl(Test) perl(ExtUtils::MakeMaker)
 # Makes the code installation linux filesystem friendly
 Patch5: dnssec-tools-linux-conf-paths-1.12.patch
+Patch7: dnssec-tools-perl-validator-header-fix-1.12.patch
 
 %description
 
@@ -56,6 +57,7 @@ C-based libraries useful for developing dnssec aware tools.
 %setup -q
 
 %patch5 -p0
+%patch7 -p1
 
 %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
@@ -307,6 +309,7 @@ rm -rf %{buildroot}
 %changelog
 * Fri Jan 27 2012 Wes Hardaker <wjhns174 at hardakers.net> - 1.12-1
 - Upgraded to version 1.12
+- Added a patch to fix the perl validator
 
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.11-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild


More information about the scm-commits mailing list