[packages/ipmiutil] - updated to 3.1.9
qboosh
qboosh at pld-linux.org
Fri Feb 23 07:00:34 CET 2024
commit c7a4b6ad469342d78eee30aef7541a92a933de3e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Feb 23 05:32:18 2024 +0100
- updated to 3.1.9
ipmiutil.spec | 12 ++++++------
openssl-detect.patch | 17 +++++++++++++----
2 files changed, 19 insertions(+), 10 deletions(-)
---
diff --git a/ipmiutil.spec b/ipmiutil.spec
index 9fafa7f..35f8c1c 100644
--- a/ipmiutil.spec
+++ b/ipmiutil.spec
@@ -6,7 +6,7 @@
Summary: IPMI Management Utilities
Summary(pl.UTF-8): Narzędzia zarządzające IPMI
Name: ipmiutil
-Version: 3.1.7
+Version: 3.1.9
Release: 1
%if %{with gpl}
License: GPL v2+
@@ -14,18 +14,18 @@ License: GPL v2+
License: BSD
%endif
Group: Applications/System
-Source0: http://downloads.sourceforge.net/ipmiutil/%{name}-%{version}.tar.gz
-# Source0-md5: fab260bc834a0f3f9324a6365fc26eca
+Source0: https://downloads.sourceforge.net/ipmiutil/%{name}-%{version}.tar.gz
+# Source0-md5: 332f688084510771ed79946c815a2ba7
Patch0: openssl-detect.patch
Patch1: %{name}-idiscover-ifaces_with_dot_in_name_support.patch
Patch2: %{name}-libcrypto.patch
Patch3: %{name}-symlink.patch
-URL: http://ipmiutil.sourceforge.net/
+URL: https://ipmiutil.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: openssl-devel
-Suggests: mibs-%{name}
+Suggests: mibs-%{name} = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define mibsdir /usr/share/mibs
@@ -94,7 +94,7 @@ Summary(pl.UTF-8): Baza danych MIB z narzędzi zarządzających IPMI
Group: Applications/System
Requires: mibs-dirs
Requires: mibs-net-snmp
-Obsoletes: ipmiutil-mibs
+Obsoletes: ipmiutil-mibs < 2.5.2-3
%description -n mibs-%{name}
This package contains MIB file from Intel:
diff --git a/openssl-detect.patch b/openssl-detect.patch
index 3b82104..0d59e15 100644
--- a/openssl-detect.patch
+++ b/openssl-detect.patch
@@ -1,22 +1,31 @@
---- ipmiutil-3.1.7/configure.ac~ 2020-09-03 00:26:09.000000000 +0200
-+++ ipmiutil-3.1.7/configure.ac 2021-10-17 22:37:06.524093059 +0200
-@@ -424,31 +424,7 @@
+--- ipmiutil-3.1.9/configure.ac.orig 2024-02-22 22:18:41.657128891 +0100
++++ ipmiutil-3.1.9/configure.ac 2024-02-22 22:23:42.232167203 +0100
+@@ -427,40 +427,7 @@ else
sed -i 's/# Default-Start:/# Default-Start: 3 4 5/' $init_scripts
sed -i 's/# Default-Stop:/# Default-Stop: 0 1 2 6/' $init_scripts
fi
- # The openssl rpm might not be installed
- sslver=""
- which rpm >/dev/null 2>&1
+- sslnew=0
- if test $? -eq 0 ; then
- sslver=`rpm -q openssl-devel |cut -f3 -d'-' |cut -f1-2 -d'.'`
- fi
- if test "$sslver" = ""; then
- sslver=`openssl version |awk '{ print $2 }'|cut -f1-2 -d'.'`
- fi
+- sslrel=`echo $sslver |cut -f1 -d. `
- if test "$sslver" = "1.1"; then
- echo "Detected openssl-$sslver"
- MD2_CFLAGS="-DSKIP_MD2 -DSSL11"
-- else
+- sslnew=1
+- fi
+- if test "$sslrel" = "3"; then
+- echo "Detected openssl-$sslver"
+- MD2_CFLAGS="-DSKIP_MD2 -DSSL11"
+- sslnew=1
+- fi
+- if test $sslnew -eq 0 ; then
- echo "Detected openssl-$sslver"
- if test -f "$LIB_DIR/libcrypto.so"; then
- strings $LIB_DIR/libcrypto.so | grep EVP_md2 >/dev/null 2>&1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ipmiutil.git/commitdiff/c7a4b6ad469342d78eee30aef7541a92a933de3e
More information about the pld-cvs-commit
mailing list