Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock debconf 1.5.61. As explained by Niko in #863071, this prepares the ground for Perl 5.26, to simplify future stretch -> buster upgrades. diff -Nru debconf-1.5.60/Debconf/TmpFile.pm debconf-1.5.61/Debconf/TmpFile.pm --- debconf-1.5.60/Debconf/TmpFile.pm 2011-02-02 00:08:31.000000000 +0000 +++ debconf-1.5.61/Debconf/TmpFile.pm 2017-05-21 18:04:56.000000000 +0100 @@ -10,6 +10,7 @@ use strict; use IO::File; use Fcntl; +use File::Temp; =head1 DESCRIPTION @@ -32,8 +33,7 @@ sub open { my $fh; # will be autovivified my $ext=shift || ''; - do { $filename=POSIX::tmpnam().$ext } - until sysopen($fh, $filename, O_WRONLY|O_TRUNC|O_CREAT|O_EXCL, 0600); + ($fh, $filename) = File::Temp::tempfile(SUFFIX => $ext); return $fh; } diff -Nru debconf-1.5.60/debian/changelog debconf-1.5.61/debian/changelog --- debconf-1.5.60/debian/changelog 2017-01-20 12:58:59.000000000 +0000 +++ debconf-1.5.61/debian/changelog 2017-05-21 18:08:30.000000000 +0100 @@ -1,3 +1,11 @@ +debconf (1.5.61) unstable; urgency=medium + + [ Niko Tyni ] + * Use File::Temp instead of the deprecated POSIX::tmpnam() in + Debconf::TmpFile (closes: #863071). + + -- Colin Watson <cjwat...@debian.org> Sun, 21 May 2017 18:08:30 +0100 + debconf (1.5.60) unstable; urgency=medium [ Christian Perrier ] diff -Nru debconf-1.5.60/debian/control debconf-1.5.61/debian/control --- debconf-1.5.60/debian/control 2016-01-27 10:59:07.000000000 +0000 +++ debconf-1.5.61/debian/control 2017-05-21 18:07:55.000000000 +0100 @@ -12,7 +12,7 @@ Package: debconf Priority: important -Pre-Depends: perl-base (>= 5.6.1-4) +Pre-Depends: perl-base (>= 5.20.1-3~) Conflicts: cdebconf (<< 0.96), debconf-tiny, apt (<< 0.3.12.1), menu (<= 2.1.3-1), dialog (<< 0.9b-20020814-1), whiptail (<< 0.51.4-11), whiptail-utf8 (<= 0.50.17-13), debconf-utils (<< 1.3.22) Provides: debconf-2.0 Replaces: debconf-tiny unblock debconf/1.5.61 -- Colin Watson [cjwat...@debian.org]
signature.asc
Description: Digital signature