Control: tags -1 patch
--

On Sat, Sep 10, 2022 at 01:09:06PM +0100, Sudip Mukherjee wrote:
> Source: bouncycastle
> Version: 1.71-1
> Severity: important
> X-Debbugs-Cc: sudipm.mukher...@gmail.com
> 
> Dear Maintainer,
> 
> The META-INF/MANIFEST.MF file of libbcpg-java contains only the following:
> 

<snip>

> 
> Which is incomplete and does not contain all the other required information
> like Bundle-Version, Bundle-Name, Export-Package etc. And this lack of 
> information
> makes the package unusable when using a SimpleConfigurator based bundles.info 
> file.

The attached patch is the minimum required to unblock eclipse-tracecompass.
But Emmanuel Bourg did not agree so I am not doing an upload but keeping
the patch here for record.
Ref: https://lists.debian.org/debian-java/2022/09/msg00002.html

-- 
Regards
Sudip
diff -Nru bouncycastle-1.71/debian/changelog bouncycastle-1.71/debian/changelog
--- bouncycastle-1.71/debian/changelog	2022-05-03 18:51:47.000000000 +0100
+++ bouncycastle-1.71/debian/changelog	2022-09-19 12:20:40.000000000 +0100
@@ -1,3 +1,10 @@
+bouncycastle (1.71-2) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Fix Manifest. (Closes: #1019488)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Mon, 19 Sep 2022 12:20:40 +0100
+
 bouncycastle (1.71-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru bouncycastle-1.71/debian/patches/manifest.patch bouncycastle-1.71/debian/patches/manifest.patch
--- bouncycastle-1.71/debian/patches/manifest.patch	1970-01-01 01:00:00.000000000 +0100
+++ bouncycastle-1.71/debian/patches/manifest.patch	2022-09-19 12:20:40.000000000 +0100
@@ -0,0 +1,31 @@
+Description: Fix manifest
+
+Author: Sudip Mukherjee <sudipm.mukher...@gmail.com>
+
+---
+Bug-Debian: https://bugs.debian.org/1019488
+Forwarded: no
+
+--- bouncycastle-1.71.orig/ant/bc+-build.xml
++++ bouncycastle-1.71/ant/bc+-build.xml
+@@ -414,6 +414,10 @@
+                 <attribute name="Application-Library-Allowable-Codebase" value="*" />
+                 <attribute name="Caller-Allowable-Codebase" value="*" />
+                 <attribute name="Automatic-Module-Name" value="org.bouncycastle.provider" />
++                <attribute name="Bundle-SymbolicName" value="org.bouncycastle.bcprovider" />
++                <attribute name="Bundle-Version" value="1.71" />
++                <attribute name="Export-Package" value="org.bouncycastle.jce.provider;version=1.71.0,org.bouncycastle.util;version=1.71.0" />
++
+             </manifestElements>
+         </compile>
+ 
+@@ -882,6 +886,9 @@
+                 <attribute name="Application-Library-Allowable-Codebase" value="*" />
+                 <attribute name="Caller-Allowable-Codebase" value="*" />
+                 <attribute name="Automatic-Module-Name" value="org.bouncycastle.pg" />
++                <attribute name="Bundle-SymbolicName" value="bcpg" />
++                <attribute name="Bundle-Version" value="1.71" />
++                <attribute name="Export-Package" value="org.bouncycastle.bcpg;version=1.71.0,org.bouncycastle.openpgp;version=1.71.0,org.bouncycastle.openpgp.bc;version=1.71.0,org.bouncycastle.openpgp.jcajce;version=1.71.0,org.bouncycastle.openpgp.operator;version=1.71.0,org.bouncycastle.openpgp.operator.bc;version=1.71.0,org.bouncycastle.openpgp.operator.jcajce;version=1.71.0" />
+             </manifestElements>
+         </compile>
+ 
diff -Nru bouncycastle-1.71/debian/patches/series bouncycastle-1.71/debian/patches/series
--- bouncycastle-1.71/debian/patches/series	2022-05-03 10:10:16.000000000 +0100
+++ bouncycastle-1.71/debian/patches/series	2022-09-19 12:20:40.000000000 +0100
@@ -1,3 +1,4 @@
 02_index.patch
 fix-encoding.patch
 backward-compatibility.patch
+manifest.patch

Reply via email to