Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.0
nss_ldap
reproducible.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File reproducible.patch of Package nss_ldap
could not be sent upstream. http://bugzilla.padl.com is broken and support at padl.com returns User unknown make build reproducible see https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable Index: nss_ldap-265/vers_string =================================================================== --- nss_ldap-265.orig/vers_string +++ nss_ldap-265/vers_string @@ -4,6 +4,7 @@ # # Implementation of SGS vers_string which uses CVSVersionInfo.txt. +use POSIX qw(strftime); require "cvslib.pl"; $OUTFILE = (-f "version.h") ? "version.h" : "vers.c"; @@ -13,7 +14,8 @@ $HEADER = '$Id: vers_string,v 2.1 2009/1 if ($ENV{'PROGRAM'}) { $PROGRAM = $ENV{'PROGRAM'}; } chop($AUTHOR); -chop($DATE=`date -u`); +$AUTHOR = "reproducible" if $ENV{SOURCE_DATE_EPOCH}; +$DATE = strftime("%Y-%m-%d %T", gmtime($ENV{SOURCE_DATE_EPOCH} || time)); chop($CWD=`pwd`); ($PROJECT, $VERSION) = split(/\-/, &getCVSVersionInfo());
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor