hardaker pushed to perl-Net-DNS-SEC (epel7). "* Fri Nov 29 2013 Paul Wouters <pwouters at redhat.com> - 0.17-1 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Tue Apr 28 18:18:48 UTC 2015
>From 5265d7b074eed8159a3acc183a70e787a9670fad Mon Sep 17 00:00:00 2001
From: Paul Wouters <pwouters at redhat.com>
Date: Fri, 29 Nov 2013 16:05:50 -0500
Subject: * Fri Nov 29 2013 Paul Wouters <pwouters at redhat.com> - 0.17-1 -
Updated to 0.17 - Cleanup some old rhel5 style macros
diff --git a/perl-Net-DNS-SEC.spec b/perl-Net-DNS-SEC.spec
index 01757fa..125a5b3 100644
--- a/perl-Net-DNS-SEC.spec
+++ b/perl-Net-DNS-SEC.spec
@@ -1,12 +1,11 @@
Name: perl-Net-DNS-SEC
-Version: 0.16
-Release: 15%{?dist}
+Version: 0.17
+Release: 1%{?dist}
Summary: DNSSEC modules for Perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-DNS-SEC/
-Source0: http://www.cpan.org/authors/id/O/OL/OLAF/Net-DNS-SEC-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://www.net-dns.org/download//Net-DNS-SEC-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
@@ -22,8 +21,6 @@ BuildRequires: perl(Time::Local)
BuildRequires: perl(Digest::BubbleBabble)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(MIME::Base32)
-Patch1: v0.16-v1.3-private-key-format.patch
-Patch2: v0.16-NSEC-nxtdname-issue.patch
# neither are picked up automagically.
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -40,9 +37,6 @@ RSA and DSA crypto routines are supported.
%prep
%setup -q -n Net-DNS-SEC-%{version}
-%patch1 -p1 -b .v1-3
-%patch2 -b .nsec
-
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -60,17 +54,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes README TODO
%doc demo/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Nov 29 2013 Paul Wouters <pwouters at redhat.com> - 0.17-1
+- Updated to 0.17
+- Cleanup some old rhel5 style macros
+
* Thu Aug 08 2013 Paul Wouters <pwouters at redhat.com> - 0.16-15
- Rebuild for newer perl dependancies
diff --git a/v0.16-NSEC-nxtdname-issue.patch b/v0.16-NSEC-nxtdname-issue.patch
deleted file mode 100644
index d7cba61..0000000
--- a/v0.16-NSEC-nxtdname-issue.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- RR/NSEC.pm.~1~ 2012-03-19 13:51:10.632177561 -0700
-+++ RR/NSEC.pm 2012-03-19 13:51:19.029238145 -0700
-@@ -106,7 +106,7 @@
- sub _normalize_dnames {
- my $self=shift;
- $self->_normalize_ownername();
-- $self->{'nxtdname'}=lc(Net::DNS::stripdot($self->{'nxtdname'})) if defined $self->{'nxtdname'};
-+ $self->{'nxtdname'}=Net::DNS::stripdot($self->{'nxtdname'}) if defined $self->{'nxtdname'};
- }
-
-
diff --git a/v0.16-v1.3-private-key-format.patch b/v0.16-v1.3-private-key-format.patch
deleted file mode 100644
index 1a8b47c..0000000
--- a/v0.16-v1.3-private-key-format.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-diff --git a/SEC/Private.pm b/SEC/Private.pm
-index 52dd298..bcdc5b8 100644
---- a/SEC/Private.pm
-+++ b/SEC/Private.pm
-@@ -26,7 +26,8 @@ sub new {
- my $self={};
- my ($Modulus,$PublicExponent,$PrivateExponent,$Prime1,
- $Prime2,$Exponent1,$Exponent2,$Coefficient,
-- $prime_p,$subprime_q,$base_g,$private_val_x,$public_val_y);
-+ $prime_p,$subprime_q,$base_g,$private_val_x,$public_val_y,
-+ $Created, $Publish, $Activate);
-
-
- bless ($self,$class);
-@@ -51,7 +52,7 @@ sub new {
-
- while (<KEYFH>) {
- if (/Private-key-format: (v\d*\.\d*)/) {
-- if ($1 ne "v1.2") {
-+ if ($1 ne "v1.2" && $1 ne "v1.3") {
- croak "Private Key Format not regognized";
- }
- }elsif (/^Algorithm:\s*(\d*)/) {
-@@ -87,7 +88,14 @@ sub new {
- $private_val_x=decode_base64($1);
- } elsif (/^Public_value\(y\):\s*(\S+)/) {
- $public_val_y=decode_base64($1);
-- }
-+ } elsif (/^Created\(y\):\s*(\S+)/) {
-+ $Created=$1;
-+ } elsif (/^Publish\(y\):\s*(\S+)/) {
-+ $Publish=$1;
-+ } elsif (/^Activate\(y\):\s*(\S+)/) {
-+ $Activate=$1;
-+ }
-+
- }
- close(KEYFH);
-
-@@ -130,6 +138,14 @@ sub new {
- $private_dsa->set_pub_key($public_val_y);
- $self->{"privatekey"}=$private_dsa;
- }
-+
-+ if (defined($Created)) {
-+ # new fields in v1.3
-+ $self->{'created'} = $Created;
-+ $self->{'publish'} = $Publish;
-+ $self->{'activate'} = $Activate;
-+ }
-+
- return $self;
-
- }
-@@ -162,6 +178,24 @@ sub signame {
- }
-
-
-+sub created {
-+ my $self=shift;
-+ return $self->{'created'} if (exists($self->{'created'}));
-+}
-+
-+
-+sub publish {
-+ my $self=shift;
-+ return $self->{'publish'} if (exists($self->{'publish'}));
-+}
-+
-+
-+sub activate {
-+ my $self=shift;
-+ return $self->{'activate'} if (exists($self->{'activate'}));
-+}
-+
-+
- # Little helper function to put a BigInt into a binary (unsigned,
- #network order )
-
-@@ -356,14 +390,19 @@ or Crypt::OpenSSL::DSA object. This is really only relevant to the
- Net::DNS::RR::SIG class.
-
-
--=head2 algorithm, keytag, signame
-+=head2 algorithm, keytag, signame, created, publish, activate
-
- $private->algorithm
- $private->keytag
- $private->signame
-+ $private->created
-+ $private->publish
-+ $private->activate
-
- Returns components as determined from the filename and needed by
--Net::DNS::RR::RRSIG.
-+Net::DNS::RR::RRSIG. The 'created', 'publish' and 'activate'
-+components are only available in version 1.3 or higher formatted
-+files.
-
-
- =head1 RSASHA1 specific helper functions
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Net-DNS-SEC.git/commit/?h=epel7&id=5265d7b074eed8159a3acc183a70e787a9670fad
More information about the perl-devel
mailing list