Skip Menu |
 

This queue is for tickets about the Glib CPAN distribution.

Report information
The Basics
Id: 122140
Status: resolved
Priority: 0/
Queue: Glib

People
Owner: XAOC [...] cpan.org
Requestors: bitcardbmw [...] lsmod.de
Cc:
AdminCc:

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



Subject: current year in copyright
Download (untitled) / with headers
text/plain 412b
When building distribution packages (e.g. for openSUSE Linux) of software like Goo::Canvas that use Glib::GenPod, it includes the current year in copyright lines which makes it hard to (re)build identical packages at any time. Apart from that, it will also generate lines like "Copyright 2019" for software that was not touched since today by any author, which is somewhat questionable from a legal perspective.
Subject: reproducible.patch
Download reproducible.patch
text/x-diff 740b
Allow to override current time in generated man-pages to make it easy to build distribution packages of software like Goo::Canvas in a reproducible way See https://reproducible-builds.org/ for why this matters and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable Index: Glib-1.325/lib/Glib/GenPod.pm =================================================================== --- Glib-1.325.orig/lib/Glib/GenPod.pm +++ Glib-1.325/lib/Glib/GenPod.pm @@ -40,7 +40,7 @@ our @EXPORT = qw( our $COPYRIGHT = undef; our $AUTHORS = 'Gtk2-Perl Team'; our $MAIN_MOD = undef; -our $YEAR = strftime "%Y", gmtime; +our $YEAR = strftime "%Y", gmtime($ENV{SOURCE_DATE_EPOCH} || time); our ($xspods, $data);
Download (untitled) / with headers
text/plain 611b
On Tue Jun 20 09:17:17 2017, bmwiedemann wrote: Show quoted text
> When building distribution packages (e.g. for openSUSE Linux) > of software like Goo::Canvas that use Glib::GenPod, > it includes the current year in copyright lines > which makes it hard to (re)build identical packages at any time. > > Apart from that, it will also generate lines like "Copyright 2019" for > software that was not touched since today by any author, which is > somewhat questionable from a legal perspective.
Patch applied to Glib 1.326, which is now just starting to percolate through CPAN. Thanks for sending the patch! Resolving ticket.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.