mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
security/py-krb5: Update to 0.7.1
Changes: https://github.com/jborean93/pykrb5/releases
This commit is contained in:
parent
89ab5d7aef
commit
3f1012c99e
3 changed files with 4 additions and 56 deletions
|
@ -1,6 +1,5 @@
|
|||
PORTNAME= krb5
|
||||
PORTVERSION= 0.7.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.7.1
|
||||
CATEGORIES= security python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1728632468
|
||||
SHA256 (krb5-0.7.0.tar.gz) = 6a308f2e17d151c395b24e6aec7bdff6a56fe3627a32042fc86d412398a92ddd
|
||||
SIZE (krb5-0.7.0.tar.gz) = 235693
|
||||
TIMESTAMP = 1742070460
|
||||
SHA256 (krb5-0.7.1.tar.gz) = ed5f13d5031489b10d8655c0ada28a81c2391b3ecb8a08c6d739e1e5835bc450
|
||||
SIZE (krb5-0.7.1.tar.gz) = 235732
|
||||
|
|
|
@ -1,51 +0,0 @@
|
|||
Obtained from: https://github.com/jborean93/pykrb5/commit/3caba43693520001ba6847ecbc1b378ea344a68f
|
||||
|
||||
--- src/krb5/_set_password.pyi.orig 2024-10-03 06:17:02 UTC
|
||||
+++ src/krb5/_set_password.pyi
|
||||
@@ -1,3 +1,8 @@
|
||||
+# Copyright: (c) 2024 Jordan Borean (@jborean93) <jborean93@gmail.com>
|
||||
+# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
|
||||
+
|
||||
+from __future__ import annotations
|
||||
+
|
||||
import enum
|
||||
import typing
|
||||
|
||||
@@ -57,7 +62,7 @@ def set_password(
|
||||
context: Context,
|
||||
creds: Creds,
|
||||
newpw: bytes,
|
||||
- change_password_for: typing.Optional[Principal] = None,
|
||||
+ change_password_for: Principal | None = None,
|
||||
) -> SetPasswordResult:
|
||||
"""Set a password for a principal using specified credentials.
|
||||
|
||||
@@ -87,7 +92,7 @@ def set_password_using_ccache(
|
||||
context: Context,
|
||||
ccache: CCache,
|
||||
newpw: bytes,
|
||||
- change_password_for: typing.Optional[Principal] = None,
|
||||
+ change_password_for: Principal | None = None,
|
||||
) -> SetPasswordResult:
|
||||
"""Set a password for a principal using cached credentials.
|
||||
|
||||
--- src/krb5/_set_password.pyx.orig 2024-10-03 06:17:02 UTC
|
||||
+++ src/krb5/_set_password.pyx
|
||||
@@ -74,7 +74,7 @@ def set_password(
|
||||
Context context not None,
|
||||
Creds creds not None,
|
||||
const unsigned char[:] newpw not None,
|
||||
- change_password_for: typing.Optional[Principal] = None,
|
||||
+ Principal change_password_for = None,
|
||||
) -> SetPasswordResult:
|
||||
cdef krb5_error_code err = 0
|
||||
cdef int result_code
|
||||
@@ -134,7 +134,7 @@ def set_password_using_ccache(
|
||||
Context context not None,
|
||||
CCache ccache not None,
|
||||
const unsigned char[:] newpw not None,
|
||||
- change_password_for: typing.Optional[Principal] = None,
|
||||
+ Principal change_password_for = None,
|
||||
) -> SetPasswordResult:
|
||||
cdef krb5_error_code err = 0
|
||||
cdef int result_code
|
Loading…
Add table
Reference in a new issue