Skip Menu |

This queue is for tickets about the Net-Interface CPAN distribution.

Report information
The Basics
Id: 105762
Status: new
Priority: 0/
Queue: Net-Interface

People
Owner: Nobody in particular
Requestors: gregoa [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: gregoa [...] cpan.org
Subject: [PATCH] make build reproducible
In Debian we are currently applying the following patch to Net-Interface. We thought you might be interested in it too. 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> Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2015-07-08 The patch is tracked in our Git repository at https://anonscm.debian.org/cgit/pkg-perl/packages/libnet-interface-perl.git/plain/debian/patches/reproducible-build.patch Thanks for considering, gregor herrmann, Debian Perl Group
Here's the patch.

Message body is not shown because sender requested not to inline it.

Here's an updated version of the patch which also drops the embedded current year from the POD.
Subject: reproducible-build.patch
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> Reiner Herrmann <reiner@reiner-h.de> Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2015-11-28 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 @@ -319,13 +319,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; @@ -716,7 +716,7 @@ character strings as defined for this ar =head1 AUTHOR Michael Robinton <michael@bizsystems.com> -=head1 COPYRIGHT |. ((localtime())[5] +1900) .q| +=head1 COPYRIGHT 2008-2009 Michael Robinton, all rights reserved.