286 Commits

Author SHA1 Message Date
Peter Powell
e743b2d90a Update documentation links. 2019-04-26 23:20:40 +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
Sadie Powell
1fff2f7f87 Merge branch 'insp3' into master. 2019-03-30 22:06:19 +00: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
Sadie Powell
e75f03d32f Merge branch 'insp3' into master. 2019-02-15 16:24:02 +00:00
Peter Powell
84597efb27 Silence a warning from the helper script on OpenBSD. 2019-02-14 16:16:01 +00:00
Sadie Powell
bfa5fb407e Merge branch 'insp3' into master. 2019-02-05 00:47:30 +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
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
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
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
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
197279b8c9 Always show Make commands for the user to execute in quotes.
Fixes #1189.
2018-06-26 16:38:34 +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
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
Peter Powell
e4f89286df Fix a minor typo in the init script. 2017-10-05 16:51:16 +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
25f2f7f3e8 Rework the example services aliases.
- Split common stuff into a generic configuration file.
- Reserve all nicknames used by services by default.
- Exempt all services clients from filtering.
- Add missing aliases for services pseudoclients.
2016-11-16 10:56:39 +00:00
Peter Powell
fff28e7ff0 Use the environment's CPPFLAGS as well as its CXXFLAGS. 2016-09-17 03:07:44 +01:00
Peter Powell
b8d85c6251 Update stuff for the new versioning system. 2016-09-02 22:13:22 +02:00
Attila Molnar
b9e11915a9 Merge insp20 2016-08-17 12:49:48 +02:00
Peter Powell
9401f1fbc3 GCC should never assume that this can not be null. 2016-06-27 15:41:27 +01:00
Peter Powell
0d7d6a9d09 Pass INSPIRCD_VERBOSE through the environment to unit-cc. 2016-06-27 00:35:16 +01:00
Peter Powell
ff53aa7282 Fix cleaning files generated by configure.
This is an oversight from f79a55616b5ff05d4f2e6b031a17be5668d1d3ea.
2016-06-27 00:35:15 +01:00
Peter Powell
955b0d74dc Fix extraneous quotes in makefile template. 2016-04-10 04:33:25 +01:00
Peter Powell
4ad12dd44e Rename M to INSPIRCD_MODULE. 2016-04-04 13:20:21 +01:00
Peter Powell
4c089bd681 Rename T to INSPIRCD_TARGET. 2016-04-04 13:20:21 +01:00
Peter Powell
eaa3de48d2 Rename D to INSPIRCD_DEBUG. 2016-04-04 13:20:21 +01:00
Peter Powell
be74a8c8d2 Rename V to INSPIRCD_VERBOSE. 2016-04-04 13:20:21 +01:00
Peter Powell
30bd7bb39f Rename PURE_STATIC to INSPIRCD_STATIC. 2016-04-04 13:20:21 +01:00
Peter Powell
eced506220 Delete modules cautiously when doing a deinstall. 2016-03-25 12:33:30 +00:00
Peter Powell
ba0649304a Partially revert "Quote paths in the makefile".
There is no need to quote BASE and {BIN,CON,DAT,MOD,LOG}PATH
because they are alreaady quoted. {BUILD,SOURCE}PATH however
are unquoted so their usages still need to be quoted.

This reverts commit dbcbf9647d0abb421f8a84b41e674f403c91ce8f.
2016-03-25 12:29:52 +00:00
Peter Powell
f79a55616b Write generated templates to the .configure directory. 2016-03-22 23:38:44 +00:00
Peter Powell
8aced44661 Fix 'cron' and 'restart' in the helper not forwarding arguments. 2016-03-21 17:15:50 +00:00
Peter Powell
dbcbf9647d Quote paths in the makefile.
This prevents problems caused by paths with spaces in them.
2016-02-26 14:10:57 +00:00
Attila Molnar
0b63ccd0b5 Merge insp20 2016-02-22 12:52:18 +01:00
Peter Powell
7da9057946 Fix "make -jX debug install" causing linker errors. 2015-07-29 23:46:33 +01:00
Peter Powell
0207736989 Log STDOUT and STDERR in the launchd script. 2015-06-24 23:06:11 +01:00
Peter Powell
2ad8a6791b Fix system-wide installation of the data and log directories.
The existing method works fine when building with the default
paths but breaks when you are doing a system-wide installation.
2015-06-14 19:39:15 +01:00