Sorry, I forgot about timezone variation. An updated patch is attached. Regards, Reiner
diff --git a/debian/patches/deterministic-latex.patch b/debian/patches/deterministic-latex.patch index f9cbb05..b9d426c 100644 --- a/debian/patches/deterministic-latex.patch +++ b/debian/patches/deterministic-latex.patch @@ -16,7 +16,7 @@ Index: libtomcrypt/makefile rm -f doc/crypt.pdf $(LEFTOVERS) + cp crypt.tex crypt.bak + touch --reference=crypt.tex crypt.bak -+ (echo "\\def\\fixedpdfdate{"; date +'D:%Y%m%d%H%M%S%:z' -d @$$(stat --format=%Y crypt.tex) | sed "s/:\([0-9][0-9]\)$$/'\1'}/g") > crypt-deterministic.tex ++ (echo "\\def\\fixedpdfdate{"; date +'D:%Y%m%d%H%M%S%:z' -u -d @$${SOURCE_DATE_EPOCH:-$$(stat --format=%Y crypt.tex)} | sed "s/:\([0-9][0-9]\)$$/'\1'}/g") > crypt-deterministic.tex + echo "\\pdfinfo{" >> crypt-deterministic.tex + echo "/CreationDate (\fixedpdfdate)" >> crypt-deterministic.tex + echo "/ModDate (\fixedpdfdate) }" >> crypt-deterministic.tex
signature.asc
Description: PGP signature