630 Commits

Author SHA1 Message Date
InspIRCd Robot
e94b673532 Update copyright headers. 2021-05-14 14:48:39 +01:00
Sadie Powell
4ace96e521 Make the system-wide runtime directory /var/run/inspircd.
This avoids permission issues.
2021-03-25 12:28:11 +00:00
Sadie Powell
b378b5087b Allow passing --prefix with --system. 2021-03-11 07:38:15 +00:00
Sadie Powell
fd6cb9caba Fix using single quotes where double quotes should be used. 2021-03-06 02:31:10 +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
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
55a0a6ab66 Fix the base path being used for more than just the install prefix. 2021-01-31 14:38:46 +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
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
2145cc3f94 Skip extra whitespace in --{enable,disable}-extras. 2020-11-08 20:23:27 +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
ShutterQuick
219f8e6262
Implement support for Argon2 password hashing.
Resolves #1540.
2020-10-10 18:25: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
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
Anatole Denis
c1817f3203 configure: Fix log-dir in --system mode
There was a typo, making configure invoked with --system overwrite the
passed --log-dir option with the value of --module-dir
2019-05-17 16:44:40 +01:00
Peter Powell
a55ca00569 Document the --disable-auto-extras configure option. 2019-05-15 10:58:45 +01:00
Peter Powell
29f4254029 Fix configure not failing when invalid flags are passed to it. 2019-05-12 11:51:05 +01:00
Peter Powell
2cc524a1c6 Add a configure flag for disabling automatically enabling extras.
Requested by @niacat.
2019-05-12 11:50:57 +01:00
Peter Powell
044fa99968 Fix --distribution-label erroneously requiring --development.
Reported by @ensra.
2019-05-03 15:17:15 +01:00
Robby
e57d1b19ff Textual improvements and fixes such as typos, casing, etc. (#1612) 2019-04-28 09:14:21 +01:00
Peter Powell
14e1d1f844 Replace the geoip module with geo_maxmind, geoban, and geoclass.
MaxMind have EOL'd the library that the geoip module uses and have
replaced it with libmaxminddb.

The geoip module has been split into geo_maxmind which provides
geolocation data, geoban which provides location-based channel
bans, and geoclass which is used to filter a user into a connect
class based on location.
2019-04-15 19:08:22 +01:00
Robby
ac0d5abaac Update most URLs to use HTTPS and fix some dead links. 2019-03-14 11:02:24 +00:00
Peter Powell
88d5659922 Tell people to run make install instead of just make. 2019-02-06 23:15:33 +00:00