Followup-For: Bug #1040925
Control: retitle -1 bookworm-pu: package ca-certificates-java/20230620~deb12u1

my suggestion: rebuild the 20230620 package from sid


Andreas
diff --git a/debian/ca-certificates-java.postinst 
b/debian/ca-certificates-java.postinst
index 94c6c03..963e248 100644
--- a/debian/ca-certificates-java.postinst
+++ b/debian/ca-certificates-java.postinst
@@ -31,6 +31,13 @@ setup_path()
                        if [ -x /usr/lib/jvm/$jvm/bin/java ]; then
                                export JAVA_HOME=/usr/lib/jvm/$jvm
                                PATH=$JAVA_HOME/bin:$PATH
+                               # copy java.security to allow import to function
+                               
security_conf=/etc/java-${version}-openjdk/security
+                               if [ -f ${security_conf}/java.security.dpkg-new 
] \
+                                       && [ ! -f 
${security_conf}/java.security ]; then
+                                               cp 
${security_conf}/java.security.dpkg-new \
+                                                       
${security_conf}/java.security
+                               fi
                                break 2
                        fi
                done
diff --git a/debian/changelog b/debian/changelog
index c316775..4feceba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+ca-certificates-java (20230620~deb12u1) bookworm; urgency=medium
+
+  * Rebuild for bookworm.  (Closes: #1039472)
+
+ -- Andreas Beckmann <a...@debian.org>  Sat, 15 Jul 2023 23:23:25 +0200
+
+ca-certificates-java (20230620) unstable; urgency=medium
+
+  [ Matthias Klose ]
+  * Bump standards version.
+  * Build-depend on default-jdk-headless instead of default-jdk.
+
+  [ Vladimir Petko ]
+  * d/ca-certificates-java.postinst: Work-around not yet configured jre.
+
+ -- Matthias Klose <d...@debian.org>  Tue, 20 Jun 2023 06:09:44 +0200
+
 ca-certificates-java (20230103) unstable; urgency=medium
 
   * Promote again the JRE recommendation to a dependency. Otherwise
diff --git a/debian/control b/debian/control
index 87cfc5f..88c04e9 100644
--- a/debian/control
+++ b/debian/control
@@ -7,10 +7,10 @@ Uploaders: Matthias Klose <d...@ubuntu.com>,
 Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-javahelper,
- default-jdk,
+ default-jdk-headless,
  junit4,
 Rules-Requires-Root: no
-Standards-Version: 4.6.1
+Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/java-team/ca-certificates-java.git
 Vcs-Browser: https://salsa.debian.org/java-team/ca-certificates-java
 

Reply via email to