public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Net-DNS-SEC] epel10: 1.25 bump
Date: Mon, 19 Oct 2026 14:05:33 GMT	[thread overview]
Message-ID: <179241873336.1.10731057401705086421.rpms-perl-Net-DNS-SEC-1c461616f2e2@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Net-DNS-SEC
Branch : epel10
Commit : 1c461616f2e2d7d494b063e0657bb9081ba5b2e7
Author : Petr Písař <ppisar@redhat.com>
Date   : 2024-07-26T11:23:16+02:00
Stats  : +85/-146 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Net-DNS-SEC/c/1c461616f2e2d7d494b063e0657bb9081ba5b2e7?branch=epel10

Log:
1.25 bump

---
diff --git a/.gitignore b/.gitignore
index 868c8ee..2f4af18 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@ Net-DNS-SEC-0.14.tar.gz
 /Net-DNS-SEC-1.22.tar.gz
 /Net-DNS-SEC-1.23.tar.gz
 /Net-DNS-SEC-1.24.tar.gz
+/Net-DNS-SEC-1.25.tar.gz

diff --git a/Net-DNS-SEC-1.24-Correct-Net-DNS-minimal-version.patch b/Net-DNS-SEC-1.24-Correct-Net-DNS-minimal-version.patch
deleted file mode 100644
index a26fd55..0000000
--- a/Net-DNS-SEC-1.24-Correct-Net-DNS-minimal-version.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 2805e146ae59af6cf786a3214da73764bb6e4883 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Mon, 20 May 2024 13:05:33 +0200
-Subject: [PATCH] Correct Net::DNS minimal version
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Metadata read 1.08, code read 1.01.
-
-Signed-off-by: Petr Písař <ppisar@redhat.com>
----
- lib/Net/DNS/SEC.pm | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/Net/DNS/SEC.pm b/lib/Net/DNS/SEC.pm
-index 09988f5..34ff6b3 100644
---- a/lib/Net/DNS/SEC.pm
-+++ b/lib/Net/DNS/SEC.pm
-@@ -13,7 +13,7 @@ use base qw(Exporter DynaLoader);
- eval { __PACKAGE__->bootstrap($VERSION) };
- warn "\n\n$@\n" if $@;
- 
--use Net::DNS 1.01 qw(:DEFAULT);
-+use Net::DNS 1.08 qw(:DEFAULT);
- 
- our @EXPORT = ( @Net::DNS::EXPORT, qw(algorithm digtype key_difference) );
- 
--- 
-2.45.0
-

