Index | Thread | Search

From:
Markus Uhlin <markus.uhlin@icloud.com>
Subject:
UPDATE: net/swirc v3.5.6
To:
ports@openbsd.org
Date:
Sat, 11 Oct 2025 23:33:37 +0200

Download raw body.

Thread
Hi ports@,

Today I released net/swirc 3.5.6  --  with the following changes:

## [3.5.6] - 2025-10-11 ##
- **Added** command `/nsid` (NickServ identify).
- **Added** command `/utctime`.
- **Added** command-line option `-h`. (Sets the bind host)
- **Added** small tab completion improvements.
- During file creation, took care to give it the most restrictive
   permissions possible. Multiple occurrences.
- **Fixed** segmentation fault on OpenBSD 7.8 and greater due to a type
   change of the global variable `malloc_options` which is now an
   immutable char pointer. Better to not set it at all, not even at
   file scope. It had been good if the declaration of `malloc_options`
   had been provided within a system header, the segmentation fault had
   instead resulted in a compilation error.
- **Improved** the thread safety. Fixed potential data races found by TSan.

### Windows ###
- **Upgraded** to [LibreSSL](https://www.libressl.org/) 4.1.1

I attach a diff.

Best regards
Markus
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/swirc/Makefile,v
diff -u -p -r1.40 Makefile
--- Makefile	3 Oct 2025 19:23:56 -0000	1.40
+++ Makefile	11 Oct 2025 21:25:50 -0000
@@ -1,6 +1,5 @@
 COMMENT =	curses icb and irc client
-DISTNAME =	swirc-3.5.5
-REVISION =	0
+DISTNAME =	swirc-3.5.6
 CATEGORIES =	net
 HOMEPAGE =	https://www.nifty-networks.net/swirc/
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/swirc/distinfo,v
diff -u -p -r1.34 distinfo
--- distinfo	19 May 2025 16:47:17 -0000	1.34
+++ distinfo	11 Oct 2025 21:25:50 -0000
@@ -1,2 +1,2 @@
-SHA256 (swirc-3.5.5.tgz) = wf72HMcqZDBUVoLzTD9RGRtXzIzcZLtyYHhfyTZ8ouA=
-SIZE (swirc-3.5.5.tgz) = 415918
+SHA256 (swirc-3.5.6.tgz) = J7l4+4joB+TIWBt/imXR2lfAyY6sPz6TsXgH3rBtiNg=
+SIZE (swirc-3.5.6.tgz) = 421550
Index: patches/patch-src_main_cpp
===================================================================
RCS file: patches/patch-src_main_cpp
diff -N patches/patch-src_main_cpp
--- patches/patch-src_main_cpp	3 Oct 2025 19:23:56 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-Fixes segmentation fault on OpenBSD 7.8 and greater.
-The type for 'malloc_options' has changed to an immutable char pointer.
-Better to not set it at all.
-
-Index: src/main.cpp
---- src/main.cpp.orig
-+++ src/main.cpp
-@@ -659,7 +659,7 @@ main(int argc, char *argv[])
- {
- 	char *cp;
- 
--#if __OpenBSD__
-+#if defined(OpenBSD) && OpenBSD <= 202504
- 	extern char *malloc_options;
- 
- 	malloc_options = const_cast<char *>("S");