Your message dated Thu, 05 Mar 2015 00:03:31 +0000
with message-id <e1ytjgf-00078a...@franck.debian.org>
and subject line Bug#776395: fixed in java-package 0.58
has caused the Debian Bug report #776395,
regarding java-package: Does not use the system's keystore
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
776395: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776395
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: java-package
Version: 0.56
Severity: important
Tags: patch

Dear Maintainer,

JVMs supported by Debian create a symlink for the keystore in
$JAVA_HOME/lib/security/cacerts pointing to /etc/ssl/certs/java/cacerts.
This, together with package ca-certificates-java, unifies the
management of the keystore of all Debian JVMs very nicely.
Packages generated with java-package do not create that symlink and
do not depend on ca-certificates-java which means that the standard
process to install SSL certificates (see
/usr/share/doc/ca-certificates/README.Debian) is broken.

The attached patch fixes this issue.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages java-package depends on:
ii  debhelper   9.20141022
ii  dpkg-dev    1.17.23
ii  fakeroot    1.20.2-1
ii  libasound2  1.0.28-1
ii  libx11-6    2:1.6.2-3
ii  unzip       6.0-14

Versions of packages java-package recommends:
ii  gcc  4:4.9.1-5

Versions of packages java-package suggests:
ii  openjdk-7-jre  7u71-2.5.3-2

-- no debconf information
From 31ae773023ded5aa6e7d20bc2b63a33ab20d48b9 Mon Sep 17 00:00:00 2001
From: Francesc Zacarias <franc...@spotify.com>
Date: Tue, 27 Jan 2015 17:07:43 +0100
Subject: [PATCH] Unify cacerts

---
 lib/jdk.sh        | 2 +-
 lib/jre.sh        | 2 +-
 lib/oracle-jdk.sh | 2 ++
 lib/oracle-jre.sh | 2 ++
 4 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/lib/jdk.sh b/lib/jdk.sh
index 1c75876..45ebb30 100644
--- a/lib/jdk.sh
+++ b/lib/jdk.sh
@@ -22,7 +22,7 @@ j2sdk_control() {
     cat << EOF
 Package: $j2se_package
 Architecture: any
-Depends: \${misc:Depends}, $depends
+Depends: \${misc:Depends}, $depends, ca-certificates-java
 Recommends: netbase
 Provides: java-virtual-machine, java-runtime, java2-runtime, $provides_runtime $java_browser_plugin java-compiler, java2-compiler, java-runtime-headless, java2-runtime-headless, $provides_headless java-sdk, java2-sdk, $provides_sdk
 Description: $j2se_title
diff --git a/lib/jre.sh b/lib/jre.sh
index 93aed8b..eb9a3cd 100644
--- a/lib/jre.sh
+++ b/lib/jre.sh
@@ -9,7 +9,7 @@ j2re_control() {
     cat << EOF
 Package: $j2se_package
 Architecture: any
-Depends: \${misc:Depends}, \${shlibs:Depends}
+Depends: \${misc:Depends}, \${shlibs:Depends}, ca-certificates-java
 Recommends: netbase
 Provides: java-virtual-machine, java-runtime, java2-runtime, $provides_runtime java-runtime-headless, java2-runtime-headless, $provides_headless java-browser-plugin
 Description: $j2se_title
diff --git a/lib/oracle-jdk.sh b/lib/oracle-jdk.sh
index 1fa6657..6b3d45a 100644
--- a/lib/oracle-jdk.sh
+++ b/lib/oracle-jdk.sh
@@ -131,6 +131,8 @@ for b in $browser_plugin_dirs;do
     install_browser_plugin "/usr/lib/\$b/plugins" "libjavaplugin.so" "\$b-javaplugin.so" "\$plugin_dir/libnpjp2.so"
 done
 fi
+
+ln -sf /etc/ssl/certs/java/cacerts $jvm_base$j2se_name/jre/lib/security/cacerts
 EOF
 }
 
diff --git a/lib/oracle-jre.sh b/lib/oracle-jre.sh
index 2e1ab8c..6941a04 100644
--- a/lib/oracle-jre.sh
+++ b/lib/oracle-jre.sh
@@ -100,6 +100,8 @@ plugin_dir="$jvm_base$j2se_name/lib/$DEB_BUILD_ARCH"
 for b in $browser_plugin_dirs;do
     install_browser_plugin "/usr/lib/\$b/plugins" "libjavaplugin.so" "\$b-javaplugin.so" "\$plugin_dir/libnpjp2.so"
 done
+
+ln -sf /etc/ssl/certs/java/cacerts $jvm_base$j2se_name/lib/security/cacerts
 EOF
 }
 
