I have had installed this in 5.0.x after I upgraded it made some errors. I tried reinstallation of the module nothing.
Here is a log of the installation that does not even allow me to start the IRC server.
ircd@ubuntu:~/unreal$ ./unrealircd module install third/setname
Reading module repository list from '/home/ircd/unreal//conf/modules.sources.list'...
Checking module repository https://modules.unrealircd.org/modules.list...
Downloading third/setname from https://raw.githubusercontent.com/unrealircd/unrealircd-contrib/master/files/setname.c...
Test compiling third/setname...
cd src; make 'CFLAGS=-I/home/ircd/unrealircd/include -pthread -I/home/ircd/unrealircd/extras/pcre2/include -I/home/ircd/unrealircd/extras/argon2/include -I/home/ircd/unrealircd/extras/c-ares/include -I/home/ircd/unrealircd/extras/sodium/include -g -O2 -fno-strict-aliasing -fno-common -funsigned-char -Wall -Wextra -Waggregate-return -Wduplicated-cond -Wduplicated-branches -Wno-pointer-sign -Wno-format-zero-length -Wno-format-truncation -Wno-unused -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-char-subscripts -Wno-sign-compare -Wno-empty-body -Wno-address -Wno-cast-function-type -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fstack-clash-protection ' 'CC=gcc' 'IRCDLIBS=-lcrypt -ldl -L/home/ircd/unreal//lib -lpcre2-8 -L/home/ircd/unreal//lib -largon2 -L/home/ircd/unreal//lib /home/ircd/unreal//lib/libcares.so -L/home/ircd/unreal//lib -lsodium ' 'LDFLAGS=-Wl,-rpath,/home/ircd/unreal//lib -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/home/ircd/unreal//lib' 'IRCDMODE=711' 'RES=' 'BINDIR=/home/ircd/unreal//bin' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=/home/ircd/unrealircd/include' 'RM=/usr/bin/rm' 'CP=/usr/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'CRYPTOLIB=-lssl -lcrypto -ldl' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=4BD7AE19.setname 'EXLIBS=' custommodule
make[1]: Entering directory '/home/ircd/unrealircd/src'
cd modules/third; make MODULEFILE=4BD7AE19.setname 'EXLIBS=' custommodule
make[2]: Entering directory '/home/ircd/unrealircd/src/modules/third'
gcc -I/home/ircd/unrealircd/include -pthread -I/home/ircd/unrealircd/extras/pcre2/include -I/home/ircd/unrealircd/extras/argon2/include -I/home/ircd/unrealircd/extras/c-ares/include -I/home/ircd/unrealircd/extras/sodium/include -g -O2 -fno-strict-aliasing -fno-common -funsigned-char -Wall -Wextra -Waggregate-return -Wduplicated-cond -Wduplicated-branches -Wno-pointer-sign -Wno-format-zero-length -Wno-format-truncation -Wno-unused -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-char-subscripts -Wno-sign-compare -Wno-empty-body -Wno-address -Wno-cast-function-type -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fstack-clash-protection -fPIC -DPIC -shared -Wl,-export-dynamic -DDYNAMIC_LINKING \
-o 4BD7AE19.setname.so 4BD7AE19.setname.c
4BD7AE19.setname.c: In function ‘cmd_setname’:
4BD7AE19.setname.c:122:70: warning: passing argument 6 of ‘match_spamfilter’ makes integer from pointer without a cast [-Wint-conversion]
122 | if (match_spamfilter(client, spamfilter_user, SPAMF_USER, NULL, 0, NULL)){
| ^~~~
| |
| void *
4BD7AE19.setname.c:122:70: note: expected ‘int’ but argument is of type ‘void *’
4BD7AE19.setname.c:122:7: error: too few arguments to function ‘match_spamfilter’
122 | if (match_spamfilter(client, spamfilter_user, SPAMF_USER, NULL, 0, NULL)){
| ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:43: custommodule] Error 1
make[2]: Leaving directory '/home/ircd/unrealircd/src/modules/third'
make[1]: *** [Makefile:66: custommodule] Error 2
make[1]: Leaving directory '/home/ircd/unrealircd/src'
make: *** [Makefile:123: custommodule] Error 2
ERROR: Compile errors encountered while compiling module 'third/setname'
You are suggested to contact the author (k4be@PIRC) of this module:
In case of problems, contact k4be on irc.pirc.pl.
Compiling third/setname...
cd src; make 'CFLAGS=-I/home/ircd/unrealircd/include -pthread -I/home/ircd/unrealircd/extras/pcre2/include -I/home/ircd/unrealircd/extras/argon2/include -I/home/ircd/unrealircd/extras/c-ares/include -I/home/ircd/unrealircd/extras/sodium/include -g -O2 -fno-strict-aliasing -fno-common -funsigned-char -Wall -Wextra -Waggregate-return -Wduplicated-cond -Wduplicated-branches -Wno-pointer-sign -Wno-format-zero-length -Wno-format-truncation -Wno-unused -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-char-subscripts -Wno-sign-compare -Wno-empty-body -Wno-address -Wno-cast-function-type -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fstack-clash-protection ' 'CC=gcc' 'IRCDLIBS=-lcrypt -ldl -L/home/ircd/unreal//lib -lpcre2-8 -L/home/ircd/unreal//lib -largon2 -L/home/ircd/unreal//lib /home/ircd/unreal//lib/libcares.so -L/home/ircd/unreal//lib -lsodium ' 'LDFLAGS=-Wl,-rpath,/home/ircd/unreal//lib -Wl,-z,relro -Wl,-z,now -Wl,-rpath,/home/ircd/unreal//lib' 'IRCDMODE=711' 'RES=' 'BINDIR=/home/ircd/unreal//bin' 'INSTALL=/usr/bin/install' 'INCLUDEDIR=/home/ircd/unrealircd/include' 'RM=/usr/bin/rm' 'CP=/usr/bin/cp' 'TOUCH=/usr/bin/touch' 'SHELL=/bin/sh' 'CRYPTOLIB=-lssl -lcrypto -ldl' 'CRYPTOINCLUDES=' 'URL=' MODULEFILE=setname 'EXLIBS=' custommodule
make[1]: Entering directory '/home/ircd/unrealircd/src'
cd modules/third; make MODULEFILE=setname 'EXLIBS=' custommodule
make[2]: Entering directory '/home/ircd/unrealircd/src/modules/third'
gcc -I/home/ircd/unrealircd/include -pthread -I/home/ircd/unrealircd/extras/pcre2/include -I/home/ircd/unrealircd/extras/argon2/include -I/home/ircd/unrealircd/extras/c-ares/include -I/home/ircd/unrealircd/extras/sodium/include -g -O2 -fno-strict-aliasing -fno-common -funsigned-char -Wall -Wextra -Waggregate-return -Wduplicated-cond -Wduplicated-branches -Wno-pointer-sign -Wno-format-zero-length -Wno-format-truncation -Wno-unused -Wno-unused-parameter -Wno-unused-but-set-parameter -Wno-char-subscripts -Wno-sign-compare -Wno-empty-body -Wno-address -Wno-cast-function-type -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fstack-clash-protection -fPIC -DPIC -shared -Wl,-export-dynamic -DDYNAMIC_LINKING \
-o setname.so setname.c
setname.c: In function ‘cmd_setname’:
setname.c:122:70: warning: passing argument 6 of ‘match_spamfilter’ makes integer from pointer without a cast [-Wint-conversion]
122 | if (match_spamfilter(client, spamfilter_user, SPAMF_USER, NULL, 0, NULL)){
| ^~~~
| |
| void *
setname.c:122:70: note: expected ‘int’ but argument is of type ‘void *’
setname.c:122:7: error: too few arguments to function ‘match_spamfilter’
122 | if (match_spamfilter(client, spamfilter_user, SPAMF_USER, NULL, 0, NULL)){
| ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:43: custommodule] Error 1
make[2]: Leaving directory '/home/ircd/unrealircd/src/modules/third'
make[1]: *** [Makefile:66: custommodule] Error 2
make[1]: Leaving directory '/home/ircd/unrealircd/src'
make: *** [Makefile:123: custommodule] Error 2
ERROR: Compile errors encountered while compiling module 'third/setname'
You are suggested to contact the author (k4be@PIRC) of this module:
In case of problems, contact k4be on irc.pirc.pl.
Module third/setname compiled successfully
Running 'make install'...
Post-installation information for third/setname from the author:
---
The module is installed. Now all you need to do is add a loadmodule line:
loadmodule "third/setname";
And /REHASH the IRCd.
The module does not need any configuration.
---
All actions were successful.
ircd@ubuntu:~/unreal$
I have had installed this in 5.0.x after I upgraded it made some errors. I tried reinstallation of the module nothing. Here is a log of the installation that does not even allow me to start the IRC server.