689 Commits

Author SHA1 Message Date
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
9d26c40d1b Fix detection of the ldap, regex_stdlib, and ssl_mbedtls module deps.
I am so sorry for writing this cursed magic.
2021-03-05 08:04:58 +00:00
Sadie Powell
9d5b3f0d3c Remove some todo comments which are outdated or misleading. 2021-03-05 04:31:20 +00:00
Sadie Powell
384c880cc6 Warn users of old compiler versions about the upcoming version bump. 2021-02-28 19:54:30 +00:00
Sadie Powell
102c54990c Warn users of old Perl versions about the upcoming version bump. 2021-02-28 19:32:33 +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
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +00:00
Sadie Powell
1794c202b9 Fix the system-wide paths to not violate the Linux FHS. 2021-02-08 13:03:56 +00:00
Sadie Powell
9ef90acced Merge branch 'insp3' into master. 2021-02-01 18:57:52 +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
bb35650b57 Merge branch 'insp3' into master. 2021-01-29 18:15:32 +00:00
Sadie Powell
0e5081e87c Fix some minor oversights introduced in 859a799 and 3e557e8. 2021-01-29 14:24:56 +00:00
Sadie Powell
2fceea41e8 Always use for in Perl modules. 2021-01-29 13:46:37 +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
54e0cade5c Merge tag 'v3.8.1' into master. 2020-11-20 15:45:17 +00:00
Sadie Powell
2145cc3f94 Skip extra whitespace in --{enable,disable}-extras. 2020-11-08 20:23:27 +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
ShutterQuick
219f8e6262
Implement support for Argon2 password hashing.
Resolves #1540.
2020-10-10 18:25:24 +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
Sadie Powell
9cdd7c70ee The file extension is optional when calling enable_extras. 2020-09-23 13:28:47 +01:00
Sadie Powell
825a50356c Require building with at least one SSL module. 2020-09-18 15:25:33 +01:00
Sadie Powell
aebab66b30 Show the location of cache.cfg relative to the root directory. 2020-09-13 20:45:36 +01:00
Sadie Powell
651413bbc5 Don't warn about SSL modules if using --disable-auto-extras. 2020-08-29 19:59:34 +01:00
Sadie Powell
cae3a4e728 Rewrite --{enable,disable}-extras logic. 2020-08-25 09:43:05 +01:00
Sadie Powell
382b278f72 Ask if self-signed certs should be deleted when running configure.
Closes #1793.
2020-08-03 12:15:04 +01:00
Sadie Powell
07b12e7249 Various improvements to the build system.
- Fix running configure where configure is not in the PWD.
- Only show relative paths when generating files from templates.
2020-07-07 08:33:07 +01:00
Sadie Powell
87bb27a7a7 Implement support for portable installations. 2020-05-16 14:25:24 +01:00
Sadie Powell
5a95d907d4 Improve building the install paths in non-system mode.
- Use rel2abs on the base path instead of on every sub-directory.
- Use catdir for joining paths instead of string concatenation.
2020-05-16 11:43:11 +01:00
Sadie Powell
bec70fca51 Add a comment for packagers who delete the --{uid,gid} checks. 2020-03-31 17:33:55 +01:00
Sadie Powell
5960cbcde3 Fix get_cpu_count not being evaluated as a scalar.
This fixes a bug where the changes in 0c34d28447 did not work.
2020-03-09 03:44:41 +00:00
Sadie Powell
0c34d28447 Tell people to run make with the number of CPU cores plus 1.
This results in faster builds as there's always one job waiting.
2020-02-10 11:59:15 +00:00
InspIRCd Robot
8f62016f16 Update copyright headers. 2020-01-31 12:48:25 +00:00
Sadie Powell
2c33a3027b Improve manually enabling extra modules.
- Allow modules to be specified without their prefix and extensions
  in --{disable,enable}-extras.
- Allow modules to be space delimited in --{disable,enable}-extras.
2020-01-18 13:27:24 +00:00
Sadie Powell
a0176191c9 Remove whitespace between the shebang and the copyright header. 2020-01-11 22:53:07 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
56375392ba Update my name and email address. 2019-12-31 20:55:17 +01:00
Matt Schatz
274f40653f Update examples directory when paths are changed interactively. 2019-10-20 20:30:24 +01:00
Peter Powell
c9a812a5cc Allow customising the example config directory at build time.
Fixes #1626.
2019-07-03 10:53:21 +01:00
Peter Powell
cf35e67318 Warn when building without SSL support. 2019-06-17 10:06:26 +01:00
Peter Powell
806b4d55a2 Add a configure warning about OpenBSDs broken compilers/linkers. 2019-06-06 22:28:25 +01:00