[Git][java-team/pdfsam][master] 4 commits: Fixed the reproducibility of the NetUtils class
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Mon Nov 23 14:21:28 GMT 2026
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / pdfsam
Commits:
ded4a723 by Emmanuel Bourg at 2026-11-23T15:12:26+01:00
Fixed the reproducibility of the NetUtils class
- - - - -
9d2d11d2 by Emmanuel Bourg at 2026-11-23T15:12:37+01:00
Depend on java-runtime (>= 11) instead of java9-runtime
- - - - -
0a8d2e31 by Emmanuel Bourg at 2026-11-23T15:18:32+01:00
Depend on maven-debian-helper (>= 2.7)
- - - - -
556f1920 by Emmanuel Bourg at 2026-11-23T15:18:32+01:00
Upload to unstable
- - - - -
5 changed files:
- debian/changelog
- debian/control
- debian/maven.rules
- + debian/patches/reproducible-netutils.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+pdfsam (4.3.4-4) unstable; urgency=medium
+
+ * Team upload.
+ * Fixed the reproducibility of the NetUtils class
+ * Depend on java-runtime (>= 11) instead of java9-runtime
+ * Depend on maven-debian-helper (>= 2.7)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Mon, 23 Nov 2026 14:58:55 +0100
+
pdfsam (4.3.4-3) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -25,7 +25,7 @@ Build-Depends:
libsejda-injector-java,
libsejda-java (>= 4.3.14),
libslf4j2-java,
- maven-debian-helper,
+ maven-debian-helper (>= 2.7~),
openjfx (>= 11)
Standards-Version: 4.7.4
Vcs-Git: https://salsa.debian.org/java-team/pdfsam.git
@@ -35,7 +35,7 @@ Homepage: http://www.pdfsam.org
Package: pdfsam
Architecture: all
Depends:
- default-jre (>= 2:1.9) | java9-runtime,
+ default-jre (>= 2:1.11) | java-runtime (>= 11),
libfontawesomefx-java (>= 9.1.2),
libhibernate-validator4-java (>= 4.3.3-2),
liblogback-java,
=====================================
debian/maven.rules
=====================================
@@ -23,7 +23,7 @@ org.bouncycastle s/bcmail-jdk18on/bcmail/ * s/.*/debian/ * *
org.bouncycastle s/bcprov-jdk18on/bcprov/ * s/.*/debian/ * *
com.googlecode.gettext-commons gettext-commons * s/.*/debian/ * *
junit junit jar s/4\..*/4.x/ * *
-s/com.googlecode.gettext-commons/com.github.rlf/ gettext-maven-plugin * s/.*/1.2.9/ * *
+s/com.googlecode.gettext-commons/com.github.rlf/ gettext-maven-plugin * * * *
de.jensd s/fontawesomefx/fontawesomefx-fontawesome/ * s/.*/debian/ * *
org.hibernate hibernate-validator * s/.*/4.x/ * *
org.slf4j slf4j-api * s/.*/2.x/ * *
=====================================
debian/patches/reproducible-netutils.patch
=====================================
@@ -0,0 +1,14 @@
+Description: Avoid the post-increment of a boxed Integer in NetUtils to make pdfsam-core reproducible
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+--- a/pdfsam-core/src/main/java/org/pdfsam/support/io/NetUtils.java
++++ b/pdfsam-core/src/main/java/org/pdfsam/support/io/NetUtils.java
+@@ -47,7 +47,7 @@
+
+ while (true) {
+
+- if (visited.compute(url.toExternalForm(), (key, count) -> isNull(count) ? 1 : count++) > 3) {
++ if (visited.compute(url.toExternalForm(), (key, count) -> isNull(count) ? 1 : count + 1) > 3) {
+ throw new IOException("Too many redirects");
+ }
+
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
no-check-for-updates.patch
pdfsam-bin.patch
+reproducible-netutils.patch
View it on GitLab: https://salsa.debian.org/java-team/pdfsam/-/compare/5664197c869201a32246022955e6bb13b87543b5...556f1920694a7371147e7cb9a05bf5faec998af6
--
View it on GitLab: https://salsa.debian.org/java-team/pdfsam/-/compare/5664197c869201a32246022955e6bb13b87543b5...556f1920694a7371147e7cb9a05bf5faec998af6
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/8a056935/attachment.htm>
More information about the pkg-java-commits
mailing list