Index | Thread | Search

From:
Markus Uhlin <markus.uhlin@icloud.com>
Subject:
NEW: games/fics (rpblc-1.4.7)
To:
ports@openbsd.org
Date:
Mon, 1 Dec 2025 21:11:45 +0100

Download raw body.

Thread
  • Markus Uhlin:

    NEW: games/fics (rpblc-1.4.7)

Hi ports@,

Around this time 2 years ago I started to work on a fork of FICS - free 
internet chess server.
Before it didn't build at all. When it finally built the compiler 
generated a lot of warnings.
Now everything has been fixed and I have not added many new features.
The focus has been on improving the code by fixing bugs etc.

With the rpblc-1.4.7 release I made modifications to make the FICS 
possible to install system-wide.
I also added usage of pledge() and unveil().
The coding style used is OpenBSD KNF.

Here are the changes for rpblc-1.4.7:

## [1.4.7] - 2025-12-01 ##
- **Added** a config file interpreter and moved some settings from
    `config.h` to `fics.conf` which is read at startup.
- **Added** more open flags and changed the code to refer to them by using
    enums.
- **Added** overflow checks for array indices. Multiple occurrences.
- **Added** the possibility for the FICS to be installed system-wide.
- **Added** usage of `unveil()` and `pledge()`. (OpenBSD mitigation
    techniques, so OpenBSD only.)
- **Assured** that no conversion loss takes place when dealing with
    `time_t` conversions. Multiple occurrences.
- **Fixed** error handling issues.
- **Fixed** null pointer dereferences.
- **Fixed** potentially uninitialized vars.
- **Replaced** calls to `system()`. Two occurrences.

Full change log:
https://github.com/uhlin/fics/blob/main/CHANGELOG.md

I attach a tar archive of the port.

Best regards
Markus