[packages/perl-Net-DNS] - updated to 1.57 (fixes unbounded recursion, rt#181125)
adamg
adamg at pld-linux.org
Mon Nov 16 13:44:15 CET 2026
commit 588716d434d4e9b74ff510e7cc53b44241e30310
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Mon Nov 16 13:44:00 2026 +0100
- updated to 1.57 (fixes unbounded recursion, rt#181125)
perl-Net-DNS-uname.patch | 11 ++++++-----
perl-Net-DNS.spec | 4 ++--
2 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/perl-Net-DNS.spec b/perl-Net-DNS.spec
index d3315ba..92fed08 100644
--- a/perl-Net-DNS.spec
+++ b/perl-Net-DNS.spec
@@ -7,13 +7,13 @@
Summary: Net::DNS - Perl interface to the DNS resolver
Summary(pl.UTF-8): Net::DNS - interfejs perlowy do resolvera DNS
Name: perl-Net-DNS
-Version: 1.56
+Version: 1.57
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: https://www.cpan.org/modules/by-module/Net/NLNETLABS/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 683b3e1d4882d242478e192b2579ae88
+# Source0-md5: 5bd876dca96f71ab261fa6f25eacad21
Patch0: %{name}-uname.patch
URL: https://metacpan.org/dist/Net-DNS
BuildRequires: perl(IO::File) >= 1.14
diff --git a/perl-Net-DNS-uname.patch b/perl-Net-DNS-uname.patch
index aea692f..4edbaf0 100644
--- a/perl-Net-DNS-uname.patch
+++ b/perl-Net-DNS-uname.patch
@@ -1,11 +1,11 @@
---- Net-DNS-1.56/lib/Net/DNS/Resolver/UNIX.pm.orig
-+++ Net-DNS-1.56/lib/Net/DNS/Resolver/UNIX.pm
+--- Net-DNS-1.57/lib/Net/DNS/Resolver/UNIX.pm.orig
++++ Net-DNS-1.57/lib/Net/DNS/Resolver/UNIX.pm
@@ -2,6 +2,7 @@
use strict;
use warnings;
+use POSIX ();
- our $VERSION = (qw$Id: UNIX.pm 2053 2026-07-07 10:18:23Z willem $)[2];
+ our $VERSION = (qw$Id: UNIX.pm 2059 2026-08-28 10:04:18Z willem $)[2];
@@ -18,8 +19,8 @@
@@ -19,7 +19,7 @@
my ( undef, @domain ) = split /\./, $name, 2;
-@@ -37,20 +38,6 @@
+@@ -37,21 +38,6 @@
return;
}
@@ -30,9 +30,10 @@
- close $pipe;
- return @retval;
- } else {
+- local %ENV = ( PATH => '/bin:/usr/bin' );
- local $SIG{__WARN__} = sub { };
- warn 'child process fails without warning';
-- eval { exec $prog, @arg };
+- eval { exec {$prog} $prog, @arg };
- exit; ## uncoverable statement
- }
-}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-DNS.git/commitdiff/588716d434d4e9b74ff510e7cc53b44241e30310
More information about the pld-cvs-commit
mailing list