660 Commits

Author SHA1 Message Date
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
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
Peter Powell
f1c3833663 Don't clear the screen when running in interactive mode.
This hides potentially useful information.
2019-01-29 21:18:18 +00:00
Peter Powell
59ddf1a456 Improve setting the gid/uid which will own files.
- Consistently set the gid/uid for all directories and files.
- Replace the obnoxious warning about root on `make install` with
  a friendlier warning whilst running configure.
- Always install the inspircd executable and modules.
2019-01-29 21:18:18 +00:00
Peter Powell
f4041a13c3 Release v3.0.0 release candidate 1. 2019-01-07 22:41:54 +00:00
Peter Powell
0fc595caac Enable as many extra modules as possible when running configure. 2018-10-27 04:27:16 +01:00
Peter Powell
0e397ff721 Tell the user to check out the latest tag rather than the branch.
When the InspIRCd 3.x branch forks this will tell the user to go
back to the latest tag on the branch.
2018-10-26 02:57:13 +01:00
Peter Powell
ec6bdd1ae9 Use arc4random_buf() instead of random() when available. 2018-07-20 11:48:22 +01:00
Peter Powell
27e92622b5 Improve the message shown to the admin when generating SSL certs.
Self-signed SSL certificates are intended for testing purposes. A
production server should be using a CA-signed certificate instead.
2018-03-01 19:43:36 +00:00
Peter Powell
d4414f5491 Remove support for the Solaris IOCP socket engine.
After discussing this with Adam we have decided that there is very
little point in keeping this now that Solaris has been killed. Any
legacy Solaris users will have to make do with poll.

This change does not affect users of Solaris forks like Illumos as
they have support for epoll which will have already been selected
over Solaris IOCP by configure.
2017-10-22 19:42:11 +01:00
emerson
b89fbe9e02 Fix SCRIPT_DIR directory change
SCRIPT_DIR didn't automatically change directory if the user specified a
non-default directory
2017-09-25 14:24:08 -04:00
Peter Powell
8270aca2ee Allow the script directory to be set in interactive mode. 2017-09-24 10:36:20 +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
Attila Molnar
e9d645cd30 Merge pull request #1338 from SaberUK/master+openvz
Warn the user about clock drifting when running on OpenVZ.
2017-07-09 21:16:52 +02:00
Peter Powell
7cc96c9216 Warn the user about clock drifting when running on OpenVZ. 2017-05-20 15:13:18 +01:00
Peter Powell
5e188db59d Tidy up the socket engine selection code. 2017-05-19 17:35:16 +01:00
Peter Powell
64273cc51b Rename read_configure_cache to read_config_file and move to common. 2017-03-25 00:54:21 +00:00
Attila Molnar
b16bc08b2c Merge pull request #1273 from SaberUK/master+bs
Fix the clock_gettime() test on macOS Sierra
2016-12-29 16:05:19 +01:00
Peter Powell
032a1f8567 Add interactive-mode support for setting the compiler binary. 2016-12-26 05:57:34 +00:00
Peter Powell
27facf2e0c Fix the clock_gettime() test on macOS Sierra.
macOS now supports clock_gettime() but it is part of libSystem
rather than librt which does not exist on macOS.
2016-12-26 05:17:41 +00:00
Peter Powell
3ad1a0bad2 Fix the distribution label not showing up since b8d85c6251. 2016-11-18 18:13:47 +00:00
Peter Powell
1d45a7264c Update build system for the removal of . from @INC. 2016-11-08 09:31:56 +00:00