[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#923176: stretch-pu: package ca-certificates-java/20170929~deb9u1



Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

This update closes #922720 [1], which addresses a bashism that prevents
the package upgrade from completing successfully.  

The debdiff for the proposed update is attached.

Thank you,
tony

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922720
diff -Nru ca-certificates-java-20170929~deb9u1/debian/changelog ca-certificates-java-20170929~deb9u2/debian/changelog
--- ca-certificates-java-20170929~deb9u1/debian/changelog	2019-02-11 04:14:23.000000000 -0800
+++ ca-certificates-java-20170929~deb9u2/debian/changelog	2019-02-24 09:55:04.000000000 -0800
@@ -1,3 +1,10 @@
+ca-certificates-java (20170929~deb9u2) stretch; urgency=medium
+
+  * Team upload.
+  * Address bashisms in postinst and jks-keystore (Closes: #922720)
+
+ -- tony mancill <tmancill@debian.org>  Sun, 24 Feb 2019 09:55:04 -0800
+
 ca-certificates-java (20170929~deb9u1) stretch; urgency=medium
 
   * Rebuild for stretch.
diff -Nru ca-certificates-java-20170929~deb9u1/debian/jks-keystore.hook.in ca-certificates-java-20170929~deb9u2/debian/jks-keystore.hook.in
--- ca-certificates-java-20170929~deb9u1/debian/jks-keystore.hook.in	2019-02-11 04:14:23.000000000 -0800
+++ ca-certificates-java-20170929~deb9u2/debian/jks-keystore.hook.in	2019-02-24 09:55:04.000000000 -0800
@@ -53,7 +53,7 @@
     # the jre is not yet configured, but jvm.cfg is needed to run it
     temp_jvm_cfg=/etc/${jvm%-$arch}/jvm-$arch.cfg
     mkdir -p /etc/${jvm%-$arch}
-    if [ "$arch" == "armhf" ]; then
+    if [ "$arch" = "armhf" ]; then
         printf -- "-client KNOWN\n-server ALIASED_TO -client\n" > $temp_jvm_cfg
     else
         printf -- "-server KNOWN\n" > $temp_jvm_cfg
diff -Nru ca-certificates-java-20170929~deb9u1/debian/postinst.in ca-certificates-java-20170929~deb9u2/debian/postinst.in
--- ca-certificates-java-20170929~deb9u1/debian/postinst.in	2019-02-11 04:14:23.000000000 -0800
+++ ca-certificates-java-20170929~deb9u2/debian/postinst.in	2019-02-24 09:55:04.000000000 -0800
@@ -52,7 +52,7 @@
 
     # Forcibly remove diginotar cert (LP: #920758)
     if [ -n "$FIXOLD" ]; then
-        echo -e "-diginotar_root_ca\n-diginotar_root_ca_pem" | \
+        printf "-diginotar_root_ca\n-diginotar_root_ca_pem\n" | \
         java -Xmx64m -jar $JAR -storepass "$storepass"
     fi
 
@@ -100,7 +100,7 @@
                 # the jre is not yet configured, but jvm.cfg is needed to run it
                 temp_jvm_cfg=/etc/${jvm%-$arch}/jvm-$arch.cfg
                 mkdir -p /etc/${jvm%-$arch}
-                if [ "$arch" == "armhf" ]; then
+                if [ "$arch" = "armhf" ]; then
 	                printf -- "-client KNOWN\n-server ALIASED_TO -client\n" > $temp_jvm_cfg
                 else
 	                printf -- "-server KNOWN\n" > $temp_jvm_cfg

Attachment: signature.asc
Description: PGP signature


Reply to: