Subversion Repositories sa-exim

Compare Revisions

Ignore whitespace Rev 74 → Rev 75

/trunk/debian/changelog
1,3 → 1,11
sa-exim (4.2.1-15) UNRELEASED; urgency=low
 
* reproducible-build.patch (new): Make build reproducible by replacing
the build date with the source date via ${SOURCE_DATE_EPOCH} when
available (Closes: #831649). Thanks to Chris Lamb.
 
-- Magnus Holmgren <holmgren@debian.org> Thu, 21 Jul 2016 18:17:59 +0200
 
sa-exim (4.2.1-14) unstable; urgency=low
 
* Updated Danish and Dutch Debconf template translations (Closes:
/trunk/debian/patches/reproducible-build.patch
0,0 → 1,17
Author: Chris Lamb <lamby@debian.org>
Last-Update: 2016-07-18
 
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,11 @@ sa-exim_short.conf: sa-exim.conf
@cat sa-exim.conf | grep -v "^#" | tr '\012' 'ÿ' | sed "s/ÿÿÿ*/ÿÿ/g" | tr 'ÿ' '\012' >> sa-exim_short.conf
sa-exim.h: sa-exim.c version
+ifdef SOURCE_DATE_EPOCH
+ echo "char *version=\"`cat version` (built `LC_ALL=C date --utc -R --date=@$${SOURCE_DATE_EPOCH}`)\";" > sa-exim.h
+else
echo "char *version=\"`cat version` (built `date -R 2>/dev/null || date`)\";" > sa-exim.h
+endif
clean:
@-rm -rf $(OBJECTS) $(DOCS) $(OTHERTARGETS) build-stamp configure-stamp debian/sa-exim debian/sa-exim.postrm.debhelper debian/sa-exim.substvars debian/files 2>/dev/null
/trunk/debian/patches/series
6,3 → 6,4
improved-default-conf.patch
spamd-not-nobody.patch
readme.patch
reproducible-build.patch