diff options
| author | joerg <joerg@pkgsrc.org> | 2018-12-27 15:13:00 +0000 |
|---|---|---|
| committer | joerg <joerg@pkgsrc.org> | 2018-12-27 15:13:00 +0000 |
| commit | 874258674f9e374d7036e6a18452db289053d898 (patch) | |
| tree | bf2c163f2de8a4f7580d0b69bddf8fffb7a7e0e4 /security/py-xmlsec | |
| parent | 7117dfedaeac0ae19d2bbf37609192e37417c624 (diff) | |
| download | pkgsrc-874258674f9e374d7036e6a18452db289053d898.tar.gz | |
Sync with libxmlsec API changes. Bump revision.
Diffstat (limited to 'security/py-xmlsec')
| -rw-r--r-- | security/py-xmlsec/Makefile | 4 | ||||
| -rw-r--r-- | security/py-xmlsec/distinfo | 3 | ||||
| -rw-r--r-- | security/py-xmlsec/patches/patch-x509.c | 25 |
3 files changed, 29 insertions, 3 deletions
diff --git a/security/py-xmlsec/Makefile b/security/py-xmlsec/Makefile index 3c3fe06b915..a3790448b30 100644 --- a/security/py-xmlsec/Makefile +++ b/security/py-xmlsec/Makefile @@ -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 --git a/security/py-xmlsec/distinfo b/security/py-xmlsec/distinfo index fda5994b3d3..7693c7dc555 100644 --- a/security/py-xmlsec/distinfo +++ b/security/py-xmlsec/distinfo @@ -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 --git a/security/py-xmlsec/patches/patch-x509.c b/security/py-xmlsec/patches/patch-x509.c new file mode 100644 index 00000000000..3009f65c0bf --- /dev/null +++ b/security/py-xmlsec/patches/patch-x509.c @@ -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); + } |
