From e3933ca63c2c60a5459c78c592b1958f8ac1ec38 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 12 Sep 2016 09:16:59 +0000 Subject: [PATCH] Changed SOURCE_DATE_EPOCH effect to --set_all_file_dates "set_to_mtime" --- xorriso/parse_exec.c | 2 +- xorriso/xorriso.1 | 5 +++-- xorriso/xorriso.info | 19 ++++++++++--------- xorriso/xorriso.texi | 5 +++-- xorriso/xorriso_timestamp.h | 2 +- xorriso/xorrisofs.1 | 7 +++++-- xorriso/xorrisofs.info | 18 ++++++++++-------- xorriso/xorrisofs.texi | 7 +++++-- 8 files changed, 38 insertions(+), 27 deletions(-) diff --git a/xorriso/parse_exec.c b/xorriso/parse_exec.c index c80a697f..71ba7a35 100644 --- a/xorriso/parse_exec.c +++ b/xorriso/parse_exec.c @@ -2584,7 +2584,7 @@ malformed:; 1900 + gmt->tm_year, gmt->tm_mon + 1, gmt->tm_mday, gmt->tm_hour, gmt->tm_min, gmt->tm_sec); xorriso->gpt_guid_mode= 2; /* Disk GUID from vol_uuid */ - strcpy(xorriso->all_file_dates, xorriso->vol_uuid); + strcpy(xorriso->all_file_dates, "set_to_mtime"); sprintf(xorriso->info_text, "Environment variable SOURCE_DATE_EPOCH encountered with value %s", sec_text); diff --git a/xorriso/xorriso.1 b/xorriso/xorriso.1 index aaf81048..bf5873c8 100644 --- a/xorriso/xorriso.1 +++ b/xorriso/xorriso.1 @@ -6008,8 +6008,9 @@ SOURCE_DATE_EPOCH belongs to the specs of reproducible\-builds.org. It is supposed to be either undefined or to contain a decimal number which tells the seconds since january 1st 1970. If it contains a number, then it is used as time value to set the default of -\-volume date "uuid", \-volume_date "all_file_dates", -and it sets \-boot_image "any" "gpt_disk_guid=" to "volume_date_uuid". +\-volume date "uuid", sets \-boot_image "any" "gpt_disk_guid=" to +"volume_date_uuid", and \-volume_date "all_file_dates" to "set_to_mtime", +.br Startup files and program options can override the effect of SOURCE_DATE_EPOCH. .br .SS diff --git a/xorriso/xorriso.info b/xorriso/xorriso.info index 4df2c588..7741bd8a 100644 --- a/xorriso/xorriso.info +++ b/xorriso/xorriso.info @@ -5070,10 +5070,11 @@ HOME is used to find xorriso and mkisofs startup files. SOURCE_DATE_EPOCH belongs to the specs of reproducible-builds.org. It is supposed to be either undefined or to contain a decimal number which tells the seconds since january 1st 1970. If it contains a number, then -it is used as time value to set the default of -volume date "uuid", --volume_date "all_file_dates", and it sets -boot_image "any" -"gpt_disk_guid=" to "volume_date_uuid". Startup files and program -options can override the effect of SOURCE_DATE_EPOCH. +it is used as time value to set the default of -volume date "uuid", sets +-boot_image "any" "gpt_disk_guid=" to "volume_date_uuid", and +-volume_date "all_file_dates" to "set_to_mtime", +Startup files and program options can override the effect of +SOURCE_DATE_EPOCH.  File: xorriso.info, Node: Seealso, Next: Bugreport, Prev: Environ, Up: Top @@ -5760,10 +5761,10 @@ Node: ExRestore260903 Node: ExRecovery261849 Node: Files262421 Node: Environ263755 -Node: Seealso264447 -Node: Bugreport265164 -Node: Legal265755 -Node: CommandIdx266767 -Node: ConceptIdx283955 +Node: Seealso264461 +Node: Bugreport265178 +Node: Legal265769 +Node: CommandIdx266781 +Node: ConceptIdx283969  End Tag Table diff --git a/xorriso/xorriso.texi b/xorriso/xorriso.texi index a1751e47..3fbf806a 100644 --- a/xorriso/xorriso.texi +++ b/xorriso/xorriso.texi @@ -7014,8 +7014,9 @@ SOURCE_DATE_EPOCH belongs to the specs of reproducible-builds.org. It is supposed to be either undefined or to contain a decimal number which tells the seconds since january 1st 1970. If it contains a number, then it is used as time value to set the default of --volume date "uuid", -volume_date "all_file_dates", -and it sets -boot_image "any" "gpt_disk_guid=" to "volume_date_uuid". +-volume date "uuid", sets -boot_image "any" "gpt_disk_guid=" to +"volume_date_uuid", and -volume_date "all_file_dates" to "set_to_mtime", +@* Startup files and program options can override the effect of SOURCE_DATE_EPOCH. @* @sp 1 diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 9bd29b61..22a2c4b3 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2016.08.25.205059" +#define Xorriso_timestamP "2016.09.12.091506" diff --git a/xorriso/xorrisofs.1 b/xorriso/xorrisofs.1 index 94367b06..3c708b99 100644 --- a/xorriso/xorrisofs.1 +++ b/xorriso/xorrisofs.1 @@ -2036,8 +2036,11 @@ MKISOFSRC may be used to point the program to a mkisofs startup file. SOURCE_DATE_EPOCH belongs to the specs of reproducible\-builds.org. It is supposed to be either undefined or to contain a decimal number which tells the seconds since january 1st 1970. If it contains a number, -then it is used as time value to set the default of \-\-modification\-date=, -\-\-gpt_disk_guid, and \-\-set_all_file_dates. +then it is used as time value to set the default of +\-\-modification\-date=. +\-\-gpt_disk_guid defaults to "modification\-date". +The default of \-\-set_all_file_dates is then "set_to_mtime". +.br Startup files and program options can override the effect of SOURCE_DATE_EPOCH. .SS .SH SEE ALSO diff --git a/xorriso/xorrisofs.info b/xorriso/xorrisofs.info index 60cd986e..a75cd257 100644 --- a/xorriso/xorrisofs.info +++ b/xorriso/xorrisofs.info @@ -1787,9 +1787,11 @@ MKISOFSRC may be used to point the program to a mkisofs startup file. SOURCE_DATE_EPOCH belongs to the specs of reproducible-builds.org. It is supposed to be either undefined or to contain a decimal number which tells the seconds since january 1st 1970. If it contains a number, then -it is used as time value to set the default of -modification-date=, --gpt_disk_guid, and -set_all_file_dates. Startup files and program -options can override the effect of SOURCE_DATE_EPOCH. +it is used as time value to set the default of --modification-date=. +--gpt_disk_guid defaults to "modification-date". The default of +--set_all_file_dates is then "set_to_mtime". +Startup files and program options can override the effect of +SOURCE_DATE_EPOCH.  File: xorrisofs.info, Node: Seealso, Next: Bugreport, Prev: Environ, Up: Top @@ -2337,10 +2339,10 @@ Node: ExIncBckAcc74583 Node: ExBootable76272 Node: Files80454 Node: Environ81549 -Node: Seealso82251 -Node: Bugreport82902 -Node: Legal83495 -Node: CommandIdx84392 -Node: ConceptIdx99830 +Node: Seealso82320 +Node: Bugreport82971 +Node: Legal83564 +Node: CommandIdx84461 +Node: ConceptIdx99899  End Tag Table diff --git a/xorriso/xorrisofs.texi b/xorriso/xorrisofs.texi index 46ed6adf..67586e7a 100644 --- a/xorriso/xorrisofs.texi +++ b/xorriso/xorrisofs.texi @@ -2648,8 +2648,11 @@ MKISOFSRC may be used to point the program to a mkisofs startup file. SOURCE_DATE_EPOCH belongs to the specs of reproducible-builds.org. It is supposed to be either undefined or to contain a decimal number which tells the seconds since january 1st 1970. If it contains a number, -then it is used as time value to set the default of --modification-date=, ---gpt_disk_guid, and --set_all_file_dates. +then it is used as time value to set the default of +@minus{}@minus{}modification-date=. +@minus{}@minus{}gpt_disk_guid defaults to "modification-date". +The default of @minus{}@minus{}set_all_file_dates is then "set_to_mtime". +@* Startup files and program options can override the effect of SOURCE_DATE_EPOCH. @c man .SS @c man .SH SEE ALSO