Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pykerberos for
openSUSE:Factory checked in at 2022-10-08 01:25:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pykerberos (Old)
and /work/SRC/openSUSE:Factory/.python-pykerberos.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pykerberos"
Sat Oct 8 01:25:18 2022 rev:6 rq:1008700 version:1.2.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pykerberos/python-pykerberos.changes
2019-02-05 11:19:10.432882188 +0100
+++
/work/SRC/openSUSE:Factory/.python-pykerberos.new.2275/python-pykerberos.changes
2022-10-08 01:25:33.730276056 +0200
@@ -1,0 +2,8 @@
+Wed Oct 5 00:18:47 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to v1.2.4 (9 Nov 2021)
+
+ * Added C API change support for Python 3.10 (thanks @stevenpackardblp!)
+ * Fixed a pointer alignment issue that impacted M1 Mac users (thanks
@devashish2203!)
+
+-------------------------------------------------------------------
Old:
----
pykerberos-1.2.1.tar.gz
New:
----
pykerberos-1.2.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pykerberos.spec ++++++
--- /var/tmp/diff_new_pack.lR3W1H/_old 2022-10-08 01:25:34.166277056 +0200
+++ /var/tmp/diff_new_pack.lR3W1H/_new 2022-10-08 01:25:34.170277065 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pykerberos
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pykerberos
-Version: 1.2.1
+Version: 1.2.4
Release: 0
Summary: High-level interface to Kerberos
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://github.com/02strich/pykerberos/
+URL: https://github.com/02strich/pykerberos/
Source:
https://pypi.io/packages/source/p/pykerberos/pykerberos-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
++++++ pykerberos-1.2.1.tar.gz -> pykerberos-1.2.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pykerberos-1.2.1/PKG-INFO
new/pykerberos-1.2.4/PKG-INFO
--- old/pykerberos-1.2.1/PKG-INFO 2017-12-20 19:27:02.000000000 +0100
+++ new/pykerberos-1.2.4/PKG-INFO 2022-03-09 04:51:46.257459000 +0100
@@ -1,22 +1,22 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: pykerberos
-Version: 1.2.1
+Version: 1.2.4
Summary: High-level interface to Kerberos
-Home-page: UNKNOWN
-Author: UNKNOWN
-Author-email: UNKNOWN
+Home-page: https://github.com/02strich/pykerberos
License: ASL 2.0
-Description-Content-Type: UNKNOWN
-Description:
- This Python package is a high-level wrapper for Kerberos (GSSAPI)
operations.
- The goal is to avoid having to build a module that wraps the entire
Kerberos.framework,
- and instead offer a limited set of functions that do what is needed
for client/server
- Kerberos authentication based on <http://www.ietf.org/rfc/rfc4559.txt>.
-
-
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Systems Administration ::
Authentication/Directory
+License-File: LICENSE
+
+
+This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
+The goal is to avoid having to build a module that wraps the entire
Kerberos.framework,
+and instead offer a limited set of functions that do what is needed for
client/server
+Kerberos authentication based on <http://www.ietf.org/rfc/rfc4559.txt>.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pykerberos-1.2.1/pykerberos.egg-info/PKG-INFO
new/pykerberos-1.2.4/pykerberos.egg-info/PKG-INFO
--- old/pykerberos-1.2.1/pykerberos.egg-info/PKG-INFO 2017-12-20
19:27:02.000000000 +0100
+++ new/pykerberos-1.2.4/pykerberos.egg-info/PKG-INFO 2022-03-09
04:51:46.000000000 +0100
@@ -1,22 +1,22 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
Name: pykerberos
-Version: 1.2.1
+Version: 1.2.4
Summary: High-level interface to Kerberos
-Home-page: UNKNOWN
-Author: UNKNOWN
-Author-email: UNKNOWN
+Home-page: https://github.com/02strich/pykerberos
License: ASL 2.0
-Description-Content-Type: UNKNOWN
-Description:
- This Python package is a high-level wrapper for Kerberos (GSSAPI)
operations.
- The goal is to avoid having to build a module that wraps the entire
Kerberos.framework,
- and instead offer a limited set of functions that do what is needed
for client/server
- Kerberos authentication based on <http://www.ietf.org/rfc/rfc4559.txt>.
-
-
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Systems Administration ::
Authentication/Directory
+License-File: LICENSE
+
+
+This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
+The goal is to avoid having to build a module that wraps the entire
Kerberos.framework,
+and instead offer a limited set of functions that do what is needed for
client/server
+Kerberos authentication based on <http://www.ietf.org/rfc/rfc4559.txt>.
+
+
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pykerberos-1.2.1/setup.py
new/pykerberos-1.2.4/setup.py
--- old/pykerberos-1.2.1/setup.py 2017-12-20 19:20:04.000000000 +0100
+++ new/pykerberos-1.2.4/setup.py 2022-03-09 04:47:57.000000000 +0100
@@ -58,10 +58,11 @@
setup (
name = "pykerberos",
- version = "1.2.1",
+ version = "1.2.4",
description = "High-level interface to Kerberos",
long_description=long_description,
license="ASL 2.0",
+ url="https://github.com/02strich/pykerberos",
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 2",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pykerberos-1.2.1/src/kerberos.c
new/pykerberos-1.2.4/src/kerberos.c
--- old/pykerberos-1.2.1/src/kerberos.c 2017-12-08 18:24:45.000000000 +0100
+++ new/pykerberos-1.2.4/src/kerberos.c 2022-03-09 04:46:34.000000000 +0100
@@ -14,6 +14,7 @@
* limitations under the License.
**/
+#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include "kerberosbasic.h"
@@ -34,11 +35,14 @@
#define PyClear(object) PyCObject_SetVoidPtr(object, NULL)
#endif
-static char krb5_mech_oid_bytes [] = "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02";
-gss_OID_desc krb5_mech_oid = { 9, &krb5_mech_oid_bytes };
+typedef union { char b[16]; uint64_t ull[2]; } align16;
+typedef union { char b[8]; uint64_t ull; } align8;
-static char spnego_mech_oid_bytes[] = "\x2b\x06\x01\x05\x05\x02";
-gss_OID_desc spnego_mech_oid = { 6, &spnego_mech_oid_bytes };
+static align16 krb5_mech_oid_bytes = { { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x12,
0x01, 0x02, 0x02 } };
+gss_OID_desc krb5_mech_oid = { 9, NULL };
+
+static align8 spnego_mech_oid_bytes = { { 0x2b, 0x06, 0x01, 0x05, 0x05, 0x02 }
};
+gss_OID_desc spnego_mech_oid = { 6, NULL };
PyObject *KrbException_class;
PyObject *BasicAuthException_class;
@@ -196,9 +200,9 @@
char *initiator_address = NULL;
char *acceptor_address = NULL;
char *application_data = NULL;
- int initiator_length = 0;
- int acceptor_length = 0;
- int application_length = 0;
+ Py_ssize_t initiator_length = 0;
+ Py_ssize_t acceptor_length = 0;
+ Py_ssize_t application_length = 0;
PyObject *pychan_bindings = NULL;
struct gss_channel_bindings_struct *input_chan_bindings;
@@ -833,7 +837,9 @@
PyDict_SetItemString(d, "GSS_C_ANON_FLAG",
PyInt_FromLong(GSS_C_ANON_FLAG));
PyDict_SetItemString(d, "GSS_C_PROT_READY_FLAG",
PyInt_FromLong(GSS_C_PROT_READY_FLAG));
PyDict_SetItemString(d, "GSS_C_TRANS_FLAG",
PyInt_FromLong(GSS_C_TRANS_FLAG));
+ krb5_mech_oid.elements = &krb5_mech_oid_bytes.b;
PyDict_SetItemString(d, "GSS_MECH_OID_KRB5", PyNew(&krb5_mech_oid, NULL));
+ spnego_mech_oid.elements = &spnego_mech_oid_bytes.b;
PyDict_SetItemString(d, "GSS_MECH_OID_SPNEGO", PyNew(&spnego_mech_oid,
NULL));
PyDict_SetItemString(d, "GSS_C_AF_UNSPEC",
PyInt_FromLong(GSS_C_AF_UNSPEC));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pykerberos-1.2.1/src/kerberosgss.c
new/pykerberos-1.2.4/src/kerberosgss.c
--- old/pykerberos-1.2.1/src/kerberosgss.c 2017-12-08 18:24:45.000000000
+0100
+++ new/pykerberos-1.2.4/src/kerberosgss.c 2022-03-09 04:46:34.000000000
+0100
@@ -873,9 +873,10 @@
*encrypted_data_len = iov[1].buffer.length + iov[2].buffer.length;
*encrypted_data = malloc(*encrypted_data_len);
outloc = *encrypted_data;
- outloc = mempcpy(outloc, iov[1].buffer.value, iov[1].buffer.length);
+ memcpy(outloc, iov[1].buffer.value, iov[1].buffer.length);
+ outloc += iov[1].buffer.length;
// NB: no-op if no padding is necessary (which seems to always be the case
with aes256-cts-hmac-sha1-96)
- mempcpy(outloc, iov[2].buffer.value, iov[2].buffer.length);
+ memcpy(outloc, iov[2].buffer.value, iov[2].buffer.length);
ret = 0;
end:
@@ -921,4 +922,4 @@
end:
return ret;
}
-#endif
\ No newline at end of file
+#endif