128 Commits

Author SHA1 Message Date
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
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
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
a63b6e16df Merge branch 'insp3' into master. 2020-12-21 16:40:52 +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
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
78c79a379a More consistently show modules without the file prefix and suffix. 2020-10-15 17:15:28 +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
73b4ac1b3a Merge branch 'insp3' into master. 2020-08-25 10:46:42 +01:00
Sadie Powell
7af6a054be Add a link to the packaging advice to the configure help. 2020-08-25 09:54:27 +01:00
InspIRCd Robot
2f12f76ec9 Update copyright headers. 2020-07-30 14:31:12 +01:00
Sadie Powell
93ae431955 Merge branch 'insp3' into master. 2020-07-15 11:00:24 +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
a721aaf90f Merge branch 'insp3' into master. 2020-05-19 20:37:32 +01:00
Sadie Powell
87bb27a7a7 Implement support for portable installations. 2020-05-16 14:25:24 +01:00
Sadie Powell
30e7e13298 Bump the minimum compiler version to C++17. 2020-05-11 13:12:43 +01:00
Sadie Powell
1de6f5b4a9 Merge branch 'insp3' into master. 2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
f856d5ab8a Merge branch 'insp3' into master. 2020-01-01 12:33:10 +01:00
Sadie Powell
56375392ba Update my name and email address. 2019-12-31 20:55:17 +01:00
Sadie Powell
8848169e8b Merge branch 'insp3' into master. 2019-09-23 00:37:33 +01:00
Peter Powell
1cf76f8aae Respect indentation in configure template declarations. 2019-09-07 12:54:29 +01:00
Sadie Powell
cd8b456f97 Merge branch 'insp3' into master. 2019-07-16 16:48:18 +01:00
Peter Powell
021fe61d85 Document the --example-dir option. 2019-07-05 10:09:06 +01:00
Sadie Powell
1d5b18de82 Merge branch 'insp3' into master. 2019-05-15 15:26:55 +01:00
Peter Powell
a55ca00569 Document the --disable-auto-extras configure option. 2019-05-15 10:58:45 +01:00
Sadie Powell
bfa5fb407e Merge branch 'insp3' into master. 2019-02-05 00:47:30 +00:00
Sadie Powell
9828a06514 Switch the build system to use C++14. 2019-01-25 02:46:43 +00:00
Peter Powell
961109ae4f Remove trailing whitespace from various source files. 2019-01-24 22:18:22 +00:00
Peter Powell
479d0d9de4 Avoid using relative paths in make::configure. 2018-10-04 14:17:02 +02:00
Peter Powell
4743b23e5c Remove INSPIRCD_SOCKETENGINE_NAME and INSPIRCD_SYSTEM.
- INSPIRCD_SOCKETENGINE_NAME is not really something that needs to
  be user facing. If opers want to know this kind of internal info
  then they can look at the build configuration.

- INSPIRCD_SYSTEM causes problems for reproducible builds and is
  only accurate for the state of the system when InspIRCd is built
  which is not useful in the slightest.
2017-10-15 11:57:05 +01:00
Peter Powell
b8babf2c43 Move the init scripts out of the prefix into the new script dir.
The previous directory was okay for home directory installs but
was problematic for system wide installs.
2017-09-21 20:49:49 +01:00
Peter Powell
bb9db07c21 Remove support for building with BSD Make.
BSD users should install GNU Make to build InspIRCd.
2017-07-24 17:00:05 +01:00
Peter Powell
3cf2dd8247 Remove use of global barewords in most file handling code.
This is not considered good practise in modern Perl code.

A few cases of this still remain in code which is due to be
rewritten anyway.
2017-07-11 17:37:20 +01:00
Peter Powell
7e1629bdf1 Switch compiler detection to use a more reliable method.
Its clear that parsing version output is not reliable enough so
switch to using a method which is less likely to break.
2017-04-14 14:59:03 +01:00
Peter Powell
c185edf71c Extract core logic of write_configure_cache to write_config_file. 2017-03-25 00:54:25 +00:00
Peter Powell
64273cc51b Rename read_configure_cache to read_config_file and move to common. 2017-03-25 00:54:21 +00:00
Peter Powell
62aa553563 Don't suppress error output when INSPIRCD_VERBOSE is set. 2016-12-26 05:07:40 +00:00
Peter Powell
3ad1a0bad2 Fix the distribution label not showing up since b8d85c6251. 2016-11-18 18:13:47 +00:00
Peter Powell
806e57433a Rewrite the build system directive parser. 2016-09-16 04:23:56 +01:00
Peter Powell
c0ec56e9c7 Fix "use of uninitialized value $key in hash element" error. 2016-04-04 13:51:32 +01:00