UPDATE: net/swirc: 3.4.9 -> 3.5.0
Hi ports@, Tonight I released net/swirc 3.5.0, with the following changes: ## [3.5.0] - 2024-09-30 ## - **Added** command `/wholeft` (alias `/wl`.) - **Added** option `notifications` (bool). Turns notifications on/off. - **Added** new translations. - **Added** support for netjoin/netsplit. Few IRC server software support the batches which were added in 3.4.7. This release comes with its own implementation. - **Improved** `xwcwidth()`. I.e. added more full width character ranges, and switched to a better search algorithm. I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v diff -u -p -r1.34 Makefile --- Makefile 7 Aug 2024 17:04:26 - 1.34 +++ Makefile 30 Sep 2024 19:42:27 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.9 +DISTNAME = swirc-3.5.0 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v diff -u -p -r1.29 distinfo --- distinfo 7 Aug 2024 17:04:26 - 1.29 +++ distinfo 30 Sep 2024 19:42:27 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.9.tgz) = EAnIECAc14Rrbjea8mQj8ai7objRcRNQmG694M0Pgfo= -SIZE (swirc-3.4.9.tgz) = 361774 +SHA256 (swirc-3.5.0.tgz) = ctcYyOtlE0LYXKAUT8GbYClg1mRQ1I7oVfAZ9mRXHfs= +SIZE (swirc-3.5.0.tgz) = 376776
UPDATE: net/swirc: 3.4.8 -> 3.4.9
Hello ports@, I have released a new version (3.4.9) of net/swirc with the following changes: ## [3.4.9] - 2024-07-28 ## - **Added** event 468 (`ERR_INVALIDUSERNAME`) - **Added** usage of `nullptr`. - **Changed** the program to not start reconnecting on event 433 (`ERR_NICKNAMEINUSE`) if a connection is in progress. - **Fixed** [CWE-190](https://cwe.mitre.org/data/definitions/190.html) bugs found by Coverity. - **Fixed** a few potential data races found by TSan. - **Fixed** a null pointer dereference. - **Improved** the thread safety. I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v diff -u -p -r1.33 Makefile --- Makefile 4 Jun 2024 17:50:52 - 1.33 +++ Makefile 28 Jul 2024 22:11:40 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.8 +DISTNAME = swirc-3.4.9 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v diff -u -p -r1.28 distinfo --- distinfo 4 Jun 2024 17:50:52 - 1.28 +++ distinfo 28 Jul 2024 22:11:40 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.8.tgz) = DtCTd6ls4S454JwjTSdsLqDWugj2xcOJ3yS3W0Q6Qos= -SIZE (swirc-3.4.8.tgz) = 359443 +SHA256 (swirc-3.4.9.tgz) = EAnIECAc14Rrbjea8mQj8ai7objRcRNQmG694M0Pgfo= +SIZE (swirc-3.4.9.tgz) = 361774 Index: pkg/DESCR === RCS file: /cvs/ports/net/swirc/pkg/DESCR,v diff -u -p -r1.1.1.1 DESCR --- pkg/DESCR 11 Nov 2019 19:25:12 - 1.1.1.1 +++ pkg/DESCR 28 Jul 2024 22:11:40 - @@ -7,4 +7,9 @@ Features: - TLS/SSL - Multiple IRCv3 features such as SASL auth mechanism - Themes + - DCC + - Identd + - Nicklist + - SOCKS 5 proxy + - Spell checking - And more...
update: net/swirc 3.4.8
Hello ports@, Today I released net/swirc 3.4.8 with the following changes: ## [3.4.8] - 2024-06-04 ## - **Added** the following commands: - `/voice` - `/devoice` - **Added** tab completion for: - `/deop` - `/kick` - `/kickban` - `/op` - **Added** translations. - **Changed** the program to: - Output the number of messages in a batch. - Output the number of nicks in a netjoin/netsplit plus the server hostnames. - **Did code improvements**: - Explicitly specified the size of multiple arrays (MISRA rule, found by PVS-Studio). - Fixed octal constants (MISRA rule, found by PVS-Studio). - Fixed redundant checks and expressions. - Harnessed the power of templates and defined `ARRAY_SIZE()` differently for C++. - Marked variables with `const` and `immutable_cp_t` respectively. - Reduced the scope of variables. - Variable initializations. - ... - **Fixed** the begin/end messages of a batch to not end up in the status window. - **List** all commands dynamically in the output of `/help`, i.e. calculate the cols/rows with respect to the current window size. ### Windows ### - **Fixed** a case of truncation from `int` to `wchar_t`. - **Upgraded to**: - [Curl](https://curl.se/) 8.8.0 - [LibreSSL](https://www.libressl.org/) 3.9.2 --- I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v diff -u -p -r1.32 Makefile --- Makefile 20 Mar 2024 18:40:03 - 1.32 +++ Makefile 4 Jun 2024 04:52:42 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.7 +DISTNAME = swirc-3.4.8 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v diff -u -p -r1.27 distinfo --- distinfo 20 Mar 2024 18:40:03 - 1.27 +++ distinfo 4 Jun 2024 04:52:42 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.7.tgz) = k0Hwd68ddOFhqFN5H6nbFyq1JY6bAx/5CRxFP5SKrpg= -SIZE (swirc-3.4.7.tgz) = 353641 +SHA256 (swirc-3.4.8.tgz) = DtCTd6ls4S454JwjTSdsLqDWugj2xcOJ3yS3W0Q6Qos= +SIZE (swirc-3.4.8.tgz) = 359443
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 - 1.29 +++ Makefile 12 Mar 2024 20:05:22 - @@ -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 +MAINTAINER = Markus Uhlin # 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 - 1.25 +++ distinfo 12 Mar 2024 20:05:22 - @@ -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 - 1.1 +++ patches/patch-posixshell_os_BSD_sh 12 Mar 2024 20:05:22 - @@ -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 <>"${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.6
Hi ports@, Today I released net/swirc 3.4.6 with the following changes: ## [3.4.6] - 2023-11-05 ## - **Added** adoption of SPDX-tags for the distributed manual pages - **Added** better detection of server Wallops - **Added** command-line option `-S` (Force TLS) - **Added** event 249 (`RPL_STATSDEBUG`) - **Added** extensive use of the `CPPFLAGS` make macro - **Added** handling of empty user@host combinations in Wallops messages - **Added** handling of znc messages. (Made them look like notices and appear in the active window.) - **Added** protection for bad filenames for IRC logs - **Added** translations - **Changed** the way of recognizing a user mode versus channel mode - **Did** code improvements - **Fixed** occurrences of hardcoded function names in messages - **Fixed** typos in manual pages - **Improved** C++ exception handling - **Limited** notification messages in length ### Windows ### - **Upgraded to**... - [Curl](https://curl.se/) 8.4.0 - [LibreSSL](https://www.libressl.org/) 3.8.2 A patched file, namely 'posixshell/os_BSD.sh', has changed and the patch is therefore no longer valid so I had to delete it. I attach a diff. Best regards Markus Uhlin 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 - 1.29 +++ Makefile 5 Nov 2023 19:40:19 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.5 +DISTNAME = swirc-3.4.6 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ 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 - 1.25 +++ distinfo 5 Nov 2023 19:40:19 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.5.tgz) = olNz44AUDVGQd60VYz+577hJO/FXVUTWw6EWTL8AtI4= -SIZE (swirc-3.4.5.tgz) = 336832 +SHA256 (swirc-3.4.6.tgz) = s0sv7XJ+tOvX9/3RNOJGbXBmXj/Dl7FIi9ssD0ddqYI= +SIZE (swirc-3.4.6.tgz) = 338724 Index: patches/patch-posixshell_os_BSD_sh === RCS file: patches/patch-posixshell_os_BSD_sh diff -N patches/patch-posixshell_os_BSD_sh --- patches/patch-posixshell_os_BSD_sh 30 Jul 2022 11:14:47 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,22 +0,0 @@ -propagate cflags and neuter hardcoded optimizations - -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\\
UPDATE: net/swirc 3.4.5
Hi ports@, Today I released net/swirc 3.4.5 with the following changes: ## [3.4.5] - 2023-09-14 ## - **Added** command-line option `-W` - **Added** tab completion for: - `/cs`, `/chanserv` - `/ns`, `/nickserv` - `/squery` - **Added** the following commands: - `/admin` - `/die` - `/gline` - `/info` - `/ison` - `/kline` - `/rehash` - `/restart` - `/servstats` - `/wallops` - **Added** the following events: - 211 (`RPL_STATSLINKINFO`) - 212 (`RPL_STATSCOMMANDS`) - 216 (`RPL_STATSKLINE`) - 219 (`RPL_ENDOFSTATS`) - 242 (`RPL_STATSUPTIME`) - 256 (`RPL_ADMINME`) - 257 (`RPL_ADMINLOC1`) - 258 (`RPL_ADMINLOC2`) - 259 (`RPL_ADMINEMAIL`) - 303 (`RPL_ISON`) - 371 (`RPL_INFO`) - 374 (`RPL_ENDOFINFO`) - **Added** translations - **Did** code improvements ### Windows ### - **Fixed** a bug which caused the program to exit silently without any message. This when turning logging on for a window. The solution was to replace `fprintf()` with `fprintf_s()`. --- I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- Makefile 13 Mar 2023 14:40:26 - 1.26 +++ Makefile 14 Sep 2023 20:22:51 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.3 +DISTNAME = swirc-3.4.5 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.23 diff -u -p -r1.23 distinfo --- distinfo 13 Mar 2023 14:40:26 - 1.23 +++ distinfo 14 Sep 2023 20:22:51 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.3.tgz) = AIyvJO7e7qrYXA9I7nQXhUXBRn61WqxbkC/aONeBecI= -SIZE (swirc-3.4.3.tgz) = 320478 +SHA256 (swirc-3.4.5.tgz) = olNz44AUDVGQd60VYz+577hJO/FXVUTWw6EWTL8AtI4= +SIZE (swirc-3.4.5.tgz) = 336832 Index: pkg/PLIST === RCS file: /cvs/ports/net/swirc/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 11 Mar 2022 19:47:37 - 1.3 +++ pkg/PLIST 14 Sep 2023 20:22:51 - @@ -1,6 +1,7 @@ @bin bin/swirc @man man/man1/swirc.1 @man man/man5/swirc.conf.5 +@man man/man5/swirc.theme.5 share/locale/de/LC_MESSAGES/swirc.mo share/locale/fi/LC_MESSAGES/swirc.mo share/locale/fr/LC_MESSAGES/swirc.mo
maintainer update: net/swirc 3.4.4
Hi ports@, Today I released net/swirc 3.4.4 with the following changes: ## [3.4.4] - 2023-07-29 ## - **Added** a man page that describes how to write themes. - **Added** and made use of a pointer validation function. - **Added** improved unicode support in the **printtext** and **readline** modules. - **Added** usage of a binary search algorithm. - **Added** validation of nicknames before they go into the names hash table. - **Allowed** the names htbl modify API to alter names even if the list is incomplete. (But only in ICB mode.) - **Changed** the file suffix for theme files from `.the` to `.thm`. (`.the` looks too much like the English word "the".) - **Closed** an open stream before exit - **Defined** noreturn for C++ in `fallbackattrs.h` - **Fixed** hardcoded function names in error messages - **Fixed** unchecked return values - And more... I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- Makefile 13 Mar 2023 14:40:26 - 1.26 +++ Makefile 29 Jul 2023 14:24:50 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.3 +DISTNAME = swirc-3.4.4 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.23 diff -u -p -r1.23 distinfo --- distinfo 13 Mar 2023 14:40:26 - 1.23 +++ distinfo 29 Jul 2023 14:24:50 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.3.tgz) = AIyvJO7e7qrYXA9I7nQXhUXBRn61WqxbkC/aONeBecI= -SIZE (swirc-3.4.3.tgz) = 320478 +SHA256 (swirc-3.4.4.tgz) = gxH/N3HvDik0WYEO1qUlEdqm4vvKBbn0e/xtrhLlPUI= +SIZE (swirc-3.4.4.tgz) = 326731 Index: pkg/PLIST === RCS file: /cvs/ports/net/swirc/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- pkg/PLIST 11 Mar 2022 19:47:37 - 1.3 +++ pkg/PLIST 29 Jul 2023 14:24:50 - @@ -1,6 +1,7 @@ @bin bin/swirc @man man/man1/swirc.1 @man man/man5/swirc.conf.5 +@man man/man5/swirc.theme.5 share/locale/de/LC_MESSAGES/swirc.mo share/locale/fi/LC_MESSAGES/swirc.mo share/locale/fr/LC_MESSAGES/swirc.mo
maintainer update: net/swirc 3.4.2 -> 3.4.3
Hi ports@, Today I released net/swirc 3.4.3 which comes with code improvements and new translations. No new bugs were fixed/found. >From the changelog: ## [3.4.3] - 2023-03-10 ## - **Added** code improvements: - **Added** constructors/destructors - **Added** improved algorithms - **Added** usage of initializer lists - **Added** usage of new/delete - **Deleted** unused includes - ... - **Added** event `320` (the same as `275` and `671`, whois ssl) - **Added** MULTIPLE new translations I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- Makefile22 Feb 2023 22:05:00 - 1.25 +++ Makefile10 Mar 2023 17:14:34 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.2 +DISTNAME = swirc-3.4.3 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.22 diff -u -p -r1.22 distinfo --- distinfo22 Feb 2023 22:05:00 - 1.22 +++ distinfo10 Mar 2023 17:14:34 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.2.tgz) = zf5NfVh5tAeR91n+lKldxrMQxUocaFeQ/I0kR7ov3Jc= -SIZE (swirc-3.4.2.tgz) = 302886 +SHA256 (swirc-3.4.3.tgz) = AIyvJO7e7qrYXA9I7nQXhUXBRn61WqxbkC/aONeBecI= +SIZE (swirc-3.4.3.tgz) = 320478
update: net/swirc 3.4.1 -> 3.4.2 (bug fix)
Hi ports@, Swirc 3.4.2 out. A small bug fix release. I think only Windows was affected but I post it anyway. >From the changelog: ## [3.4.2] - 2023-02-22 ## - **Added** usage of typedefs (`STRING`, `CSTRING`, `errno_t`, ...) - **Fixed** printtext() bugs due to not checking if the wide character passed to `wcrtomb_s()` or `wcrtomb()` is a null character. I attach a diff. Kind regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- Makefile19 Feb 2023 12:04:54 - 1.24 +++ Makefile22 Feb 2023 19:00:16 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.1 +DISTNAME = swirc-3.4.2 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.21 diff -u -p -r1.21 distinfo --- distinfo19 Feb 2023 12:04:54 - 1.21 +++ distinfo22 Feb 2023 19:00:16 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.1.tgz) = 2nbhy8sGu6su+K7VwFqqYKmvwRrhoaYzkGzD8B52w74= -SIZE (swirc-3.4.1.tgz) = 302612 +SHA256 (swirc-3.4.2.tgz) = zf5NfVh5tAeR91n+lKldxrMQxUocaFeQ/I0kR7ov3Jc= +SIZE (swirc-3.4.2.tgz) = 302886
update: net/swirc 3.4.1
Hello ports@, Swirc 3.4.1 out with a few but good changes. (I also had to make a small release in order to fix Windows stuff.) Here are the changes: ## [3.4.1] - 2023-02-18 ## - **Changed** the requirements for checking if a connection is lost. (The change avoids flooding the server with PING commands better.) - **Improved** algorithms. - **Optimized** commonly used functions for speed. - **Replaced** C-style casts in C++. ### Windows ### - **Fixed** missing DLLs. Unfortunately some DLLs were missing after adding the dependency on Hunspell. Since I am running a dev environment I had them my PATH and therefore didn't notice it. I attach a diff. Kind regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- Makefile10 Feb 2023 16:46:55 - 1.23 +++ Makefile18 Feb 2023 20:39:07 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.4.0 +DISTNAME = swirc-3.4.1 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.20 diff -u -p -r1.20 distinfo --- distinfo10 Feb 2023 16:46:55 - 1.20 +++ distinfo18 Feb 2023 20:39:07 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.4.0.tgz) = MUInPbJWip3YEqv4cRLtsB/crGtO5+Yeu1/Jb2CpWhg= -SIZE (swirc-3.4.0.tgz) = 302309 +SHA256 (swirc-3.4.1.tgz) = 2nbhy8sGu6su+K7VwFqqYKmvwRrhoaYzkGzD8B52w74= +SIZE (swirc-3.4.1.tgz) = 302612
update: net/swirc 3.4.0
Hello ports@, Today I released Swirc 3.4.0. It comes with spell-checking support so I added a dep on Hunspell. Here are the changes: ## [3.4.0] - 2023-02-10 ## - **Added** a SOCKS proxy client - **Added** command `/fetchdic` - **Added** destruction of null bytes on receive where appropriate - **Added** spelling support with Hunspell - **Added** the following config options: - `socks` (bool) - `socks_atyp` (int) - `socks_host` (string) - `socks_port` (string) - `spell` (bool) - `spell_lang` (string) - `spell_syswide` (bool) - **Added** usage of `emplace_back()` - **Fixed** possible crashes ### Windows ### - **Fixed** launch by toast. (COM appends the `-Embedding` flag to the args passed, which caused troubles.) - It is no longer necessary to enable the option "Use Unicode UTF-8 for worldwide language support", because this is now done in the exe-manifest, only for Swirc. - **Upgraded to**... - [Curl](https://curl.se/) 7.87.0 - [LibreSSL](https://www.libressl.org/) 3.6.2 I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- Makefile8 Jan 2023 13:25:05 - 1.22 +++ Makefile10 Feb 2023 07:05:57 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.9 +DISTNAME = swirc-3.4.0 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ @@ -9,8 +9,8 @@ MAINTAINER = Markus Uhlin https://www.nifty-networks.net/swirc/releases/ EXTRACT_SUFX = .tgz @@ -21,7 +21,8 @@ COMPILER =base-clang ports-gcc BUILD_DEPENDS =devel/gettext,-tools LIB_DEPENDS = devel/gettext,-runtime \ devel/libidn \ - net/curl + net/curl \ + textproc/hunspell CFLAGS += -I${LOCALBASE}/include LDFLAGS += -L${LOCALBASE}/lib Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.19 diff -u -p -r1.19 distinfo --- distinfo8 Jan 2023 13:25:05 - 1.19 +++ distinfo10 Feb 2023 07:05:57 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.9.tgz) = Qybc9SHSoMo8Ve0on+oMDRooncwVjID0ruIH/yCFqzc= -SIZE (swirc-3.3.9.tgz) = 289359 +SHA256 (swirc-3.4.0.tgz) = MUInPbJWip3YEqv4cRLtsB/crGtO5+Yeu1/Jb2CpWhg= +SIZE (swirc-3.4.0.tgz) = 302309
update: net/swirc (3.3.9)
Hi ports@, Swirc 3.3.9 out! Here are the changes: ## [3.3.9] - 2023-01-07 ## - **Added** micro optimizations - **Added** rules for nickname highlighting - **Added** SASL auth mechanism: **external** - **Added** support for the **GNU Hurd OS** - **Added** tab completion for: - `/connect` - `/time` - `/version` - **Added** the following commands: - `/qbot` - `/stats` - **Added** the following config options: - `cmd_type_prot` (bool) - `ctcp_reply` (bool) - `qbot_host` (string) - `sasl_x509` (string) - **Improved** tab completion for: - `/msg` - `/notice` - `/whois` ### Linux ### - **Fixed** building on riscv64. Contributed by [Eric Long](https://github.com/hack3ric) - thanks! I attach a diff. Best regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.21 diff -u -p -r1.21 Makefile --- Makefile28 Nov 2022 18:04:57 - 1.21 +++ Makefile7 Jan 2023 06:13:33 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.8 +DISTNAME = swirc-3.3.9 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.18 diff -u -p -r1.18 distinfo --- distinfo28 Nov 2022 18:04:57 - 1.18 +++ distinfo7 Jan 2023 06:13:33 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.8.tgz) = RMf1x6/NTpgDx7Du39g1oXmGDFQveVeCRA1TLTtSN8M= -SIZE (swirc-3.3.8.tgz) = 285144 +SHA256 (swirc-3.3.9.tgz) = Qybc9SHSoMo8Ve0on+oMDRooncwVjID0ruIH/yCFqzc= +SIZE (swirc-3.3.9.tgz) = 289359
update: net/swirc 3.3.8
Hi ports@, Today (Nov 27) I released version 3.3.8. Here are the changes: ## [3.3.8] - 2022-11-27 ## - **Added** an ident protocol daemon (which is OFF by default) - **Added** and made use of `printf_and_free()` - **Added** exception handling - **Added** tab completion for `/theme` - **Added** the following config options: - `awaymsgs_in_privconv` (bool) - `identd` (bool) - `identd_fakenames` (bool) - `identd_port` (int) - **Added** the following events: - 413 (`ERR_NOTOPLEVEL`) - 414 (`ERR_WILDTOPLEVEL`) - 415 (`ERR_BADMASK`) - **Added** usage of `__func__` - **Added** usage of `printtext_print()` - **Deleted** commented-out code - **Deleted** unused includes - **Did code refactoring** - **Fixed** display of IPv6 addresses in event 338 - **Fixed** verification of the X509 certificate presented by the peer - **Made** const arrays static const - **Made** improvements to the following files: - `commands/theme.c` - `network.cpp` - `printtext.cpp` - **Moved** `squeeze_text_deco()` to a separate file - Reduced VA args in printtext calls ### Windows ### - Upgraded to [LibreSSL](https://www.libressl.org/) 3.6.1 I attach a diff. Best regards, Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile29 Oct 2022 19:14:57 - 1.20 +++ Makefile27 Nov 2022 20:02:54 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.7 +DISTNAME = swirc-3.3.8 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.17 diff -u -p -r1.17 distinfo --- distinfo29 Oct 2022 19:14:57 - 1.17 +++ distinfo27 Nov 2022 20:02:54 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.7.tgz) = yfz77Efiquv1pdcUpB6qjwOwY9FyphW0ZdX1QwIMqbA= -SIZE (swirc-3.3.7.tgz) = 284155 +SHA256 (swirc-3.3.8.tgz) = RMf1x6/NTpgDx7Du39g1oXmGDFQveVeCRA1TLTtSN8M= +SIZE (swirc-3.3.8.tgz) = 285144
update: net/swirc 3.3.7
Hi ports@, I made a small release in order to fix certain stuff but I post it anyway... ## [3.3.7] - 2022-10-22 ## - **Added** code to the following scripts: - `posixshell/link_with_gnu_libidn.sh` - `posixshell/link_with_libnotify.sh` - **Added** preprogrammed IRC network [OFTC](https://www.oftc.net/) - **Added** usage of `swircpaths.h`, a header which is automatically generated during the build process. - **Fixed** a case of a possibly negative array subscript ### Windows ### - **Fixed** a bug that made Swirc fail to start with error `renamed executable`. This was due to that `_get_pgmptr()` signaled success but stored an empty string, which only occurred on some Windows setups. (Reported by [cpkio](https://github.com/cpkio) - thanks!) I attach a diff. Regards, Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- Makefile7 Oct 2022 19:06:18 - 1.19 +++ Makefile22 Oct 2022 23:53:30 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.6 +DISTNAME = swirc-3.3.7 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.16 diff -u -p -r1.16 distinfo --- distinfo7 Oct 2022 19:06:18 - 1.16 +++ distinfo22 Oct 2022 23:53:30 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.6.tgz) = 03sku17eRONKH8vf5wy9lLDyvsXMacdv9zVUtVRLBBg= -SIZE (swirc-3.3.6.tgz) = 300923 +SHA256 (swirc-3.3.7.tgz) = yfz77Efiquv1pdcUpB6qjwOwY9FyphW0ZdX1QwIMqbA= +SIZE (swirc-3.3.7.tgz) = 284155
update: net/swirc 3.3.5 -> 3.3.6
Hi ports@, Here comes an update for net/swirc. Changes: ## [3.3.6] - 2022-10-05 ## - **Added** cryptographic functions - **Added** subcommand `passwd_s` to `/sasl` which can be used to securely store encrypted SASL passwords in `swirc.conf`. The encryption technique practice the use of **AES** and **SHA**. - **Added** tab completion for - `/msg` - `/notice` - `/sasl` - **Changed** the program behavior to - jump between ICB and IRC mode depending on the port number - **not** create core dump files if `NDEBUG` is defined at compile time - **not** echo the server password on input (command line flag `-p`) - **Fixed** a bug so if a connection attempt fails it's possible to reconnect again after `/disconnect`. - **Fixed** code duplication - **Fixed** insufficient out of range check, off-by-one, in command `/unignore`. - Made small improvements - **Added** usage of C++17 fallthrough attr - **Added** usage of `PATH_MAX` - **Added** usage of `__func__` instead of hardcoding it (for example in error messages) - **Fixed** redundant checks - Reduced scope of variables - Switched to usage of 'sizeof' in `BZERO()` calls - ... - Prevented the config hash table from being paged to the swap area. - **Rewrote** `commands/sasl.c` in C++ - **Updated** preprogrammed IRC servers - **Added** port numbers and server descriptions - **Added** the [IRCNow](https://ircnow.org/) network - **Deleted** the [Blitzed](http://blitzed.org/) network I attach a diff. Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile30 Jul 2022 11:14:47 - 1.18 +++ Makefile5 Oct 2022 19:58:58 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.5 +DISTNAME = swirc-3.3.6 REVISION = 0 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.15 diff -u -p -r1.15 distinfo --- distinfo29 Jul 2022 16:44:06 - 1.15 +++ distinfo5 Oct 2022 19:58:58 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.5.tgz) = 5/dEYGRrTQj+jlKZk0J1bS11aXUcDVBkHkLTl4cNu/M= -SIZE (swirc-3.3.5.tgz) = 291300 +SHA256 (swirc-3.3.6.tgz) = 03sku17eRONKH8vf5wy9lLDyvsXMacdv9zVUtVRLBBg= +SIZE (swirc-3.3.6.tgz) = 300923
Re: net/swirc (3.3.5): 'WANTLIB' + 'CONFIGURE_ENV'
ok markus@ :-) On Sat, Jul 30, 2022 at 11:03:48AM +0200, Omar Polo wrote: > Markus Uhlin wrote: > > Hi ports@ > > > > Starting from version 3.3.5 libiconv can be used so I added 'iconv' to > > 'WANTLIB'. > > > > Further in order for the configure script to find/recognize support > > for libiconv and libintl setting 'CONFIGURE_ENV' seems to be > > necessary. > > > > I attach a diff. > > your diff works for me, the configure manages to correctly pick up > libiconv and use it. However, while testing this i've noticed that: > > 1. the build doesn't show the commands being executed and > 2. the build ignores our CFLAGS > > diff below builds on top of yours and fixes the these points too, ok? > > Index: Makefile > === > RCS file: /home/cvs/ports/net/swirc/Makefile,v > retrieving revision 1.17 > diff -u -p -r1.17 Makefile > --- Makefile 29 Jul 2022 16:44:06 - 1.17 > +++ Makefile 30 Jul 2022 08:55:51 - > @@ -9,16 +9,26 @@ MAINTAINER =Markus Uhlin PERMIT_PACKAGE = Yes > > # uses pledge() > -WANTLIB =${COMPILER_LIBCXX} c crypto curl curses idn intl m > panel pthread ssl > +WANTLIB =${COMPILER_LIBCXX} c crypto curl curses iconv idn intl \ > + m panel pthread ssl > > MASTER_SITES = https://www.nifty-networks.net/swirc/releases/ > EXTRACT_SUFX = .tgz > + > +# C++17 > COMPILER = base-clang ports-gcc > + > BUILD_DEPENDS = devel/gettext,-tools > LIB_DEPENDS =devel/gettext,-runtime \ > devel/libidn \ > net/curl > + > +CFLAGS +=-I${LOCALBASE}/include > +LDFLAGS += -L${LOCALBASE}/lib > + > CONFIGURE_STYLE =simple > +CONFIGURE_ENV += CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ > + LDFLAGS="${LDFLAGS}" > > TEST_DEPENDS = devel/cmocka > TEST_TARGET =check > @@ -27,5 +37,8 @@ MAKE_FLAGS =DEST_CONFMAN=${WRKINST}${P > DEST_MANUAL=${WRKINST}${PREFIX}/man/man1 \ > INSTALL_DEPS=swirc src/swirc.1 swirc.conf.5 \ > PREFIX="${PREFIX}" CC="${CC}" CXX="${CXX}" > + > +# show the commands being executed > +MAKE_FLAGS +=E=@true Q='' > > .include > Index: patches/patch-posixshell_os_BSD_sh > === > RCS file: patches/patch-posixshell_os_BSD_sh > diff -N patches/patch-posixshell_os_BSD_sh > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-posixshell_os_BSD_sh30 Jul 2022 08:57:35 - > @@ -0,0 +1,22 @@ > +propagate cflags and neuter hardcoded optimizations > + > +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\\ >
net/swirc (3.3.5): 'WANTLIB' + 'CONFIGURE_ENV'
Hi ports@ Starting from version 3.3.5 libiconv can be used so I added 'iconv' to 'WANTLIB'. Further in order for the configure script to find/recognize support for libiconv and libintl setting 'CONFIGURE_ENV' seems to be necessary. I attach a diff. Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile29 Jul 2022 16:44:06 - 1.17 +++ Makefile29 Jul 2022 22:04:11 - @@ -9,7 +9,8 @@ MAINTAINER =Markus Uhlin https://www.nifty-networks.net/swirc/releases/ EXTRACT_SUFX = .tgz @@ -18,6 +19,10 @@ BUILD_DEPENDS = devel/gettext,-tools LIB_DEPENDS = devel/gettext,-runtime \ devel/libidn \ net/curl + +CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include" \ + CXXFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_STYLE = simple TEST_DEPENDS = devel/cmocka
maintainer update: net/swirc: 3.3.3 -> 3.3.4
Hi ports@, Here comes an update for net/swirc: ## [3.3.4] - 2022-05-04 ## - **Added** a TLS server (to be used in a future version) - **Added** config option `mouse` (defaults to **no**) - **Added** config option `server_cipher_suite` - **Added** creation of OpenSSL scripts - **Added** event 335 (`RPL_WHOISBOT`) - **Added** global hashfunctions - **Added** preprogrammed IRC network [AlphaChat](https://www.alphachat.net/) - **Added** scrolling using the mouse - **Added** theme item: - `nicklist_my_nick_color` - `whois_bot` - **Added** translations - **Changed** the statusbar to display readline stats - **Converted** - `commands/services.c` -> `commands/services.cpp` - `config.c` -> `config.cpp` - **Defined** `SLASH` once - **Defined** and made use of: - `UNUSED_PARAM()` - `UNUSED_VAR()` - `colorarray_t` - `g_beginthread_failed` - `g_received_welcome` - `usage_t` - **Fixed** bugs discovered with protocol fuzzing - Handle PRIVMSGs from "my" server - Handle truncation of ICB messages, i.e. allow longer messages than `ICB_MESSAGE_MAX`. - Improved scrolling - Made refactoring to multiple files - Moved the names hash table modify API - Print PRIVMSGs to irc channels from users that aren't in them. (No lookup error.) - Reduced code duplication - Reformatted and reindented files ### Windows ### - **Added** GNU LibIntl 0.19.8.1 which is part of [gettext](https://www.gnu.org/software/gettext/) - [Curl](https://curl.se/) 7.83.0 - [LibreSSL](https://www.libressl.org/) 3.5.2 I attach a cvs diff. Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- Makefile 11 Mar 2022 19:47:37 - 1.15 +++ Makefile 4 May 2022 19:25:13 - @@ -1,5 +1,5 @@ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.3 +DISTNAME = swirc-3.3.4 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.13 diff -u -p -r1.13 distinfo --- distinfo 7 Dec 2021 15:19:36 - 1.13 +++ distinfo 4 May 2022 19:25:13 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.3.tgz) = Kb2OzjhFJ6si7plMAABJukYj6M5uDKgCPhOGumDnKs8= -SIZE (swirc-3.3.3.tgz) = 258705 +SHA256 (swirc-3.3.4.tgz) = KoQEll55amdVWxC1Sq9T0yu9Y+FwfNg2TFcqXtfj+Dc= +SIZE (swirc-3.3.4.tgz) = 271603
maintainer update: net/swirc: 3.3.1 -> 3.3.2 -> 3.3.3
Hi ports@, Here comes an update for net/swirc. It didn't get updated to 3.3.2 so I post the changelog for both versions: ## [3.3.3] - 2021-11-27 ## - **Added** event `531`. Undocumented in the RFC. (You cannot send CTCPs to this user whilst they have the +T `u_noctcp` mode set.) - **Added** event `728` and `729`. Undocumented in the RFC. Channel Quiet List. - **Added** function `xstrnlen()` and made use of it - **Added** new [Libera Chat](https://libera.chat/) servers - **Added** null checks - **Deleted** unused includes - **Fixed** macro redefinitions - **Fixed** unchecked return values - Made improvements to the following files: - `commands/invite.c` - `commands/notice.cpp` - `commands/services.c` - `events/invite.cpp` - `events/wallops.cpp` - `assertAPI.c` - `errHand.c` - `icb.c` - Added status message `Idle-Mod`. - Added status message `Timeout`. - `readlineTabCompletion.c` - Refactoring - ... - Reformatted and reindented files: - `commands/me.c` - `commands/msg.c` - `commands/squery.cpp` - `commands/znc.cpp` - `events/account.cpp` - `events/banlist.cpp` - `events/servlist.cpp` - `statusbar.cpp` - `titlebar.c` - ... ## [3.3.2] - 2021-10-17 ## - **Added** command line option `-j` - **Added** function `getuser()` and made use of it - **Added** null checks - **Added** the following command aliases: - `/j` (`/join`) - `/p` (`/part`) - **Added** the following commands: - `/ignore` - `/unignore` - **Fixed** unchecked return values - Made improvements to the following files: - `commands/connect.c` - `events/channel.cpp` - `events/misc.cpp` - `events/notice.cpp` - `events/privmsg.cpp` - `events/welcome.cpp` - `events/whois.cpp` - `dataClassify.c` - `log.c` - `nestHome.c` - Reformatted and reindented files - **Rewrote** the `/join` and `/part` commands in C++ - **Updated** the translations I attach a diff. Markus ? patches Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile13 Sep 2021 17:06:45 - 1.13 +++ Makefile27 Nov 2021 17:26:10 - @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.13 2021/09/13 17:06:45 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.1 +DISTNAME = swirc-3.3.3 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.12 diff -u -p -r1.12 distinfo --- distinfo13 Sep 2021 17:06:45 - 1.12 +++ distinfo27 Nov 2021 17:26:10 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.1.tgz) = YGbT4xu415MJiVhveoreCgSQG8d77+K89Y2ZaJ0wRoU= -SIZE (swirc-3.3.1.tgz) = 253839 +SHA256 (swirc-3.3.3.tgz) = Kb2OzjhFJ6si7plMAABJukYj6M5uDKgCPhOGumDnKs8= +SIZE (swirc-3.3.3.tgz) = 258705
MAINTAINER UPDATE: net/swirc: 3.3.1 -> 3.3.2
Hi ports@, Here comes an update for net/swirc: ## [3.3.2] - 2021-10-17 ## - **Added** command line option `-j` - **Added** function `getuser()` and made use of it - **Added** null checks - **Added** the following command aliases: - `/j` (`/join`) - `/p` (`/part`) - **Added** the following commands: - `/ignore` - `/unignore` - **Fixed** unchecked return values - Made improvements to the following files: - `commands/connect.c` - `events/channel.cpp` - `events/misc.cpp` - `events/notice.cpp` - `events/privmsg.cpp` - `events/welcome.cpp` - `events/whois.cpp` - `dataClassify.c` - `log.c` - `nestHome.c` - Reformatted and reindented files - **Rewrote** the `/join` and `/part` commands in C++ - **Updated** the translations I attach a diff. Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.13 diff -u -p -r1.13 Makefile --- Makefile 13 Sep 2021 17:06:45 - 1.13 +++ Makefile 17 Oct 2021 14:41:05 - @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.13 2021/09/13 17:06:45 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.3.1 +DISTNAME = swirc-3.3.2 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.12 diff -u -p -r1.12 distinfo --- distinfo 13 Sep 2021 17:06:45 - 1.12 +++ distinfo 17 Oct 2021 14:41:05 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.3.1.tgz) = YGbT4xu415MJiVhveoreCgSQG8d77+K89Y2ZaJ0wRoU= -SIZE (swirc-3.3.1.tgz) = 253839 +SHA256 (swirc-3.3.2.tgz) = nGGirR8x0lTA7Btku78LQtVUy1i0A3m/PcdOzOHSTHA= +SIZE (swirc-3.3.2.tgz) = 257424
maintainer update: net/swirc 3.2.7 -> 3.3.0
Hi ports@, Swirc 3.3.0 out ## [3.3.0] - 2021-06-27 ## - **Added** function `errdesc_by_last_err()` and made use of it - **Added** key F3 (scroll nicklist up) and F4 (scroll nicklist down) - **Added** new modes and options for TLS/SSL connections - **Added** nicklist - **Added** null checks - **Added** preprogrammed network name [libera](https://libera.chat/) - **Added** support for partial writes in `net_ssl_send()` - **Added** theme item `nicklist_nick_color` - **Added** theme item `nicklist_privilege_color` - **Added** theme item `nicklist_vline_color` - Asserted that the program is terminated correctly - **Defined** and made use of `addrof()` - **Defined** and made use of `g_textdeco_chars` - Deleted `ToastActivator_i.c` - Deleted `ToastActivator_p.c` - Deleted `dlldata.c` - Deleted command `/n` - Explicitly set client mode for TLS/SSL connections - **Fixed** "use after free" bug in `/cycle` - **Fixed** a bug in `/quit` that resulted in SIGPIPE due to calling `SSL_shutdown()` on an already shutdown socket. - **Fixed** the behavior of `net_ssl_recv()` by checking the condition of `SSL_pending()`. - **Fixed** unchecked return values - Made improvements to the following files: - `io-loop.c` - `irc.c` - `network-openssl.c` - `network.cpp` - `pthrMutex.c` - `readline.c` - `readlineAPI.c` - `sig-unix.c` - `sig-w32.c` - `vcMutex.c` - `window.c` - Modified the scrolling behavior - Moved defines - Reformatted and reindented files - Renamed functions and patterns - **Rewrote the printtext module in C++ and made multiple improvements**! - Upgraded to: - [Curl](https://curl.se/) 7.77.0 - [LibreSSL](https://www.libressl.org/) 3.3.3 I attach a diff. Markus ? patches Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- Makefile 14 Mar 2021 11:31:40 - 1.11 +++ Makefile 28 Jun 2021 23:26:52 - @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.11 2021/03/14 11:31:40 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.7 +DISTNAME = swirc-3.3.0 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- distinfo 14 Mar 2021 11:31:40 - 1.10 +++ distinfo 28 Jun 2021 23:26:52 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.7.tgz) = ZMrWx8vypccHN8Va0wwU2ZT8bYTbGe3LHIOWJBTXCZo= -SIZE (swirc-3.2.7.tgz) = 248669 +SHA256 (swirc-3.3.0.tgz) = T6rhCrPgjVRPU3fHupTYbX1sOkx55BsRsbhk+qsOV2Q= +SIZE (swirc-3.3.0.tgz) = 249498
[update] net/swirc 3.2.6 -> 3.2.7
Hi ports@, Here is a new version of net/swirc. Changes: ## [3.2.7] - 2021-03-13 ## - Added checking of `term_is_too_small()` - Added null checks - Defined `g_conversion_failed` and made use of it - Defined `g_time_error` and made use of it - Fixed a bug that could lead to null pointer comparison - Fixed limited prompt length - Fixed stricter checking of channel names - Fixed unchecked return values and made code improvements - Improved automatic resizing - Reduced code duplication - Rewrote `event_invite()` and thus fixed a vulnerability that imply that a malicious IRC server message could cause a crash. (Reported by Michael Ortmann.) - Rewrote `events/names.c` using C++ and made various improvements I attach a diff. Kind regards, Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 23 Feb 2021 08:10:37 - 1.10 +++ Makefile 13 Mar 2021 16:51:34 - @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.10 2021/02/23 08:10:37 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.6 +DISTNAME = swirc-3.2.7 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.9 diff -u -p -r1.9 distinfo --- distinfo 23 Feb 2021 08:10:37 - 1.9 +++ distinfo 13 Mar 2021 16:51:34 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.6.tgz) = 3EUc38+6FOS4kbw1OS7IRUhdFs4blF4+TNGLMngQJJg= -SIZE (swirc-3.2.6.tgz) = 246403 +SHA256 (swirc-3.2.7.tgz) = ZMrWx8vypccHN8Va0wwU2ZT8bYTbGe3LHIOWJBTXCZo= +SIZE (swirc-3.2.7.tgz) = 248669
PATCH: net/swirc 3.2.6
Hi, I patched 2 files for net/swirc 3.2.6 and I wrote at top what they do/their purpose are... (I hope that is ok) I attach the diff. Yours faithfully Markus Uhlin Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- Makefile 23 Feb 2021 08:10:37 - 1.10 +++ Makefile 2 Mar 2021 20:48:35 - @@ -4,6 +4,7 @@ COMMENT = curses icb and irc client DISTNAME = swirc-3.2.6 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ +REVISION = 0 MAINTAINER = Markus Uhlin Index: patches/patch-posixshell_os_BSD_sh === RCS file: patches/patch-posixshell_os_BSD_sh diff -N patches/patch-posixshell_os_BSD_sh --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-posixshell_os_BSD_sh 2 Mar 2021 20:48:35 - @@ -0,0 +1,25 @@ +$OpenBSD$ + +NDEBUG=1 makes sw_assert() and sw_assert_perror() no-ops resulting in +faster code execution. + +Further tweak the speed by compiling with optimization level 2. + +Index: posixshell/os_BSD.sh +--- posixshell/os_BSD.sh.orig posixshell/os_BSD.sh +@@ -5,10 +5,13 @@ + os_BSD () { + cat <>$MAKE_DEF_FILE + SHARED_FLAGS=-DBSD=1\\ ++ -DNDEBUG=1\\ + -DUNIX=1\\ + -D_XOPEN_SOURCE_EXTENDED=1\\ + -I/usr/local/include\\ +- -Wall ++ -O2\\ ++ -Wall\\ ++ -pipe + CC=cc + CFLAGS=\$(SHARED_FLAGS) -std=c17 + CXX=c++ Index: patches/patch-src_readline_c === RCS file: patches/patch-src_readline_c diff -N patches/patch-src_readline_c --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_readline_c 2 Mar 2021 20:48:35 - @@ -0,0 +1,20 @@ +$OpenBSD$ + +This patch changes the readline behavior so that readline blocks read +only for a fixed amount of time (at no CPU cost). By doing this Swirc +shall ALWAYS automatically resize as the terminal window changes +dimensions. + +Index: src/readline.c +--- src/readline.c.orig src/readline.c +@@ -101,6 +101,9 @@ apply_readline_options(WINDOW *win) + if (is_scrollok(win)) { + SCROLLOK(win, 0); + } ++ ++const int wait_time_millisec = 270; ++wtimeout(win, wait_time_millisec); + } + + /**
net/swirc: 3.2.5 -> 3.2.6
Hi ports, Here is an update for net/swirc that I've prepared: [3.2.6] - 2021-02-17 - Made functions that yet weren't declared at file scope to be - Added tab completion for /help and /znc - Splitted the configure script into smaller parts - Improved the configure script - Fixed multiple non-ANSI function declarations - Fixed multiple sign-compare warnings - Added logging of program name and PID for debug/error messages - Fixed unchecked return values Kind regards Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- Makefile 16 Oct 2020 11:38:24 - 1.9 +++ Makefile 21 Feb 2021 17:08:25 - @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.9 2020/10/16 11:38:24 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.5 +DISTNAME = swirc-3.2.6 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ @@ -25,7 +25,6 @@ TEST_TARGET = check MAKE_FLAGS = DEST_CONFMAN=${WRKINST}${PREFIX}/man/man5 \ DEST_MANUAL=${WRKINST}${PREFIX}/man/man1 \ INSTALL_DEPS=swirc src/swirc.1 swirc.conf.5 \ - PREFIX=${PREFIX} CC="${CC}" CXX="${CXX}" \ - E=@: Q= + PREFIX=${PREFIX} CC="${CC}" CXX="${CXX}" .include Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.8 diff -u -p -r1.8 distinfo --- distinfo 16 Oct 2020 11:38:24 - 1.8 +++ distinfo 21 Feb 2021 17:08:25 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.5.tgz) = ef+O6OCLu8MTuauw8sFkE5WpA7XqEUuCI82qceyIDuA= -SIZE (swirc-3.2.5.tgz) = 244075 +SHA256 (swirc-3.2.6.tgz) = 3EUc38+6FOS4kbw1OS7IRUhdFs4blF4+TNGLMngQJJg= +SIZE (swirc-3.2.6.tgz) = 246403 Index: patches/patch-configure === RCS file: patches/patch-configure diff -N patches/patch-configure --- patches/patch-configure 23 Apr 2020 16:01:15 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,17 +0,0 @@ -$OpenBSD: patch-configure,v 1.1 2020/04/23 16:01:15 ajacoutot Exp $ - -Index: configure configure.orig -+++ configure -@@ -50,9 +50,9 @@ SHARED_FLAGS=-DBSD=1\\ - -I/usr/local/include\\ - -Wall - CC=cc --CFLAGS=\$(SHARED_FLAGS) -std=c99 -+CFLAGS=\$(SHARED_FLAGS) -std=c99 ${CFLAGS} - CXX=c++ --CXXFLAGS=\$(SHARED_FLAGS) -std=c++14 -+CXXFLAGS=\$(SHARED_FLAGS) -std=c++14 ${CXXFLAGS} - LDFLAGS=-L/usr/local/lib - LDLIBS=-lcrypto\\ - -lcurl\\
update: net/swirc 3.2.4 -> 3.2.5 -- a new attempt
Hi ports@ I got the previous diff wrong. Here's another attempt. Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- Makefile 23 Apr 2020 16:01:15 - 1.8 +++ Makefile 13 Oct 2020 09:18:22 - @@ -1,10 +1,9 @@ # $OpenBSD: Makefile,v 1.8 2020/04/23 16:01:15 ajacoutot Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.4 +DISTNAME = swirc-3.2.5 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ -REVISION = 0 MAINTAINER = Markus Uhlin Index: distinfo === RCS file: /cvs/ports/net/swirc/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- distinfo 22 Apr 2020 15:48:32 - 1.7 +++ distinfo 13 Oct 2020 09:18:22 - @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.4.tgz) = yMFe62zHaKG5aVIxRCD+pgyUK02tJfYxjSjdLwCgK8k= -SIZE (swirc-3.2.4.tgz) = 241352 +SHA256 (swirc-3.2.5.tgz) = ef+O6OCLu8MTuauw8sFkE5WpA7XqEUuCI82qceyIDuA= +SIZE (swirc-3.2.5.tgz) = 244075 Index: patches/patch-src_events_cap_c === RCS file: patches/patch-src_events_cap_c diff -N patches/patch-src_events_cap_c --- patches/patch-src_events_cap_c 23 Apr 2020 16:01:15 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,38 +0,0 @@ -$OpenBSD: patch-src_events_cap_c,v 1.1 2020/04/23 16:01:15 ajacoutot Exp $ - -Index: src/events/cap.c src/events/cap.c.orig -+++ src/events/cap.c -@@ -89,7 +89,7 @@ shouldContinueCapabilityNegotiation_case1() - return (config_bool_unparse("away_notify", false) || - config_bool_unparse("invite_notify", false) || - config_bool_unparse("ircv3_server_time", false) || -- config_bool_unparse("sasl", false)); -+ sasl_is_enabled()); - } - - static bool -@@ -97,20 +97,20 @@ shouldContinueCapabilityNegotiation_case2() - { - return (config_bool_unparse("invite_notify", false) || - config_bool_unparse("ircv3_server_time", false) || -- config_bool_unparse("sasl", false)); -+ sasl_is_enabled()); - } - - static bool - shouldContinueCapabilityNegotiation_case3() - { - return (config_bool_unparse("ircv3_server_time", false) || -- config_bool_unparse("sasl", false)); -+ sasl_is_enabled()); - } - - static bool - shouldContinueCapabilityNegotiation_case4() - { --return (config_bool_unparse("sasl", false)); -+return (sasl_is_enabled()); - } - - /**
update: net/swirc 3.2.4 -> 3.2.5
Hi. I want to update Swirc to 3.2.5 I attach a cvs diff Yours faithfully Markus Index: Makefile === RCS file: /cvs/ports/net/swirc/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- Makefile 23 Apr 2020 16:01:15 - 1.8 +++ Makefile 11 Oct 2020 05:53:57 - @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.8 2020/04/23 16:01:15 ajacoutot Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.4 +DISTNAME = swirc-3.2.5 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ REVISION = 0 Index: patches/patch-src_events_cap_c === RCS file: patches/patch-src_events_cap_c diff -N patches/patch-src_events_cap_c --- patches/patch-src_events_cap_c 23 Apr 2020 16:01:15 - 1.1 +++ /dev/null 1 Jan 1970 00:00:00 - @@ -1,38 +0,0 @@ -$OpenBSD: patch-src_events_cap_c,v 1.1 2020/04/23 16:01:15 ajacoutot Exp $ - -Index: src/events/cap.c src/events/cap.c.orig -+++ src/events/cap.c -@@ -89,7 +89,7 @@ shouldContinueCapabilityNegotiation_case1() - return (config_bool_unparse("away_notify", false) || - config_bool_unparse("invite_notify", false) || - config_bool_unparse("ircv3_server_time", false) || -- config_bool_unparse("sasl", false)); -+ sasl_is_enabled()); - } - - static bool -@@ -97,20 +97,20 @@ shouldContinueCapabilityNegotiation_case2() - { - return (config_bool_unparse("invite_notify", false) || - config_bool_unparse("ircv3_server_time", false) || -- config_bool_unparse("sasl", false)); -+ sasl_is_enabled()); - } - - static bool - shouldContinueCapabilityNegotiation_case3() - { - return (config_bool_unparse("ircv3_server_time", false) || -- config_bool_unparse("sasl", false)); -+ sasl_is_enabled()); - } - - static bool - shouldContinueCapabilityNegotiation_case4() - { --return (config_bool_unparse("sasl", false)); -+return (sasl_is_enabled()); - } - - /**
Re: update: net/swirc 3.2.3 -> 3.2.4
Looks good to me. The reason I made building less noisy is because it's easier to see important compiler messages like warnings. I further detected that the newly introduced option -P didn't work as expected. It actually disables SASL authentication but it doesn't end IRCv3 capability negotiation. So I generated a patch for that too. Yours faithfully Markus diff -Nru /tmp/ports/net/swirc/Makefile /usr/ports/net/swirc/Makefile --- /tmp/ports/net/swirc/Makefile Wed Apr 8 18:52:57 2020 +++ /usr/ports/net/swirc/Makefile Thu Apr 9 15:15:54 2020 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.6 2020/04/05 18:08:29 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.3 +DISTNAME = swirc-3.2.4 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ @@ -19,11 +19,13 @@ LIB_DEPENDS = devel/libidn net/curl CONFIGURE_STYLE = simple -NO_TEST = Yes +TEST_DEPENDS = devel/cmocka +TEST_TARGET = check MAKE_FLAGS = DEST_CONFMAN=${WRKINST}${PREFIX}/man/man5 \ DEST_MANUAL=${WRKINST}${PREFIX}/man/man1 \ INSTALL_DEPS=swirc src/swirc.1 swirc.conf.5 \ - PREFIX=${PREFIX} + PREFIX=${PREFIX} CC="${CC}" CXX="${CXX}" \ + E=@: Q= .include diff -Nru /tmp/ports/net/swirc/distinfo /usr/ports/net/swirc/distinfo --- /tmp/ports/net/swirc/distinfo Wed Apr 8 18:52:57 2020 +++ /usr/ports/net/swirc/distinfo Thu Apr 9 15:42:53 2020 @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.3.tgz) = UuJzu8nqY4SEGUeFjWDLdAplvYDSJXx8qznZpOuRnwY= -SIZE (swirc-3.2.3.tgz) = 230048 +SHA256 (swirc-3.2.4.tgz) = yMFe62zHaKG5aVIxRCD+pgyUK02tJfYxjSjdLwCgK8k= +SIZE (swirc-3.2.4.tgz) = 241352 diff -Nru /tmp/ports/net/swirc/patches/patch-configure /usr/ports/net/swirc/patches/patch-configure --- /tmp/ports/net/swirc/patches/patch-configureThu Jan 1 01:00:00 1970 +++ /usr/ports/net/swirc/patches/patch-configureThu Apr 9 15:15:54 2020 @@ -0,0 +1,17 @@ +$OpenBSD$ + +Index: configure +--- configure.orig configure +@@ -50,9 +50,9 @@ SHARED_FLAGS=-DBSD=1\\ + -I/usr/local/include\\ + -Wall + CC=cc +-CFLAGS=\$(SHARED_FLAGS) -std=c99 ++CFLAGS=\$(SHARED_FLAGS) -std=c99 ${CFLAGS} + CXX=c++ +-CXXFLAGS=\$(SHARED_FLAGS) -std=c++14 ++CXXFLAGS=\$(SHARED_FLAGS) -std=c++14 ${CXXFLAGS} + LDFLAGS=-L/usr/local/lib + LDLIBS=-lcrypto\\ + -lcurl\\ diff -Nru /tmp/ports/net/swirc/patches/patch-src_events_cap_c /usr/ports/net/swirc/patches/patch-src_events_cap_c --- /tmp/ports/net/swirc/patches/patch-src_events_cap_c Thu Jan 1 01:00:00 1970 +++ /usr/ports/net/swirc/patches/patch-src_events_cap_c Thu Apr 9 15:33:34 2020 @@ -0,0 +1,38 @@ +$OpenBSD$ + +Index: src/events/cap.c +--- src/events/cap.c.orig src/events/cap.c +@@ -89,7 +89,7 @@ shouldContinueCapabilityNegotiation_case1() + return (config_bool_unparse("away_notify", false) || + config_bool_unparse("invite_notify", false) || + config_bool_unparse("ircv3_server_time", false) || +- config_bool_unparse("sasl", false)); ++ sasl_is_enabled()); + } + + static bool +@@ -97,20 +97,20 @@ shouldContinueCapabilityNegotiation_case2() + { + return (config_bool_unparse("invite_notify", false) || + config_bool_unparse("ircv3_server_time", false) || +- config_bool_unparse("sasl", false)); ++ sasl_is_enabled()); + } + + static bool + shouldContinueCapabilityNegotiation_case3() + { + return (config_bool_unparse("ircv3_server_time", false) || +- config_bool_unparse("sasl", false)); ++ sasl_is_enabled()); + } + + static bool + shouldContinueCapabilityNegotiation_case4() + { +-return (config_bool_unparse("sasl", false)); ++return (sasl_is_enabled()); + } + + /**
update: net/swirc 3.2.3 -> 3.2.4
Hi, Here comes an update for net/swirc 3.2.3 -> 3.2.4. Full changelog: https://github.com/uhlin/swirc/blob/master/CHANGELOG.md#324---2020-04-08 I attach a diff for the port. Markus diff -ru /tmp/ports/net/swirc/Makefile /usr/ports/net/swirc/Makefile --- /tmp/ports/net/swirc/Makefile Wed Apr 8 18:52:57 2020 +++ /usr/ports/net/swirc/Makefile Wed Apr 8 18:39:38 2020 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.6 2020/04/05 18:08:29 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.3 +DISTNAME = swirc-3.2.4 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ @@ -19,7 +19,8 @@ LIB_DEPENDS = devel/libidn net/curl CONFIGURE_STYLE = simple -NO_TEST = Yes +TEST_DEPENDS = devel/cmocka +TEST_TARGET = check MAKE_FLAGS = DEST_CONFMAN=${WRKINST}${PREFIX}/man/man5 \ DEST_MANUAL=${WRKINST}${PREFIX}/man/man1 \ diff -ru /tmp/ports/net/swirc/distinfo /usr/ports/net/swirc/distinfo --- /tmp/ports/net/swirc/distinfo Wed Apr 8 18:52:57 2020 +++ /usr/ports/net/swirc/distinfo Wed Apr 8 18:41:59 2020 @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.3.tgz) = UuJzu8nqY4SEGUeFjWDLdAplvYDSJXx8qznZpOuRnwY= -SIZE (swirc-3.2.3.tgz) = 230048 +SHA256 (swirc-3.2.4.tgz) = yMFe62zHaKG5aVIxRCD+pgyUK02tJfYxjSjdLwCgK8k= +SIZE (swirc-3.2.4.tgz) = 241352
update: net/swirc 3.2.1 -> 3.2.3
Hi, An update for net/swirc (3.2.1 -> 3.2.3). I didn't post 3.2.2 so refer to both regarding version history: https://github.com/uhlin/swirc/blob/master/CHANGELOG.md#323---2020-03-22 https://github.com/uhlin/swirc/blob/master/CHANGELOG.md#322---2020-03-17 As mentioned before, code review and feedback welcome. I attach a diff for the port. Yours faithfully Markus diff -ru /tmp/ports/net/swirc/Makefile /usr/ports/net/swirc/Makefile --- /tmp/ports/net/swirc/Makefile Sun Mar 22 19:11:02 2020 +++ /usr/ports/net/swirc/Makefile Sun Mar 22 19:17:09 2020 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.5 2020/03/09 19:25:33 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.1 +DISTNAME = swirc-3.2.3 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ diff -ru /tmp/ports/net/swirc/distinfo /usr/ports/net/swirc/distinfo --- /tmp/ports/net/swirc/distinfo Sun Mar 22 19:11:02 2020 +++ /usr/ports/net/swirc/distinfo Sun Mar 22 19:18:28 2020 @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.1.tgz) = RHCpbI4FcSwcKGJqUH6a+rJfVmcICX6bRorHLbu4tc4= -SIZE (swirc-3.2.1.tgz) = 24 +SHA256 (swirc-3.2.3.tgz) = UuJzu8nqY4SEGUeFjWDLdAplvYDSJXx8qznZpOuRnwY= +SIZE (swirc-3.2.3.tgz) = 230048
update: net/swirc 3.2.0 -> 3.2.1
Hi, Here comes an update for net/swirc. I made several small improvements to 3.2.1. And with my best effort I try to keep the program safe and sensible. Full changelog: https://github.com/uhlin/swirc/blob/master/CHANGELOG.md#321---2020-03-01 As always, code review and feedback welcome. I attach a diff. Yours faithfully Markus diff -ru /tmp/ports/net/swirc/Makefile /usr/ports/net/swirc/Makefile --- /tmp/ports/net/swirc/Makefile Sun Mar 1 22:10:39 2020 +++ /usr/ports/net/swirc/Makefile Sun Mar 1 21:55:56 2020 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.4 2020/02/27 16:51:43 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.2.0 +DISTNAME = swirc-3.2.1 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ diff -ru /tmp/ports/net/swirc/distinfo /usr/ports/net/swirc/distinfo --- /tmp/ports/net/swirc/distinfo Sun Mar 1 22:10:39 2020 +++ /usr/ports/net/swirc/distinfo Sun Mar 1 21:56:25 2020 @@ -1,2 +1,2 @@ -SHA256 (swirc-3.2.0.tgz) = CCzy0TzRhqgzBdZdbq1FM1r1cn9Yd1HuifO7ab4EMOA= -SIZE (swirc-3.2.0.tgz) = 264074 +SHA256 (swirc-3.2.1.tgz) = RHCpbI4FcSwcKGJqUH6a+rJfVmcICX6bRorHLbu4tc4= +SIZE (swirc-3.2.1.tgz) = 24
[update] swirc 3.1.1 -> 3.2.0
Hi, Here comes an update for Swirc (3.1.1 -> 3.2.0). The new version supports IRC logs and tab completion. Full changelog can be found here: https://github.com/uhlin/swirc/blob/master/CHANGELOG.md#320---2020-02-13 Yours faithfully Markus Uhlin diff -ru /tmp/ports/net/swirc/Makefile /usr/ports/net/swirc/Makefile --- /tmp/ports/net/swirc/Makefile Mon Feb 17 17:22:32 2020 +++ /usr/ports/net/swirc/Makefile Mon Feb 17 20:58:47 2020 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.3 2019/12/23 11:39:59 solene Exp $ COMMENT = curses icb and irc client -DISTNAME = swirc-3.1.1 +DISTNAME = swirc-3.2.0 CATEGORIES = net HOMEPAGE = https://www.nifty-networks.net/swirc/ diff -ru /tmp/ports/net/swirc/distinfo /usr/ports/net/swirc/distinfo --- /tmp/ports/net/swirc/distinfo Mon Feb 17 17:22:32 2020 +++ /usr/ports/net/swirc/distinfo Mon Feb 17 20:59:11 2020 @@ -1,2 +1,2 @@ -SHA256 (swirc-3.1.1.tgz) = /jAjrk+YMQh5f4bNKhUMckVXht3h1ZPvRdL7lH1/FKo= -SIZE (swirc-3.1.1.tgz) = 260607 +SHA256 (swirc-3.2.0.tgz) = CCzy0TzRhqgzBdZdbq1FM1r1cn9Yd1HuifO7ab4EMOA= +SIZE (swirc-3.2.0.tgz) = 264074
Re: Curses ICB and IRC client
Perhaps I should reply to ports directly... Yes, in order to list rooms use /list. /help list Works for both ICB and IRC. Yes, it's possible to auto-identify to nickserv with SASL authentication. /help sasl For plain mechanism: 1) /sasl mechanism plain 2) /sasl username 3) /sasl password 4) /sasl set on Only freenode supports mechanism ecdsa-nist256p-challenge. 1) /sasl mechanism ecdsa-nist256p-challenge 2) /sasl keygen 3) /sasl pubkey 4) /ns services. set pubkey 5) /sasl username 6) /sasl password dummy 7) /sasl set on On 2019-11-01 16:39, Edd Barrett wrote: Hi, On Fri, Nov 01, 2019 at 03:24:17AM +0100, Markus Uhlin wrote: I attach a port I've created. Portwise this looks fine, and I was able to connect to IRC and some channels. If someone OKs this, I'm happy to commit it. By the way: - Is there a way to list rooms, like in weechat/irssi? - Can you auto-identify to nickserv somehow? -- Med vänlig hälsning Markus Uhlin
Curses ICB and IRC client
Hi Yesterday I released v3.0.0 of Swirc. The new version supports the ICB protocol. I attach a port I've created. Swirc uses pledge() in combination with unveil(). It was pledged very early already in 1.1. I focus on portability and security. But I basically do all the testing myself... + development (so far) -- Med vänlig hälsning Markus Uhlin swirc-3.0.0-port.tar.gz Description: application/gzip
Enhanced DUC
Hi BSD folks About 2 years ago I tried to get Enhanced DUC into ports. I've now done a major release with many improvements (v2.0). Enhanced DUC is a secure DDNS update client which can act as a daemon. It uses pledge(), strlcpy() and strlcat() as it did already in 2016 where I made the first release. So I would like a new attempt to get it in... https://github.com/uhlin/enhanced-duc http://uhlin.github.io/enhanced-duc/ Peace. -- Med vänlig hälsning Markus Uhlin
Swirc v1.4 -- updated submission
Hi Here comes an updated submission regarding Swirc. I released v1.4 yesterday night. Markus Uhlin swirc-1.4-ports.tar.gz Description: application/tar-gz
Swirc IRC client
Hi Jeremie, I released a new version (v1.1+) with the help of your feedback. For details, consult: https://github.com/uhlin/swirc/blob/master/CHANGELOG.md I attach the updated port in this mail. Hopefully it's better now. But feel free to tweak it more... -- Markus swirc-1.1+.openbsd.port.tgz Description: application/gtar-compressed
Fwd: Swirc IRC client
Second attempt. Forwarded Message Subject:Swirc IRC client Date: Sat, 27 Aug 2016 23:07:39 +0200 From: Markus Uhlin To: ports@openbsd.org Hi BSD folks, Lately I've been working hard on Swirc (IRC client written with the Ncurses UI framework). Today I released v1.1 with many improvements. I want to try to get it shipped with OpenBSD so I created a port for it. As more people that run the same code, the bigger are the chances to detect bugs and fix them. I would love to have comments. It uses pledge() if available. I attach a copy of the port I created. Feel free to modify it. I think this is a step to let more people to know that this software exist. Regards, Markus. swirc-1.1-openbsd-ports.tar.gz Description: application/gzip
Swirc IRC client
Hi BSD folks, Lately I've been working hard on Swirc (IRC client written with the Ncurses UI framework). Today I released v1.1 with many improvements. I want to try to get it shipped with OpenBSD so I created a port for it. As more people that run the same code, the bigger are the chances to detect bugs and fix them. I would love to have comments. It uses pledge() if available. I attach a copy of the port I created. Feel free to modify it. I think this is a step to let more people to know that this software exist. Regards, Markus. swirc-1.1-openbsd-ports.tar.gz Description: application/gzip
Enhanced DUC v1.3.1 -- port
Description: Enhanced DUC is a dynamic DNS update client and daemon. Primarily it's written for use with the DNS services that noip.com provide. However: the protocol "is in an open format used by other service providers". Homepage: https://github.com/uhlin/enhanced-duc Feedback welcome. I attach a copy of the port in this mail. - Enforces a minimum of TLSv1.2 - Only fallback on the local copy of strlcpy/strlcat if not provided by libc. pledge() I'll call when I got a fresh install of 5.9, since it's hard to make use of the API if it isn't available in 5.8. -- Markus Uhlin enhanced-duc-port-1.3.1.tar.gz Description: application/gzip
Request for a new package
Hi, First: I don't know if this E-mail has the right address. Apparently I used the API documentation at NoIPs web page (www.noip.com) to write a new DDNS update client/daemon. The program was originally designed only for their services. Because I happened to be using them and needed a better update client. However: the protocol "is in an open format used by other service providers". So to the point: I want file a request for making my program available in the next release of OpenBSD. The program is written in C with dialect POSIX.1-2008 and it's available on Bitbucket at the following URL: https://bitbucket.org/ma_uhl/enhanced-duc. It's also available here: http://educ.noip.me. However the page at Bitbucket is more informative. -- Markus Uhlin