<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ngircd/configure.ng, branch rel-27</title>
<subtitle>ngircd with make
</subtitle>
<id>http://git.nakidai.ru/ngircd/atom?h=rel-27</id>
<link rel='self' href='http://git.nakidai.ru/ngircd/atom?h=rel-27'/>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/'/>
<updated>2024-04-05T22:12:58+00:00</updated>
<entry>
<title>Add support for the "sd_notify" protocol</title>
<updated>2024-04-05T22:12:58+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-04-05T20:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=e4873b4d63d0bcd4914a1cee82599a13cfd77e47'/>
<id>urn:sha1:e4873b4d63d0bcd4914a1cee82599a13cfd77e47</id>
<content type='text'>
This allows the "ngircd.service" systemd(8) unit to use the "notify"
service type, which allows for better status tracking by the service
manager.
</content>
</entry>
<entry>
<title>Try to set file descriptor limit to its maximum and show info on startup</title>
<updated>2024-03-31T09:19:48+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-03-28T09:16:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=34979250004fb2785ed68c9714a42ddef6523a90'/>
<id>urn:sha1:34979250004fb2785ed68c9714a42ddef6523a90</id>
<content type='text'>
The number of possible parallel connections is limited by the process
file descriptor limit (among other things). Therefore try to upgrade the
current "soft" limit to its "hard" maximum (but limit it to 100000), and
show an information or even warning, wenn still less than the configured
"MaxConnections" setting.

Please note that ngIRCd and its linked libraries (like PAM) need file
descriptors not only for incoming and outgoing IRC connections, but for
reading files and inter-process communication, too! Therefore the actual
connection limit is _less_ than the file descriptor limit!

This introduces the new MAX_FD_LIMIT (100000) #define.
</content>
</entry>
<entry>
<title>Update the mailing list address to ngircd@lists.barton.de</title>
<updated>2024-01-20T15:43:54+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-01-20T14:37:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=39d41001bc054de43b177158883fc380ea0d6f28'/>
<id>urn:sha1:39d41001bc054de43b177158883fc380ea0d6f28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use -Werror when testing for -Wno-format-truncation</title>
<updated>2024-01-19T16:07:47+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-01-19T15:55:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=a87b124648f6eb9e00c9ea16c638fe380dd019f7'/>
<id>urn:sha1:a87b124648f6eb9e00c9ea16c638fe380dd019f7</id>
<content type='text'>
Clang does not know the -Wno-format-truncation option of (current) GCC,
but accepts unknown -W... options (exit core 0) but issues a warning
message on every invocation. So for example on macOS, where Clang is
used as "gcc", a new warning message was shown for every file to
compile, since we enabled -Wno-format-truncation in commit 1d527eaf:

  warning: unknown warning option '-Wno-format-truncation' [-Wunknown-warning-option]

Clang no longer acceps unknown -W... options by enabling -Werror, which
this patch adds to the CFLAGS while testing for -Wno-format-truncation,
which fixes this issue.

This fixes commit 1d527eaf.
</content>
</entry>
<entry>
<title>Disable GCC -Wformat-truncation when suported</title>
<updated>2024-01-18T21:49:48+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-01-18T21:39:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=1d527eaf17435089e70b530955e271bbd0440fe4'/>
<id>urn:sha1:1d527eaf17435089e70b530955e271bbd0440fe4</id>
<content type='text'>
Pass -Wno-format-truncation when this is supported by GCC so silence
warnings like this:

  conf.c: In function ‘Read_Config’:
  conf.c:985:60: warning: ‘snprintf’ output may be truncated before
                 the last format character [-Wformat-truncation=]
    985 |                         snprintf(file, sizeof(file), "%s/%s",
        |                                                            ^
  conf.c:985:25: note: ‘snprintf’ output 2 or more bytes (assuming 257)
                 into a destination of size 256
    985 |                         snprintf(file, sizeof(file), "%s/%s",
        |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    986 |                                  Conf_IncludeDir, entry-&gt;d_name);
        |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The warning is correct, but this is basically why we use snprintf() in
the first place.
</content>
</entry>
<entry>
<title>Autodetect support for IPv6 by default</title>
<updated>2024-01-16T21:32:33+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-01-15T21:14:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=ccb0cf3170047d7bf372c9a43c4a6dfee1228126'/>
<id>urn:sha1:ccb0cf3170047d7bf372c9a43c4a6dfee1228126</id>
<content type='text'>
Until now, IPv6 support was disabled by default, which seems a bit
outdated in 2024. Note: You still can pass "--enable-ipv6" or
"--disable-ipv6" to the ./configure script to forcefully activate or
deactivate IPv6 support.
</content>
</entry>
<entry>
<title>Remove unmaintained contrib/MacOSX/ folder</title>
<updated>2024-01-11T14:12:48+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2024-01-08T21:16:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=07219281ef2092a29050a3934937a2a0c8916e43'/>
<id>urn:sha1:07219281ef2092a29050a3934937a2a0c8916e43</id>
<content type='text'>
This includes removing the Xcode project.

The sample launchd(8) configuration properties list file was moved to
"contrib/de.barton.ngircd.plist" and kept.
</content>
</entry>
<entry>
<title>configure.ng: Include &lt;string.h&gt; for memset in WORKING_GETADDRINFO probe</title>
<updated>2023-02-05T20:35:40+00:00</updated>
<author>
<name>Florian Weimer</name>
<email>fweimer@redhat.com</email>
</author>
<published>2023-02-02T08:56:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=0e678f766f091824f99f049c96b2374595698b4d'/>
<id>urn:sha1:0e678f766f091824f99f049c96b2374595698b4d</id>
<content type='text'>
Otherwise, the probe always fails with compilers which do not
support implicit function declarations.
</content>
</entry>
<entry>
<title>Remove outdated macOS "Package Maker" configuration</title>
<updated>2022-12-29T17:06:18+00:00</updated>
<author>
<name>Alexander Barton</name>
<email>alex@barton.de</email>
</author>
<published>2022-12-29T17:03:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=0652c99b39198f603d3a9f7b79406ffe1930a20d'/>
<id>urn:sha1:0652c99b39198f603d3a9f7b79406ffe1930a20d</id>
<content type='text'>
The tool is unavailable for many macOS versions and many years, so
remove all related files.
</content>
</entry>
<entry>
<title>updating testsuite to support ssl-tests</title>
<updated>2020-04-24T22:04:38+00:00</updated>
<author>
<name>Johann Hartwig Hauschild</name>
<email>git@hauschild.it</email>
</author>
<published>2020-04-24T22:04:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.nakidai.ru/ngircd/commit/?id=11ea6a5070e27194a28267937067203d13e5b4a4'/>
<id>urn:sha1:11ea6a5070e27194a28267937067203d13e5b4a4</id>
<content type='text'>
</content>
</entry>
</feed>
