This repository contains scripts for building InspIRCd packages. Currently, it has support for:
- deb on Debian 12 and 13
- deb on Ubuntu 22.04 and 24.04
- RPM on Rocky Linux 8 and 9
Support for packaging systems and platforms is planned. See the open issues for details.
To build the packages you will need the following software:
- Bash 4 or newer
- Docker
To build packages:
- Set the
INSPIRCD_VERSION
environment variable to an InspIRCd tag. - Run the
./build.sh
script in your shell. - Get a cup of tea whilst packages are built.
The packages will be built into the ./build
directory.
The following environment variables can be set to change the behaviour of the build scripts:
A space-delimited list of the contrib modules to install and build. These modules are maintained by third parties and are not supported by the InspIRCd Team.
A space-delimited list of the extra modules to build. If not set it defaults to all of the modules which have dependencies available and can legally be shipped in binary form.
A space-delimited list of the package types to build. The current supported options are:
Name | Description |
---|---|
deb | Build the deb packages for Debian-based distributions. |
rpm | Build the RPM packages for RHEL-based distributions. |
html | Build the web index for the packages. Should always be listed last. |
The GitHub repository to build the specified version from. This is useful if you have a custom fork you want to test changes in.
Sets the revision of the package. This is useful if you are rebuilding the package and want it to take preference over a previously built version.
These scripts are licensed under the same license as InspIRCd (GPLv2).