inspircd: 3.18.0 -> 4.7.0

https://docs.inspircd.org/4/breaking-changes/
https://docs.inspircd.org/4/overview/

https://docs.inspircd.org/4/change-log/#inspircd-401
https://docs.inspircd.org/4/change-log/#inspircd-410
https://docs.inspircd.org/4/change-log/#inspircd-420
https://docs.inspircd.org/4/change-log/#inspircd-430
https://docs.inspircd.org/4/change-log/#inspircd-440
https://docs.inspircd.org/4/change-log/#inspircd-450
https://docs.inspircd.org/4/change-log/#inspircd-460
https://docs.inspircd.org/4/change-log/#inspircd-470

Packaging-relevant changes:

- inspircd no longer has the start subcommand, but needs to be invoked
directly.
- New extra modules: log_syslog and log_json
- Removed extra modules: regex_tre, regex_pcre, ssl_mbedtls
You probably should not use them anymore, but they can be
obtained via the module manager in theory — though I doubt it works
with Nix (another item for the todo list, I guess):
https://docs.inspircd.org/4/module-manager/

+10 -11
+2
doc/release-notes/rl-2511.section.md
··· 47 The binary name remains `webfontkitgenerator`. 48 The `webfontkitgenerator` package is an alias to `webfont-bundler`. 49 50 - `lima` package now only includes the guest agent for the host's architecture by default. If your guest VM's architecture differs from your Lima host's, you'll need to enable the `lima-additional-guestagents` package by setting `withAdditionalGuestAgents = true` when overriding lima with this input. 51 52 - `vmware-horizon-client` was renamed to `omnissa-horizon-client`, following [VMware's sale of their end-user business to Omnissa](https://www.omnissa.com/insights/introducing-omnissa-the-former-vmware-end-user-computing-business/). The binary has been renamed from `vmware-view` to `horizon-client`.
··· 47 The binary name remains `webfontkitgenerator`. 48 The `webfontkitgenerator` package is an alias to `webfont-bundler`. 49 50 + - `inspircd` has been updated to the v4 release series. Please refer to the upstream documentation for [general information](https://docs.inspircd.org/4/overview/#v4-overview) and a list of [breaking changes](https://docs.inspircd.org/4/breaking-changes/). 51 + 52 - `lima` package now only includes the guest agent for the host's architecture by default. If your guest VM's architecture differs from your Lima host's, you'll need to enable the `lima-additional-guestagents` package by setting `withAdditionalGuestAgents = true` when overriding lima with this input. 53 54 - `vmware-horizon-client` was renamed to `omnissa-horizon-client`, following [VMware's sale of their end-user business to Omnissa](https://www.omnissa.com/insights/introducing-omnissa-the-former-vmware-end-user-computing-business/). The binary has been renamed from `vmware-view` to `horizon-client`.
+1 -1
nixos/modules/services/networking/inspircd.nix
··· 59 serviceConfig = { 60 Type = "simple"; 61 ExecStart = '' 62 - ${lib.getBin cfg.package}/bin/inspircd start --config ${configFile} --nofork --nopid 63 ''; 64 DynamicUser = true; 65 };
··· 59 serviceConfig = { 60 Type = "simple"; 61 ExecStart = '' 62 + ${lib.getBin cfg.package}/bin/inspircd --config ${configFile} --nofork --nopid 63 ''; 64 DynamicUser = true; 65 };
+7 -10
pkgs/by-name/in/inspircd/package.nix
··· 31 32 # compatible if libc is compatible 33 libcModules = [ 34 "regex_posix" 35 "sslrehashsignal" 36 ]; ··· 50 # GPLv2 compatible dependencies 51 "argon2" 52 "ldap" 53 "mysql" 54 "pgsql" 55 - "regex_pcre" 56 "regex_pcre2" 57 "regex_re2" 58 - "regex_tre" 59 "sqlite3" 60 "ssl_gnutls" 61 ] ··· 74 openldap, 75 libpq, 76 libmysqlclient, 77 - pcre, 78 pcre2, 79 - tre, 80 re2, 81 sqlite, 82 gnutls, 83 libmaxminddb, 84 openssl, 85 - mbedtls, 86 # For a full list of module names, see https://docs.inspircd.org/packaging/ 87 extraModules ? compatibleModules lib stdenv, 88 }: ··· 104 ) 105 ]; 106 ldap = [ openldap ]; 107 mysql = [ libmysqlclient ]; 108 pgsql = [ libpq ]; 109 - regex_pcre = [ pcre ]; 110 regex_pcre2 = [ pcre2 ]; 111 regex_re2 = [ re2 ]; 112 - regex_tre = [ tre ]; 113 sqlite3 = [ sqlite ]; 114 ssl_gnutls = [ gnutls ]; 115 # depends on stdenv.cc.libc ··· 119 regex_stdlib = [ ]; 120 # GPLv2 incompatible 121 geo_maxmind = [ libmaxminddb ]; 122 - ssl_mbedtls = [ mbedtls ]; 123 ssl_openssl = [ openssl ]; 124 }; 125 ··· 151 152 stdenv.mkDerivation rec { 153 pname = "inspircd"; 154 - version = "3.18.0"; 155 156 src = fetchFromGitHub { 157 owner = "inspircd"; 158 repo = "inspircd"; 159 rev = "v${version}"; 160 - sha256 = "sha256-Aulhg2CbtcpsxkH5kXkp4EoZF5/F9pOXJc1S08S5P08="; 161 }; 162 163 outputs = [
··· 31 32 # compatible if libc is compatible 33 libcModules = [ 34 + "log_syslog" 35 "regex_posix" 36 "sslrehashsignal" 37 ]; ··· 51 # GPLv2 compatible dependencies 52 "argon2" 53 "ldap" 54 + "log_json" 55 "mysql" 56 "pgsql" 57 "regex_pcre2" 58 "regex_re2" 59 "sqlite3" 60 "ssl_gnutls" 61 ] ··· 74 openldap, 75 libpq, 76 libmysqlclient, 77 pcre2, 78 re2, 79 sqlite, 80 gnutls, 81 libmaxminddb, 82 openssl, 83 + yyjson, 84 # For a full list of module names, see https://docs.inspircd.org/packaging/ 85 extraModules ? compatibleModules lib stdenv, 86 }: ··· 102 ) 103 ]; 104 ldap = [ openldap ]; 105 + log_json = [ yyjson ]; 106 + log_syslog = [ ]; 107 mysql = [ libmysqlclient ]; 108 pgsql = [ libpq ]; 109 regex_pcre2 = [ pcre2 ]; 110 regex_re2 = [ re2 ]; 111 sqlite3 = [ sqlite ]; 112 ssl_gnutls = [ gnutls ]; 113 # depends on stdenv.cc.libc ··· 117 regex_stdlib = [ ]; 118 # GPLv2 incompatible 119 geo_maxmind = [ libmaxminddb ]; 120 ssl_openssl = [ openssl ]; 121 }; 122 ··· 148 149 stdenv.mkDerivation rec { 150 pname = "inspircd"; 151 + version = "4.7.0"; 152 153 src = fetchFromGitHub { 154 owner = "inspircd"; 155 repo = "inspircd"; 156 rev = "v${version}"; 157 + sha256 = "sha256-/LiniV5moKGX7K6Hfzq1mxEBZ+sqnScQxT0AApiBPaA="; 158 }; 159 160 outputs = [