diff --git a/Net-DNS-SEC-1.24-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch b/Net-DNS-SEC-1.24-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
deleted file mode 100644
index 0d2a4b6..0000000
--- a/Net-DNS-SEC-1.24-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
+++ /dev/null
@@ -1,109 +0,0 @@
-From bc66b6dd776c378fddcba5a967e5c898f500f3f0 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
-Date: Wed, 24 Jul 2024 14:55:07 +0200
-Subject: [PATCH] Skip SHA-1 signature tests if OpenSSL errors
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fedora 41 DEFAULT crypto policy disabled SHA-1 in signatures
-<https://fedoraproject.org/wiki/Changes/OpenSSLDistrustSHA1SigVer>. As
-a result OpenSSL cannot make or verify signatures using SHA-1 digest
-algorithm and two tests fail like this:
-
-    libcrypto error (SEC.xs line 274) at /home/test/fedora/perl-Net-DNS-SEC/perl-Net-DNS-SEC-1.24-build/Net-DNS-SEC-1.24/blib/lib/Net/DNS/SEC/RSA.pm line 73.
-    # Looks like your test exited with 255 just after 5.
-    t/22-RSA-SHA1.t ....
-    Dubious, test returned 255 (wstat 65280, 0xff00)
-    Failed 3/8 subtests
-
-Unfortunteally OpenSSL does not provide a way how to detect the
-support/nonsupport. The only way is try it and check for errors.
-
-This patch does that.
-
-TODO: One could split computing the digest from computing/verifying
-the signature on Net-DNS-SEC level and check the policy before
-computing/verifying the signature.
-
-https://bugzilla.redhat.com/show_bug.cgi?id=2299447
-Signed-off-by: Petr Písař <ppisar@redhat.com>
----
- t/22-RSA-SHA1.t | 15 +++++++++------
- t/31-DSA-SHA1.t | 22 +++++++++++++---------
- 2 files changed, 22 insertions(+), 15 deletions(-)
-
-diff --git a/t/22-RSA-SHA1.t b/t/22-RSA-SHA1.t
-index 84c4582..63e9311 100755
---- a/t/22-RSA-SHA1.t
-+++ b/t/22-RSA-SHA1.t
-@@ -78,16 +78,19 @@ ok( $private, 'set up RSA private key' );
- my $sigdata = Net::DNS::RR->new('. TXT arbitrary data')->txtdata;    # character set independent
- my $corrupt = 'corrupted data';
- 
--my $signature = $class->sign( $sigdata, $private );
--ok( $signature, 'signature created using private key' );
-+my $signature = eval { $class->sign( $sigdata, $private ) };
-+SKIP: {
-+    skip 'RSA with SHA-1 disabled', 3 if $@;
-+    ok( $signature, 'signature created using private key' );
- 
- 
--my $verified = $class->verify( $sigdata, $key, $signature );
--is( $verified, 1, 'signature verified using public key' );
-+    my $verified = $class->verify( $sigdata, $key, $signature );
-+    is( $verified, 1, 'signature verified using public key' );
- 
- 
--my $verifiable = $class->verify( $corrupt, $key, $signature );
--is( $verifiable, 0, 'signature not verifiable if data corrupted' );
-+    my $verifiable = $class->verify( $corrupt, $key, $signature );
-+    is( $verifiable, 0, 'signature not verifiable if data corrupted' );
-+}
- 
- 
- exit;
-diff --git a/t/31-DSA-SHA1.t b/t/31-DSA-SHA1.t
-index 90c3d6d..2902eb1 100755
---- a/t/31-DSA-SHA1.t
-+++ b/t/31-DSA-SHA1.t
-@@ -110,23 +110,27 @@ ok( $wrongprivate, 'set up non-DSA private key' );
- my $sigdata = Net::DNS::RR->new('. TXT arbitrary data')->txtdata;    # character set independent
- my $corrupt = 'corrupted data';
- 
--my $signature = $class->sign( $sigdata, $private );
--ok( $signature, 'signature created using private key' );
-+my $signature = eval { $class->sign( $sigdata, $private ) };
-+SKIP: {
-+    skip 'DSA with SHA-1 disabled', 6 if $@;
- 
-+    ok( $signature, 'signature created using private key' );
- 
--my $verified = $class->verify( $sigdata, $key, $signature );
--is( $verified, 1, 'signature verified using public key' );
- 
-+    my $verified = $class->verify( $sigdata, $key, $signature );
-+    is( $verified, 1, 'signature verified using public key' );
- 
--my $verifiable = $class->verify( $corrupt, $key, $signature );
--is( $verifiable, 0, 'signature not verifiable if data corrupted' );
- 
-+    my $verifiable = $class->verify( $corrupt, $key, $signature );
-+    is( $verifiable, 0, 'signature not verifiable if data corrupted' );
- 
--is( eval { $class->sign( $sigdata, $wrongprivate ) }, undef, 'signature not created using wrong private key' );
- 
--is( eval { $class->verify( $sigdata, $wrongkey, $signature ) }, undef, 'verify fails using wrong public key' );
-+    is( eval { $class->sign( $sigdata, $wrongprivate ) }, undef, 'signature not created using wrong private key' );
- 
--is( eval { $class->verify( $sigdata, $key, undef ) }, undef, 'verify fails if signature undefined' );
-+    is( eval { $class->verify( $sigdata, $wrongkey, $signature ) }, undef, 'verify fails using wrong public key' );
-+
-+    is( eval { $class->verify( $sigdata, $key, undef ) }, undef, 'verify fails if signature undefined' );
-+}
- 
- exit;
- 
--- 
-2.45.2
-

