rpms/dnssec-tools/devel dnssec-tools-dnsval.conf, NONE, 1.1 dnssec-tools-donuts-perlmod-changes.patch, NONE, 1.1 dnssec-tools-donuts-rules-paths.patch, NONE, 1.1 dnssec-tools-linux-conf-paths-1.2.patch, NONE, 1.1 dnssec-tools-maketestzone-bb.patch, NONE, 1.1 dnssec-tools-validator-destdir-fixes.patch, NONE, 1.1 dnssec-tools.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Wes Hardaker (hardaker) fedora-extras-commits at redhat.com
Wed Aug 8 22:35:55 UTC 2007


Author: hardaker

Update of /cvs/extras/rpms/dnssec-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2693/devel

Modified Files:
	.cvsignore sources 
Added Files:
	dnssec-tools-dnsval.conf 
	dnssec-tools-donuts-perlmod-changes.patch 
	dnssec-tools-donuts-rules-paths.patch 
	dnssec-tools-linux-conf-paths-1.2.patch 
	dnssec-tools-maketestzone-bb.patch 
	dnssec-tools-validator-destdir-fixes.patch dnssec-tools.spec 
Log Message:
initial import from approved srpm


--- NEW FILE dnssec-tools-dnsval.conf ---
:       trust-anchor
        dnssec-tools.org.      "257 3 5 AQPN3/82Q6CteoCJRXzm+RQR9GSZPEFOeDQ5 HxciOTTTU1qCJfWUk5k4TfpgX9kEbhBnkl+1 0MVx+udelZY2jkl+Msfpkz6nIwogmhTXxyGy WI/Jk7Xs5IpJzCmU6ioh67chT6pPeirTgmkk FM96vH/48jw5ULKqtlr8KSI7AfI8jb8RD98k owZT2f3yOxiT552NdIy/ntQce2d3j3Al+Ajy T7p0XFqHNUjeLJ3ejvWV+OYr07brDqne/NHR 8INhDsRdAbuDROYJWg8y7GuHGV9KLBdCfkC0 t1Mzy+IZ3bcFLXz5O2LbFsM0lC8y6szY6bS9 iiQuLsWQP6krN+b8dDnO53ipmFWpNxLJIjB7 QjwjpSwXJvkVWYerczfaggN2OcPgE8H8QFOP 94PoLM2pDttOD+wWkHz1jVaBBJMUNWAyTfKg +p3011RbVAo4yHLTeznW3TIYL6oqbnAxAGVI B8wRL6dLDTZJTs02ypfbJKq8KVJxFN6Fjc15 fPU/8N//u6NK2MXPe2zaF1eci0nAX49V/Tfn t7UiDmnMOshak0STrhgjeP8d1ZaIZT6TVP9U XL3pHLp5hbZf/AHqdgfR4SJGx/q73i9aFJTk bTjcxyBimQYTsbwjZK6n8mCEkdcChMnsIm67 m/c9CdyiCh4Mwp6iGWeTKKrs+Q5HKOjJSvUd 8Q==" ;

: zone-security-expectation
        . ignore
        dnssec-tools.org validate;

dnssec-tools-donuts-perlmod-changes.patch:

