Bug#1023748: proposed patch

Vladimir Petko vladimir.petko at canonical.com
Tue Mar 14 01:45:22 GMT 2023


Dear Maintainers,

 Attached is a patch that builds upon the minimal change approach
proposed by Thorsten Glaser [1].

 Summary of changes:
 - remove JRE dependency from ca-certificates-java
 - rely on a trigger being called after postinstall script execution
 - require openjdk-jre-X-headless to trigger updates of ca-certificates-java
 - fix -cacert option which broken certificate updates for machines
with the default Java 8 (#1015771)

This patch can not be applied directly as Breaks: section needs to be
updated to Debian versions.

OpenJDK packages need to be updated to trigger ca-certificates-java,
see attached openjdk-8.diff.
If this approach is acceptable I will attach patches or open salsa
merge requests for other openjdk packages.

Best Regards,
 Vladimir.

[1] https://lists.debian.org/debian-java/2023/02/msg00061.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ca-certificates-java.debdiff
Type: application/octet-stream
Size: 7993 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230314/16acd913/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk-8.diff
Type: text/x-patch
Size: 290 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20230314/16acd913/attachment.bin>


More information about the pkg-java-maintainers mailing list