sync ports with The Matrix

This commit is contained in:
purplerain 2023-09-14 00:49:35 +00:00
parent 9d4d2e721a
commit 79bc6d9d97
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
846 changed files with 10693 additions and 8131 deletions

View file

@ -4,18 +4,12 @@ USE_NOEXECONLY= Yes
.endif
MODPY_EGG_VERSION = 2.0.0b6
REVISION = 1
COMPILER_LANGS = c
REVISION = 3
# OpenSSL used for EVP_aes_256_ocb. It is linked statically to avoid conflicting
# with shared libcrypto from the base OS pulled in via dependencies.
BUILD_DEPENDS = devel/py-pkgconfig${MODPY_FLAVOR} \
lang/cython${MODPY_FLAVOR} \
security/openssl/1.1
RUN_DEPENDS = net/py-msgpack${MODPY_FLAVOR} \
security/py-argon2-cffi${MODPY_FLAVOR} \
BUILD_DEPENDS = security/openssl/3.0
RUN_DEPENDS = security/py-argon2-cffi${MODPY_FLAVOR} \
sysutils/py-platformdirs${MODPY_FLAVOR}>=3.8.1
TEST_DEPENDS = devel/py-dateutil${MODPY_FLAVOR}
.include <bsd.port.mk>

View file

@ -0,0 +1,14 @@
Index: setup.py
--- setup.py.orig
+++ setup.py
@@ -161,8 +161,8 @@ if not on_rtd:
# Use openssl (not libressl) because we need AES-OCB via EVP api. Link
# it statically to avoid conflicting with shared libcrypto from the base
# OS pulled in via dependencies.
- crypto_ext_lib = {"include_dirs": ["/usr/local/include/eopenssl11"]}
- crypto_extra_objects += ["/usr/local/lib/eopenssl11/libcrypto.a"]
+ crypto_ext_lib = {"include_dirs": ["/usr/local/include/eopenssl30"]}
+ crypto_extra_objects += ["/usr/local/lib/eopenssl30/libcrypto.a"]
else:
crypto_ext_lib = lib_ext_kwargs(pc, "BORG_OPENSSL_PREFIX", "crypto", "libcrypto", ">=1.1.1")