Other than to older branches which are still supported we generally do not provide patch backports due to it requiring a significant amount of work on our behalf. Please try to avoid backporting patches by only shipping the latest version of InspIRCd wherever possible.
Make sure to pass the
--distribution-label option with a label that uniquely identifies your specific package and package version (e.g. mewos3.14) to configure when building. This helps us identify distribution packaged versions when people ask for support. See our official RPM package sources for an example of how to use this.
Please don't ship preconfigured config files as they become outdated very quickly and result in us having to answer the same support questions over and over again. Our example files should be well documented enough for users to create their own config files.
If you are performing a system-wide install you should use the
--system option. This will automatically the install paths for use in a system-wide install.
When performing a system-wide build you may be asked to specify a user and group to run as. If you want to run as another user or if your package management system automatically handles changing file permissions then you may want to pass one of the following flag options to
You will probably want to set
INSPIRCD_DISABLE_RPATH=1 in the environment to avoid embedding runtime paths into the compiled binaries.
# If always run as root. ./configure --gid 0 --uid 0 ... # If running as another user. ./configure --gid $(id -g) --uid $(id -u) ... # If you want to configure ownership yourself. ./configure --disable-ownership ...
By default the extra modules for which the dependencies are installed are automatically enabled when you run
./configure. To override this you can pass
--disable-auto-extras option to your initial
./configure run and then execute
./configure again with the
--enable-extras option followed by a space delimited string of the list of modules you want to enable as shown below.
./configure --disable-auto-extras ... ./configure --enable-extras "ldap regex_posix sslrehashsignal"`
It is recommended that you ship as many extra modules as possible but due to GPLv2 conflicts not all modules can legally be shipped in binary form. Below is a list of the modules shipped with the latest version and their legal status.
|argon2||libargon2||Apache 2.0 / CC0||Yes|
|ssl_openssl||libcrypto libssl||Custom / Apache 2.0||No|
Please don't make major changes to InspIRCd when packaging because it makes it really hard for us to handle support and tracing bugs. Distributions doing this in the past has led to them introducing security vulnerabilities which put users at risk for years.
If you have any minor patches which are relevant to people outside of your distribution then please upstream them. We are happy to receive and review patches that improve InspIRCd for everyone.