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 47 The binary name remains `webfontkitgenerator`. 48 48 The `webfontkitgenerator` package is an alias to `webfont-bundler`. 49 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 + 50 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. 51 53 52 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 59 serviceConfig = { 60 60 Type = "simple"; 61 61 ExecStart = '' 62 - ${lib.getBin cfg.package}/bin/inspircd start --config ${configFile} --nofork --nopid 62 + ${lib.getBin cfg.package}/bin/inspircd --config ${configFile} --nofork --nopid 63 63 ''; 64 64 DynamicUser = true; 65 65 };
+7 -10
pkgs/by-name/in/inspircd/package.nix
··· 31 31 32 32 # compatible if libc is compatible 33 33 libcModules = [ 34 + "log_syslog" 34 35 "regex_posix" 35 36 "sslrehashsignal" 36 37 ]; ··· 50 51 # GPLv2 compatible dependencies 51 52 "argon2" 52 53 "ldap" 54 + "log_json" 53 55 "mysql" 54 56 "pgsql" 55 - "regex_pcre" 56 57 "regex_pcre2" 57 58 "regex_re2" 58 - "regex_tre" 59 59 "sqlite3" 60 60 "ssl_gnutls" 61 61 ] ··· 74 74 openldap, 75 75 libpq, 76 76 libmysqlclient, 77 - pcre, 78 77 pcre2, 79 - tre, 80 78 re2, 81 79 sqlite, 82 80 gnutls, 83 81 libmaxminddb, 84 82 openssl, 85 - mbedtls, 83 + yyjson, 86 84 # For a full list of module names, see https://docs.inspircd.org/packaging/ 87 85 extraModules ? compatibleModules lib stdenv, 88 86 }: ··· 104 102 ) 105 103 ]; 106 104 ldap = [ openldap ]; 105 + log_json = [ yyjson ]; 106 + log_syslog = [ ]; 107 107 mysql = [ libmysqlclient ]; 108 108 pgsql = [ libpq ]; 109 - regex_pcre = [ pcre ]; 110 109 regex_pcre2 = [ pcre2 ]; 111 110 regex_re2 = [ re2 ]; 112 - regex_tre = [ tre ]; 113 111 sqlite3 = [ sqlite ]; 114 112 ssl_gnutls = [ gnutls ]; 115 113 # depends on stdenv.cc.libc ··· 119 117 regex_stdlib = [ ]; 120 118 # GPLv2 incompatible 121 119 geo_maxmind = [ libmaxminddb ]; 122 - ssl_mbedtls = [ mbedtls ]; 123 120 ssl_openssl = [ openssl ]; 124 121 }; 125 122 ··· 151 148 152 149 stdenv.mkDerivation rec { 153 150 pname = "inspircd"; 154 - version = "3.18.0"; 151 + version = "4.7.0"; 155 152 156 153 src = fetchFromGitHub { 157 154 owner = "inspircd"; 158 155 repo = "inspircd"; 159 156 rev = "v${version}"; 160 - sha256 = "sha256-Aulhg2CbtcpsxkH5kXkp4EoZF5/F9pOXJc1S08S5P08="; 157 + sha256 = "sha256-/LiniV5moKGX7K6Hfzq1mxEBZ+sqnScQxT0AApiBPaA="; 161 158 }; 162 159 163 160 outputs = [