446 Commits

Author SHA1 Message Date
Sadie Powell
07672be5bd Define _BSD_SOURCE when building on Haiku.
This fixes a few modules which depend on common BSD extensions.
2023-07-12 09:23:44 +01:00
Sadie Powell
7b1f75d392 Fix a missing quote in the inspircd.1 man page. 2023-07-04 08:03:09 +01:00
InspIRCd Robot
f2c74267ac Update copyright headers. 2023-04-28 10:21:39 +01:00
Sadie Powell
9c95315763 Fix suspending GDB when the process gets sent a signal. 2023-01-09 18:08:40 +00:00
InspIRCd Robot
2b810b412a Update copyright headers. 2022-12-30 11:31:28 +00:00
Sadie Powell
513309fc68 Fix building with the Intel C++ compiler.
- Fix adding -Wshadow in the compiler flags twice.
- Detect the new Clang-based Intel compiler as well as the old one.
- Silence some deprecation warnings using Intel syntax.
2022-12-10 06:58:39 +00:00
Sadie Powell
1e29546b16 Remove error prone missing include logic in calcdep.
[skip windows ci]
2022-09-24 17:41:44 +01:00
InspIRCd Robot
96f355c2fa Update copyright headers. 2022-08-25 20:46:11 +01:00
Sadie Powell
d124f8c4db Fix the last modified dates of the man pages.
The Linux man-pages project recommends using YYYY-MM-DD. Some dates
had also not been updated since they were added.
2022-08-24 04:04:49 +01:00
Wade Cline
af78050297
Allow logrotate to rotate logs with just a pid file.
Ref: #1991
2022-07-19 10:21:17 +01:00
Wade Cline
5384fb3e2d
Fix the logrotate config rotating already rotated log files.
Ref: #1990.
2022-07-11 01:16:02 +01:00
InspIRCd Robot
346ec99c43 Update copyright headers. 2022-04-28 18:49:16 +01:00
Sadie Powell
63aa0a11e0 Fix SSL modules not being able to access the system-wide SSL dirs. 2022-01-31 18:23:00 +00:00
Sadie Powell
72267a59d4 Fix the regex_re2 module on the latest RE2 git.
[skip windows ci]
2022-01-18 17:38:06 +00:00
Sadie Powell
64a3eaa917 Fix being unable to use a pkg-config that isn't in the PATH.
[skip windows ci]
2022-01-18 17:31:33 +00:00
Sadie Powell
d414992019 Add extra debug information to the module error message.
[skip windows ci]
2022-01-17 13:54:27 +00:00
InspIRCd Robot
4540162276 Update copyright headers. 2021-08-27 09:38:22 +01:00
Sadie Powell
5c8519015b Remove the root checks from the helper script.
This has never actually worked properly. If a user wants to drop
privileges then they should specify that in the config file.
2021-07-28 10:24:55 +01:00
Josh Soref
de6d4dbd1e
Fix various spelling issues (#1883).
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-06-21 21:47:06 +01:00
Sadie Powell
77d5b214fb Fix uninstalling files on make deinstall and similar. 2021-06-09 09:14:28 +01:00
Sadie Powell
3766337fcb Add the --disable-ownership option to help packagers out. 2021-06-09 04:20:09 +01:00
Sadie Powell
d298378b3d Fix the compiler_info name for the Intel compiler. 2021-06-09 02:36:31 +01:00
Sadie Powell
3adf2b7643 Create the runtime directory at install time if it does not exist. 2021-05-14 18:42:43 +01:00
Sadie Powell
9d5b3f0d3c Remove some todo comments which are outdated or misleading. 2021-03-05 04:31:20 +00:00
Sadie Powell
85a4184ab4 Fix print_warning using print instead of say. 2021-02-28 19:55:31 +00:00
Sadie Powell
0144c23638 Fix running configure on systems with old versions of Perl.
Closes #1852.
2021-02-28 18:46:56 +00:00
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +00:00
Sadie Powell
5b21a60a9d Fix using the TR1 headers on compilers that support C++17. 2021-02-01 17:00:19 +00:00
Sadie Powell
55a0a6ab66 Fix the base path being used for more than just the install prefix. 2021-01-31 14:38:46 +00:00
Sadie Powell
10714b0ded Fix bitshift in INSPIRCD_VERSION_SINCE. 2021-01-30 17:31:40 +00:00
Sadie Powell
ce05e885a9 Remove unnecessary chdirs in the helper script. 2021-01-29 15:01:37 +00:00
Sadie Powell
0e5081e87c Fix some minor oversights introduced in 859a799 and 3e557e8. 2021-01-29 14:24:56 +00:00
Sadie Powell
413a08a4d3 Improve the ./configure --help output
- Document --portable, --runtime-dir, and INSPIRCD_VERBOSE.
- Make the output coloured on supporting terminals.
- Fix the description of --data-dir.
- Wrap all lines at 80 charactrs.
- Upper case the value names and wrap in <> not [].
2021-01-29 14:10:00 +00:00
Sadie Powell
2fceea41e8 Always use for in Perl modules. 2021-01-29 13:46:37 +00:00
Sadie Powell
3e557e85d3 Purge all remaining uses of print_format. 2021-01-29 13:39:13 +00:00
Sadie Powell
859a79923a Migrate some stuff away from print_format. 2021-01-27 16:47:08 +00:00
Sadie Powell
f6b861f12d Fix unnecessary begin blocks in Perl source files. 2021-01-25 12:39:56 +00:00
Sadie Powell
a59ed4b394 Add a new runtime directory and move the pid file to it.
The data directory is intended for persistent files whereas the pid
file is ephemeral. This distinction doesn't matter by default but
on system-wide installs ephemeral runtime files go in /var/run or
/run instead.
2021-01-18 07:05:27 +00:00
Sadie Powell
8b2f3980cc Fix ./configure --update with cache files generated before v3.2. 2021-01-18 06:54:01 +00:00
Sadie Powell
dac5a72ac3 Use the builtin Perl kill function not system. 2020-12-31 22:54:50 +00:00
Sadie Powell
2b7c396708 Export console_format from make::console and make it more robust.
Previously a module could do warning("<|INVALID wibble|>") in its
$CompilerFlags or $LinkerFLags and this would break the build.
2020-12-31 22:54:50 +00:00
Sadie Powell
aa0221d87c Replace the SERVER stub command with something actually useful.
This will typically never be reached because the remote will wait
until it receives a CAPAB response before sending SERVER. Instead
replace it with a CAPAB stub command that quits servers with a
helpful message.
2020-12-20 04:04:36 +00:00
Sadie Powell
90d819682d Make people aware that they can get support on GitHub now. 2020-12-09 02:03:44 +00:00
Sadie Powell
3ed008345e Remove an obsolete comment about BSD Make. 2020-11-12 20:33:42 +00:00
Sadie Powell
713842fef7 Add an AppArmor config. 2020-11-12 14:22:54 +00:00
InspIRCd Robot
e73d011e68 Update copyright headers. 2020-10-30 12:01:10 +00:00
Sadie Powell
78c79a379a More consistently show modules without the file prefix and suffix. 2020-10-15 17:15:28 +01:00
Sadie Powell
a3aa70cf18 Remove the mod-footer make target as it prints invalid messages. 2020-09-30 16:45:35 +01:00
Sadie Powell
b64fe8320e Store generated SSL certificates in the .configure directory.
Co-Authored-By: Nicole Kleinhoff <ilbelkyr@shalture.org>
2020-09-26 23:34:03 +01:00
Sadie Powell
9efce7bd23 Add documentation links to the systemd unit file.
Ref: https://www.freedesktop.org/software/systemd/man/systemd.unit.html#%5BUnit%5D%20Section%20Options
2020-09-19 14:08:16 +01:00