Download raw body.
UPDATE: net/swirc 3.4.7
Hi ports@,
Tonight I released Swirc 3.4.7 with the following changes:
## [3.4.7] - 2024-03-12 ##
- **Added** command `/dcc`
- **Added** event `BATCH` (IRCv3). The following types were added:
- `chathistory`
- `netjoin`
- `netsplit`
- `znc.in/playback`
- **Added** tab completion for:
- `/mode`
- **Added** the following config options:
- `batch` (bool)
- `dcc` (bool)
- `dcc_cipher_suite` (string)
- `dcc_own_ip` (string)
- `dcc_port` (int)
- `dcc_upload_dir` (string)
- `multi_prefix` (bool)
- Did code optimizations:
- Measure string length once, found by
[PVS-Studio](https://pvs-studio.com/en/pvs-studio/).
- ...
- Enabled `iconv_conversion` by default.
- **Fixed** an off-by-one error in the IRC module. The previous program
versions weren't really affected however.
- **Fixed** building on any setup where Ncurses is built with opaque
types.
- **Fixed** new [Coverity](https://scan.coverity.com/) defects
- **Fixed** the precision of the error log size in KB.
- Improved C++ exception handling. Among other things, handle if 'new'
throws.
- Renamed option `ircv3_server_time` to `server_time` and enabled it
by default.
I attach a diff.
Yours faithfully,
Markus.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/swirc/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile 27 Sep 2023 14:18:34 -0000 1.29
+++ Makefile 12 Mar 2024 20:05:22 -0000
@@ -1,9 +1,9 @@
COMMENT = curses icb and irc client
-DISTNAME = swirc-3.4.5
+DISTNAME = swirc-3.4.7
CATEGORIES = net
HOMEPAGE = https://www.nifty-networks.net/swirc/
-MAINTAINER = Markus Uhlin <markus.uhlin@bredband.net>
+MAINTAINER = Markus Uhlin <markus@nifty-networks.net>
# BSD-3, ISC and MIT.
PERMIT_PACKAGE = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/swirc/distinfo,v
retrieving revision 1.25
diff -u -p -r1.25 distinfo
--- distinfo 15 Sep 2023 07:00:13 -0000 1.25
+++ distinfo 12 Mar 2024 20:05:22 -0000
@@ -1,2 +1,2 @@
-SHA256 (swirc-3.4.5.tgz) = olNz44AUDVGQd60VYz+577hJO/FXVUTWw6EWTL8AtI4=
-SIZE (swirc-3.4.5.tgz) = 336832
+SHA256 (swirc-3.4.7.tgz) = k0Hwd68ddOFhqFN5H6nbFyq1JY6bAx/5CRxFP5SKrpg=
+SIZE (swirc-3.4.7.tgz) = 353641
Index: patches/patch-posixshell_os_BSD_sh
===================================================================
RCS file: /cvs/ports/net/swirc/patches/patch-posixshell_os_BSD_sh,v
retrieving revision 1.1
diff -u -p -r1.1 patch-posixshell_os_BSD_sh
--- patches/patch-posixshell_os_BSD_sh 30 Jul 2022 11:14:47 -0000 1.1
+++ patches/patch-posixshell_os_BSD_sh 12 Mar 2024 20:05:22 -0000
@@ -3,20 +3,16 @@ propagate cflags and neuter hardcoded op
Index: posixshell/os_BSD.sh
--- posixshell/os_BSD.sh.orig
+++ posixshell/os_BSD.sh
-@@ -9,13 +9,11 @@ SHARED_FLAGS=-DBSD=1\\
- -DUNIX=1\\
- -D_XOPEN_SOURCE_EXTENDED=1\\
- -I/usr/local/include\\
-- -O2\\
-- -Wall\\
-- -pipe
-+ -Wall
- CC=cc
--CFLAGS=\$(SHARED_FLAGS) -std=c17
-+CFLAGS=\$(SHARED_FLAGS) -std=c17 ${CFLAGS}
- CXX=c++
--CXXFLAGS=\$(SHARED_FLAGS) -std=c++17
-+CXXFLAGS=\$(SHARED_FLAGS) -std=c++17 ${CXXFLAGS}
- LDFLAGS=-L/usr/local/lib
- LDLIBS=-lcrypto\\
- -lcurl\\
+@@ -5,10 +5,10 @@
+ os_BSD () {
+ cat <<EOF >>"${MAKE_DEF_FILE}"
+ CC = cc
+-CFLAGS = -O2 -Wall -pipe -std=c17
++CFLAGS = -Wall -std=c17 ${CFLAGS}
+
+ CXX = c++
+-CXXFLAGS = -O2 -Wall -pipe -std=c++17
++CXXFLAGS = -Wall -std=c++17 ${CXXFLAGS}
+
+ # C preprocessor flags
+ CPPFLAGS = -DBSD=1\\
UPDATE: net/swirc 3.4.7