[Pkg-gmagick-im-team] Bug#983302: imagemagick: reproducible builds: Embeds date dependent on timezone

Vagrant Cascadian vagrant at reproducible-builds.org
Tue May 2 02:00:45 BST 2023


This patch is still relevent and applies to the version currently in
bookworm, though was fixed in experimental.

live well,
  vagrant

> From 5587cea7533d43b7e264da5420389b83650cc063 Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <vagrant at reproducible-builds.org>
> Date: Mon, 22 Feb 2021 01:21:14 +0000
> Subject: [PATCH 1/4] configure.ac: Patch to ensure release date is in UTC.
>
> While it uses a reference file to produce a consistent date, the
> timezone may affect the actual date produced.
>
> https://reproducible-builds.org/docs/timezones/
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/configure.ac b/configure.ac
> index 570d04f..62ddb5c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -39,7 +39,7 @@ m4_define([magick_git_revision],
>            ]))
>  m4_define([magick_release_date],
>            m4_esyscmd([
> -            d=$(date +%F -r ./ChangeLog)
> +            d=$(date -u +%F -r ./ChangeLog)
>              printf %s "$d"
>            ]))
>  
> -- 
> 2.20.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gmagick-im-team/attachments/20230501/56fe18a5/attachment.sig>


More information about the Pkg-gmagick-im-team mailing list