diff --git a/Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch b/Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
new file mode 100644
index 0000000..9dca69d
--- /dev/null
+++ b/Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
@@ -0,0 +1,77 @@
+From c9e735f97d1f2767f95de4175ca6e0155d0d5706 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
+Date: Wed, 24 Jul 2024 14:55:07 +0200
+Subject: [PATCH] Skip SHA-1 signature tests if OpenSSL errors
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fedora 41 DEFAULT crypto policy disabled SHA-1 in signatures
+<https://fedoraproject.org/wiki/Changes/OpenSSLDistrustSHA1SigVer>. As
+a result OpenSSL cannot make or verify signatures using SHA-1 digest
+algorithm and two tests fail like this:
+
+    t/31-DSA-SHA1.t .... 1/13 libcrypto error (SEC.xs line 208) at /home/test/fedora/perl-Net-DNS-SEC/Net-DNS-SEC-1.25/blib/lib/Net/DNS/SEC/DSA.pm line 73.
+    # Looks like your test exited with 255 just after 7.
+    t/31-DSA-SHA1.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
+    Failed 6/13 subtests
+
+Unfortunately OpenSSL does not provide a way how to detect the
+support/nonsupport. The only way is try it and check for errors.
+
+This patch does that.
+
+TODO: One could split computing the digest from computing/verifying
+the signature on Net-DNS-SEC level and check the policy before
+computing/verifying the signature.
+
+https://bugzilla.redhat.com/show_bug.cgi?id=2299447
+Signed-off-by: Petr Písař <ppisar@redhat.com>
+---
+ t/31-DSA-SHA1.t | 22 +++++++++++++---------
+ 1 file changed, 13 insertions(+), 9 deletions(-)
+
+diff --git a/t/31-DSA-SHA1.t b/t/31-DSA-SHA1.t
+index 90c3d6d..2902eb1 100644
+--- a/t/31-DSA-SHA1.t
++++ b/t/31-DSA-SHA1.t
+@@ -110,23 +110,27 @@ ok( $wrongprivate, 'set up non-DSA private key' );
+ my $sigdata = Net::DNS::RR->new('. TXT arbitrary data')->txtdata;    # character set independent
+ my $corrupt = 'corrupted data';
+ 
+-my $signature = $class->sign( $sigdata, $private );
+-ok( $signature, 'signature created using private key' );
++my $signature = eval { $class->sign( $sigdata, $private ) };
++SKIP: {
++    skip 'DSA with SHA-1 disabled', 6 if $@;
+ 
++    ok( $signature, 'signature created using private key' );
+ 
+-my $verified = $class->verify( $sigdata, $key, $signature );
+-is( $verified, 1, 'signature verified using public key' );
+ 
++    my $verified = $class->verify( $sigdata, $key, $signature );
++    is( $verified, 1, 'signature verified using public key' );
+ 
+-my $verifiable = $class->verify( $corrupt, $key, $signature );
+-is( $verifiable, 0, 'signature not verifiable if data corrupted' );
+ 
++    my $verifiable = $class->verify( $corrupt, $key, $signature );
++    is( $verifiable, 0, 'signature not verifiable if data corrupted' );
+ 
+-is( eval { $class->sign( $sigdata, $wrongprivate ) }, undef, 'signature not created using wrong private key' );
+ 
+-is( eval { $class->verify( $sigdata, $wrongkey, $signature ) }, undef, 'verify fails using wrong public key' );
++    is( eval { $class->sign( $sigdata, $wrongprivate ) }, undef, 'signature not created using wrong private key' );
+ 
+-is( eval { $class->verify( $sigdata, $key, undef ) }, undef, 'verify fails if signature undefined' );
++    is( eval { $class->verify( $sigdata, $wrongkey, $signature ) }, undef, 'verify fails using wrong public key' );
++
++    is( eval { $class->verify( $sigdata, $key, undef ) }, undef, 'verify fails if signature undefined' );
++}
+ 
+ exit;
+ 
+-- 
+2.45.2
+

diff --git a/perl-Net-DNS-SEC.spec b/perl-Net-DNS-SEC.spec
index 47e0892..6d0d0de 100644
--- a/perl-Net-DNS-SEC.spec
+++ b/perl-Net-DNS-SEC.spec
@@ -1,15 +1,13 @@
 Name:           perl-Net-DNS-SEC
-Version:        1.24
-Release:        4%{?dist}
+Version:        1.25
+Release:        1%{?dist}
 Summary:        DNSSEC modules for Perl
 License:        HPND-MIT-disclaimer
 URL:            https://metacpan.org/release/Net-DNS-SEC
 Source0:        https://cpan.metacpan.org/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-%{version}.tar.gz
-# Fix Net::DNS minimal version, proposed to the upstream, CPAN RT#153606
-Patch0:         Net-DNS-SEC-1.24-Correct-Net-DNS-minimal-version.patch
 # Adapt tests to a crypto policy without SHA-1, proposed to the upstream,
 # bug #2299447, CPAN RT#154526
-Patch1:         Net-DNS-SEC-1.24-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
+Patch0:         Net-DNS-SEC-1.25-Skip-SHA-1-signature-tests-if-OpenSSL-errors.patch
 # Build
 BuildRequires:  coreutils
 BuildRequires:  gcc
@@ -133,6 +131,9 @@ make test
 %{_libexecdir}/%{name}
 
 %changelog
+* Fri Jul 26 2024 Petr Pisar <ppisar@redhat.com> - 1.25-1
+- 1.25 bump
+
 * Wed Jul 24 2024 Petr Pisar <ppisar@redhat.com> - 1.24-4
 - Adapt tests to a crypto policy without SHA-1 (bug #2299447)
 

diff --git a/sources b/sources
index 11812ce..d5d4458 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Net-DNS-SEC-1.24.tar.gz) = 8814f8093cffd975910905a8152b764e049f60f7c531bcec1875cd3a1efc4186bf2633c268ace57dea9f6a9e019b2750f5f7a22b53595925196896a9556dadad
+SHA512 (Net-DNS-SEC-1.25.tar.gz) = 846b5005bb348402b40b8387e45b035939821aeb1b2f777fd2f3a491742f5222ee1412c7934b6829a24a989575dee18c1855d76d08b92c9eb1515f08c16f465a

                 reply	other threads:[~2026-10-19 14:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179241873336.1.10731057401705086421.rpms-perl-Net-DNS-SEC-1c461616f2e2@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox