pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/py-xmlsec



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu Dec 27 15:13:01 UTC 2018

Modified Files:
        pkgsrc/security/py-xmlsec: Makefile distinfo
Added Files:
        pkgsrc/security/py-xmlsec/patches: patch-x509.c

Log Message:
Sync with libxmlsec API changes. Bump revision.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/security/py-xmlsec/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/security/py-xmlsec/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/py-xmlsec/patches/patch-x509.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/py-xmlsec/Makefile
diff -u pkgsrc/security/py-xmlsec/Makefile:1.14 pkgsrc/security/py-xmlsec/Makefile:1.15
--- pkgsrc/security/py-xmlsec/Makefile:1.14     Tue Jul  3 05:03:32 2018
+++ pkgsrc/security/py-xmlsec/Makefile  Thu Dec 27 15:13:00 2018
@@ -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/
 

Index: pkgsrc/security/py-xmlsec/distinfo
diff -u pkgsrc/security/py-xmlsec/distinfo:1.3 pkgsrc/security/py-xmlsec/distinfo:1.4
--- pkgsrc/security/py-xmlsec/distinfo:1.3      Wed Nov  4 01:18:05 2015
+++ pkgsrc/security/py-xmlsec/distinfo  Thu Dec 27 15:13:00 2018
@@ -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

Added files:

Index: pkgsrc/security/py-xmlsec/patches/patch-x509.c
diff -u /dev/null pkgsrc/security/py-xmlsec/patches/patch-x509.c:1.1
--- /dev/null   Thu Dec 27 15:13:01 2018
+++ pkgsrc/security/py-xmlsec/patches/patch-x509.c      Thu Dec 27 15:13:01 2018
@@ -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