Skip to content

Commit

Permalink
Add a platform file for Ubuntu 24.04.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed May 3, 2024
1 parent c8e9194 commit 93fe001
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
platform: ubuntu-20-04
- package: deb
platform: ubuntu-22-04
- package: deb
platform: ubuntu-24-04
- package: rpm
platform: centos-7
- package: rpm
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This repository contains scripts for building InspIRCd packages. Currently, it has support for:

* deb on Debian 11, 12, and 13
* deb on Ubuntu 20.04 and 22.04
* deb on Ubuntu 20.04, 22.04, and 24.04
* RPM on CentOS 7
* RPM on Rocky Linux 8 and 9

Expand Down
52 changes: 52 additions & 0 deletions deb/platforms/ubuntu-24-04.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
if [ -z "${INSPIRCD_ROOT_DIR}" ]
then
>&2 echo 'This script should not be used directly!'
exit 1
fi

export PLATFORM_NAME="Ubuntu 24.04 (Noble Numbat)"
export PLATFORM_CONTAINER="ubuntu:noble"
export PLATFORM_SUFFIX="ubuntu24.04."

declare -Ax MODULE_BUILD_DEPS=(
["argon2"]="libargon2-dev pkg-config"
["geo_maxmind"]="libmaxminddb-dev pkg-config"
["ldap"]="libldap2-dev"
["mysql"]="default-libmysqlclient-dev"
["pgsql"]="libpq-dev"
["regex_pcre"]="libpcre3-dev"
["regex_pcre2"]="libpcre2-dev"
["regex_posix"]=""
["regex_re2"]="libre2-dev pkg-config"
["regex_stdlib"]=""
["regex_tre"]="libtre-dev pkg-config"
["sqlite3"]="libsqlite3-dev pkg-config"
["ssl_gnutls"]="libgnutls28-dev pkg-config"
["ssl_mbedtls"]="libmbedtls-dev"
["ssl_openssl"]="libssl-dev pkg-config"
["sslrehashsignal"]=""
)

# Note: ${shlibs:Depends} takes care of runtime libraries.
declare -Ax MODULE_RUNTIME_DEPS=(
["argon2"]=""
["geo_maxmind"]=""
["ldap"]=""
["mysql"]=""
["pgsql"]=""
["regex_pcre"]=""
["regex_pcre2"]=""
["regex_posix"]=""
["regex_re2"]=""
["regex_stdlib"]=""
["regex_tre"]=""
["sqlite3"]=""
["ssl_gnutls"]="gnutls-bin libio-socket-ssl-perl"
["ssl_mbedtls"]="libio-socket-ssl-perl"
["ssl_openssl"]="libio-socket-ssl-perl openssl"
["sslrehashsignal"]=""
)

declare -Ax MODULE_ERRORS=()

declare -Ax MODULE_WARNINGS=()

0 comments on commit 93fe001

Please sign in to comment.