[debhelper-devel] [debhelper] 01/01: ant.pm: Reproducible username for Ant builds

Niels Thykier nthykier at moszumanska.debian.org
Mon May 30 19:20:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 6327cba8b3bed41643990541280431235d248908
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon May 30 19:19:20 2016 +0000

    ant.pm: Reproducible username for Ant builds
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 Debian/Debhelper/Buildsystem/ant.pm | 4 ++++
 debian/changelog                    | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/Debian/Debhelper/Buildsystem/ant.pm b/Debian/Debhelper/Buildsystem/ant.pm
index 53eb066..eca9770 100644
--- a/Debian/Debhelper/Buildsystem/ant.pm
+++ b/Debian/Debhelper/Buildsystem/ant.pm
@@ -32,6 +32,10 @@ sub build {
 	if ( -f $d_ant_prop ) {
 		push(@args, '-propertyfile', $d_ant_prop);
 	}
+
+	# Set the username to improve the reproducibility
+	push(@args, "-Duser.name", "debian");
+
 	$this->doit_in_sourcedir("ant", @args, @_);
 }
 
diff --git a/debian/changelog b/debian/changelog
index a3e669f..bb16cfe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,9 @@ debhelper (9.20160403+unreleased) UNRELEASED; urgency=medium
   * dh_strip: Apply patch from Peter Pentchev to only strip
     static libraries with a basename matching "lib.*\.a".
     (Closes: #820446)
+  * ant.pm: Apply patch from Emmanuel Bourg to pass a
+    normalised "user.name" parameter to ant.
+    (Closes: #824490)
 
  -- Niels Thykier <niels at thykier.net>  Sat, 09 Apr 2016 09:20:32 +0000
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list