From abbbcd16a97a6d6dfbde7af4590b1bc73ffdc7b2 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Fri, 17 Apr 2026 06:06:26 +0200 Subject: [PATCH] ** UnrealIRCd 6.2.4 ** --- Config | 2 +- configure | 20 ++++++++++---------- configure.ac | 4 ++-- doc/Config.header | 2 +- doc/RELEASE-NOTES.md | 29 ++++++++++++++++------------- doc/conf/modules.default.conf | 2 +- extras/doxygen/Doxyfile | 2 +- include/windows/setup.h | 2 +- src/version.c.SH | 2 +- src/windows/unrealinst.iss | 2 +- 10 files changed, 35 insertions(+), 32 deletions(-) diff --git a/Config b/Config index 079053a0e..f8c9f6188 100755 --- a/Config +++ b/Config @@ -377,7 +377,7 @@ echo "We will now ask you a number of questions. You can just press ENTER to acc echo "" # This needs to be updated each release so auto-upgrading works for settings, modules, etc!!: -UNREALRELEASES="6.2.3 6.2.3-rc2 6.2.3-rc1 6.2.2 6.2.1 6.2.1-rc2 6.2.1-rc1 6.2.0.2 6.2.0.1 6.2.0 6.2.0-beta3 6.2.0-beta2 6.2.0-beta1 6.1.10 6.1.10-rc1 6.1.9 6.1.8 6.1.8.1 6.1.8 6.1.8-rc1 6.1.7 6.1.7-rc1 6.1.6 6.1.6-rc1 6.1.5 6.1.4 6.1.3 6.1.3-rc1 6.1.2.3 6.1.2.2 6.1.2.1 6.1.2 6.1.2-rc2 6.1.2-rc1 6.1.1.1 6.1.1 6.1.0 6.1.0-rc2 6.1.0-rc1 6.0.7 6.0.6 6.0.5 6.0.5-rc2 6.0.5-rc1 6.0.4.2 6.0.4.1 6.0.4 6.0.4-rc2 6.0.4-rc1 6.0.3 6.0.2 6.0.1.1 6.0.1 6.0.0" +UNREALRELEASES="6.2.4-rc1 6.2.3 6.2.3-rc2 6.2.3-rc1 6.2.2 6.2.1 6.2.1-rc2 6.2.1-rc1 6.2.0.2 6.2.0.1 6.2.0 6.2.0-beta3 6.2.0-beta2 6.2.0-beta1 6.1.10 6.1.10-rc1 6.1.9 6.1.8 6.1.8.1 6.1.8 6.1.8-rc1 6.1.7 6.1.7-rc1 6.1.6 6.1.6-rc1 6.1.5 6.1.4 6.1.3 6.1.3-rc1 6.1.2.3 6.1.2.2 6.1.2.1 6.1.2 6.1.2-rc2 6.1.2-rc1 6.1.1.1 6.1.1 6.1.0 6.1.0-rc2 6.1.0-rc1 6.0.7 6.0.6 6.0.5 6.0.5-rc2 6.0.5-rc1 6.0.4.2 6.0.4.1 6.0.4 6.0.4-rc2 6.0.4-rc1 6.0.3 6.0.2 6.0.1.1 6.0.1 6.0.0" if [ -f "config.settings" ]; then . ./config.settings else diff --git a/configure b/configure index e0ad66e27..0bf8990ae 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.72 for unrealircd 6.2.4-rc1. +# Generated by GNU Autoconf 2.72 for unrealircd 6.2.4. # # Report bugs to . # @@ -604,8 +604,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='unrealircd' PACKAGE_TARNAME='unrealircd' -PACKAGE_VERSION='6.2.4-rc1' -PACKAGE_STRING='unrealircd 6.2.4-rc1' +PACKAGE_VERSION='6.2.4' +PACKAGE_STRING='unrealircd 6.2.4' PACKAGE_BUGREPORT='https://bugs.unrealircd.org/' PACKAGE_URL='https://unrealircd.org/' @@ -1359,7 +1359,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -'configure' configures unrealircd 6.2.4-rc1 to adapt to many kinds of systems. +'configure' configures unrealircd 6.2.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1425,7 +1425,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of unrealircd 6.2.4-rc1:";; + short | recursive ) echo "Configuration of unrealircd 6.2.4:";; esac cat <<\_ACEOF @@ -1598,7 +1598,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -unrealircd configure 6.2.4-rc1 +unrealircd configure 6.2.4 generated by GNU Autoconf 2.72 Copyright (C) 2023 Free Software Foundation, Inc. @@ -1905,7 +1905,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by unrealircd $as_me 6.2.4-rc1, which was +It was created by unrealircd $as_me 6.2.4, which was generated by GNU Autoconf 2.72. Invocation command line was $ $0$ac_configure_args_raw @@ -2713,7 +2713,7 @@ printf "%s\n" "#define UNREAL_VERSION_MINOR $UNREAL_VERSION_MINOR" >>confdefs.h # The version suffix such as a beta marker or release candidate # marker. (e.g.: -rcX for unrealircd-3.2.9-rcX). This macro is a # string instead of an integer because it contains arbitrary data. -UNREAL_VERSION_SUFFIX="-rc1" +UNREAL_VERSION_SUFFIX="" printf "%s\n" "#define UNREAL_VERSION_SUFFIX \"$UNREAL_VERSION_SUFFIX\"" >>confdefs.h @@ -10713,7 +10713,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by unrealircd $as_me 6.2.4-rc1, which was +This file was extended by unrealircd $as_me 6.2.4, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10778,7 +10778,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -unrealircd config.status 6.2.4-rc1 +unrealircd config.status 6.2.4 configured by $0, generated by GNU Autoconf 2.72, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 25f1cbf12..f114ed846 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ dnl src/windows/unrealinst.iss dnl doc/Config.header dnl src/version.c.SH -AC_INIT([unrealircd], [6.2.4-rc1], [https://bugs.unrealircd.org/], [], [https://unrealircd.org/]) +AC_INIT([unrealircd], [6.2.4], [https://bugs.unrealircd.org/], [], [https://unrealircd.org/]) AC_CONFIG_SRCDIR([src/ircd.c]) AC_CONFIG_HEADER([include/setup.h]) AC_CONFIG_AUX_DIR([autoconf]) @@ -38,7 +38,7 @@ AC_DEFINE_UNQUOTED([UNREAL_VERSION_MINOR], [$UNREAL_VERSION_MINOR], [Minor versi # The version suffix such as a beta marker or release candidate # marker. (e.g.: -rcX for unrealircd-3.2.9-rcX). This macro is a # string instead of an integer because it contains arbitrary data. -UNREAL_VERSION_SUFFIX=["-rc1"] +UNREAL_VERSION_SUFFIX=[""] AC_DEFINE_UNQUOTED([UNREAL_VERSION_SUFFIX], ["$UNREAL_VERSION_SUFFIX"], [Version suffix such as a beta marker or release candidate marker. (e.g.: -rcX for unrealircd-3.2.9-rcX)]) AC_PATH_PROG(RM,rm) diff --git a/doc/Config.header b/doc/Config.header index 82688f128..56eb4f574 100644 --- a/doc/Config.header +++ b/doc/Config.header @@ -7,7 +7,7 @@ \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_| Configuration Program - for UnrealIRCd 6.2.4-rc1 + for UnrealIRCd 6.2.4 This program will help you to compile your IRC server, and ask you questions regarding the compile-time settings of it during the process. diff --git a/doc/RELEASE-NOTES.md b/doc/RELEASE-NOTES.md index 06c0412c7..47fde1ba8 100644 --- a/doc/RELEASE-NOTES.md +++ b/doc/RELEASE-NOTES.md @@ -1,13 +1,10 @@ -UnrealIRCd 6.2.4-rc1 -===================== +UnrealIRCd 6.2.4 +================= -This is the Release Candidate for future version 6.2.4. You can help us by -testing this release and reporting bugs to https://bugs.unrealircd.org/ - -This version comes with optional multiline support and a lot of new -conditional config and crule functions, plus a new GeoIP engine. -A bug has been fixed that would confuse services with +e/+I extbans -and a Windows crash bug has been resolved. +This version comes with optional multiline support (not loaded by default +yet), a lot of new conditional config and crule functions, and a new +GeoIP engine. A bug has been fixed that could confuse services with +e/+I +extbans and a Windows crash bug has been resolved. ### Enhancements: * Add [IRCv3 draft/multiline](https://ircv3.net/specs/extensions/multiline) @@ -30,7 +27,8 @@ and a Windows crash bug has been resolved. using a fallback algorithm. IMPORTANT: This module is **not loaded by default** at the moment. You need - a `loadmodule "multiline";` to use it. + a `loadmodule "multiline";` to use it. In a future version of UnrealIRCd we + will likely load this module by default, after receiving more feedback. Regarding limits and anti-flood: * This obeys the limit of `+f` subtype `t`: so `+f [5t]:15` (max 5 lines @@ -76,7 +74,7 @@ and a Windows crash bug has been resolved. variable from an OS environment variable. * New `@error "message"` and `@warning "message"` directives. Eg for `if !environment("ADMIN")` `@error "ADMIN env var not defined"`. -* New [crule functions](https://www.unrealircd.org/docs/Security_groups#Rules) +* New [crule functions](https://www.unrealircd.org/docs/Crule) for use in security groups, match items, spamfilter::rule: * Boolean checks: `is_oper`, `is_local`, `has_swhois` * Match functions: `match_class`, `match_server`, `match_vhost`, @@ -89,7 +87,7 @@ and a Windows crash bug has been resolved. * Text analysis: `text_byte_count`, `text_character_count`, `word_count`, `uppercase_percentage`, `digit_percentage`, `non_ascii_percentage`, `max_repeat_count`, `mixed_utf8_score`, `unicode_block_count` - * The [documentation](https://www.unrealircd.org/docs/Security_groups#Rules) + * The [documentation](https://www.unrealircd.org/docs/Crule) also has been rewritten to group the functions for a better overall view. ### Changes: @@ -104,9 +102,10 @@ and a Windows crash bug has been resolved. * Errors in TLS certificate/keys are now fatal errors. ### Fixes: +* The Windows version could crash after a few minutes due to missing MODVAR. * Downgrade shipped sodium library to 1.0.20 to fix arm64 compile issue with 1.0.21. -* The Windows version could crash after a few minutes due to missing MODVAR. +* Compile fixes when using OpenSSL 4.0.0 * Named extbans in `+e` and `+I` were supposed to be sent with letters instead of names to servers not supporting them (UnrealIRCd older than 6 and Services), but this was not the case. Is now fixed. This bug caused for example Anope 2.0.x @@ -165,6 +164,10 @@ and a Windows crash bug has been resolved. is supported. * ClientContext now has a new field `fake_lag_added_msec` and there is a new function `subtract_fake_lag()`. This is used by multiline, for example. +* We now guard that `CommandOverrideAdd()` is only used in `MOD_LOAD` and + not in `MOD_INIT` (otherwise it is too early, commands may not exist yet). + Similarly, we ensure `EfunctionAdd()` is used from `MOD_TEST`. Clear + errors are logged in both cases if you try to do otherwise. UnrealIRCd 6.2.3 ----------------- diff --git a/doc/conf/modules.default.conf b/doc/conf/modules.default.conf index 0e51b18fd..130e1d851 100644 --- a/doc/conf/modules.default.conf +++ b/doc/conf/modules.default.conf @@ -1,4 +1,4 @@ -/* [6.2.4-rc1] +/* [6.2.4] * This file will load (nearly) all modules available on UnrealIRCd. * So all commands, channel modes, user modes, etc.. * diff --git a/extras/doxygen/Doxyfile b/extras/doxygen/Doxyfile index b4b1ae1e4..37d0d8352 100644 --- a/extras/doxygen/Doxyfile +++ b/extras/doxygen/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "UnrealIRCd" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 6.2.4-rc1 +PROJECT_NUMBER = 6.2.4 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/include/windows/setup.h b/include/windows/setup.h index 7c105fffd..7dcf46a76 100644 --- a/include/windows/setup.h +++ b/include/windows/setup.h @@ -76,6 +76,6 @@ /* Version suffix such as a beta marker or release candidate marker. (e.g.: -rcX for unrealircd-3.2.9-rcX) */ -#define UNREAL_VERSION_SUFFIX "-rc1" +#define UNREAL_VERSION_SUFFIX "" #endif diff --git a/src/version.c.SH b/src/version.c.SH index c3f8e2d10..3c4e058ba 100644 --- a/src/version.c.SH +++ b/src/version.c.SH @@ -7,7 +7,7 @@ echo "Extracting src/version.c..." if [ -d ../.git ]; then SUFFIX="-$(git rev-parse --short HEAD)" fi -id="6.2.4-rc1$SUFFIX" +id="6.2.4$SUFFIX" echo "$id" if test -r version.c diff --git a/src/windows/unrealinst.iss b/src/windows/unrealinst.iss index d9958272e..b89e225e8 100755 --- a/src/windows/unrealinst.iss +++ b/src/windows/unrealinst.iss @@ -6,7 +6,7 @@ [Setup] AppName=UnrealIRCd 6 -AppVerName=UnrealIRCd 6.2.4-rc1 +AppVerName=UnrealIRCd 6.2.4 AppPublisher=UnrealIRCd Team AppPublisherURL=https://www.unrealircd.org AppSupportURL=https://www.unrealircd.org