pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/chat/znc
Module Name: pkgsrc
Committed By: triaxx
Date: Tue Feb 24 14:47:18 UTC 2026
Modified Files:
pkgsrc/chat/znc: Makefile PLIST PLIST.nls PLIST.perl distinfo
options.mk
Log Message:
znc: Update to 1.10.1
pkgsrc changes:
---------------
* Fix installation on Darwin with perl option enabled.
upstream changes:
-----------------
1.10.1
------
Fixes
* Fix use-after-free in capabilities handling. The visible effect of this was either crash, or some capabilities having wrong state.
* Fix nullptr dereference in TAGMSG handling.
* Preserve DisableClientCap/DisableServerCap settings when writing config.
New
* The listening unix socket can now be configured to belong to a specific group and/or to have a specific file access mode. The syntax for AddPort command is unix:ssl,group=mygroup,mode=666:/path,
some of these options can be skipped if the feature is not needed.
1.10.0
------
New
* Implemented several IRCv3 features:
* SASL v3.1 and v3.2 for clients. It's possible to optionally pass network name and/or client id in the "authorization ID" field of SASL, with the same syntax as without SASL:
user@client/network. Core gained several new module hooks, the specific mechanisms are implemented in modules:
* saslplainauth implements PLAIN mechanism; this module is loaded by default for new installations, and it supports checking the password using other modules such as imapauth.
* certauth implements EXTERNAL mechanism.
* message-tags capability. Several message tags had been supported already, but in a limited way: no arbitrary tags, no TAGMSG, and only sending tags to client; now these limitations are gone.
* chghost capability. The fallback for clients which don't support it is as usual: QUIT followed by JOIN and MODE.
* invite-notify capability.
* Added a way to disable capabilities, both on client side and server side, using DisableClientCap = ... and DisableServerCap = ... in config respectively. If disabled, the client cap will be
missing from CAP LS and CAP NEW, NAKed if requested by client, and the server cap won't be requested from IRC server, though it won't prevent usage of e.g. send_raw to request it anyway.
* Warn user if flood protection is delaying the messages for too long.
* Added experimental support for unix sockets: for listeners, for connections to server, and for modules. The syntax for /znc AddServer and /znc AddPort is unix:/path and unix:ssl:/path, and only
admins are allowed to add such servers. Note that on certain platforms (e.g. cygwin) this doesn't work very well.
* znc --makepem now takes the CN from gethostname() and uname() if available. This is still overrideable via HOSTNAME environment variable.
Fixes
* Fixed high CPU usage when ZNC is connecting to a server.
* Sped up capability negotiation with the server: now several capabilities are requested together, and retried one by one later only if server rejected the whole message. This should decrease
"Registration timeout" errors.
* Don't forward client JOINs during registration, as client autojoining channels may interfere with registration. This also should decrease "Registration timeout" errors.
* Fixed the translation pipeline again, pulled latest translations from crowdin - the pipeline had broken before 1.9.1, but we didn't notice, leaving translations outdated.
* Fixed sending server passwords with spaces in them.
* CTCP sent to *status shouldn't reach server.
* Made PING skip the flood protection queue just like PONG does. This was rarely an issue in practice, but on very quiet servers where nothing is going on, ZNC could disconnect due to timeout
because the PING message which server would reply to with PONG is also stuck in the queue and not sent.
* Made CTCP flood timer use monotonic time.
Modules
* certauth:
* it's no longer required to send a garbage password via PASS command, if the client uses SASL EXTERNAL.
* switched fingerprints from SHA-1 to more secure SHA-256. For now it still accepts old configs, and if the correct certificate is present, automatically replaces the stored fingerprint with
SHA-256, but the support for SHA-1 will be removed in some future version.
* log: don't log user quits to logs of channels that are disabled.
* modperl: removed usage of deprecated keywords given/when.
* sasl: if RequireAuth is set, but SASL failed, don't disable the network anymore, simply disconnect, and try later, because such issue is often transient, while IRC services are down.
* webadmin:
* fixed editing fields which are allowed to be edited while DenySetNetwork is set.
* removed old compatibility code for pre-0.090 versions of parsing arguments to module to open another web port.
Notes for package maintainers
Minimum version of Boost for the optional I18N support is now 1.70 for compatibility with new CMake.
Internal
* Updated integration tests to Qt 6; Qt 5 is still supported, use export ZNC_QT_VER=5 to use it instead of Qt 6.
* Made integration tests run in parallel.
* Don't test presence of i18n in the test when it's disabled.
* Moved the base64 table from header to .cpp
To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 pkgsrc/chat/znc/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/chat/znc/PLIST
cvs rdiff -u -r1.6 -r1.7 pkgsrc/chat/znc/PLIST.nls
cvs rdiff -u -r1.1 -r1.2 pkgsrc/chat/znc/PLIST.perl
cvs rdiff -u -r1.14 -r1.15 pkgsrc/chat/znc/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/chat/znc/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/chat/znc/Makefile
diff -u pkgsrc/chat/znc/Makefile:1.59 pkgsrc/chat/znc/Makefile:1.60
--- pkgsrc/chat/znc/Makefile:1.59 Wed Jan 7 08:46:03 2026
+++ pkgsrc/chat/znc/Makefile Tue Feb 24 14:47:18 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.59 2026/01/07 08:46:03 wiz Exp $
+# $NetBSD: Makefile,v 1.60 2026/02/24 14:47:18 triaxx Exp $
-DISTNAME= znc-1.9.1
-PKGREVISION= 10
+DISTNAME= znc-1.10.1
CATEGORIES= chat
MASTER_SITES= https://znc.in/releases/archive/
DISTFILES= ${DEFAULT_DISTFILES} znc-palaver-1.2.2.tar.gz
@@ -12,7 +11,6 @@ HOMEPAGE= https://znc.in/
COMMENT= Advanced IRC bouncer with IPv6 and SSL support
LICENSE= gnu-gpl-v2
-USE_CMAKE= yes
USE_TOOLS+= pkg-config msgfmt
USE_LANGUAGES= c c++
MANCOMPRESSED= yes
@@ -53,10 +51,18 @@ SUBST_MESSAGE.man= Fixing absolute paths
SUBST_FILES.man= man/znc.1
SUBST_SED.man= -e 's|/usr/local|${PREFIX}|g'
+.if ${OPSYS} == "Darwin"
+MOD_EXT= .bundle
+.else
+MOD_EXT= .so
+.endif
+PLIST_SUBST+= MOD_EXT=${MOD_EXT}
+
post-extract:
${CP} ${WRKDIR}/znc-palaver-1.2.2/palaver.cpp ${WRKSRC}/modules/
.include "options.mk"
+.include "../../devel/cmake/build.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
Index: pkgsrc/chat/znc/PLIST
diff -u pkgsrc/chat/znc/PLIST:1.8 pkgsrc/chat/znc/PLIST:1.9
--- pkgsrc/chat/znc/PLIST:1.8 Wed Aug 7 22:23:46 2024
+++ pkgsrc/chat/znc/PLIST Tue Feb 24 14:47:18 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2024/08/07 22:23:46 nia Exp $
+@comment $NetBSD: PLIST,v 1.9 2026/02/24 14:47:18 triaxx Exp $
bin/znc
bin/znc-buildmod
include/znc/Buffer.h
@@ -82,6 +82,7 @@ lib/znc/route_replies.so
lib/znc/sample.so
lib/znc/samplewebapi.so
lib/znc/sasl.so
+lib/znc/saslplainauth.so
lib/znc/savebuff.so
lib/znc/schat.so
lib/znc/send_raw.so
Index: pkgsrc/chat/znc/PLIST.nls
diff -u pkgsrc/chat/znc/PLIST.nls:1.6 pkgsrc/chat/znc/PLIST.nls:1.7
--- pkgsrc/chat/znc/PLIST.nls:1.6 Wed Aug 7 22:23:46 2024
+++ pkgsrc/chat/znc/PLIST.nls Tue Feb 24 14:47:18 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.nls,v 1.6 2024/08/07 22:23:46 nia Exp $
+@comment $NetBSD: PLIST.nls,v 1.7 2026/02/24 14:47:18 triaxx Exp $
share/locale/bg_BG/LC_MESSAGES/znc-admindebug.mo
share/locale/bg_BG/LC_MESSAGES/znc-adminlog.mo
share/locale/bg_BG/LC_MESSAGES/znc-alias.mo
@@ -48,6 +48,7 @@ share/locale/bg_BG/LC_MESSAGES/znc-route
share/locale/bg_BG/LC_MESSAGES/znc-sample.mo
share/locale/bg_BG/LC_MESSAGES/znc-samplewebapi.mo
share/locale/bg_BG/LC_MESSAGES/znc-sasl.mo
+share/locale/bg_BG/LC_MESSAGES/znc-saslplainauth.mo
share/locale/bg_BG/LC_MESSAGES/znc-savebuff.mo
share/locale/bg_BG/LC_MESSAGES/znc-send_raw.mo
share/locale/bg_BG/LC_MESSAGES/znc-shell.mo
@@ -106,6 +107,7 @@ share/locale/da_DK/LC_MESSAGES/znc-route
share/locale/da_DK/LC_MESSAGES/znc-sample.mo
share/locale/da_DK/LC_MESSAGES/znc-samplewebapi.mo
share/locale/da_DK/LC_MESSAGES/znc-sasl.mo
+share/locale/da_DK/LC_MESSAGES/znc-saslplainauth.mo
share/locale/da_DK/LC_MESSAGES/znc-savebuff.mo
share/locale/da_DK/LC_MESSAGES/znc-send_raw.mo
share/locale/da_DK/LC_MESSAGES/znc-shell.mo
@@ -164,6 +166,7 @@ share/locale/de_DE/LC_MESSAGES/znc-route
share/locale/de_DE/LC_MESSAGES/znc-sample.mo
share/locale/de_DE/LC_MESSAGES/znc-samplewebapi.mo
share/locale/de_DE/LC_MESSAGES/znc-sasl.mo
+share/locale/de_DE/LC_MESSAGES/znc-saslplainauth.mo
share/locale/de_DE/LC_MESSAGES/znc-savebuff.mo
share/locale/de_DE/LC_MESSAGES/znc-send_raw.mo
share/locale/de_DE/LC_MESSAGES/znc-shell.mo
@@ -222,6 +225,7 @@ share/locale/el_GR/LC_MESSAGES/znc-route
share/locale/el_GR/LC_MESSAGES/znc-sample.mo
share/locale/el_GR/LC_MESSAGES/znc-samplewebapi.mo
share/locale/el_GR/LC_MESSAGES/znc-sasl.mo
+share/locale/el_GR/LC_MESSAGES/znc-saslplainauth.mo
share/locale/el_GR/LC_MESSAGES/znc-savebuff.mo
share/locale/el_GR/LC_MESSAGES/znc-send_raw.mo
share/locale/el_GR/LC_MESSAGES/znc-shell.mo
@@ -280,6 +284,7 @@ share/locale/es_ES/LC_MESSAGES/znc-route
share/locale/es_ES/LC_MESSAGES/znc-sample.mo
share/locale/es_ES/LC_MESSAGES/znc-samplewebapi.mo
share/locale/es_ES/LC_MESSAGES/znc-sasl.mo
+share/locale/es_ES/LC_MESSAGES/znc-saslplainauth.mo
share/locale/es_ES/LC_MESSAGES/znc-savebuff.mo
share/locale/es_ES/LC_MESSAGES/znc-send_raw.mo
share/locale/es_ES/LC_MESSAGES/znc-shell.mo
@@ -338,6 +343,7 @@ share/locale/fr_FR/LC_MESSAGES/znc-route
share/locale/fr_FR/LC_MESSAGES/znc-sample.mo
share/locale/fr_FR/LC_MESSAGES/znc-samplewebapi.mo
share/locale/fr_FR/LC_MESSAGES/znc-sasl.mo
+share/locale/fr_FR/LC_MESSAGES/znc-saslplainauth.mo
share/locale/fr_FR/LC_MESSAGES/znc-savebuff.mo
share/locale/fr_FR/LC_MESSAGES/znc-send_raw.mo
share/locale/fr_FR/LC_MESSAGES/znc-shell.mo
@@ -396,6 +402,7 @@ share/locale/id_ID/LC_MESSAGES/znc-route
share/locale/id_ID/LC_MESSAGES/znc-sample.mo
share/locale/id_ID/LC_MESSAGES/znc-samplewebapi.mo
share/locale/id_ID/LC_MESSAGES/znc-sasl.mo
+share/locale/id_ID/LC_MESSAGES/znc-saslplainauth.mo
share/locale/id_ID/LC_MESSAGES/znc-savebuff.mo
share/locale/id_ID/LC_MESSAGES/znc-send_raw.mo
share/locale/id_ID/LC_MESSAGES/znc-shell.mo
@@ -454,6 +461,7 @@ share/locale/it_IT/LC_MESSAGES/znc-route
share/locale/it_IT/LC_MESSAGES/znc-sample.mo
share/locale/it_IT/LC_MESSAGES/znc-samplewebapi.mo
share/locale/it_IT/LC_MESSAGES/znc-sasl.mo
+share/locale/it_IT/LC_MESSAGES/znc-saslplainauth.mo
share/locale/it_IT/LC_MESSAGES/znc-savebuff.mo
share/locale/it_IT/LC_MESSAGES/znc-send_raw.mo
share/locale/it_IT/LC_MESSAGES/znc-shell.mo
@@ -512,6 +520,7 @@ share/locale/nl_NL/LC_MESSAGES/znc-route
share/locale/nl_NL/LC_MESSAGES/znc-sample.mo
share/locale/nl_NL/LC_MESSAGES/znc-samplewebapi.mo
share/locale/nl_NL/LC_MESSAGES/znc-sasl.mo
+share/locale/nl_NL/LC_MESSAGES/znc-saslplainauth.mo
share/locale/nl_NL/LC_MESSAGES/znc-savebuff.mo
share/locale/nl_NL/LC_MESSAGES/znc-send_raw.mo
share/locale/nl_NL/LC_MESSAGES/znc-shell.mo
@@ -570,6 +579,7 @@ share/locale/pl_PL/LC_MESSAGES/znc-route
share/locale/pl_PL/LC_MESSAGES/znc-sample.mo
share/locale/pl_PL/LC_MESSAGES/znc-samplewebapi.mo
share/locale/pl_PL/LC_MESSAGES/znc-sasl.mo
+share/locale/pl_PL/LC_MESSAGES/znc-saslplainauth.mo
share/locale/pl_PL/LC_MESSAGES/znc-savebuff.mo
share/locale/pl_PL/LC_MESSAGES/znc-send_raw.mo
share/locale/pl_PL/LC_MESSAGES/znc-shell.mo
@@ -628,6 +638,7 @@ share/locale/pt_BR/LC_MESSAGES/znc-route
share/locale/pt_BR/LC_MESSAGES/znc-sample.mo
share/locale/pt_BR/LC_MESSAGES/znc-samplewebapi.mo
share/locale/pt_BR/LC_MESSAGES/znc-sasl.mo
+share/locale/pt_BR/LC_MESSAGES/znc-saslplainauth.mo
share/locale/pt_BR/LC_MESSAGES/znc-savebuff.mo
share/locale/pt_BR/LC_MESSAGES/znc-send_raw.mo
share/locale/pt_BR/LC_MESSAGES/znc-shell.mo
@@ -686,6 +697,7 @@ share/locale/pt_PT/LC_MESSAGES/znc-route
share/locale/pt_PT/LC_MESSAGES/znc-sample.mo
share/locale/pt_PT/LC_MESSAGES/znc-samplewebapi.mo
share/locale/pt_PT/LC_MESSAGES/znc-sasl.mo
+share/locale/pt_PT/LC_MESSAGES/znc-saslplainauth.mo
share/locale/pt_PT/LC_MESSAGES/znc-savebuff.mo
share/locale/pt_PT/LC_MESSAGES/znc-send_raw.mo
share/locale/pt_PT/LC_MESSAGES/znc-shell.mo
@@ -744,6 +756,7 @@ share/locale/ro_RO/LC_MESSAGES/znc-route
share/locale/ro_RO/LC_MESSAGES/znc-sample.mo
share/locale/ro_RO/LC_MESSAGES/znc-samplewebapi.mo
share/locale/ro_RO/LC_MESSAGES/znc-sasl.mo
+share/locale/ro_RO/LC_MESSAGES/znc-saslplainauth.mo
share/locale/ro_RO/LC_MESSAGES/znc-savebuff.mo
share/locale/ro_RO/LC_MESSAGES/znc-send_raw.mo
share/locale/ro_RO/LC_MESSAGES/znc-shell.mo
@@ -802,6 +815,7 @@ share/locale/ru_RU/LC_MESSAGES/znc-route
share/locale/ru_RU/LC_MESSAGES/znc-sample.mo
share/locale/ru_RU/LC_MESSAGES/znc-samplewebapi.mo
share/locale/ru_RU/LC_MESSAGES/znc-sasl.mo
+share/locale/ru_RU/LC_MESSAGES/znc-saslplainauth.mo
share/locale/ru_RU/LC_MESSAGES/znc-savebuff.mo
share/locale/ru_RU/LC_MESSAGES/znc-send_raw.mo
share/locale/ru_RU/LC_MESSAGES/znc-shell.mo
@@ -860,6 +874,7 @@ share/locale/tr_TR/LC_MESSAGES/znc-route
share/locale/tr_TR/LC_MESSAGES/znc-sample.mo
share/locale/tr_TR/LC_MESSAGES/znc-samplewebapi.mo
share/locale/tr_TR/LC_MESSAGES/znc-sasl.mo
+share/locale/tr_TR/LC_MESSAGES/znc-saslplainauth.mo
share/locale/tr_TR/LC_MESSAGES/znc-savebuff.mo
share/locale/tr_TR/LC_MESSAGES/znc-send_raw.mo
share/locale/tr_TR/LC_MESSAGES/znc-shell.mo
Index: pkgsrc/chat/znc/PLIST.perl
diff -u pkgsrc/chat/znc/PLIST.perl:1.1 pkgsrc/chat/znc/PLIST.perl:1.2
--- pkgsrc/chat/znc/PLIST.perl:1.1 Sun Dec 16 02:05:23 2018
+++ pkgsrc/chat/znc/PLIST.perl Tue Feb 24 14:47:18 2026
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST.perl,v 1.1 2018/12/16 02:05:23 nia Exp $
+@comment $NetBSD: PLIST.perl,v 1.2 2026/02/24 14:47:18 triaxx Exp $
lib/znc/modperl.so
lib/znc/modperl/ZNC.pm
-lib/znc/modperl/ZNC.so
+lib/znc/modperl/ZNC${MOD_EXT}
lib/znc/modperl/startup.pl
lib/znc/perleval.pm
Index: pkgsrc/chat/znc/distinfo
diff -u pkgsrc/chat/znc/distinfo:1.14 pkgsrc/chat/znc/distinfo:1.15
--- pkgsrc/chat/znc/distinfo:1.14 Wed Aug 7 22:23:46 2024
+++ pkgsrc/chat/znc/distinfo Tue Feb 24 14:47:18 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.14 2024/08/07 22:23:46 nia Exp $
+$NetBSD: distinfo,v 1.15 2026/02/24 14:47:18 triaxx Exp $
-BLAKE2s (znc-1.9.1.tar.gz) = 7abe783a91aa6bb3ca7d18b6b7178bc354df6a51286fe656d1e534cc4df9897e
-SHA512 (znc-1.9.1.tar.gz) = 939eafbb2f20569d1b15b66e38b7da7a5210f2023e6fc98018566bd757d62d8ef2682d4b4e3b326a933a99cd7d9d65596ff0e2c43a2315c70e27c64f02d526a6
-Size (znc-1.9.1.tar.gz) = 2236498 bytes
+BLAKE2s (znc-1.10.1.tar.gz) = 0fdffc750d4c3c3727f244540445bea4bb775b5cd264cf73350258e9ace383b6
+SHA512 (znc-1.10.1.tar.gz) = f125eef5a9f8bfcd278951971638fe8a937261001bfd8f6438fc51fda666b97c00780c5c6f1a921b3db79cb7656bc9675eb3881b18b22b7738e0976ebcca7cb3
+Size (znc-1.10.1.tar.gz) = 2310976 bytes
BLAKE2s (znc-palaver-1.2.2.tar.gz) = 4b5a222eb3aa298dbb783a53f81ded4699da1976a26e2e90ef17037c9e34d4f5
SHA512 (znc-palaver-1.2.2.tar.gz) = b91ba7200cac393557252874293f131c83a4cea83203457e8f6f91a129d8207c16951b983e52848ce4f54750752f69765ca26b8e3f50e74da2a11138eaf2bdce
Size (znc-palaver-1.2.2.tar.gz) = 14649 bytes
Index: pkgsrc/chat/znc/options.mk
diff -u pkgsrc/chat/znc/options.mk:1.5 pkgsrc/chat/znc/options.mk:1.6
--- pkgsrc/chat/znc/options.mk:1.5 Sun Aug 25 06:18:28 2024
+++ pkgsrc/chat/znc/options.mk Tue Feb 24 14:47:18 2026
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2024/08/25 06:18:28 wiz Exp $
+# $NetBSD: options.mk,v 1.6 2026/02/24 14:47:18 triaxx Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.znc
PKG_SUPPORTED_OPTIONS= icu inet6 nls perl python sasl-cyrus tcl
@@ -28,6 +28,7 @@ CMAKE_CONFIGURE_ARGS+= -DWANT_ICU=OFF
USE_TOOLS+= msgfmt
PLIST_SRC+= PLIST.nls
CMAKE_CONFIGURE_ARGS+= -DWANT_I18N=ON
+BUILDLINK_API_DEPENDS.boost-libs+= boost-libs>=1.70
. include "../../devel/boost-libs/buildlink3.mk"
.else
CMAKE_CONFIGURE_ARGS+= -DWANT_I18N=OFF
Home |
Main Index |
Thread Index |
Old Index