File: reproducible.patch

package info (click to toggle)
pyferret 7.6.5-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,136 kB
  • sloc: fortran: 240,609; ansic: 25,235; python: 24,026; sh: 1,618; makefile: 1,123; pascal: 569; csh: 307; awk: 18
file content (23 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Hard-code platform, date for reproducible builds
Last-Updated: 2016-07-07
Forwarded: no

Index: pyferret-7.4.3/fer/Makefile
===================================================================
--- pyferret-7.4.3.orig/fer/Makefile
+++ pyferret-7.4.3/fer/Makefile
@@ -13,8 +13,11 @@ include ../site_specific.mk
 #
 include ../platform_specific.mk.$(BUILDTYPE)
 
-PLATFORM := $(shell uname -rs)
-DATE := $(shell /bin/date +%D)
+# Hard-code these for bit-reproducible builds
+# PLATFORM := $(shell uname -rs)
+# DATE := $(shell /bin/date +%D)
+PLATFORM := Debian
+DATE:= 6/30/16
 
 #
 # Macros