diff -u libgnucrypto-java-2.1.0/debian/control libgnucrypto-java-2.1.0/debian/control --- libgnucrypto-java-2.1.0/debian/control +++ libgnucrypto-java-2.1.0/debian/control @@ -9,7 +9,7 @@ Package: libgnucrypto-java Architecture: all -Depends: java-gcj-compat | kaffe (>= 1.1.1) | java1-runtime | java2-runtime +Depends: libgcj-common (>= 1:4.1.1-19), java-gcj-compat | kaffe (>= 1.1.1) | java1-runtime | java2-runtime Description: full-featured cryptographic library in Java GNU Crypto aims at providing free, versatile, high-quality, and provably correct implementations of cryptographic primitives and tools diff -u libgnucrypto-java-2.1.0/debian/dirs libgnucrypto-java-2.1.0/debian/dirs --- libgnucrypto-java-2.1.0/debian/dirs +++ libgnucrypto-java-2.1.0/debian/dirs @@ -1 +1,2 @@ -usr/share/java +usr/share/java/gcj-endorsed +etc/java/security/security.d diff -u libgnucrypto-java-2.1.0/debian/changelog libgnucrypto-java-2.1.0/debian/changelog --- libgnucrypto-java-2.1.0/debian/changelog +++ libgnucrypto-java-2.1.0/debian/changelog @@ -1,3 +1,11 @@ +libgnucrypto-java (2.1.0-1.1) unstable; urgency=low + + * Register gnu.crypto.jce.GnuCrypto as security provider for + classpath based runtimes. + * Install gnu-crypto.jar in /usr/share/java/gcj-endorsed as well. + + -- Matthias Klose Sun, 22 Oct 2006 15:14:30 +0000 + libgnucrypto-java (2.1.0-1) unstable; urgency=low * New upstream. diff -u libgnucrypto-java-2.1.0/debian/rules libgnucrypto-java-2.1.0/debian/rules --- libgnucrypto-java-2.1.0/debian/rules +++ libgnucrypto-java-2.1.0/debian/rules @@ -20,6 +20,9 @@ --with-jce=yes \ --datadir=/usr/share/java +binary-install/libgnucrypto-java:: + touch debian/libgnucrypto-java/etc/java/security/security.d/3000-gnu.crypto.jce.GnuCrypto + # This adds extra stuff to the clean rule. clean:: -$(MAKE) distclean only in patch2: unchanged: --- libgnucrypto-java-2.1.0.orig/debian/links +++ libgnucrypto-java-2.1.0/debian/links @@ -0,0 +1 @@ +usr/share/java/gnu-crypto.jar usr/share/java/gcj-endorsed/gnu-crypto.jar only in patch2: unchanged: --- libgnucrypto-java-2.1.0.orig/debian/libgnucrypto-java.prerm +++ libgnucrypto-java-2.1.0/debian/libgnucrypto-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: --- libgnucrypto-java-2.1.0.orig/debian/libgnucrypto-java.postinst +++ libgnucrypto-java-2.1.0/debian/libgnucrypto-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#