As we discussed in the last meeting, we reset the ports tree and began from scratch, even though this change involves porting all the packages. Starting small and growing gradually, this approach will reduce build times and consequently lower energy consumption in a world affected by climate change. We will add new ports as users needs arise; ok h3artbl33d@
This commit is contained in:
parent
83a0aaf92c
commit
9a3af55370
59377 changed files with 98673 additions and 4712155 deletions
|
@ -1,6 +1,6 @@
|
|||
COMMENT= Python interface to the OpenSSL library
|
||||
|
||||
MODPY_EGG_VERSION= 23.2.0
|
||||
MODPY_EGG_VERSION= 24.1.0
|
||||
DISTNAME= pyOpenSSL-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-openssl-${MODPY_EGG_VERSION}
|
||||
CATEGORIES= security devel
|
||||
|
@ -22,8 +22,10 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
|
|||
MODULES= lang/python
|
||||
MODPY_PI= Yes
|
||||
MODPY_PYBUILD= setuptools
|
||||
# disable test which stops others from running
|
||||
MODPY_PYTEST_ARGS= -k 'not test_it_works_at_all'
|
||||
# deselect a few tests which cause problems:
|
||||
# - test_it_works_*: DTLS tests which error out and stop others from running
|
||||
# (add -v to see individual test names)
|
||||
MODPY_PYTEST_ARGS= -k 'not test_it_works_at_all and not test_it_works_with_srtp'
|
||||
|
||||
TEST_DEPENDS= devel/py-flaky${MODPY_FLAVOR} \
|
||||
devel/py-pretend${MODPY_FLAVOR}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (pyOpenSSL-23.2.0.tar.gz) = J2+TH1WkUufeppxxc+mE6ypEB85BPJGKo0tV+C+bi6w=
|
||||
SIZE (pyOpenSSL-23.2.0.tar.gz) = 185132
|
||||
SHA256 (pyOpenSSL-24.1.0.tar.gz) = yr7Uv6pd+fGhbA72Sgy2Uxi1zQd6ftp9aXATHKL0Gm8=
|
||||
SIZE (pyOpenSSL-24.1.0.tar.gz) = 179671
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
Index: tests/memdbg.py
|
||||
--- tests/memdbg.py.orig
|
||||
+++ tests/memdbg.py
|
||||
@@ -17,17 +17,12 @@ _ffi.cdef(
|
||||
|
||||
int CRYPTO_set_mem_functions(
|
||||
void *(*m)(size_t),void *(*r)(void *,size_t), void (*f)(void *));
|
||||
-
|
||||
- int backtrace(void **buffer, int size);
|
||||
- char **backtrace_symbols(void *const *buffer, int size);
|
||||
- void backtrace_symbols_fd(void *const *buffer, int size, int fd);
|
||||
"""
|
||||
) # noqa
|
||||
_api = _ffi.verify(
|
||||
"""
|
||||
#include <openssl/crypto.h>
|
||||
#include <stdlib.h>
|
||||
- #include <execinfo.h>
|
||||
""",
|
||||
libraries=["crypto"],
|
||||
)
|
||||
@@ -42,12 +37,7 @@ def log(s):
|
||||
|
||||
|
||||
def _backtrace():
|
||||
- buf = _ffi.new("void*[]", 64)
|
||||
- result = _api.backtrace(buf, len(buf))
|
||||
- strings = _api.backtrace_symbols(buf, result)
|
||||
- stack = [_ffi.string(strings[i]) for i in range(result)]
|
||||
- C.free(strings)
|
||||
- return stack
|
||||
+ return ""
|
||||
|
||||
|
||||
@_ffi.callback("void*(*)(size_t)")
|
Loading…
Add table
Add a link
Reference in a new issue