File: reproducible-build.patch

package info (click to toggle)
libnet-interface-perl 1.016-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,264 kB
  • sloc: ansic: 3,397; sh: 2,736; perl: 888; makefile: 6
file content (40 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: make build reproducible
 The patch removes randomness from the build system.
 Cf. https://wiki.debian.org/ReproducibleBuilds
Origin: vendor
Author: Chris Lamb <lamby@debian.org>
Author: Reiner Herrmann <reiner@reiner-h.de>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Reviewed-by: Christopher Hoskin <christopher.hoskin@gmail.com>
Last-Update: 2016-09-24
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105762
Bug: https://rt.cpan.org/Ticket/Display.html?id=105762

--- a/inst/netsymbols.pl
+++ b/inst/netsymbols.pl
@@ -405,13 +405,13 @@
 
 ### populate C portion
 #
-  my @tmp = grep {/^AF/} keys %fam;	# tmp store AFs
+  my @tmp = grep {/^AF/} sort keys %fam;	# tmp store AFs
   my @afs = sort { $fam{$a} <=> $fam{$b} } @tmp;
 
-  @tmp = grep {/^PF/} keys %fam;
+  @tmp = grep {/^PF/} sort keys %fam;
   my @pfs = sort { $fam{$a} <=> $fam{$b} } @tmp;
 
-  my @ifs = keys %ifs;
+  my @ifs = sort keys %ifs;
 # iffs are not unique so we can safely purge unwanted symbols here
   my @iffs = sort grep {/^IFF_/ && $_ !~ /IFF_DRV/} keys %ifs;
   my @iffIN6 = sort grep {/^IN6_IFF/} keys %ifs;
@@ -805,7 +805,7 @@
 
 =head1 AUTHOR	Michael Robinton <michael@bizsystems.com>
 
-=head1 COPYRIGHT	|. ((localtime())[5] +1900) .q|
+=head1 COPYRIGHT	2008-2009
 
 Michael Robinton, all rights reserved.