Sun Apr 24 13:46:58 2022 UTC ()
unrealircd6: update to 6.0.3

UnrealIRCd 6.0.3
=================

A number of serious issues were discovered in UnrealIRCd 6. Among these is
an issue which will likely crash the IRCd sooner or later if you /REHASH
with any active clients connected.
We suggest everyone who is running UnrealIRCd 6 to upgrade to 6.0.3.

If you are already running UnrealIRCd 6 then read below. Otherwise, jump
straight to the [summary about UnrealIRCd 6](#Summary) to learn more
about UnrealIRCd 6.

Fixes:
* Crash in `WATCH` if the IRCd has been rehashed at least once. After doing
  a `REHASH` with active clients it will likely corrupt memory. It may take
  several days until after the rehash for the crash to occur, or even
  weeks/months on smaller networks (accidental triggering, that is).
* A `REHASH` with certain remote includes setups could cause a crash or
  other weird and confusing problems such as complaining about unable
  to open an ipv6-database or missing snomask configuration.
  This only affected some people with remote includes, not all.
* Potential out-of-bounds write in sending code. In practice it seems
  harmless on most servers but this cannot be 100% guaranteed.
* Unlikely triggered log message would log uninitialized stack data to the
  log file or send it to ircops.
* Channel ops could not remove halfops from a user (`-h`).
* After using the `RESTART` command (not recommended) the new IRCd was
  often no longer writing to log files.
* Fix compile problem if you choose to use cURL remote includes but don't
  have cURL on the system and ask UnrealIRCd to compile cURL.

Enhancements:
* The default text log format on disk changed. It now includes the server
  name where the event was generated. Without this, it was sometimes
  difficult to trace problems, since previously it sometimes looked like
  there was a problem on your server when it was actually another server
  on the network.
  * Old log format: `[DATE TIME] subsystem.EVENT_ID loglevel: ........`
  * New log format: `[DATE TIME] servername subsystem.EVENT_ID loglevel: ........`

Changes:
* Any MOTD lines added by services via
  [`SVSMOTD`](https://www.unrealircd.org/docs/MOTD_and_Rules#SVSMOTD)
  are now shown at the end of the MOTD-on-connect (unless using a shortmotd).
  Previously the lines were only shown if you manually ran the `MOTD` command.

Developers and protocol:
* `LIST C<xx` now means: filter on channels that are created less
  than `xx` minutes ago. This is the opposite of what we had earlier.
  `LIST T<xx` is now supported as well (topic changed in last xx minutes),
  it was already advertised in ELIST but support was not enabled previously.


(nia)
diff -r1.1 -r1.2 pkgsrc/chat/unrealircd6/Makefile
diff -r1.1 -r1.2 pkgsrc/chat/unrealircd6/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/chat/unrealircd6/Makefile (expand / switch to unified diff)

--- pkgsrc/chat/unrealircd6/Makefile 2022/03/04 08:44:33 1.1
+++ pkgsrc/chat/unrealircd6/Makefile 2022/04/24 13:46:58 1.2
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.1 2022/03/04 08:44:33 nia Exp $ 1# $NetBSD: Makefile,v 1.2 2022/04/24 13:46:58 nia Exp $
2 2
3DISTNAME= unrealircd-6.0.2 3DISTNAME= unrealircd-6.0.3
4CATEGORIES= chat 4CATEGORIES= chat
5MASTER_SITES= https://www.unrealircd.org/downloads/ 5MASTER_SITES= https://www.unrealircd.org/downloads/
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8HOMEPAGE= https://www.unrealircd.org/ 8HOMEPAGE= https://www.unrealircd.org/
9COMMENT= Advanced IRC server with IPv6 and SSL support 9COMMENT= Advanced IRC server with IPv6 and SSL support
10LICENSE= gnu-gpl-v2 10LICENSE= gnu-gpl-v2
11 11
12CONFLICTS+= ircu-[0-9]* 12CONFLICTS+= ircu-[0-9]*
13 13
14GNU_CONFIGURE= YES 14GNU_CONFIGURE= YES
15USE_TOOLS+= gmake gunzip pkg-config 15USE_TOOLS+= gmake gunzip pkg-config
16 16

cvs diff -r1.1 -r1.2 pkgsrc/chat/unrealircd6/distinfo (expand / switch to unified diff)

--- pkgsrc/chat/unrealircd6/distinfo 2022/03/04 08:44:33 1.1
+++ pkgsrc/chat/unrealircd6/distinfo 2022/04/24 13:46:58 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2022/03/04 08:44:33 nia Exp $ 1$NetBSD: distinfo,v 1.2 2022/04/24 13:46:58 nia Exp $
2 2
3BLAKE2s (unrealircd-6.0.2.tar.gz) = b6e3e6538fcb541ebeca4e36febf74e2a7e3167768f68cb72e2022fb2d071f53 3BLAKE2s (unrealircd-6.0.3.tar.gz) = 2f5fa9a2dfef120080317c94d354f52d0e6eb1c12ce5a7a508a8ffe934c95820
4SHA512 (unrealircd-6.0.2.tar.gz) = 041f97ad82d89222ad49bdc7db83869fc5133a049dd5354c34759c33c16307b9d60c25d3ef4e19a549059e3a0030699d061bd03fa8118428ded1f1e79d483398 4SHA512 (unrealircd-6.0.3.tar.gz) = be3b823eee42e5ecf7ffbdcac0d56cf4ff4cde8aa082affa8c2f78518a3c54a2d8bb3956cf2b95060958d7c3382ca8da00e6f7b816670cf3ba48e3b8588adba3
5Size (unrealircd-6.0.2.tar.gz) = 8672255 bytes 5Size (unrealircd-6.0.3.tar.gz) = 8673998 bytes
6SHA1 (patch-include_h.h) = 3fa85b08f1d9e317a45cb8f54a61e0560617e72d 6SHA1 (patch-include_h.h) = 3fa85b08f1d9e317a45cb8f54a61e0560617e72d