Sascha Steinbiss pushed to branch master at Debian Med / vmatch
Commits: 58e41c04 by Sascha Steinbiss at 2025-11-29T08:56:19+01:00 add patch to use SOURCE_DATE_EPOCH - - - - - 3 changed files: - debian/changelog - debian/patches/series - + debian/patches/source-date-epoch.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +vmatch (2.3.1+git20240412.b3b8ac0+dfsg-2) unstable; urgency=medium + + * Ensure reproducible builds by using SOURCE_DATE_EPOCH for compile date. + + -- Sascha Steinbiss <[email protected]> Sat, 29 Nov 2025 08:44:57 +0100 + vmatch (2.3.1+git20240412.b3b8ac0+dfsg-1) unstable; urgency=medium * New upstream snapshot. ===================================== debian/patches/series ===================================== @@ -4,3 +4,4 @@ common-distdir.patch skip-doc-installation.patch pathmax.patch skproto.patch +source-date-epoch.patch ===================================== debian/patches/source-date-epoch.patch ===================================== @@ -0,0 +1,19 @@ +Description: Use SOURCE_DATE_EPOCH for reproducible builds +Author: Sascha Steinbiss <[email protected]> +Last-Update: 2025-11-29 +--- a/src/bin/vmrelease.sh ++++ b/src/bin/vmrelease.sh +@@ -22,7 +22,12 @@ + #define ${PROGRAM}RELEASE_H + ENDOFRELEASEPRE + +-compiledate=`date +%Y-%m-%d` ++if [ -n "${SOURCE_DATE_EPOCH}" ] ++then ++ compiledate=`date -d "@$SOURCE_DATE_EPOCH" +%Y-%m-%d` ++else ++ compiledate=`date +%Y-%m-%d` ++fi + echo "#define ${PROGRAM}COMPILEDATE "\"${compiledate}\""" + + shift # get rid of first argument View it on GitLab: https://salsa.debian.org/med-team/vmatch/-/commit/58e41c047595162e37f08a2e112b96048bc18cfc -- View it on GitLab: https://salsa.debian.org/med-team/vmatch/-/commit/58e41c047595162e37f08a2e112b96048bc18cfc You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
