diff options
Diffstat (limited to 'net')
30 files changed, 246 insertions, 82 deletions
diff --git a/net/Makefile b/net/Makefile index 4b809548529a..9d9795a651ce 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1194,6 +1194,7 @@ SUBDIR += py-urlextract SUBDIR += py-urllib3 SUBDIR += py-urllib3-future + SUBDIR += py-urllib31 SUBDIR += py-whois SUBDIR += py-wmi-query SUBDIR += py-wsdd diff --git a/net/cloud-init/Makefile b/net/cloud-init/Makefile index 88b9035b7e48..f12651575c18 100644 --- a/net/cloud-init/Makefile +++ b/net/cloud-init/Makefile @@ -1,6 +1,5 @@ PORTNAME= cloud-init -DISTVERSION= 24.1.4 -PORTREVISION= 4 +DISTVERSION= 25.2 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -29,24 +28,35 @@ USES= python shebangfix USE_GITHUB= yes GH_ACCOUNT= canonical USE_PYTHON= autoplist distutils -PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd" SHEBANG_FILES= tools/hook-hotplug tools/read-dependencies tools/read-version \ tools/validate-yaml.py +NO_ARCH= yes + # Conflicts CONFLICTS_INSTALL= cloud-init-devel # Standard bsd.port.mk variables ETCDIR= ${PREFIX}/etc/cloud +MAN1FILES= cloud-id.1 cloud-init-per.1 cloud-init.1 + +PLIST_FILES+= ${MAN1FILES:S|^|share/man/man1/|:S|.1$|.1.gz|} + .include <bsd.port.options.mk> .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 -EXTRA_PATCHES= ${PATCHDIR}/extra-cloudinit_distros_freebsd.py +EXTRA_PATCHES+= ${PATCHDIR}/extra-cloudinit_distros_freebsd.py .endif -NO_ARCH= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500000 +EXTRA_PATCHES+= ${PATCHDIR}/extra-cloudinit_netinfo.py +.endif + +.include <bsd.port.pre.mk> + +PYDISTUTILS_INSTALLARGS+= "--init-system=sysvinit_freebsd" post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${STAGEDIR}${PREFIX}|g' ${WRKSRC}/setup.py @@ -60,6 +70,10 @@ post-install: ${MV} ${STAGEDIR}${ETCDIR}/cloud.cfg.d/99_freebsd.cfg ${STAGEDIR}${ETCDIR}/cloud.cfg.d/99_freebsd.cfg.sample ${REINPLACE_CMD} -e 's|^.*\.cfg$$|@sample &.sample|' \ -e 's|${ETCDIR}/clean.d|@dir ${ETCDIR}/clean.d|' \ + -e 's|${DOCSDIR}/module-docs|@dir ${DOCSDIR}/module-docs|' \ ${_PYTHONPKGLIST} +.for man in ${MAN1FILES} + ${INSTALL_MAN} ${WRKSRC}/doc/man/${man} ${STAGEDIR}${PREFIX}/share/man/man1 +.endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/cloud-init/distinfo b/net/cloud-init/distinfo index c7e39f0502b2..811d0ccf97c8 100644 --- a/net/cloud-init/distinfo +++ b/net/cloud-init/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1712351569 -SHA256 (canonical-cloud-init-24.1.4_GH0.tar.gz) = 3c70effcea02be47b6cd751a1d164583df674ff8d6e4eaa6599eb1499e3b3f28 -SIZE (canonical-cloud-init-24.1.4_GH0.tar.gz) = 1734414 -SHA256 (a6e09d9bfd3ef0770bc4d9452d978ba93dbe1245.patch) = e90e4df05691b64abf2f3a0fc02ff7c450260e53ca236583f7fc3fd315a2b114 -SIZE (a6e09d9bfd3ef0770bc4d9452d978ba93dbe1245.patch) = 18418 +TIMESTAMP = 1756667041 +SHA256 (canonical-cloud-init-25.2_GH0.tar.gz) = a5f4752ac86efa395c99151f787072159b86277201d8386d90019db01cdd9779 +SIZE (canonical-cloud-init-25.2_GH0.tar.gz) = 1954136 diff --git a/net/cloud-init/files/extra-cloudinit_distros_freebsd.py b/net/cloud-init/files/extra-cloudinit_distros_freebsd.py index eb4d375a49fd..c14b672d5cc6 100644 --- a/net/cloud-init/files/extra-cloudinit_distros_freebsd.py +++ b/net/cloud-init/files/extra-cloudinit_distros_freebsd.py @@ -1,4 +1,4 @@ ---- cloudinit/distros/freebsd.py.orig 2024-10-25 15:58:28 UTC +--- cloudinit/distros/freebsd.py.orig 2025-08-12 19:00:58 UTC +++ cloudinit/distros/freebsd.py @@ -35,7 +35,7 @@ class Distro(cloudinit.distros.bsd.BSD): pkg_cmd_update_prefix = ["pkg", "update"] diff --git a/net/cloud-init/files/extra-cloudinit_netinfo.py b/net/cloud-init/files/extra-cloudinit_netinfo.py new file mode 100644 index 000000000000..d756dda563f0 --- /dev/null +++ b/net/cloud-init/files/extra-cloudinit_netinfo.py @@ -0,0 +1,11 @@ +--- cloudinit/netinfo.py.orig 2025-09-01 15:44:21 UTC ++++ cloudinit/netinfo.py +@@ -558,7 +558,7 @@ def route_info(): + elif subp.which("netstat"): + # Fall back to net-tools if iproute2 is not present + (route_out, _err) = subp.subp( +- ["netstat", "--route", "--numeric", "--extend"], rcs=[0, 1] ++ ["netstat", "--route", "--numeric", "--extend"], rcs=[0, 1, 64] + ) + routes = _netdev_route_info_netstat(route_out) + else: diff --git a/net/cloud-init/files/patch-cloudinit_settings.py b/net/cloud-init/files/patch-cloudinit_settings.py index d7ca2bd87f2c..a2aded75780a 100644 --- a/net/cloud-init/files/patch-cloudinit_settings.py +++ b/net/cloud-init/files/patch-cloudinit_settings.py @@ -1,19 +1,27 @@ ---- cloudinit/settings.py.orig 2021-03-17 15:43:42 UTC +--- cloudinit/settings.py.orig 2025-08-12 19:00:58 UTC +++ cloudinit/settings.py -@@ -12,7 +12,7 @@ +@@ -12,11 +12,11 @@ CFG_ENV_NAME = "CLOUD_CFG" CFG_ENV_NAME = "CLOUD_CFG" # This is expected to be a yaml formatted file -CLOUD_CONFIG = "/etc/cloud/cloud.cfg" +CLOUD_CONFIG = "%%PREFIX%%/etc/cloud/cloud.cfg" - RUN_CLOUD_CONFIG = "/run/cloud-init/cloud.cfg" +-CLEAN_RUNPARTS_DIR = "/etc/cloud/clean.d" ++CLEAN_RUNPARTS_DIR = "%%PREFIX%%/etc/cloud/clean.d" -@@ -50,7 +50,7 @@ CFG_BUILTIN = { +-DEFAULT_RUN_DIR = "/run/cloud-init" ++DEFAULT_RUN_DIR = "/var/run/cloud-init" + + # What u get if no config is provided + CFG_BUILTIN = { +@@ -60,8 +60,8 @@ CFG_BUILTIN = { "system_info": { "paths": { "cloud_dir": "/var/lib/cloud", +- "docs_dir": "/usr/share/doc/cloud-init/", - "templates_dir": "/etc/cloud/templates/", ++ "docs_dir": "%%PREFIX%%/share/doc/cloud-init/", + "templates_dir": "%%PREFIX%%/etc/cloud/templates/", }, "distro": "ubuntu", diff --git a/net/cloud-init/files/patch-setup.py b/net/cloud-init/files/patch-setup.py index c94715dc97c6..403683645cf7 100644 --- a/net/cloud-init/files/patch-setup.py +++ b/net/cloud-init/files/patch-setup.py @@ -1,6 +1,6 @@ ---- setup.py.orig 2021-03-17 15:40:30 UTC +--- setup.py.orig 2025-08-12 19:00:58 UTC +++ setup.py -@@ -153,7 +153,7 @@ INITSYS_TYPES = sorted([f.partition(".")[0] for f in I +@@ -176,7 +176,7 @@ USR = "usr" # Install everything in the right location and take care of Linux (default) and # FreeBSD systems. USR = "usr" @@ -8,4 +8,4 @@ +ETC = "%%PREFIX%%/etc" USR_LIB_EXEC = "usr/lib" LIB = "lib" - if os.uname()[0] in ["FreeBSD", "DragonFly"]: + if os.uname()[0] in ["FreeBSD", "DragonFly", "OpenBSD"]: diff --git a/net/geoclue/Makefile b/net/geoclue/Makefile index 677b801a52b1..f1a2709295f5 100644 --- a/net/geoclue/Makefile +++ b/net/geoclue/Makefile @@ -1,5 +1,5 @@ PORTNAME= geoclue -DISTVERSION= 2.7.2 +DISTVERSION= 2.8.0 CATEGORIES= net devel gnome MAINTAINER= desktop@FreeBSD.org @@ -12,10 +12,12 @@ LICENSE_COMB= multi LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libsoup-3.0.so:devel/libsoup3 -USES= gettext gnome meson pkgconfig tar:bz2 vala:build +USES= gettext-tools gnome meson pkgconfig python shebangfix tar:bz2 \ + vala:build USE_GNOME= glib20 introspection:build USE_LDCONFIG= yes +SHEBANG_FILES= interface/create-unified-xml.py USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org @@ -23,7 +25,8 @@ GL_SITE= https://gitlab.freedesktop.org MESON_ARGS= -D3g-source=false \ -Dcdma-source=false \ -Dnmea-source=false \ - -Dmodem-gps-source=false + -Dmodem-gps-source=false \ + -Dwifi-source=false OPTIONS_SUB= yes OPTIONS_DEFINE= DEMO DOCS diff --git a/net/geoclue/distinfo b/net/geoclue/distinfo index 2c006d799ff3..f86098763972 100644 --- a/net/geoclue/distinfo +++ b/net/geoclue/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735049523 -SHA256 (geoclue-2.7.2.tar.bz2) = 01d24a44a036769049411899ae83c9a86f73d272cca3df6af5a03bfac32456d2 -SIZE (geoclue-2.7.2.tar.bz2) = 108472 +TIMESTAMP = 1756643090 +SHA256 (geoclue-2.8.0.tar.bz2) = c07aeb35cccf959ec1dc2e8f9a71a9d8bdd643879ef0a8d37926499541da1685 +SIZE (geoclue-2.8.0.tar.bz2) = 112944 diff --git a/net/kamailio/files/patch-src_core_fastlock.h b/net/kamailio/files/patch-src_core_fastlock.h new file mode 100644 index 000000000000..c4bcb14d7728 --- /dev/null +++ b/net/kamailio/files/patch-src_core_fastlock.h @@ -0,0 +1,29 @@ +--- src/core/fastlock.h.orig 2025-09-01 19:50:34 UTC ++++ src/core/fastlock.h +@@ -99,7 +99,7 @@ typedef volatile int fl_lock_t; + #endif /* NOSMP */ + #define membar_getlock() + +-#elif defined(__CPU_ppc) || defined(__CPU_ppc64) ++#elif defined(__CPU_ppc) || defined(__CPU_ppc64) || defined(__CPU_powerpc) || defined(__CPU_ppc64) || defined(__CPU_powerpc64le) + #ifndef NOSMP + #define membar_getlock() asm volatile("lwsync \n\t" : : : "memory"); + #else +@@ -228,7 +228,7 @@ inline static int tsl(fl_lock_t *lock) + : "cc", "memory"); + + +-#elif defined(__CPU_ppc) || defined(__CPU_ppc64) ++#elif defined(__CPU_ppc) || defined(__CPU_ppc64) || defined(__CPU_powerpc) || defined(__CPU_ppc64) || defined(__CPU_powerpc64le) + asm volatile("1: \n\t" + #ifdef SPIN_OPTIMIZE + " lwzx %0, 0, %2 \n\t" +@@ -394,7 +394,7 @@ inline static void release_lock(fl_lock_t *lock) + asm volatile(" stlr %w1, %0 \n\t" : "=Q"(*lock) : "r"(0) : "memory"); + + +-#elif defined(__CPU_ppc) || defined(__CPU_ppc64) ++#elif defined(__CPU_ppc) || defined(__CPU_ppc64) || defined(__CPU_powerpc) || defined(__CPU_ppc64) || defined(__CPU_powerpc64le) + asm volatile( + /* "sync\n\t" lwsync is faster and will work + * here too diff --git a/net/ntpd-rs/Makefile b/net/ntpd-rs/Makefile index 86ab4320d500..ba5fcba3fb22 100644 --- a/net/ntpd-rs/Makefile +++ b/net/ntpd-rs/Makefile @@ -1,7 +1,6 @@ PORTNAME= ntpd-rs DISTVERSIONPREFIX= v -DISTVERSION= 1.6.1 -PORTREVISION= 1 +DISTVERSION= 1.6.2 CATEGORIES= net MAINTAINER= mikael@FreeBSD.org diff --git a/net/ntpd-rs/distinfo b/net/ntpd-rs/distinfo index 904a8a10fd2c..ebef28bf8d27 100644 --- a/net/ntpd-rs/distinfo +++ b/net/ntpd-rs/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1752665084 +TIMESTAMP = 1756793849 SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1 SIZE (rust/crates/addr2line-0.24.2.crate) = 39015 SHA256 (rust/crates/adler2-2.0.1.crate) = 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa @@ -335,5 +335,5 @@ SHA256 (rust/crates/zerocopy-derive-0.8.26.crate) = 9ecf5b4cc5364572d7f4c329661b SIZE (rust/crates/zerocopy-derive-0.8.26.crate) = 88080 SHA256 (rust/crates/zeroize-1.8.1.crate) = ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde SIZE (rust/crates/zeroize-1.8.1.crate) = 20029 -SHA256 (pendulum-project-ntpd-rs-v1.6.1_GH0.tar.gz) = 71d5ca4078124fc00b57f565dd3a77bc6152f9dc8787f3018cc204a8e4e6b9c5 -SIZE (pendulum-project-ntpd-rs-v1.6.1_GH0.tar.gz) = 1434202 +SHA256 (pendulum-project-ntpd-rs-v1.6.2_GH0.tar.gz) = cf88a2f65dcbff37d7f713713aff10eb7fe9c9d6d4d7ab694f972990b121821b +SIZE (pendulum-project-ntpd-rs-v1.6.2_GH0.tar.gz) = 1434525 diff --git a/net/py-pyzmq/Makefile b/net/py-pyzmq/Makefile index 5aa7c40dec9d..473c7c23d0df 100644 --- a/net/py-pyzmq/Makefile +++ b/net/py-pyzmq/Makefile @@ -1,33 +1,27 @@ PORTNAME= pyzmq -DISTVERSION= 27.0.0 -PORTREVISION= 0 +PORTVERSION= 27.0.1 CATEGORIES= net devel MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python bindings for ZeroMQ -WWW= https://github.com/zeromq/pyzmq +WWW= https://pyzmq.readthedocs.io/en/latest/ \ + https://github.com/zeromq/pyzmq LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md -BUILD_DEPENDS= cmake:devel/cmake-core \ - ninja:devel/ninja \ - ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.1.5:devel/py-scikit-build-core@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.10:devel/py-scikit-build-core@${PY_FLAVOR} LIB_DEPENDS= libzmq.so:net/libzmq4 -USES= python -USE_PYTHON= autoplist cython3 pep517 pytest +USES= cmake:indirect python +USE_PYTHON= autoplist concurrent cython3 pep517 pytest -PYDISTUTILS_CONFIGUREARGS= --zmq=${LOCALBASE} - -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext --inplace - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} post-install: - ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zmq/backend/cython/*.so + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include <bsd.port.mk> diff --git a/net/py-pyzmq/distinfo b/net/py-pyzmq/distinfo index 893c4006b3b8..b2214da26204 100644 --- a/net/py-pyzmq/distinfo +++ b/net/py-pyzmq/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1751765229 -SHA256 (pyzmq-27.0.0.tar.gz) = b1f08eeb9ce1510e6939b6e5dcd46a17765e2333daae78ecf4606808442e52cf -SIZE (pyzmq-27.0.0.tar.gz) = 280478 +TIMESTAMP = 1755062572 +SHA256 (pyzmq-27.0.1.tar.gz) = 45c549204bc20e7484ffd2555f6cf02e572440ecf2f3bdd60d4404b20fddf64b +SIZE (pyzmq-27.0.1.tar.gz) = 281158 diff --git a/net/py-pyzmq/pkg-descr b/net/py-pyzmq/pkg-descr index 7b68400ba631..cd21b0fcda31 100644 --- a/net/py-pyzmq/pkg-descr +++ b/net/py-pyzmq/pkg-descr @@ -1,2 +1,2 @@ -PyZMQ is a lightweight and super-fast messaging library built on top of -the ZeroMQ library. +This package contains Python bindings for ZeroMQ. ZeroMQ is a lightweight and +fast messaging implementation. diff --git a/net/py-urllib3-future/Makefile b/net/py-urllib3-future/Makefile index 58bc2f66dff4..0e6f13713482 100644 --- a/net/py-urllib3-future/Makefile +++ b/net/py-urllib3-future/Makefile @@ -1,5 +1,5 @@ PORTNAME= urllib3-future -PORTVERSION= 2.12.922 +PORTVERSION= 2.13.903 CATEGORIES= net python MASTER_SITES= PYPI \ https://github.com/jawah/urllib3.future/releases/download/${PORTVERSION}/ diff --git a/net/py-urllib3-future/distinfo b/net/py-urllib3-future/distinfo index 1911697b359a..9e1f56ad9f80 100644 --- a/net/py-urllib3-future/distinfo +++ b/net/py-urllib3-future/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748107940 -SHA256 (urllib3_future-2.12.922.tar.gz) = 4cb9424398993016383b600ba20881217f10a99c45acac60019ffb0dd007bc8a -SIZE (urllib3_future-2.12.922.tar.gz) = 1083098 +TIMESTAMP = 1755062574 +SHA256 (urllib3_future-2.13.903.tar.gz) = 750acf69304a174c2bd4a12a35ed1e1bd714ba1698e3b7262a3b37b3c68893a2 +SIZE (urllib3_future-2.13.903.tar.gz) = 1097689 diff --git a/net/py-urllib3-future/files/patch-pyproject.toml b/net/py-urllib3-future/files/patch-pyproject.toml deleted file mode 100644 index 834db86a77d5..000000000000 --- a/net/py-urllib3-future/files/patch-pyproject.toml +++ /dev/null @@ -1,10 +0,0 @@ ---- pyproject.toml.orig 2025-04-09 07:01:09 UTC -+++ pyproject.toml -@@ -40,7 +40,6 @@ dependencies = [ - requires-python = ">=3.7" - dynamic = ["version"] - dependencies = [ -- "qh3>=1.2.0,<2.0.0; (platform_python_implementation != 'CPython' or python_full_version > '3.7.10') and (platform_system == 'Darwin' or platform_system == 'Windows' or platform_system == 'Linux') and (platform_machine == 'x86_64' or platform_machine == 's390x' or platform_machine == 'armv7l' or platform_machine == 'ppc64le' or platform_machine == 'ppc64' or platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'arm64' or platform_machine == 'ARM64' or platform_machine == 'x86' or platform_machine == 'i686') and (platform_python_implementation == 'CPython' or (platform_python_implementation == 'PyPy' and python_version < '3.12'))", - "h11>=0.11.0,<1.0.0", - "jh2>=5.0.3,<6.0.0", - ] diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile index a7a81cfa8900..9bcd0777a0f3 100644 --- a/net/py-urllib3/Makefile +++ b/net/py-urllib3/Makefile @@ -8,7 +8,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= HTTP library with thread-safe connection pooling, file post, and more -WWW= https://github.com/urllib3/urllib3 +WWW= https://urllib3.readthedocs.io/en/stable/ \ + https://github.com/urllib3/urllib3 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt @@ -26,16 +27,14 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \ USES= cpe python USE_PYTHON= autoplist concurrent cryptography_test pep517 pytest -CPE_VENDOR= python - NO_ARCH= yes -TEST_ENV= LC_ALL=en_US.UTF-8 PYTHONPATH=${WRKSRC}/src - -# Test 'test_ssl_read_timeout' fails with FreeBSD >= 12.0. That was already the case with earlier versions of net/py-urllib3. PYTEST_IGNORED_TESTS= test_ssl_read_timeout +TEST_ENV= LC_ALL=en_US.UTF-8 PYTHONPATH=${WRKSRC}/src SUB_FILES= pkg-message +CPE_VENDOR= python + OPTIONS_DEFINE= BROTLI SOCKS SSL OPTIONS_DEFAULT=SOCKS diff --git a/net/py-urllib31/Makefile b/net/py-urllib31/Makefile new file mode 100644 index 000000000000..c452313a1952 --- /dev/null +++ b/net/py-urllib31/Makefile @@ -0,0 +1,50 @@ +PORTNAME= urllib3 +PORTVERSION= 1.26.20 +CATEGORIES= net python +MASTER_SITES= PYPI \ + https://github.com/urllib3/urllib3/releases/download/${PORTVERSION}/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 1 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= HTTP library with thread-safe connection pooling, file post, and more +WWW= https://urllib3.readthedocs.io/en/stable/ \ + https://github.com/urllib3/urllib3 + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.6.1:devel/py-flaky@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-timeout>=0:devel/py-pytest-timeout@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=2.8.1:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}trustme>=0.6.0:security/py-trustme@${PY_FLAVOR} + +USES= cpe python +USE_PYTHON= autoplist concurrent cryptography_test pep517 pytest + +NO_ARCH= yes +PYTEST_IGNORED_TESTS= test_ssl_read_timeout +TEST_ENV= LC_ALL=en_US.UTF-8 PYTHONPATH=${WRKSRC}/src + +SUB_FILES= pkg-message + +CPE_VENDOR= python + +PORTSCOUT= limit:^1\. + +OPTIONS_DEFINE= BROTLI SOCKS SSL +OPTIONS_DEFAULT=SOCKS + +BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR} +SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6<2.0:net/py-pysocks@${PY_FLAVOR} +SSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}idna>=2.0.0:dns/py-idna@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:security/py-openssl@${PY_FLAVOR} +SSL_USE= PYTHON=cryptography + +.include <bsd.port.mk> diff --git a/net/py-urllib31/distinfo b/net/py-urllib31/distinfo new file mode 100644 index 000000000000..5db8b2278da2 --- /dev/null +++ b/net/py-urllib31/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1725560881 +SHA256 (urllib3-1.26.20.tar.gz) = 40c2dc0c681e47eb8f90e7e27bf6ff7df2e677421fd46756da1161c39ca70d32 +SIZE (urllib3-1.26.20.tar.gz) = 307380 diff --git a/net/py-urllib31/files/patch-setup.cfg b/net/py-urllib31/files/patch-setup.cfg new file mode 100644 index 000000000000..8e92a5d7e5b8 --- /dev/null +++ b/net/py-urllib31/files/patch-setup.cfg @@ -0,0 +1,11 @@ +--- setup.cfg.orig 2024-08-29 15:36:43 UTC ++++ setup.cfg +@@ -7,7 +7,7 @@ universal = 1 + universal = 1 + + [metadata] +-license_file = LICENSE.txt ++license_files = LICENSE.txt + provides_extra = + secure + socks diff --git a/net/py-urllib31/files/pkg-message.in b/net/py-urllib31/files/pkg-message.in new file mode 100644 index 000000000000..4aa5b9e1f1d9 --- /dev/null +++ b/net/py-urllib31/files/pkg-message.in @@ -0,0 +1,21 @@ +[ +{ + message: <<EOM +Since version 1.25 HTTPS connections are now verified by default which is done +via "cert_reqs = 'CERT_REQUIRED'". While certificate verification can be +disabled via "cert_reqs = 'CERT_NONE'", it's highly recommended to leave it on. + +Various consumers of net/py-urllib3 already have implemented routines that +either explicitly enable or disable HTTPS certificate verification (e.g. via +configuration settings, CLI arguments, etc.). + +Yet it may happen that there are still some consumers which don't explicitly +enable/disable certificate verification for HTTPS connections which could then +lead to errors (as is often the case with self-signed certificates). + +In case of an error one should try first to temporarily disable certificate +verification of the problematic urllib3 consumer to see if that approach will +remedy the issue. +EOM +} +] diff --git a/net/py-urllib31/pkg-descr b/net/py-urllib31/pkg-descr new file mode 100644 index 000000000000..c6003d7494ba --- /dev/null +++ b/net/py-urllib31/pkg-descr @@ -0,0 +1,11 @@ +urllib3 is a powerful, sanity-friendly HTTP client for Python. Much of the +Python ecosystem already uses urllib3 and you should too. urllib3 brings many +critical features that are missing from the Python standard libraries: +- Thread safety. +- Connection pooling. +- Client-side SSL/TLS verification. +- File uploads with multipart encoding. +- Helpers for retrying requests and dealing with HTTP redirects. +- Support for gzip and deflate encoding. +- Proxy support for HTTP and SOCKS. +- 100% test coverage. diff --git a/net/relayd/files/patch-usr.sbin_relayd_siphash.c b/net/relayd/files/patch-usr.sbin_relayd_siphash.c new file mode 100644 index 000000000000..16575bdd6c1f --- /dev/null +++ b/net/relayd/files/patch-usr.sbin_relayd_siphash.c @@ -0,0 +1,22 @@ +--- usr.sbin/relayd/siphash.c.orig 2025-09-02 11:44:37 UTC ++++ usr.sbin/relayd/siphash.c +@@ -64,8 +64,8 @@ SipHash_Init(SIPHASH_CTX *ctx, const SIPHASH_KEY *key) + uint64_t k0, k1; + + #ifdef __FreeBSD__ +- k0 = le64toh(&key->k0); +- k1 = le64toh(&key->k1); ++ k0 = le64toh(key->k0); ++ k1 = le64toh(key->k1); + #else + k0 = lemtoh64(&key->k0); + k1 = lemtoh64(&key->k1); +@@ -191,7 +191,7 @@ SipHash_CRounds(SIPHASH_CTX *ctx, int rounds) + SipHash_CRounds(SIPHASH_CTX *ctx, int rounds) + { + #ifdef __FreeBSD__ +- u_int64_t m = le64toh((u_int64_t *)ctx->buf); ++ u_int64_t m = le64toh((u_int64_t)ctx->buf); + #else + u_int64_t m = lemtoh64((u_int64_t *)ctx->buf); + #endif diff --git a/net/samba416/Makefile b/net/samba416/Makefile index 0e4e23478edf..45eb0c63b280 100644 --- a/net/samba416/Makefile +++ b/net/samba416/Makefile @@ -459,10 +459,10 @@ SAMBA4_MODULES+= auth_skel pdb_test gpext_security gpext_registry \ .endif # Python bindings .if ! ${PORT_OPTIONS:MPYTHON3} || defined(NO_PYTHON) -USES+= python:build,test +USES+= python:build,test,-3.11 CONFIGURE_ARGS+= --disable-python .else -USES+= python +USES+= python:-3.11 PLIST+= ${PKGDIR}/pkg-plist.python # Don't cache Python modules CONFIGURE_ARGS+= --nopycache diff --git a/net/smb4k/Makefile b/net/smb4k/Makefile index 3c5d3c7209d3..c2f81986362c 100644 --- a/net/smb4k/Makefile +++ b/net/smb4k/Makefile @@ -1,5 +1,5 @@ PORTNAME= smb4k -DISTVERSION= 4.0.0 +DISTVERSION= 4.0.4 CATEGORIES= net kde MASTER_SITES= SF/${PORTNAME}/${DISTVERSION} @@ -20,7 +20,7 @@ USES= cmake compiler:c++17-lang cpe gettext-tools gl kde:6 qt:6 \ CPE_VENDOR= ${PORTNAME}_project USE_GL= gl opengl # GLX USE_KDE= auth colorscheme completion config configwidgets coreaddons \ - crash dbusaddons dnssd i18n iconthemes jobwidgets kirigami2 \ + crash dbusaddons dnssd guiaddons i18n iconthemes jobwidgets kirigami2 \ kio libplasma notifications service solid statusnotifieritem \ wallet widgetsaddons windowsystem xmlgui \ doctools:build ecm:build diff --git a/net/smb4k/distinfo b/net/smb4k/distinfo index 0f51c4dd15c7..087f04c9d49d 100644 --- a/net/smb4k/distinfo +++ b/net/smb4k/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1740042845 -SHA256 (smb4k-4.0.0.tar.xz) = d7da661711c9bc565cc4c14713e3ea5916dca245fddfa00fa0441763985b1bae -SIZE (smb4k-4.0.0.tar.xz) = 4852924 +TIMESTAMP = 1756392828 +SHA256 (smb4k-4.0.4.tar.xz) = b7c3f69c80cea5dacaf667e96f68f4c4d99dd6f8eef2b90d7a9afea82fe2ca99 +SIZE (smb4k-4.0.4.tar.xz) = 4853384 diff --git a/net/syncthing/Makefile b/net/syncthing/Makefile index 43c24d6f1c61..cbecf66db27b 100644 --- a/net/syncthing/Makefile +++ b/net/syncthing/Makefile @@ -1,6 +1,6 @@ PORTNAME= syncthing DISTVERSIONPREFIX= v -DISTVERSION= 2.0.3 +DISTVERSION= 2.0.6 CATEGORIES= net MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ DISTNAME= ${PORTNAME}-source-${DISTVERSIONFULL} diff --git a/net/syncthing/distinfo b/net/syncthing/distinfo index 3e49d99dd739..8664e9ec6420 100644 --- a/net/syncthing/distinfo +++ b/net/syncthing/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1756130379 -SHA256 (syncthing-source-v2.0.3.tar.gz) = 80ef0589c3949b2b48ae703106e4ce95474a111625923fb7d568f73c2537fe5d -SIZE (syncthing-source-v2.0.3.tar.gz) = 62648435 +TIMESTAMP = 1756897382 +SHA256 (syncthing-source-v2.0.6.tar.gz) = e17ea11091a8c9d29b99a09f93005f66a199ef4843a2be277c14361edef5953a +SIZE (syncthing-source-v2.0.6.tar.gz) = 62660232 |