diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index d2526651e021..9b9ba6897a35 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -1,28 +1,28 @@ PORTNAME= m2crypto -PORTVERSION= 0.47.0 +PORTVERSION= 0.48.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Crypto and SSL toolkit for Python WWW= https://m2crypto.readthedocs.io/en/latest/ \ - https://gitlab.com/m2crypto/m2crypto + https://codeberg.org/mcepl/m2crypto LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSES/BSD-2-Clause.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \ swig>=4.0:devel/swig RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} USES= cpe python ssl USE_PYTHON= autoplist concurrent pep517 CPE_VENDOR= m2crypto_project post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include diff --git a/security/py-m2crypto/distinfo b/security/py-m2crypto/distinfo index 717bfce780fd..1ede4274d4db 100644 --- a/security/py-m2crypto/distinfo +++ b/security/py-m2crypto/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1771421732 -SHA256 (m2crypto-0.47.0.tar.gz) = 9256300be1e0412be802aa1f827e0ce7f94deb1099b8ccdcfd9867a7f0f975bf -SIZE (m2crypto-0.47.0.tar.gz) = 662529 +TIMESTAMP = 1779620519 +SHA256 (m2crypto-0.48.0.tar.gz) = 178e290f558ddf0379aaefd34c0a8ddb21f21502594e588f928dda85f1ad202b +SIZE (m2crypto-0.48.0.tar.gz) = 531830 diff --git a/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i b/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i index 74f0702ccf6d..24faada000f9 100644 --- a/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i +++ b/security/py-m2crypto/files/patch-src-SWIG-_m2crypto.i @@ -1,22 +1,10 @@ ---- src/SWIG/_m2crypto.i.orig 2026-02-07 22:38:57 UTC +--- src/SWIG/_m2crypto.i.orig 2026-05-23 23:20:18 UTC +++ src/SWIG/_m2crypto.i -@@ -43,11 +43,6 @@ typedef unsigned __int64 uint64_t; - %} - - %{ --#if defined __GNUC__ && __GNUC__ < 5 --PRAGMA_IGNORE_UNUSED_LABEL --PRAGMA_WARN_STRICT_PROTOTYPES --#endif -- - #include - #include - #include <_lib.h> -@@ -67,6 +62,7 @@ static PyObject *x509_store_verify_cb_func; +@@ -70,6 +70,7 @@ static PyObject *x509_store_verify_cb_func; #ifdef _WIN32 %include #endif +%include %include /* Bring in LHASH_OF macro definition */