-- 
2.1.4


--- End Message ---
--- Begin Message ---
Source: java-package
Source-Version: 0.58

We believe that the bug you reported is fixed in the latest version of
java-package, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 776...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emmanuel Bourg <ebo...@apache.org> (supplier of updated java-package package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 05 Mar 2015 00:09:05 +0100
Source: java-package
Binary: java-package
Architecture: source all
Version: 0.58
Distribution: experimental
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Emmanuel Bourg <ebo...@apache.org>
Description:
 java-package - Utility for creating Java Debian packages
Closes: 776395 779727
Changes:
 java-package (0.58) experimental; urgency=medium
 .
   [ Francesc Zacarias ]
   * New --with-system-certs option to use the system keystore (Closes: #776395)
 .
   [ Emmanuel Bourg ]
   * Removed the generated package mistakenly included in the source package
     (Closes: #779727)
Checksums-Sha1:
 95427492657f6d6fb494527d47f1f97abedb5fcc 1628 java-package_0.58.dsc
 8e8505ab241dc6d5f247e4d46e4d22725d00abdb 18840 java-package_0.58.tar.xz
 96afda095c16efec100d52b0e9feb2ea839e3ff9 21146 java-package_0.58_all.deb
Checksums-Sha256:
 6fc89275eb32e340daf61aa5248e0c094618cab62c9f325a844a1b6dad34f2da 1628 
java-package_0.58.dsc
 10099755471dd8206e272b09a01b3d0ba0137585af6579a5027ad8bbf29a5112 18840 
java-package_0.58.tar.xz
 36ece1d9a6e593bfb061c2308e73423f27747077690fa5d142bd6f433c6a01e4 21146 
java-package_0.58_all.deb
Files:
 0ac8e5dfc7c6312534d402b418d1d04b 1628 contrib/misc optional 
java-package_0.58.dsc
 b554fc98350ec6cba420d3cd7f40fec9 18840 contrib/misc optional 
java-package_0.58.tar.xz
 0c310d605c0f5d9bac538dbdc29e815e 21146 contrib/misc optional 
java-package_0.58_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU95tIAAoJEPUTxBnkudCsm8MQAIO0GMdI2h52iqp3ch4mJG9o
9YGkvQnWXRFP6QTrZ1dpaqlX5OMWGHZs1d0pLXtXpZCgeRIASW5gy+aaRpmFE/zq
2VdUCrvh31ApvHkcUJKB0F8W3/Zj2l8gnoZJk6wXoaqYD3YNvovzkgKnKHMt+3EY
2G6F5ZucCsYaTx+xLe3MANxGC0emKaWwevFOjZRYI7Nj3eD0DVxu3REbQ/iEhwkN
bs83KlCWEctiClvEE94ccdrWlmBYa7mp1+317tiX0/rCjsW6WIXJpXawfdBPnEbc
XRhqRGAMBOOljq/T2OowNuCct+hgs5uTlC9SqNy16rzXJ5HLtDiTGDraNouLv00b
DL2b/VcPZt5zAl8xSv13E/ht82Gu93yE5EKdc95voqSKIHPKvFBCe5I1wZ//DmUF
5gTD5DXZjUwcUwfySepOTNBXTXnMsH5DnaN+/yM92YMmv3sYF52yg2JOkqyNAk9K
7Mo6uFaf6kMnGgQP7xfydiOmvoO2gXuUg+5Vg0TUiOkLS1hgU0G82zB4QcFDBQfA
cFMwKYHcYeEmPtu9jocwrn2pjwBlH+76aHjGdrYAkcQ9OA4LN4WWmqiQwdG91gkH
pteL/em4DiE6akpildwNqxhQmveoqsVAhH9R9ghpsPAM6Vyr503jQV9ACoLwdw7u
j+o4LwLPr+Dd3COE/HLO
=Vj20
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to