Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Add patch for old API used by libitext5-java
· 5c42ca83
Jochen Sprickerhof
authored
Aug 30, 2018
Closes: #906375
5c42ca83
Standards-Version updated to 4.2.1
· 0f28c81e
Emmanuel Bourg
authored
Sep 24, 2018
0f28c81e
Upload to unstable
· b644ecb1
Emmanuel Bourg
authored
Sep 24, 2018
b644ecb1
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
b644ecb1
libxml-security-java (2.0.10-2) unstable; urgency=medium
* Team upload.
[ Jochen Sprickerhof ]
* Add patch for old API used by libitext5-java (Closes: #906375)
[ Emmanuel Bourg ]
* Standards-Version updated to 4.2.1
-- Emmanuel Bourg <ebourg@apache.org> Mon, 24 Sep 2018 12:06:50 +0200
libxml-security-java (2.0.10-1) unstable; urgency=medium
* Team upload.
...
...
debian/control
View file @
b644ecb1
...
...
@@ -25,7 +25,7 @@ Build-Depends:
libxalan2-java-doc,
libxerces2-java,
maven-debian-helper (>= 1.4)
Standards-Version: 4.
1.5
Standards-Version: 4.
2.1
Vcs-Git: https://salsa.debian.org/java-team/libxml-security-java.git
Vcs-Browser: https://salsa.debian.org/java-team/libxml-security-java
Homepage: http://santuario.apache.org
...
...
debian/copyright
View file @
b644ecb1
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: http
s
://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Apache XML Security for Java
Upstream-Contact: Apache Santuario Team <dev@santuario.apache.org>
Source: http://santuario.apache.org
Source: http
s
://santuario.apache.org
Files: *
Copyright: 1999-2015, The Apache Software Foundation.
...
...
debian/patches/0001-Recover-old-API-for-libitext5-java.patch
0 → 100644
View file @
b644ecb1
From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Thu, 30 Aug 2018 09:30:36 +0200
Subject: Recover old API for libitext5-java
---
.../apache/jcp/xml/dsig/internal/dom/DOMXMLSignature.java | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/src/main/java/org/apache/jcp/xml/dsig/internal/dom/DOMXMLSignature.java b/src/main/java/org/apache/jcp/xml/dsig/internal/dom/DOMXMLSignature.java
index 2ad4c66..aa7e5af 100644
--- a/src/main/java/org/apache/jcp/xml/dsig/internal/dom/DOMXMLSignature.java
+++ b/src/main/java/org/apache/jcp/xml/dsig/internal/dom/DOMXMLSignature.java
@@ -32,6 +32,7 @@
package org.apache.jcp.xml.dsig.internal.dom;
import javax.xml.crypto.*;
+import javax.xml.crypto.dom.DOMCryptoContext;
import javax.xml.crypto.dsig.*;
import javax.xml.crypto.dsig.dom.DOMSignContext;
import javax.xml.crypto.dsig.dom.DOMValidateContext;
@@ -198,6 +199,17 @@
public final class DOMXMLSignature extends DOMStructure
return ksr;
}
+ public void marshal(Node parent, Node nextSibling, String dsPrefix,
+ DOMCryptoContext context)
+ throws MarshalException
+ {
+ XmlWriterToTree xwriter = new XmlWriterToTree(Marshaller.getMarshallers(), parent, nextSibling);
+ marshal(xwriter, dsPrefix, context);
+
+ Element sigElem = xwriter.getCreatedElement();
+ parent.insertBefore(sigElem, nextSibling);
+ }
+
@Override
public void marshal(XmlWriter xwriter, String dsPrefix, XMLCryptoContext context)
throws MarshalException
debian/patches/series
0 → 100644
View file @
b644ecb1
0001-Recover-old-API-for-libitext5-java.patch