570 Commits

Author SHA1 Message Date
Dominic Hamon
02340285c5
Added -Wshorten-64-to-32 and fixed all warnings. 2021-05-30 20:37:54 +01:00
Sadie Powell
b08e70f0bf Merge branch 'insp3' into master. 2021-05-22 06:39:47 +01:00
Sadie Powell
991bd9e4ae Remove bsd.mk; this file only existed for ease of v3 migration. 2021-05-19 18:54: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
3c426be2a1 Refer to encryption as TLS instead of SSL in all messages. 2021-04-08 11:45:15 +01:00
Sadie Powell
1011981f47 Stop asking if users want to generate a self-signed certificate.
Users should be using real certificates in 2021.
2021-03-30 21:20:48 +01:00
Sadie Powell
86c991f7ae Stop installing inspircd-genssl and delete the now useless manpage.
Hopefully this pushes people towards using real certificates instead
of self-signed certificates.
2021-03-30 19:58:18 +01:00
Sadie Powell
e76b208ce8 Merge branch 'insp3' into master. 2021-03-05 09:54:26 +00:00
Sadie Powell
f644b58a01 Remove unnecessary prefix from socketengine source files. 2021-03-05 08:20:49 +00:00
Sadie Powell
9d5b3f0d3c Remove some todo comments which are outdated or misleading. 2021-03-05 04:31:20 +00:00
Sadie Powell
1e1cf527d2 Merge branch 'insp3' into master. 2021-03-05 02:32:35 +00:00
Sadie Powell
85a4184ab4 Fix print_warning using print instead of say. 2021-02-28 19:55:31 +00:00
Sadie Powell
606677c865 Require Perl 5.26 in the build system.
This version is supported by all major systems that ship the C++17
compilers required by the v4 branch.
2021-02-28 19:20:08 +00:00
Sadie Powell
c22c7e5a99 Merge branch 'insp3' into master. 2021-02-28 19:16:40 +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
9ef90acced Merge branch 'insp3' into master. 2021-02-01 18:57:52 +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
bb35650b57 Merge branch 'insp3' into master. 2021-01-29 18:15:32 +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
db0052bcc2 Merge branch 'insp3' into master. 2021-01-18 11:42:25 +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
4f68d162cc Merge branch 'insp3' into master. 2021-01-07 13:13:58 +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
a63b6e16df Merge branch 'insp3' into master. 2020-12-21 16:40:52 +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
54e0cade5c Merge tag 'v3.8.1' into master. 2020-11-20 15:45:17 +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
Sadie Powell
610d92ae6a Only use libc++ when building with AppleClang. 2020-11-10 19:54:51 +00:00
Sadie Powell
2310b03ad5 Initial support for platform-specific module file extensions. 2020-11-04 13:37:14 +00:00
Sadie Powell
e7837aa2ca Merge branch 'insp3' into master. 2020-11-01 00:32:38 +00:00
InspIRCd Robot
e73d011e68 Update copyright headers. 2020-10-30 12:01:10 +00:00
Sadie Powell
5a88a78f99 Merge branch 'insp3' into master. 2020-10-27 10:50:28 +00:00
Sadie Powell
03f32a45c7 Replace the check for eventfd() with a C++17 header check. 2020-10-20 00:17:54 +01: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
f6c4ff5498 Merge branch 'insp3' into master. 2020-09-27 12:37:24 +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