[Git][java-team/ant][master] 6 commits: Removed the suggested dependency on libjaxp1.3-java

Emmanuel Bourg (@ebourg) gitlab at salsa.debian.org
Mon Nov 23 12:48:35 GMT 2026



Emmanuel Bourg pushed to branch master at Debian Java Maintainers / ant


Commits:
797df9fa by Emmanuel Bourg at 2026-10-26T19:05:46+01:00
Removed the suggested dependency on libjaxp1.3-java

- - - - -
6948d9d8 by Emmanuel Bourg at 2026-10-26T19:05:46+01:00
Removed the Priority field

- - - - -
c59e5385 by Emmanuel Bourg at 2026-10-26T19:05:46+01:00
Removed the Rules-Requires-Root field

- - - - -
8e8ba30a by Emmanuel Bourg at 2026-10-26T19:05:46+01:00
Converted debian/watch to the version 5 format

- - - - -
ac89ca33 by Emmanuel Bourg at 2026-11-23T13:45:39+01:00
Set the timestamps of the zip entries to SOURCE_DATE_EPOCH to make the archives reproducible

- - - - -
aa9c81c2 by Emmanuel Bourg at 2026-11-23T13:45:39+01:00
Upload to unstable

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/0020-reproducible-zip-timestamps.patch
- debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,14 @@
+ant (1.10.18-2) unstable; urgency=medium
+
+  * Set the timestamps of the zip entries to SOURCE_DATE_EPOCH to make the
+    archives reproducible
+  * Removed the suggested dependency on libjaxp1.3-java
+  * Removed the Priority field
+  * Removed the Rules-Requires-Root field
+  * Converted debian/watch to the version 5 format
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Mon, 23 Nov 2026 12:08:01 +0100
+
 ant (1.10.18-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -1,6 +1,5 @@
 Source: ant
 Section: java
-Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Matthias Klose <doko at debian.org>,
            James Page <james.page at canonical.com>,
@@ -30,7 +29,6 @@ Standards-Version: 4.7.4
 Vcs-Git: https://salsa.debian.org/java-team/ant.git
 Vcs-Browser: https://salsa.debian.org/java-team/ant
 Homepage: http://ant.apache.org
-Rules-Requires-Root: no
 
 Package: ant
 Architecture: all
@@ -66,7 +64,6 @@ Suggests: antlr,
           libcommons-logging-java,
           libcommons-net-java,
           libmail-java,
-          libjaxp1.3-java,
           libjdepend-java,
           libjsch-java,
           liblog4j1.2-java,


=====================================
debian/patches/0020-reproducible-zip-timestamps.patch
=====================================
@@ -0,0 +1,30 @@
+Description: Set the timestamps of the zip entries to SOURCE_DATE_EPOCH to make the archives reproducible
+ dh_strip_nondeterminism normalizes the jars at the end of the build, but some
+ builds use the jars before that. The NetBeans harness for example records
+ their CRC32 in the update_tracking files of the modules (visualvm), and these
+ checksums differ from one build to another if the timestamps are not fixed
+ when the jars are written.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/src/main/org/apache/tools/ant/taskdefs/Zip.java
++++ b/src/main/org/apache/tools/ant/taskdefs/Zip.java
+@@ -32,6 +32,7 @@
+ import java.util.List;
+ import java.util.Map;
+ import java.util.Stack;
++import java.util.TimeZone;
+ import java.util.Vector;
+ import java.util.stream.Stream;
+ import java.util.zip.CRC32;
+@@ -846,6 +847,11 @@
+                 archiveType);
+         }
+ 
++        if (fixedModTime == null && System.getenv(DateUtils.ENV_SOURCE_DATE_EPOCH) != null) {
++            long buildDate = getProject().getBuildDate().getTime();
++            fixedModTime = String.valueOf(buildDate - TimeZone.getDefault().getOffset(buildDate));
++        }
++
+         if (fixedModTime != null) {
+             try {
+                 modTimeMillis = DateUtils.parseLenientDateTime(fixedModTime).getTime();


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@
 0017-usrmerge-proof.patch
 0018-disable-doclint.patch
 0019-build-date.patch
+0020-reproducible-zip-timestamps.patch


=====================================
debian/watch
=====================================
@@ -1,3 +1,5 @@
-version=4
-opts="repack,compression=xz" \
-https://www.apache.org/dist/ant/source/apache-ant-(.*)-src\.tar\.gz
+Version: 5
+Source: https://www.apache.org/dist/ant/source/
+Matching-Pattern: apache-ant-([\d.]+)-src\.tar\.gz
+Repack: yes
+Compression: xz



View it on GitLab: https://salsa.debian.org/java-team/ant/-/compare/5dcb58098b76b57182f0b97dddbc29e1fe20825e...aa9c81c214c164763a8b33c064dcebd82fce746c

-- 
View it on GitLab: https://salsa.debian.org/java-team/ant/-/compare/5dcb58098b76b57182f0b97dddbc29e1fe20825e...aa9c81c214c164763a8b33c064dcebd82fce746c
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261123/8aec156e/attachment.htm>


More information about the pkg-java-commits mailing list