--- NEW FILE dnssec-tools-donuts-perlmod-changes.patch ---
Index: tools/donuts/rules/dnssec.rules.txt
===================================================================
--- tools/donuts/rules/dnssec.rules.txt	(revision 3387)
+++ tools/donuts/rules/dnssec.rules.txt	(working copy)
@@ -217,7 +217,9 @@
          my $gotone = 0;
          for(my $i = 0; $i <= $#{$rrsigs{$type}{$rec->name}} && !$gotone; $i++){
            $gotone = 1 if ($rrsigs{$type}{$rec->name}[$i]->signame eq 
-                           $current_domain . ".");
+                           $current_domain . "." ||
+			   $rrsigs{$type}{$rec->name}[$i]->signame eq 
+                           $current_domain);
          }
          if (!$gotone) {
            push @err, "$type:$rec->{name} is not signed by a key owned by the zone";

dnssec-tools-donuts-rules-paths.patch:

--- NEW FILE dnssec-tools-donuts-rules-paths.patch ---
Index: tools/donuts/donuts
===================================================================
--- tools/donuts/donuts	(revision 2862)
+++ tools/donuts/donuts	(working copy)
@@ -29,7 +29,7 @@
 	    c => $ENV{'HOME'} . "/.donuts.conf",
 	    T => 'port 53 || ip[6:2] & 0x1fff != 0',
 	    o => '%d.%t.pcap',
-	    r => "/usr/local/share/donuts/rules/*");
+	    r => "/usr/share/dnssec-tools/donuts/rules/*");
 
 my (@rules, %rules, $rf, $current_zone_file, %nrecs,
     @ignorelist, $netdns, $netdns_error, %outstructure, $current_domain,
Index: tools/donuts/Makefile.PL
===================================================================
--- tools/donuts/Makefile.PL	(revision 2886)
+++ tools/donuts/Makefile.PL	(working copy)
@@ -21,7 +21,7 @@
 
 # we have to hard code the path in donuts anyway, so this does not work:
 #RULESDIR=$(DESTDIR)/$(PREFIX)/share/donuts/rules
-RULESDIR=$(DESTDIR)/usr/local/share/donuts/rules
+RULESDIR=$(DESTDIR)/usr/share/dnssec-tools/donuts/rules
 
 INSTALL=$(PERL) "-MExtUtils::Command" -e cp
 

dnssec-tools-linux-conf-paths-1.2.patch:

--- NEW FILE dnssec-tools-linux-conf-paths-1.2.patch ---
Index: tools/etc/dnssec-tools/dnssec-tools.conf
===================================================================
--- tools/etc/dnssec-tools/dnssec-tools.conf	(revision 3323)
+++ tools/etc/dnssec-tools/dnssec-tools.conf	(working copy)
@@ -12,12 +12,12 @@
 # Paths to needed programs.  These may need adjusting for individual hosts.
 #
 keyarch		/usr/bin/keyarch
-keygen		/usr/local/sbin/dnssec-keygen
-rndc		/usr/local/sbin/rndc
-viewimage	/usr/X11R6/bin/xview            # Used by drawvalmap.pl to
+keygen		/usr/sbin/dnssec-keygen
+rndc		/usr/sbin/rndc
+viewimage	/usr/bin/eog                    # Used by drawvalmap.pl to
                                                 # display the generated image
-zonecheck	/usr/local/sbin/named-checkzone
-zonesign	/usr/local/sbin/dnssec-signzone
+zonecheck	/usr/sbin/named-checkzone
+zonesign	/usr/sbin/dnssec-signzone
 rollrec-chk	/usr/bin/rollrec-check
 zonesigner	/usr/bin/zonesigner
 
@@ -57,7 +57,7 @@
 # Settings that will be noticed by zonesigner.
 #
 # default_keyrec        output.krf
-archivedir      /usr/local/etc/dnssec-tools/KEY-SAFE
+archivedir      /var/dnssec-tools/KEY-SAFE
 entropy_msg	1
 savekeys        1
 kskcount	1
@@ -66,7 +66,7 @@
 #
 # Settings for rollover-manager.
 #
-roll_logfile	/usr/local/etc/dnssec-tools/log-rollerd
+roll_logfile	/var/log/dnssec-tools/rollerd.log
 roll_loglevel	info
 roll_sleeptime	60
 

dnssec-tools-maketestzone-bb.patch:

--- NEW FILE dnssec-tools-maketestzone-bb.patch ---
Index: tools/maketestzone/maketestzone
===================================================================
--- tools/maketestzone/maketestzone	(revision 3387)
+++ tools/maketestzone/maketestzone	(working copy)
@@ -9,6 +9,10 @@
 use Net::DNS::RR;
 use Net::DNS::SEC::Tools::BootStrap;
 
+# this is actually not used directly, but there is an autoload bug in
+# Net::DNS::RR::DS that gets triggered if you don't have it.
+use Digest::BubbleBabble;
+
 ######################################################################
 # detect needed perl modules
 #

dnssec-tools-validator-destdir-fixes.patch:

--- NEW FILE dnssec-tools-validator-destdir-fixes.patch ---
Index: validator/Makefile.in
===================================================================
--- validator/Makefile.in	(revision 3384)
+++ validator/Makefile.in	(working copy)
@@ -43,7 +43,7 @@
 	@for i in $(INSTALLDIRS) ; do \
 		if test ! -d $$i ; then \
 			echo "creating directory $$i/" ; \
-			$(MKPATH) $$i ; \
+			$(MKPATH) $(DESTDIR)$$i ; \
 		fi \
 	done
 #
@@ -67,7 +67,7 @@
          done
 
 localinstall:
-	$(INSTALL) libval-config $(bindir)
+	$(INSTALL) libval-config $(DESTDIR)$(bindir)
 
 subdirclean:
 	@for i in $(SUBDIRS) ; do \


--- NEW FILE dnssec-tools.spec ---
Summary: A suite of tools for managing dnssec aware DNS usage
Name: dnssec-tools
Version: 1.2
Release: 4%{?dist}
License: BSD-like
Group: System Environment/Base
URL: http://www.dnssec-tools.org/
Source0: http://downloads.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
Source1: dnssec-tools-dnsval.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Require note: the auto-detection for perl-Net-DNS-SEC will not work since
# the tools do run time tests for their existence.  But most of the tools
# are much more useful with the modules in place, so we hand require them.
Requires: perl(Net::DNS), perl(Net::DNS::SEC), dnssec-tools-perlmods, bind
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: openssl-devel
BuildRequires: perl(Test) perl(ExtUtils::MakeMaker)

Patch4: dnssec-tools-linux-conf-paths-1.2.patch
Patch6: dnssec-tools-donuts-rules-paths.patch
Patch7: dnssec-tools-validator-destdir-fixes.patch
Patch8: dnssec-tools-maketestzone-bb.patch
Patch9: dnssec-tools-donuts-perlmod-changes.patch

%description

The goal of the DNSSEC-Tools project is to create a set of tools,
patches, applications, wrappers, extensions, and plugins that will
help ease the deployment of DNSSEC-related technologies.

%package perlmods
Group: System Environment/Libraries
Summary: Perl modules supporting DNSSEC (needed by the dnssec-tools)

%description perlmods

The dnssec-tools project comes with a number of perl modules that are
required by the DNSSEC tools themselves as well as modules that are
useful for other developers.

%package libs
Group: System Environment/Libraries
Summary: C-based libraries for dnssec aware tools
Requires: openssl

%description libs
C-based libraries useful for developing dnssec aware tools.

%package libs-devel
Group: Development/Libraries
Summary: C-based development libraries for dnssec aware tools
Requires: dnssec-tools-libs = %{version}-%{release}

%description libs-devel
C-based libraries useful for developing dnssec aware tools.

%prep
%setup -q

%patch4 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p0
%patch9 -p0

%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/named.root.hints --with-resolv-conf=/etc/resolv.conf
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' validator/libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' validator/libtool
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTCONFDIR=%{buildroot}/etc/dnssec-tools/ DESTDIR=%{buildroot} QUIET=

%{__install} -m 644 %{SOURCE1} %{buildroot}/etc/dnssec-tools/dnsval.conf

# remove unneeded perl install files
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name perllocal.pod -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
# remove empty directories
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
rm -f %{buildroot}%{_libdir}/*.la

# not needed and installed in two places
rm -f %{buildroot}%{perl_vendorlib}/TrustMan.pl

%post libs -p /sbin/ldconfig

%postun libs -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc README INSTALL COPYING

%config(noreplace) /etc/dnssec-tools/dnssec-tools.conf
%config(noreplace) /etc/dnssec-tools/dnsval.conf

%{_bindir}/dnspktflow
%{_bindir}/donuts
%{_bindir}/donutsd
%{_bindir}/drawvalmap
%{_bindir}/expchk
%{_bindir}/genkrf
%{_bindir}/getdnskeys
%{_bindir}/lskrf
%{_bindir}/maketestzone
%{_bindir}/mapper
%{_bindir}/zonesigner
# this doesn't use %{_datadir} because patch6 above uses this exact path
/usr/share/dnssec-tools/donuts/rules/*

%{_bindir}/dtconfchk
%{_bindir}/dtdefs
%{_bindir}/dtinitconf
%{_bindir}/fixkrf
%{_bindir}/tachk
%{_bindir}/timetrans

%{_bindir}/lsroll
%{_bindir}/rollchk
%{_bindir}/rollctl
%{_bindir}/rollerd
%{_bindir}/rollinit
%{_bindir}/rollset
%{_bindir}/keyarch
%{_bindir}/cleanarch

%{_bindir}/validate
# configure above 
%{_datadir}/dnssec-tools/validator-testcases
%{_bindir}/getaddr
%{_bindir}/gethost

%{_bindir}/TrustMan.pl
%{_bindir}/trustman
%{_bindir}/blinkenlights
%{_bindir}/cleankrf
%{_bindir}/krfcheck
%{_bindir}/rolllog
%{_bindir}/signset-editor


%{_mandir}/man1/dnspktflow.1.gz
%{_mandir}/man1/donuts.1.gz
%{_mandir}/man1/donutsd.1.gz
%{_mandir}/man1/drawvalmap.1.gz
%{_mandir}/man1/expchk.1.gz
%{_mandir}/man1/genkrf.1.gz
%{_mandir}/man1/getdnskeys.1.gz
%{_mandir}/man1/lskrf.1.gz
%{_mandir}/man1/keyarch.1.gz
%{_mandir}/man1/maketestzone.1.gz
%{_mandir}/man1/mapper.1.gz
%{_mandir}/man1/validate.1.gz
%{_mandir}/man1/getaddr.1.gz
%{_mandir}/man1/gethost.1.gz
%{_mandir}/man1/zonesigner.1.gz

%{_mandir}/man1/dtconfchk.1.gz
%{_mandir}/man1/dtdefs.1.gz
%{_mandir}/man1/dtinitconf.1.gz
%{_mandir}/man1/fixkrf.1.gz
%{_mandir}/man1/tachk.1.gz
%{_mandir}/man1/timetrans.1.gz

%{_mandir}/man1/lsroll.1.gz
%{_mandir}/man1/rollchk.1.gz
%{_mandir}/man1/rollctl.1.gz
%{_mandir}/man1/rollerd.1.gz
%{_mandir}/man1/rollinit.1.gz
%{_mandir}/man1/rollset.1.gz
%{_mandir}/man1/cleanarch.1.gz
%{_mandir}/man1/blinkenlights.1.gz
%{_mandir}/man1/cleankrf.1.gz
%{_mandir}/man1/krfcheck.1.gz
%{_mandir}/man1/rolllog.1.gz
%{_mandir}/man1/signset-editor.1.gz
%{_mandir}/man1/TrustMan.pl.1.gz
%{_mandir}/man1/trustman.1.gz

%{_mandir}/man3/TrustMan.3pm.gz
%{_mandir}/man3/p_ac_status.3.gz
%{_mandir}/man3/p_val_status.3.gz

%files perlmods
%defattr(-,root,root)

%{perl_vendorarch}/Net/addrinfo*
%{perl_vendorarch}/Net/DNS/SEC/*
%{perl_vendorarch}/auto/Net/DNS/SEC/Validator
%{perl_vendorarch}/auto/Net/addrinfo/
%{perl_vendorarch}/Net/DNS/ZoneFile/
%{perl_vendorlib}/Net/DNS/SEC/Tools/Donuts/

%{_mandir}/man3/Net::DNS::SEC::Tools::QWPrimitives.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::BootStrap.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::conf.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::keyrec.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::rollmgr.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::rollrec.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::defaults.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::timetrans.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::tooloptions.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::dnssectools.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Validator.3pm.gz
%{_mandir}/man3/Net::addrinfo.3pm.gz
%{_mandir}/man3/Net::DNS::SEC::Tools::Donuts::Rule.3pm.gz
%{_mandir}/man3/Net::DNS::ZoneFile::Fast.3pm.gz

%files libs
%defattr(-,root,root)
%{_libdir}/*.so.*

%files libs-devel
%defattr(-,root,root)
%{_includedir}/validator
%{_libdir}/*.a
%{_libdir}/*.so

%{_bindir}/libval-config

%{_mandir}/man3/libval.3.gz
%{_mandir}/man3/val_getaddrinfo.3.gz
%{_mandir}/man3/val_gethostbyname.3.gz
%{_mandir}/man3/val_query.3.gz
%{_mandir}/man3/dnsval.conf.3.gz
%{_mandir}/man3/dnsval_conf_get.3.gz
%{_mandir}/man3/dnsval_conf_set.3.gz
%{_mandir}/man3/libsres.3.gz
%{_mandir}/man3/root_hints_get.3.gz
%{_mandir}/man3/root_hints_set.3.gz
%{_mandir}/man3/resolv_conf_get.3.gz
%{_mandir}/man3/resolv_conf_set.3.gz
%{_mandir}/man3/val_create_context.3.gz
%{_mandir}/man3/val_free_context.3.gz
%{_mandir}/man3/val_free_result_chain.3.gz
%{_mandir}/man3/val_istrusted.3.gz
%{_mandir}/man3/val_resolve_and_check.3.gz
%{_mandir}/man3/val_gethostbyaddr.3.gz
%{_mandir}/man3/val_gethostbyaddr_r.3.gz
%{_mandir}/man3/val_gethostbyname2.3.gz
%{_mandir}/man3/val_gethostbyname2_r.3.gz
%{_mandir}/man3/val_gethostbyname_r.3.gz
%{_mandir}/man3/val_getnameinfo.3.gz
%{_mandir}/man3/val_isvalidated.3.gz
%{_mandir}/man3/val_res_query.3.gz
%{_mandir}/man3/val_res_search.3.gz
#%{_mandir}/man3/val_addrinfo.3.gz
%{_mandir}/man3/val_add_valpolicy.3.gz
%{_mandir}/man3/val_create_context_with_conf.3.gz
%{_mandir}/man3/val_does_not_exist.3.gz
%{_mandir}/man3/val_free_response.3.gz
%{_mandir}/man3/val_freeaddrinfo.3.gz

%changelog
* Thu Jul 12 2007 Wes Hardaker <wjhns174 at hardakers.net> - 1.2-4
- patch to fix a donuts rule for newer perl-Net::DNS update
- patch for maketestzone to work around a bug in Net::DNS::RR::DS

* Wed Jul 11 2007 Wes Hardaker <wjhns174 at hardakers.net> - 1.2-3
- Added more Requires and better BuildRequires

* Thu May 31 2007 Wes Hardaker <wjhns174 at hardakers.net> - 1.2-2
- fixed missing destdir in validator/Makefile.in
- add optimize flags to perl build
- syntatic ordering cleanup of the find argument

* Tue May 22 2007 Wes Hardaker <wjhns174 at hardakers.net> - 1.2-1
- Update to 1.2 release

* Wed Apr 18 2007  Wes Hardaker <wjhns174 at hardakers.net> - 1.1.1-4
- Fix changelog so it doesn't have a macro in the documentation
- Added a dnsval.conf starting file.
- Remove include subdir wildcard expansion since the entire directory
  is owned.

* Wed Apr 18 2007  Wes Hardaker <wjhns174 at hardakers.net> - 1.1.1-3
- Add patch to make Net::DNS::SEC optional
- Fix date in previous log

* Wed Apr 18 2007  Wes Hardaker <wjhns174 at hardakers.net> - 1.1.1-2
- Pointed Source0 at the sourceforge server instead of a local file
- Set License to BSD-like
- Took ownership of includedir/validator

* Tue Apr 10 2007  Wes Hardaker <wjhns174 at hardakers.net> - 1.1.1-1
- Updated to upstream version 1.1.1

* Tue Mar 20 2007  Wes Hardaker <wjhns174 at hardakers.net> - 1.1-2
- cleaned up spec file further for future submission to Fedora Extras
- made -libs-devel depend on exact version of -libs
- remove installed .la files
- added patch to use proper DESTDIR passing in the top Makefile

* Mon Mar 19 2007  Wes Hardaker <wjhns174 at hardakers.net> - 1.1-1
- Updated to 1.1 and fixed rpmlint issues

* Mon Dec 04 2006   Wes Hardaker <wjhns174 at hardakers.net> - 1.0
- updated to 1.0

* Mon Jun 19 2006   Wes Hardaker <wjhns174 at hardakers.net> - 0.9.2-4
- updated to 0.9.2
- modified installation paths as appropriate to 

* Mon Jun 19 2006   Wes Hardaker <wjhns174 at hardakers.net> - 0.9.1-1
- updated to 0.9.1

* Thu Feb  9 2006  Wes Hardaker <wjhns174 at hardakers.net> - 0.9.0
- initial rpm


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/dnssec-tools/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Aug 2007 20:56:42 -0000	1.1
+++ .cvsignore	8 Aug 2007 22:35:22 -0000	1.2
@@ -0,0 +1 @@
+dnssec-tools-1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/dnssec-tools/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Aug 2007 20:56:42 -0000	1.1
+++ sources	8 Aug 2007 22:35:22 -0000	1.2
@@ -0,0 +1 @@
+da68a7729263cf46d3327931734d1e79  dnssec-tools-1.2.tar.gz




More information about the fedora-extras-commits mailing list