ipmitool: 1.8.19-unstable-2023-01-12 -> 1.8.19-unstable-2025-02-18

The ipmi_fru.c build failure has been fixed upstream in
https://codeberg.org/IPMITool/ipmitool/commit/bf774149ae7f74c12164a5b021b23520c5ca4016

The project has moved to Codeberg, as the author has been banned from GitHub:
https://codeberg.org/IPMITool/ipmitool/commit/1f103c7a83684dd4543c15a71532ca1d2e244f38
This commit is contained in:
Florian Klink
2025-04-26 14:02:19 +02:00
parent 9d47e86d18
commit 518042d541
+8 -11
View File
@@ -1,7 +1,7 @@
{
stdenv,
lib,
fetchFromGitHub,
fetchFromGitea,
autoreconfHook,
pkg-config,
openssl,
@@ -17,13 +17,14 @@ let
in
stdenv.mkDerivation {
pname = "ipmitool";
version = "1.8.19-unstable-2023-01-12";
version = "1.8.19-unstable-2025-02-18";
src = fetchFromGitHub {
owner = "ipmitool";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "IPMITool";
repo = "ipmitool";
rev = "be11d948f89b10be094e28d8a0a5e8fb532c7b60";
hash = "sha256-5s0F2cTZdmRb/I0rPqX/8KgK/7b5VCl3Hj/ALKpGbMQ=";
rev = "3c91e6d91ec6090fe548c55ef301c33ff20c8ed8";
hash = "sha256-7R3jmPPd8+yKs7Q1vlU/ZaZusZVB0s+xc1HGeLyLdk0=";
};
nativeBuildInputs = [
@@ -37,10 +38,6 @@ stdenv.mkDerivation {
];
postPatch = ''
# Fixes `ipmi_fru.c:1556:41: error: initialization of 'struct fru_multirec_mgmt *' from incompatible pointer type 'struct fru_multirect_mgmt *' []`
# Probably fine before GCC14, but this is an error now.
substituteInPlace lib/ipmi_fru.c \
--replace-fail fru_multirect_mgmt fru_multirec_mgmt
cp ${iana-enterprise-numbers} enterprise-numbers
'';
@@ -50,7 +47,7 @@ stdenv.mkDerivation {
description = "Command-line interface to IPMI-enabled devices";
mainProgram = "ipmitool";
license = lib.licenses.bsd3;
homepage = "https://github.com/ipmitool/ipmitool";
homepage = "https://codeberg.org/IPMITool/ipmitool";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ fpletz ];
};