[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#925613: unblock: strip-nondeterminism/1.1.2-1



Package: release.debian.org
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear RT,

please consider unblocking strip-nondeterminism; the version in unstable
is a minimal thing fixing a single bug.  Full diff:

diffstat for strip-nondeterminism-1.1.1 strip-nondeterminism-1.1.2

 debian/changelog                |    8 ++++++++
 lib/File/StripNondeterminism.pm |    4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff -Nru strip-nondeterminism-1.1.1/debian/changelog strip-nondeterminism-1.1.2/debian/changelog
--- strip-nondeterminism-1.1.1/debian/changelog	2019-02-13 09:31:59.000000000 +0100
+++ strip-nondeterminism-1.1.2/debian/changelog	2019-03-12 18:47:40.000000000 +0100
@@ -1,3 +1,11 @@
+strip-nondeterminism (1.1.2-1) unstable; urgency=medium
+
+  * Call file(1) with the "--" argument placeholder to fix normalisation of
+    files starting with a hyphen.
+    (Closes: reproducible-builds/strip-nondeterminism#6, #924407)
+
+ -- Chris Lamb <lamby@debian.org>  Tue, 12 Mar 2019 17:47:40 +0000
+
 strip-nondeterminism (1.1.1-1) unstable; urgency=medium

   * dh_strip_nondeterminism: Deduplicate hardlinks via stat(2) to avoid issues
diff -Nru strip-nondeterminism-1.1.1/lib/File/StripNondeterminism.pm strip-nondeterminism-1.1.2/lib/File/StripNondeterminism.pm
--- strip-nondeterminism-1.1.1/lib/File/StripNondeterminism.pm	2019-02-13 09:29:48.000000000 +0100
+++ strip-nondeterminism-1.1.2/lib/File/StripNondeterminism.pm	2019-03-12 18:47:00.000000000 +0100
@@ -25,7 +25,7 @@

 our($VERSION, $canonical_time, $clamp_time);

-$VERSION = '1.1.1'; # <https://semver.org/>
+$VERSION = '1.1.2'; # <https://semver.org/>

 sub init() {
 	$ENV{'TZ'} = 'UTC';
@@ -35,7 +35,7 @@
 sub _get_file_type($) {
 	my $file=shift;
 	open(FILE, '-|') # handle all filenames safely
-	  || exec('file', $file)
+	  || exec('file', '--', $file)
 	  || die "can't exec file: $!";
 	my $type=<FILE>;
 	close FILE;


-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: