Up to [cvs.NetBSD.org] / pkgsrc / chat / swirc
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for icu 79
*: Recursive revbump from security/nettle-4.0
*: recursive bump for nettle 4.0 shlib major bump
*: recursive bump for icu 78.1
*: rev bump for curl
*: recursive bump for default Kerberos implementation switch
*: recursive bump for icu 77 and libxml2 2.14
*: recursive bump for icu 76 shlib major version bump
*: revbump for icu downgrade
*: recursive bump for icu 76.1 shlib bump
revbump after icu and protobuf updates
*: recursive bump for gnutls p11-kit option (existing installations need the bl3.mk included, but it's now only optionally included)
swirc: update to 3.4.7.
## [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.
*: Revision bumps for ncurses 6.5 overhaul.
*: Switch packages to combined ncurses package. CURSES_TYPE=ncursesw is no longer valid, update matches to use ncurses.
*: recursive bump for icu 74.1
swirc: update to 3.4.6. ## [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 ## [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
*: bump for openssl 3
swirc: update to 3.4.4. ## [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...
chat: Where possible, adjust packages to use USE_(CC|CXX)_FEATURES
*: remove all instances of GCC_REQD where my name is the most recent in "cvs annotate" (part 1) Hopefully this commit can be reviewed later if a better replacement for GCC_REQD is committed.
swirc: Require a C++17 compiler.
revbump after textproc/icu update
swirc: update to 3.4.3. ## [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
swirc: update to 3.4.2. ## [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.
swirc: update to 3.4.1. ## [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++.
swirc: update to 3.4.0. ## [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
swirc: update to 3.3.9. ## [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!
swirc: update to 3.3.8. ## [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
swirc: pass LDFLAGS through via MAKE_FLAGS, fixes the build on Linux.
*: bump PKGREVISION for libunistring shlib major bump
swirc: update to 3.3.7. ## [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
swirc: update to 3.3.6.
## [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
swirc: Add a note about why libcurses cannot be used
swirc: update to 3.3.5. ## [3.3.5] - 2022-07-28 ## - **Added** command `/cap` - **Added** config option `iconv_conversion` (bool) - **Added** config option `mouse_events` - **Added** new translations - **Added** usage of `noexcept` and installed a terminate handler - **Changed** the startup screen to show the current language - **Fixed** C style casts in C++ - **Fixed** SASLprep by switching to usage of `stringprep_profile()`. Prep now works on Windows too! - **Fixed** memory leaks - **Fixed** unhandled exceptions - Improved memory handling - Improved the contents of `/help` - Completed translating everything to Swedish - **Made** config option `mouse` change take affect at once - **Made** improvements to `events/cap.c` - **Made** small optimizations - **Made** the dot mo files available for read operations with `unveil()` - Updated the TODO :-)
*: drop maintainership for packages not related to toolchains and ELF.
swirc: update to 3.3.4. ## [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
swirc: needs openssl.
swirc: enable verbose build and honour CC and CXX.
chat/swirc: import swirc-3.3.3. Swirc is a BSD licensed, console based and lightweight ICB and IRC client written in C/C++, whose goals are to be portable and secure.