pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/py-xmlsec Sync with libxmlsec API changes. Bu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f062ad284ab7
branches:  trunk
changeset: 389295:f062ad284ab7
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 27 15:13:00 2018 +0000

description:
Sync with libxmlsec API changes. Bump revision.

diffstat:

 security/py-xmlsec/Makefile             |   4 ++--
 security/py-xmlsec/distinfo             |   3 ++-
 security/py-xmlsec/patches/patch-x509.c |  25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 5a27165cefad -r f062ad284ab7 security/py-xmlsec/Makefile
--- a/security/py-xmlsec/Makefile       Thu Dec 27 15:12:36 2018 +0000
+++ b/security/py-xmlsec/Makefile       Thu Dec 27 15:13:00 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2018/07/03 05:03:32 adam Exp $
+# $NetBSD: Makefile,v 1.15 2018/12/27 15:13:00 joerg Exp $
 
 DISTNAME=      pyxmlsec-0.3.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    security python
 MASTER_SITES=  http://labs.libre-entreprise.org/frs/download.php/897/
 
diff -r 5a27165cefad -r f062ad284ab7 security/py-xmlsec/distinfo
--- a/security/py-xmlsec/distinfo       Thu Dec 27 15:12:36 2018 +0000
+++ b/security/py-xmlsec/distinfo       Thu Dec 27 15:13:00 2018 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 01:18:05 agc Exp $
+$NetBSD: distinfo,v 1.4 2018/12/27 15:13:00 joerg Exp $
 
 SHA1 (pyxmlsec-0.3.1.tar.gz) = 606ebee4c8c537a6b1a975532f07f4a4d7d6e008
 RMD160 (pyxmlsec-0.3.1.tar.gz) = 5ec426e455f359d1a527a5dfaf43744c4c5974d4
 SHA512 (pyxmlsec-0.3.1.tar.gz) = be67cf493193995ff705edf4dd2eba8b7dccdfe04ad30ea91e7cf9710f5a25b9cfb30fa5366a92218173f57fedadba66fb7291260a96b3ae33081cd45847a312
 Size (pyxmlsec-0.3.1.tar.gz) = 228020 bytes
 SHA1 (patch-aa) = 7a3104efb9f3e587d848ae676b89057e113f93e5
+SHA1 (patch-x509.c) = 5076cb1bdac0dcfc178b49be2aac3e3747dcd5fd
diff -r 5a27165cefad -r f062ad284ab7 security/py-xmlsec/patches/patch-x509.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-xmlsec/patches/patch-x509.c   Thu Dec 27 15:13:00 2018 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-x509.c,v 1.1 2018/12/27 15:13:01 joerg Exp $
+
+--- x509.c.orig        2018-12-25 21:26:30.562985375 +0000
++++ x509.c
+@@ -23,16 +23,16 @@ PyObject *xmlsec_X509DataGetNodeContent(
+   xmlSecKeyInfoCtxPtr keyInfoCtx;
+   int ret;
+ 
+-  if (CheckArgs(args, "OIO:x509DataGetNodeContent")) {
+-    if (!PyArg_ParseTuple(args, "OiO:x509DataGetNodeContent", &node_obj,
+-                        &deleteChildren, &keyInfoCtx_obj))
++  if (CheckArgs(args, "OO:x509DataGetNodeContent")) {
++    if (!PyArg_ParseTuple(args, "OO:x509DataGetNodeContent", &node_obj,
++                        &keyInfoCtx_obj))
+       return NULL;
+   }
+   else return NULL;
+ 
+   node = xmlNodePtr_get(node_obj);
+   keyInfoCtx = xmlSecKeyInfoCtxPtr_get(keyInfoCtx_obj);
+-  ret = xmlSecX509DataGetNodeContent(node, deleteChildren, keyInfoCtx);
++  ret = xmlSecX509DataGetNodeContent(node, keyInfoCtx);
+ 
+   return wrap_int(ret);
+ }



Home | Main Index | Thread Index | Old Index