This is an automated email from the git hooks/post-receive script. detiste-guest pushed a commit to branch master in repository lordsawar.
commit 8f6b8d0ae65660d017cb7d81e6d4d54ccd09c666 Author: Alexandre Detiste <[email protected]> Date: Mon Mar 14 12:13:50 2016 +0100 add patch to make the package reproducible --- debian/changelog | 7 +++++++ debian/patches/reproducible.patch | 15 +++++++++++++++ debian/patches/series | 1 + debian/rules | 1 + 4 files changed, 24 insertions(+) diff --git a/debian/changelog b/debian/changelog index cf0c1a1..834827e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +lordsawar (0.3.0-3) UNRELEASED; urgency=medium + + [ Alexandre Detiste ] + * Attempt at making the package reproducible. + + -- Markus Koschany <[email protected]> Mon, 14 Mar 2016 12:12:06 +0100 + lordsawar (0.3.0-2) unstable; urgency=medium * Rebuild lordsawar against the latest version of libxml++2.6-2v5 and fix diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch new file mode 100644 index 0000000..b19cb92 --- /dev/null +++ b/debian/patches/reproducible.patch @@ -0,0 +1,15 @@ +--- a/create-lw-file ++++ b/create-lw-file +@@ -13,7 +13,11 @@ + for f in $files; do + tmpfiles="$tmpfiles `basename $f`" + done +- tar -cvf $tarball $tmpfiles ++ chmod 0644 $tmpfiles ++ if [ -n "$SOURCE_DATE_EPOCH" ]; then ++ touch $tmpfiles --date="@$SOURCE_DATE_EPOCH" ++ fi ++ tar --owner=root --group=root --numeric-owner -cvf $tarball $tmpfiles + cd $origdir + cp -f $tmpdir/$tarball $1 + rm -f $tmpdir/* diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..038ee28 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +reproducible.patch diff --git a/debian/rules b/debian/rules index 07909b0..54932e6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,6 @@ #!/usr/bin/make -f export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog -SDate)" +%s) %: dh $@ --parallel --with autoreconf -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/lordsawar.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

