freeipmi: update to 1.6.18

This commit is contained in:
eholzbach
2026-08-09 18:49:14 +02:00
committed by Duncan Overbruck
parent e9c25f96aa
commit 3bad7384ff
2 changed files with 2 additions and 25 deletions
@@ -1,23 +0,0 @@
Musl, unlike glibc, provides inb/outb but only on x86.
Additionally, the iopl call is generally useless outside x86.
--- a/libfreeipmi/driver/ipmi-kcs-driver.c
+++ b/libfreeipmi/driver/ipmi-kcs-driver.c
@@ -162,7 +162,7 @@
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
# define _INB(port) inb (port)
# define _OUTB(data, port) outb (port, data)
-#elif defined(HAVE_IOPL)
+#elif defined(HAVE_IOPL) && (defined(__x86_64__) || defined(__i386__))
# define _INB(port) inb (port)
# define _OUTB(data, port) outb (data, port)
#else
@@ -509,7 +508,7 @@ ipmi_kcs_ctx_io_init (ipmi_kcs_ctx_t ctx)
}
#endif /* !USE_IOPERM */
#else /* !__FreeBSD__ */
-#if HAVE_IOPL
+#if defined(HAVE_IOPL) && (defined(__x86_64__) || defined(__i386__))
if (iopl (3) < 0)
{
KCS_ERRNO_TO_KCS_ERRNUM (ctx, errno);
+2 -2
View File
@@ -1,6 +1,6 @@
# Template file for 'freeipmi'
pkgname=freeipmi
version=1.6.6
version=1.6.18
revision=1
build_style=gnu-configure
configure_args="--without-systemdsystemunitdir ac_cv_header_sys_stropts_h=no"
@@ -12,7 +12,7 @@ license="GPL-3.0-or-later"
# Changelog: http://www.gnu.org/software/freeipmi/NEWS
homepage="http://www.gnu.org/software/freeipmi/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=cfa30179b44c582e73cf92c2ad0e54fe49f9fd87f7a0889be9dc2db5802e6aab
checksum=8098b23820038ad0aa39abf0f9a012e24683d384d9f91e760acb2a68b465e0fe
conf_files="/etc/freeipmi/*.conf"
make_dirs="/var/cache/ipmiseld 0755 root root"