diff -u bouncycastle-1.33/debian/control bouncycastle-1.33/debian/control --- bouncycastle-1.33/debian/control +++ bouncycastle-1.33/debian/control @@ -9,7 +9,7 @@ Package: libbcprov-java Architecture: all -Depends: java-gcj-compat | java2-runtime +Depends: libgcj-common (>= 1:4.1.1-19), java-gcj-compat | java2-runtime Suggests: java-virtual-machine, libbcprov-java-doc Description: Bouncy Castle Java Cryptographic Service Provider The Bouncy Castle Crypto package is a Java implementation of diff -u bouncycastle-1.33/debian/changelog bouncycastle-1.33/debian/changelog --- bouncycastle-1.33/debian/changelog +++ bouncycastle-1.33/debian/changelog @@ -1,3 +1,11 @@ +bouncycastle (1.33-2.1) unstable; urgency=low + + * Register org.bouncycastle.jce.provider.BouncyCastleProvider + as security provider for classpath based runtimes. + * Install bcprov.jar in /usr/share/java/gcj-endorsed as well. + + -- Matthias Klose Sun, 22 Oct 2006 14:57:44 +0000 + bouncycastle (1.33-2) unstable; urgency=low * Move clean target dependencies to Build-Depends diff -u bouncycastle-1.33/debian/rules bouncycastle-1.33/debian/rules --- bouncycastle-1.33/debian/rules +++ bouncycastle-1.33/debian/rules @@ -15,6 +15,8 @@ # bcprov binary-install/libbcprov-java:: install -m 644 $(builddir)/jars/bcprov-jdk14-*.jar debian/libbcprov-java/usr/share/java/bcprov.jar + ln -sf ../bcprov.jar debian/libbcprov-java/usr/share/java/gcj-endorsed/bcprov.jar + touch debian/libbcprov-java/etc/java/security/security.d/2000-org.bouncycastle.jce.provider.BouncyCastleProvider binary-install/libbcprov-java-doc:: mv -i $(builddir)/javadoc/bcprov debian/libbcprov-java-doc/usr/share/doc/libbcprov-java-doc/apidoc diff -u bouncycastle-1.33/debian/libbcprov-java.dirs bouncycastle-1.33/debian/libbcprov-java.dirs --- bouncycastle-1.33/debian/libbcprov-java.dirs +++ bouncycastle-1.33/debian/libbcprov-java.dirs @@ -1 +1,2 @@ -usr/share/java +usr/share/java/gcj-endorsed +etc/java/security/security.d only in patch2: unchanged: --- bouncycastle-1.33.orig/debian/libbcprov-java.prerm +++ bouncycastle-1.33/debian/libbcprov-java.prerm @@ -0,0 +1,11 @@ +#! /bin/sh + +set -e + +case "$1" in remove) + if which rebuild-security-providers >/dev/null; then + rebuild-security-providers + fi +esac + +#DEBHELPER# only in patch2: unchanged: --- bouncycastle-1.33.orig/debian/libbcprov-java.postinst +++ bouncycastle-1.33/debian/libbcprov-java.postinst @@ -0,0 +1,11 @@ +#! /bin/sh + +set -e + +case "$1" in configure) + if which rebuild-security-providers >/dev/null; then + rebuild-security-providers + fi +esac + +#DEBHELPER#