[pkg-java] r2903 - trunk/bouncycastle/debian

Matthias Klose doko at alioth.debian.org
Wed Jan 3 14:15:43 CET 2007


Author: doko
Date: 2007-01-03 14:15:42 +0100 (Wed, 03 Jan 2007)
New Revision: 2903

Added:
   trunk/bouncycastle/debian/libbcprov-java.postinst
   trunk/bouncycastle/debian/libbcprov-java.prerm
Modified:
   trunk/bouncycastle/debian/changelog
   trunk/bouncycastle/debian/compat
   trunk/bouncycastle/debian/control
   trunk/bouncycastle/debian/libbcprov-java.dirs
   trunk/bouncycastle/debian/rules
Log:
  * Register org.bouncycastle.jce.provider.BouncyCastleProvider
    as security provider for classpath based runtimes.
  * Install bcprov.jar in /usr/share/java/gcj-endorsed as well.
  * Closes: #394680.


Modified: trunk/bouncycastle/debian/changelog
===================================================================
--- trunk/bouncycastle/debian/changelog	2007-01-03 12:40:49 UTC (rev 2902)
+++ trunk/bouncycastle/debian/changelog	2007-01-03 13:15:42 UTC (rev 2903)
@@ -1,3 +1,13 @@
+bouncycastle (1.33-2.1) unstable; urgency=medium
+
+  * NMU
+  * Register org.bouncycastle.jce.provider.BouncyCastleProvider
+    as security provider for classpath based runtimes.
+  * Install bcprov.jar in /usr/share/java/gcj-endorsed as well.
+  * Closes: #394680.
+
+ -- Matthias Klose <doko at debian.org>  Sun, 22 Oct 2006 14:57:44 +0000
+
 bouncycastle (1.33-2) unstable; urgency=low
 
   * Move clean target dependencies to Build-Depends

Modified: trunk/bouncycastle/debian/compat
===================================================================
--- trunk/bouncycastle/debian/compat	2007-01-03 12:40:49 UTC (rev 2902)
+++ trunk/bouncycastle/debian/compat	2007-01-03 13:15:42 UTC (rev 2903)
@@ -1 +1 @@
-5
+4

Modified: trunk/bouncycastle/debian/control
===================================================================
--- trunk/bouncycastle/debian/control	2007-01-03 12:40:49 UTC (rev 2902)
+++ trunk/bouncycastle/debian/control	2007-01-03 13:15:42 UTC (rev 2903)
@@ -3,13 +3,13 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Charles Fry <cfry at debian.org>
-Build-Depends: cdbs (>= 0.4.27-1), debhelper (>= 5), ant, java-gcj-compat-dev, quilt
+Build-Depends: cdbs (>= 0.4.27-1), debhelper (>= 4.1.0), ant, java-gcj-compat-dev, quilt
 Build-Depends-Indep: libgnumail-java, junit
 Standards-Version: 3.7.2
 
 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

Modified: trunk/bouncycastle/debian/libbcprov-java.dirs
===================================================================
--- trunk/bouncycastle/debian/libbcprov-java.dirs	2007-01-03 12:40:49 UTC (rev 2902)
+++ trunk/bouncycastle/debian/libbcprov-java.dirs	2007-01-03 13:15:42 UTC (rev 2903)
@@ -1 +1,2 @@
-usr/share/java
+usr/share/java/gcj-endorsed
+etc/java/security/security.d

Added: trunk/bouncycastle/debian/libbcprov-java.postinst
===================================================================
--- trunk/bouncycastle/debian/libbcprov-java.postinst	2007-01-03 12:40:49 UTC (rev 2902)
+++ trunk/bouncycastle/debian/libbcprov-java.postinst	2007-01-03 13:15:42 UTC (rev 2903)
@@ -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#

Added: trunk/bouncycastle/debian/libbcprov-java.prerm
===================================================================
--- trunk/bouncycastle/debian/libbcprov-java.prerm	2007-01-03 12:40:49 UTC (rev 2902)
+++ trunk/bouncycastle/debian/libbcprov-java.prerm	2007-01-03 13:15:42 UTC (rev 2903)
@@ -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#

Modified: trunk/bouncycastle/debian/rules
===================================================================
--- trunk/bouncycastle/debian/rules	2007-01-03 12:40:49 UTC (rev 2902)
+++ trunk/bouncycastle/debian/rules	2007-01-03 13:15:42 UTC (rev 2903)
@@ -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
 




More information about the pkg-java-commits mailing list