From 9ed20b484b015fef53df0532768fcfa96ab17ee7 Mon Sep 17 00:00:00 2001 From: Samuel Tyler Date: Thu, 11 Sep 2025 21:02:02 +1000 Subject: [PATCH] Make Devel-PPPort regenerations reproducible --- ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ ...ned-from-all_files_in_dir-for-consis.patch | 27 +++++++++++++++++++ 9 files changed, 243 insertions(+) create mode 100644 steps/perl-5.12.5/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.15.7/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.16.3/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.17.2/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.17.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.18.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.22.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.24.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch create mode 100644 steps/perl-5.8.9/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch diff --git a/steps/perl-5.12.5/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.12.5/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..59f2ce39 --- /dev/null +++ b/steps/perl-5.12.5/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.12.5/cpan/Devel-PPPort/parts/ppptools.pl perl-5.12.5/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.12.5/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.12.5/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.15.7/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.15.7/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..4b8b6aab --- /dev/null +++ b/steps/perl-5.15.7/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.15.7/cpan/Devel-PPPort/parts/ppptools.pl perl-5.15.7/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.15.7/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.15.7/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.16.3/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.16.3/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..6fa5cc8c --- /dev/null +++ b/steps/perl-5.16.3/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.16.3/cpan/Devel-PPPort/parts/ppptools.pl perl-5.16.3/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.16.3/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.16.3/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.17.2/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.17.2/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..70d82d77 --- /dev/null +++ b/steps/perl-5.17.2/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.17.2/cpan/Devel-PPPort/parts/ppptools.pl perl-5.17.2/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.17.2/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.17.2/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.17.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.17.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..46861c7a --- /dev/null +++ b/steps/perl-5.17.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.17.4/cpan/Devel-PPPort/parts/ppptools.pl perl-5.17.4/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.17.4/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.17.4/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.18.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.18.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..7d00ba44 --- /dev/null +++ b/steps/perl-5.18.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.18.4/cpan/Devel-PPPort/parts/ppptools.pl perl-5.18.4/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.18.4/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.18.4/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.22.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.22.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..2518be8a --- /dev/null +++ b/steps/perl-5.22.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.22.4/cpan/Devel-PPPort/parts/ppptools.pl perl-5.22.4/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.22.4/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.22.4/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.24.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.24.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..f5da7fe5 --- /dev/null +++ b/steps/perl-5.24.4/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.24.4/cpan/Devel-PPPort/parts/ppptools.pl perl-5.24.4/cpan/Devel-PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.24.4/cpan/Devel-PPPort/parts/ppptools.pl ++++ perl-5.24.4/cpan/Devel-PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 + diff --git a/steps/perl-5.8.9/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch b/steps/perl-5.8.9/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch new file mode 100644 index 00000000..d1a1b55a --- /dev/null +++ b/steps/perl-5.8.9/patches/Sort-files-returned-from-all_files_in_dir-for-consis.patch @@ -0,0 +1,27 @@ +From f39737ebd77b0a342e62524de30972bcb532ad87 Mon Sep 17 00:00:00 2001 +From: "Matthew Horsfall (alh)" +Date: Fri, 18 Mar 2016 09:34:36 -0400 +Subject: [PATCH] Sort files returned from all_files_in_dir for consistent + builds. + +This addresses #28 / https://bugs.debian.org/801523 +--- + parts/ppptools.pl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git perl-5.8.9/ext/Devel/PPPort/parts/ppptools.pl perl-5.8.9/ext/Devel/PPPort/parts/ppptools.pl +index 6ea7516..62e5339 100644 +--- perl-5.8.9/ext/Devel/PPPort/parts/ppptools.pl ++++ perl-5.8.9/ext/Devel/PPPort/parts/ppptools.pl +@@ -28,7 +28,7 @@ sub all_files_in_dir + my @files = grep { !-d && !/^\./ } readdir DIR; # no dirs or hidden files + closedir DIR; + +- return map { cat_file($dir, $_) } @files; ++ return map { cat_file($dir, $_) } sort @files; + } + + sub parse_todo +-- +2.49.1 +