383 Commits

Author SHA1 Message Date
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
3dd446de41 Add a replacement for the nationalchars module. 2020-01-07 18:55:35 +00:00
Sadie Powell
56375392ba Update my name and email address. 2019-12-31 20:55:17 +01:00
Peter Powell
cad88bcffb Use network-online instead of network in the systemd service.
As recommended at https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/.

Closes #1729.
2019-11-30 16:17:32 +00:00
Peter Powell
08393c0028 Use separate build dirs when rebuilding with a different compiler. 2019-10-16 12:34:24 +01:00
Peter Powell
96d3f92801 Install the provider configs. 2019-09-07 14:44:36 +01:00
Peter Powell
2648a0e1c4 Replace the gdbargs file with the --eval-command flag. 2019-09-07 14:36:20 +01:00
Peter Powell
1cf76f8aae Respect indentation in configure template declarations. 2019-09-07 12:54:29 +01:00
Peter Powell
e7ca24f4dc Add -Werror to the Travis build flags. 2019-08-23 10:40:48 +01:00
Peter Powell
6d775e0127 Link to the associated documentation page for modules in errors. 2019-07-16 11:52:09 +01:00
Peter Powell
9a7b478f1d Refer to modules without the m_ prefix in error messages 2019-07-16 10:25:35 +01:00
Peter Powell
021fe61d85 Document the --example-dir option. 2019-07-05 10:09:06 +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
25359c0884 Fix finding files when the init script is not in the cwd.
This should fix #1621.
2019-07-03 10:02:13 +01:00
Peter Powell
a55ca00569 Document the --disable-auto-extras configure option. 2019-05-15 10:58:45 +01:00
Peter Powell
510f747854 Clean up and document the config header file. 2019-05-13 15:22:14 +01:00
Peter Powell
e122a986a4 Fix relying on PWD being set in the makefile.
This may not be set in some circumstances.
2019-05-06 01:57:26 +01:00
Peter Powell
f852e2d7fe Fix the permissions files are installed with.
Reported by @ensra.
2019-05-04 21:34:11 +01:00
Peter Powell
044fa99968 Fix --distribution-label erroneously requiring --development.
Reported by @ensra.
2019-05-03 15:17:15 +01:00
Peter Powell
87b1461e2a Merge branch 'insp20' into insp3. 2019-05-02 00:49:01 +01:00
Peter Powell
e743b2d90a Update documentation links. 2019-04-26 23:20:40 +01:00
iwalkalone
56c9477428 Link flags must be after compiled objects. 2019-04-22 02:01:36 +01:00
Peter Powell
62dc1769c9 Omit debug symbols when doing CI builds.
This provides a significant build time improvement.
2019-04-16 12:09:30 +01:00
Robby
94ce90c588 Add the User and Group options to the systemd service unit template file. 2019-03-24 14:47:48 +00:00
Robby
ac0d5abaac Update most URLs to use HTTPS and fix some dead links. 2019-03-14 11:02:24 +00:00
Peter Powell
84597efb27 Silence a warning from the helper script on OpenBSD. 2019-02-14 16:16:01 +00:00
Peter Powell
a580cacb19 Improve the accessibility and robustness of prompt_bool.
- Use "yes" and "no" instead of "y" and "n".
- Validate the true and false responses properly.
- Keep prompting the user for a response until they give one which
  is valid.
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
961109ae4f Remove trailing whitespace from various source files. 2019-01-24 22:18:22 +00:00
Peter Powell
a9a94b6587 Fix "smartmatch is experimental" warning from the helper script. 2018-10-26 14:18:42 +01:00
Peter Powell
2d50984185 Fix a bunch of harmless compiler warnings on recent GCC releases. 2018-10-26 01:20:35 +01:00
Peter Powell
2b4682c2d1 Change the branch version from InspIRCd-3.0 to InspIRCd-3.
Under the new versioning scheme when a new branch is forked the
major version number will be reset. The minor version number will
now be used to mark a release as containing backwards compatible
additions and the patch version number will be used to mark a
release as containing just bug fixes.
2018-10-25 23:29:55 +01:00
Peter Powell
8e3aaf1ff0 Add a directive for requiring a specific compiler. 2018-10-04 14:17:02 +02:00
Peter Powell
479d0d9de4 Avoid using relative paths in make::configure. 2018-10-04 14:17:02 +02:00
Peter Powell
2af0476c5a Move the SQL tables to docs/sql and install them on make install. 2018-09-26 23:36:19 +01:00
Peter Powell
69f70c16d0 Document the --nopid option in the manual pages. 2018-08-24 12:08:56 +01:00
Peter Powell
7d4f8960f8 Add support for vendoring dependencies. 2018-08-14 15:48:39 +01:00
Peter Powell
d9a52277df Remove support for static modules.
This has been frequently broken in the past and as far as I know is
used by literally nobody.

Also, even if all modules are compiled into the core any libraries
linked against are and have always been linked dynamically making
this unusable on platforms without dynamic libraries.
2018-07-31 03:20:18 +01:00
Peter Powell
0438ae0aa4 Define HAS_ARC4RANDOM_BUF in config.h if available. 2018-07-20 12:30:40 +01:00
Peter Powell
ec6bdd1ae9 Use arc4random_buf() instead of random() when available. 2018-07-20 11:48:22 +01:00
Peter Powell
197279b8c9 Always show Make commands for the user to execute in quotes.
Fixes #1189.
2018-06-26 16:38:34 +01:00
Peter Powell
2241991dda Show the package name in the message when doing pkg-config lookups. 2018-06-24 23:24:46 +01:00
Peter Powell
2772c2fa2d Use the pwd tool that is in the path rather than /bin/pwd. 2018-05-01 19:47:08 +02:00
Puck Meerburg
56a1ef63e7 Add Haiku support 2018-03-10 20:44:09 +01:00
Peter Powell
7e5e4a5ae2 Append LDFLAGS at the same time as CPPFLAGS and CXXFLAGS.
This deduplicates the addition of these flags.
2018-02-24 11:48:02 +00:00
Peter Powell
98372c3cf2 Extract RFC modes from the core to core_channel and core_user. 2017-12-10 12:38:45 +00:00
Peter Powell
c83ce75368 Merge INSPIRCD_MODULE and INSPIRCD_TARGET. 2017-11-29 19:23:40 +00:00
Peter Powell
8bc03773ca Remove the preconfigured Charybdis and UnrealIRCd module files.
These are extremely outdated. If we want to ship these then they
should be redone from scratch.
2017-11-22 13:31:24 +00: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