From b0461e84a99f412527b86c156ae428bf3294367c Mon Sep 17 00:00:00 2001 From: Vincent Fortier Date: Sun, 26 Jan 2025 16:26:45 +0000 Subject: [PATCH] znc: Update from version 1.8.2 to 1.9.1 and migrate to python 3.12 --- cross/znc/Makefile | 6 +++--- cross/znc/digests | 6 +++--- spk/znc/Makefile | 10 +++++----- spk/znc/src/service-setup.sh | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cross/znc/Makefile b/cross/znc/Makefile index e63cadf6aaf..fd8580f4523 100644 --- a/cross/znc/Makefile +++ b/cross/znc/Makefile @@ -1,15 +1,15 @@ PKG_NAME = znc -PKG_VERS = 1.8.2 +PKG_VERS = 1.9.1 PKG_EXT = tar.gz PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) PKG_DIST_SITE = https://znc.in/releases/archive PKG_DIR = $(PKG_NAME)-$(PKG_VERS) ifeq ($(strip $(PYTHON_PACKAGE)),) -PYTHON_PACKAGE = python311 +PYTHON_PACKAGE = python312 endif -BUILD_DEPENDS = cross/python311 +BUILD_DEPENDS = cross/python312 DEPENDS = cross/openssl3 cross/libicu cross/zlib # configure: No compiler with C++11 support was found diff --git a/cross/znc/digests b/cross/znc/digests index 9141045e4aa..a7d7740e1fb 100644 --- a/cross/znc/digests +++ b/cross/znc/digests @@ -1,3 +1,3 @@ -znc-1.8.2.tar.gz SHA1 47c69267412cbc4c7c4b64435c23c11a8ece339b -znc-1.8.2.tar.gz SHA256 ff238aae3f2ae0e44e683c4aee17dc8e4fdd261ca9379d83b48a7d422488de0d -znc-1.8.2.tar.gz MD5 747259b0f56010713f46991fc469b571 +znc-1.9.1.tar.gz SHA1 fbaf45d698151b647316007430b690d58705d6ef +znc-1.9.1.tar.gz SHA256 e8a7cf80e19aad510b4e282eaf61b56bc30df88ea2e0f64fadcdd303c4894f3c +znc-1.9.1.tar.gz MD5 85ec4aec1c5d072c63c4b58f442e9710 diff --git a/spk/znc/Makefile b/spk/znc/Makefile index 92ba693dbf9..f96f3a4c7d2 100644 --- a/spk/znc/Makefile +++ b/spk/znc/Makefile @@ -1,19 +1,19 @@ SPK_NAME = znc -SPK_VERS = 1.8.2 -SPK_REV = 23 +SPK_VERS = 1.9.1 +SPK_REV = 24 SPK_ICON = src/znc.png DSM_UI_DIR = app DEPENDS = cross/znc -PYTHON_PACKAGE = python311 -SPK_DEPENDS = "python311>=3.11.5-8" +PYTHON_PACKAGE = python312 +SPK_DEPENDS = "python312" MAINTAINER = worstje DESCRIPTION = Advanced IRC bouncer. An IRC bouncer is nothing more than an IRC proxy. ZNC will always be connected in your chat rooms, and will be the gateway between your clients, and your IRC servers. You can, for instance, consult messages while you were offline or hide your identity. DESCRIPTION_FRE = Bouncer IRC avancé. Un bouncer IRC n\’est en fait qu\’un proxy IRC. ZNC restera connecté en permanence à vos salons de discussions et fera office de passerelle entre vos clients et vos serveurs IRC. Vous pourrez, par exemple, consultez des messages diffusés en votre absence ou masquer votre identité. DESCRIPTION_SPN = IRC bouncer avanzado. Un IRC bouncer no es más que un proxy para IRC. ZNC estará siempre conectado a tus canales, y hará de puerta de enlace entre tus clientes y tus servidores IRC. Puedes, por ejemplo, consultar mensajes mientras estuviste desconectado o esconder tu identidad. DISPLAY_NAME = ZNC -CHANGELOG = "1. Update OpenSSL 3.1.2.
2. Migrate to Python 3.11" +CHANGELOG = "1. Update to ZNC 1.91.1.
2. Migrate to Python 3.12" STARTABLE = yes HOMEPAGE = https://wiki.znc.in/ diff --git a/spk/znc/src/service-setup.sh b/spk/znc/src/service-setup.sh index 7bea1a63cbf..95d3a104eaf 100644 --- a/spk/znc/src/service-setup.sh +++ b/spk/znc/src/service-setup.sh @@ -6,7 +6,7 @@ PATH="${SYNOPKG_PKGDEST}/bin:${PATH}" ZNC="${SYNOPKG_PKGDEST}/bin/znc" CERT_FILE="${SYNOPKG_PKGVAR}/znc.pem" -PYTHON3_LIB_PATH="/var/packages/python311/target/lib" +PYTHON3_LIB_PATH="/var/packages/python312/target/lib" SERVICE_COMMAND="env LD_LIBRARY_PATH=${PYTHON3_LIB_PATH} ${ZNC} -d ${SYNOPKG_PKGVAR}" SVC_BACKGROUND=yes CONF_FILE=${SYNOPKG_PKGVAR}/configs/znc.conf