File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ PHP NEWS
20
20
(Daniel Ciochiu)
21
21
. Fixed bug #75074 (php-process crash when is_file() is used with strings
22
22
longer 260 chars). (Anatol)
23
+ . Fixed bug #69727 (Remove timestamps from build to make it reproducible).
24
+ (jelle van der Waa)
23
25
24
26
- CLI server:
25
27
. Fixed bug #73830 (Directory does not exist). (Anatol)
Original file line number Diff line number Diff line change 1268
1268
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
1269
1269
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
1270
1270
1271
- PHP_BUILD_DATE=`date '+%Y-%m-%d'`
1271
+ # SOURCE_DATE_EPOCH for reproducible builds https://reproducible-builds.org/specs/source-date-epoch/
1272
+ PHP_BUILD_DATE=`date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d`
1272
1273
AC_DEFINE_UNQUOTED ( PHP_BUILD_DATE ,"$PHP_BUILD_DATE" ,[ PHP build date] )
1273
1274
1274
1275
PHP_UNAME=`uname -a | xargs`
You can’t perform that action at this time.
0 commit comments