diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-11-27 12:01:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 12:01:31 +0000 |
commit | 3ebf92edfa22341dab755a2c580f1dc5009a1f82 (patch) | |
tree | 57171a0c0dd2b669126c36859cc13b2a6729b027 /pkgs/servers | |
parent | 9f668e83bd51c6c555c026eb40485ba0e54ca82b (diff) | |
parent | b0fc4c9df289a49e29b061e5094834b1f4c9e5e3 (diff) | |
download | nixlib-3ebf92edfa22341dab755a2c580f1dc5009a1f82.tar nixlib-3ebf92edfa22341dab755a2c580f1dc5009a1f82.tar.gz nixlib-3ebf92edfa22341dab755a2c580f1dc5009a1f82.tar.bz2 nixlib-3ebf92edfa22341dab755a2c580f1dc5009a1f82.tar.lz nixlib-3ebf92edfa22341dab755a2c580f1dc5009a1f82.tar.xz nixlib-3ebf92edfa22341dab755a2c580f1dc5009a1f82.tar.zst nixlib-3ebf92edfa22341dab755a2c580f1dc5009a1f82.zip |
Merge staging-next into staging
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix | 4 | ||||
-rw-r--r-- | pkgs/servers/samba/4.x.nix | 22 | ||||
-rw-r--r-- | pkgs/servers/sql/postgresql/ext/pgrouting.nix | 14 |
3 files changed, 29 insertions, 11 deletions
diff --git a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix index 26f7cc890df9..16c8992ee039 100644 --- a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix +++ b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix @@ -17,13 +17,13 @@ stdenv.mkDerivation rec { pname = "check_ssl_cert"; - version = "2.76.0"; + version = "2.77.0"; src = fetchFromGitHub { owner = "matteocorti"; repo = "check_ssl_cert"; rev = "refs/tags/v${version}"; - hash = "sha256-nk+uYO8tJPUezu/nqfwNhK4q/ds9C96re/fWebrTa1Y="; + hash = "sha256-xU/1Bs3uIFomy6w2Vf50O3VbwoGfJMng88J1NXfg1pQ="; }; nativeBuildInputs = [ diff --git a/pkgs/servers/samba/4.x.nix b/pkgs/servers/samba/4.x.nix index 4dfa8657224d..37e98de2591b 100644 --- a/pkgs/servers/samba/4.x.nix +++ b/pkgs/servers/samba/4.x.nix @@ -27,6 +27,7 @@ , tdb , tevent , libxcrypt +, libxcrypt-legacy , cmocka , rpcsvc-proto , bash @@ -49,6 +50,15 @@ with lib; +let + # samba-tool requires libxcrypt-legacy algorithms + python = python3Packages.python.override { + libxcrypt = libxcrypt-legacy; + }; + wrapPython = python3Packages.wrapPython.override { + inherit python; + }; +in stdenv.mkDerivation rec { pname = "samba"; version = "4.19.2"; @@ -69,7 +79,7 @@ stdenv.mkDerivation rec { ]; nativeBuildInputs = [ - python3Packages.python + python wafHook pkg-config bison @@ -93,8 +103,8 @@ stdenv.mkDerivation rec { buildInputs = [ bash - python3Packages.wrapPython - python3Packages.python + wrapPython + python readline popt dbus @@ -165,7 +175,7 @@ stdenv.mkDerivation rec { # module, which works correctly in all cases. PYTHON_CONFIG = "/invalid"; - pythonPath = [ python3Packages.dnspython tdb ]; + pythonPath = [ python3Packages.dnspython python3Packages.markdown tdb ]; preBuild = '' export MAKEFLAGS="-j $NIX_BUILD_CORES" @@ -208,12 +218,12 @@ stdenv.mkDerivation rec { # Samba does its own shebang patching, but uses build Python find $out/bin -type f -executable | while read file; do isScript "$file" || continue - sed -i 's^${lib.getBin buildPackages.python3Packages.python}/bin^${lib.getBin python3Packages.python}/bin^' "$file" + sed -i 's^${lib.getBin buildPackages.python3Packages.python}^${lib.getBin python}^' "$file" done ''; disallowedReferences = - lib.optionals (buildPackages.python3Packages.python != python3Packages.python) + lib.optionals (buildPackages.python3Packages.python != python) [ buildPackages.python3Packages.python ]; passthru = { diff --git a/pkgs/servers/sql/postgresql/ext/pgrouting.nix b/pkgs/servers/sql/postgresql/ext/pgrouting.nix index 51cef6b3f490..c4166a404b08 100644 --- a/pkgs/servers/sql/postgresql/ext/pgrouting.nix +++ b/pkgs/servers/sql/postgresql/ext/pgrouting.nix @@ -1,8 +1,8 @@ -{ lib, stdenv, fetchFromGitHub, postgresql, perl, cmake, boost }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, postgresql, perl, cmake, boost }: stdenv.mkDerivation rec { pname = "pgrouting"; - version = "3.5.1"; + version = "3.6.0"; nativeBuildInputs = [ cmake perl ]; buildInputs = [ postgresql boost ]; @@ -11,9 +11,17 @@ stdenv.mkDerivation rec { owner = "pgRouting"; repo = pname; rev = "v${version}"; - sha256 = "sha256-X7ZXGPUkhPDBB2QpUGfqDTgOairkYZF78Ol0XEAmxD8="; + sha256 = "sha256-FOHIQzL8tmSWllCTzQkuGOiqk47S+HTB8aEpAC30YNk="; }; + patches = [ + # Fix issues with size_t vs uint64_ on Darwin. Remove with the next release. + (fetchpatch { + url = "https://github.com/pgRouting/pgrouting/commit/b16e9da748e9d78c8b19d2b1db3baeb19c33c6aa.patch"; + hash = "sha256-CJmuVxZ3zIJTa6KXhM2cvynAE6Vmff7XBDfSGg4W9dE="; + }) + ]; + installPhase = '' install -D lib/*.so -t $out/lib install -D sql/pgrouting--${version}.sql -t $out/share/postgresql/extension |