Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
Fixed the compatibility with BouncyCastle 1.61
· 631d3ad2
Emmanuel Bourg
authored
Sep 13, 2019
631d3ad2
Standards-Version updated to 4.4.0
· c802359f
Emmanuel Bourg
authored
Sep 13, 2019
c802359f
Switch to debhelper level 11
· 45d45677
Emmanuel Bourg
authored
Sep 13, 2019
45d45677
Upload to unstable
· 7ea3561f
Emmanuel Bourg
authored
Sep 13, 2019
7ea3561f
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
7ea3561f
jruby-openssl (0.9.21-3) unstable; urgency=medium
* Team upload.
* Fixed the compatibility with BouncyCastle 1.61
* Standards-Version updated to 4.4.0
* Switch to debhelper level 11
-- Emmanuel Bourg <ebourg@apache.org> Fri, 13 Sep 2019 00:13:38 +0200
jruby-openssl (0.9.21-2) unstable; urgency=medium
* Update Vcs-*.
...
...
debian/compat
View file @
7ea3561f
1
0
1
1
debian/control
View file @
7ea3561f
...
...
@@ -3,7 +3,7 @@ Section: ruby
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Miguel Landaeta <nomadium@debian.org>
Build-Depends: debhelper (>= 1
0~
),
Build-Depends: debhelper (>= 1
1
),
default-jdk,
jruby (>= 1.7.19~),
junit4,
...
...
@@ -14,7 +14,7 @@ Build-Depends: debhelper (>= 10~),
libmaven-exec-plugin-java,
maven-debian-helper,
maven-repo-helper
Standards-Version: 4.
1.1
Standards-Version: 4.
4.0
Homepage: https://github.com/jruby/jruby-openssl
Vcs-Git: https://salsa.debian.org/java-team/jruby-openssl.git
Vcs-Browser: https://salsa.debian.org/java-team/jruby-openssl
...
...
debian/patches/04-bouncycastle-compatibility.patch
0 → 100644
View file @
7ea3561f
Description: Fixes the compatibility with the latest version of BouncyCastle in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/src/main/java/org/jruby/ext/openssl/impl/pem/MiscPEMGenerator.java
+++ b/src/main/java/org/jruby/ext/openssl/impl/pem/MiscPEMGenerator.java
@@ -208,7 +208,7 @@
}
else if (o instanceof java.security.PrivateKey) // 1.47 compatibility
{
- PrivateKeyInfo info = new PrivateKeyInfo(
+ PrivateKeyInfo info = PrivateKeyInfo.getInstance(
(ASN1Sequence) ASN1Primitive.fromByteArray(((java.security.Key)o).getEncoded()));
if (o instanceof java.security.interfaces.RSAPrivateKey)
@@ -350,4 +350,4 @@
}
-}
\ No newline at end of file
+}
--- a/src/main/java/org/jruby/ext/openssl/x509store/PEMInputOutput.java
+++ b/src/main/java/org/jruby/ext/openssl/x509store/PEMInputOutput.java
@@ -992,7 +992,7 @@
public static void writeDSAPrivateKey(Writer _out, DSAPrivateKey obj, CipherSpec cipher, char[] passwd) throws IOException {
BufferedWriter out = makeBuffered(_out);
- PrivateKeyInfo info = new PrivateKeyInfo((ASN1Sequence) new ASN1InputStream(getEncoded(obj)).readObject());
+ PrivateKeyInfo info = PrivateKeyInfo.getInstance((ASN1Sequence) new ASN1InputStream(getEncoded(obj)).readObject());
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
ASN1OutputStream aOut = new ASN1OutputStream(bOut);
debian/patches/series
View file @
7ea3561f
01-build-jruby-openssl-as-a-common-java-package.patch
02-load-debian-bouncy-castle-libraries.patch
03-use-higher-bytecode-version.patch
04-bouncycastle-compatibility.patch
debian/rules
View file @
7ea3561f
...
...
@@ -3,7 +3,7 @@
export JAVA_HOME=/usr/lib/jvm/default-java
%:
dh $@
--buildsystem=maven
dh $@
override_dh_auto_clean:
dh_auto_clean
...
...
@@ -17,6 +17,3 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs History.md
get-orig-source:
uscan --verbose --download-current-version