1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-12 23:36:00 +00:00

Deduce a server name when not set in the configuration

The server "Name" in the "[Global]" section of the configuration file is
optional now: When not set (or empty), ngIRCd now tries to deduce a
valid IRC server name from the local host name ("node name"), possibly
adding a ".host" extension when the host name does not contain a dot
(".") which is required in an IRC server name ("ID").

This new behaviour, with all configuration parameters now being
optional, allows running ngIRCd without any configuration file at all.
This commit is contained in:
Alexander Barton
2024-01-20 23:04:32 +01:00
parent 669d71f3fe
commit 3c39094b52
4 changed files with 40 additions and 9 deletions

View File

@@ -10,9 +10,16 @@
ngIRCd 27
- autogen.sh: Prefere automake 1.11 over other releases because this is the
- The server "Name" in the "[Global]" section of the configuration file no
longer needs to be set: When not set (or empty), ngIRCd now tries to
deduce a valid IRC server name from the local host name ("node name"),
possibly adding a ".host" extension when the host name does not contain a
dot (".") which is required in an IRC server name ("ID").
This new behaviour, with all configuration parameters now being optional,
allows running ngIRCd without any configuration file at all.
- autogen.sh: Prefer automake 1.11 over other releases because this is the
last release supporting "de-ANSI-fication" using the included ansi2knr tool.
And becuase we _want_ to support old K&R platforms, we try hard to use this
And because we _want_ to support old K&R platforms, we try hard to use this
release of automake when available to generate our build system.
Note: This is only relevant for you if you are building from Git sources.
- Autodetect support for IPv6 by default: Until now, IPv6 support was disabled