From fde29ad1862eccce949e94181db019cdc3661837 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Mon, 16 Feb 2026 07:20:22 +0000 Subject: Adding metadata --- dev-python/m2crypto/Manifest | 2 - .../m2crypto/files/patch-src_SWIG__lib11_compat_i | 23 ------- dev-python/m2crypto/files/patch-src_SWIG__lib_i | 70 ---------------------- .../m2crypto/files/patch-src_SWIG__threads_i | 50 ---------------- dev-python/m2crypto/files/patch-src_SWIG__x509_i | 16 ----- dev-python/m2crypto/m2crypto-0.46.2.ebuild | 70 ---------------------- dev-python/m2crypto/m2crypto-0.47.0.ebuild | 70 ---------------------- dev-python/m2crypto/metadata.xml | 14 ----- 8 files changed, 315 deletions(-) delete mode 100644 dev-python/m2crypto/Manifest delete mode 100644 dev-python/m2crypto/files/patch-src_SWIG__lib11_compat_i delete mode 100644 dev-python/m2crypto/files/patch-src_SWIG__lib_i delete mode 100644 dev-python/m2crypto/files/patch-src_SWIG__threads_i delete mode 100644 dev-python/m2crypto/files/patch-src_SWIG__x509_i delete mode 100644 dev-python/m2crypto/m2crypto-0.46.2.ebuild delete mode 100644 dev-python/m2crypto/m2crypto-0.47.0.ebuild delete mode 100644 dev-python/m2crypto/metadata.xml (limited to 'dev-python/m2crypto') diff --git a/dev-python/m2crypto/Manifest b/dev-python/m2crypto/Manifest deleted file mode 100644 index 146cd46b54a7..000000000000 --- a/dev-python/m2crypto/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST m2crypto-0.46.2.tar.gz 499931 BLAKE2B 1ce48566700e5bc74b3783ce0f73cc1137ee07b48ccb88eb1a722c408566cf6e0020d9cfd2889d443464c38afac225e5f3a3ea924ee3504e1a3b26a01dbcab1e SHA512 593ed3acd4e6add303c0cfd115bb311528f137b97b2cf84aa04aa3e4f4eec72601a13435a622305d7860d0fffb831ef5cd28547b6e2c24d0275e219b25d52633 -DIST m2crypto-0.47.0.tar.gz 526447 BLAKE2B fba86900a44e272bb55a25804d59bd7fbfe2652d261b2ece8918754fefc6c3d2ba25d47f327995760e657ce32f653c1747d2f5c88d1240938173b5448b7b0c36 SHA512 ad1f9e8a155055287689dc502900d5cf7df6defacf2da4f923683f2041ab7999ea1d2fac7105053e362778c3326c9aad36f8ce9bd5810a0ea1bb33f1e91dffc8 diff --git a/dev-python/m2crypto/files/patch-src_SWIG__lib11_compat_i b/dev-python/m2crypto/files/patch-src_SWIG__lib11_compat_i deleted file mode 100644 index c2600fea04a6..000000000000 --- a/dev-python/m2crypto/files/patch-src_SWIG__lib11_compat_i +++ /dev/null @@ -1,23 +0,0 @@ -Provide CRYPTO_zalloc to fix build with LibreSSL - -Index: src/SWIG/_lib11_compat.i ---- src/SWIG/_lib11_compat.i.orig -+++ src/SWIG/_lib11_compat.i -@@ -8,7 +8,7 @@ - */ - - %{ --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - #include - #include -@@ -24,6 +24,8 @@ static void *CRYPTO_zalloc(size_t num, const char *fil - return ret; - } - -+#endif -+#if OPENSSL_VERSION_NUMBER < 0x10100000L - #include - - #ifndef BN_F_BN_GENCB_NEW diff --git a/dev-python/m2crypto/files/patch-src_SWIG__lib_i b/dev-python/m2crypto/files/patch-src_SWIG__lib_i deleted file mode 100644 index 952b7198b214..000000000000 --- a/dev-python/m2crypto/files/patch-src_SWIG__lib_i +++ /dev/null @@ -1,70 +0,0 @@ -Fix build with LibreSSL - -Index: src/SWIG/_lib.i ---- src/SWIG/_lib.i.orig -+++ src/SWIG/_lib.i -@@ -21,7 +21,7 @@ - - %{ - /* OpenSSL 1.0.2 copmatbility shim */ --#if OPENSSL_VERSION_NUMBER < 0x10002000L -+#if OPENSSL_VERSION_NUMBER < 0x10002000L || defined(LIBRESSL_VERSION_NUMBER) - typedef void (*OPENSSL_sk_freefunc)(void *); - typedef void *(*OPENSSL_sk_copyfunc)(const void *); - typedef struct stack_st OPENSSL_STACK; -@@ -31,47 +31,21 @@ typedef struct stack_st OPENSSL_STACK; - - void OPENSSL_sk_free(OPENSSL_STACK *st) - { -- if (st == NULL) -- return; -- OPENSSL_free(st->data); -- OPENSSL_free(st); -+ sk_free(st); - } - - OPENSSL_STACK *OPENSSL_sk_deep_copy(const OPENSSL_STACK *sk, - OPENSSL_sk_copyfunc copy_func, - OPENSSL_sk_freefunc free_func) - { -- OPENSSL_STACK *ret; -- int i; -+ /* Do not support this. It relies on UB via function pointer casting. */ -+ return NULL; -+} - -- if (sk->num < 0) -- return NULL; -- -- if ((ret = OPENSSL_malloc(sizeof(*ret))) == NULL) -- return NULL; -- -- /* direct structure assignment */ -- *ret = *sk; -- -- ret->num_alloc = sk->num > MIN_NODES ? (size_t)sk->num : MIN_NODES; -- ret->data = OPENSSL_zalloc(sizeof(*ret->data) * ret->num_alloc); -- if (ret->data == NULL) { -- OPENSSL_free(ret); -- return NULL; -- } -- -- for (i = 0; i < ret->num; ++i) { -- if (sk->data[i] == NULL) -- continue; -- if ((ret->data[i] = copy_func(sk->data[i])) == NULL) { -- while (--i >= 0) -- if (ret->data[i] != NULL) -- free_func((void *)ret->data[i]); -- OPENSSL_sk_free(ret); -- return NULL; -- } -- } -- return ret; -+int sk_find_ex(OPENSSL_STACK *sk, void *wanted) -+{ -+ /* Let's see if anything fails. */ -+ return -1; - } - #endif /* OpenSSL 1.0.2 copmatbility shim */ - diff --git a/dev-python/m2crypto/files/patch-src_SWIG__threads_i b/dev-python/m2crypto/files/patch-src_SWIG__threads_i deleted file mode 100644 index b0a93a2f5a61..000000000000 --- a/dev-python/m2crypto/files/patch-src_SWIG__threads_i +++ /dev/null @@ -1,50 +0,0 @@ -Fix build with LibreSSL - -Index: src/SWIG/_threads.i ---- src/SWIG/_threads.i.orig -+++ src/SWIG/_threads.i -@@ -5,7 +5,7 @@ - #include - #include - --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - #define CRYPTO_num_locks() (CRYPTO_NUM_LOCKS) - static PyThread_type_lock lock_cs[CRYPTO_num_locks()]; - static long lock_count[CRYPTO_num_locks()]; -@@ -13,7 +13,7 @@ static int thread_mode = 0; - #endif - - void threading_locking_callback(int mode, int type, const char *file, int line) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - if (mode & CRYPTO_LOCK) { - PyThread_acquire_lock(lock_cs[type], WAIT_LOCK); - lock_count[type]++; -@@ -25,7 +25,7 @@ void threading_locking_callback(int mode, int type, co - } - - unsigned long threading_id_callback(void) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - return (unsigned long)PyThread_get_thread_ident(); - #else - return (unsigned long)0; -@@ -35,7 +35,7 @@ unsigned long threading_id_callback(void) { - - %inline %{ - void threading_init(void) { --#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L -+#if defined(THREADING) && OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - int i; - if (!thread_mode) { - for (i=0; i - - - - dev@liguros.net - Development - - - python@gentoo.org - Python - - - ports - \ No newline at end of file -- cgit v1.3