Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipmitool - update from 1.8.18 to 1.8.19 (r151038) #3273

Merged
merged 3 commits into from
Jul 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions build/ipmitool/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
# CDDL HEADER END }}}
#
# Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
# Copyright 2022 OmniOS Community Edition (OmniOSce) Association.

. ../../lib/functions.sh

PROG=ipmitool
VER=1.8.18
VER=1.8.19
PKG=system/management/ipmitool
SUMMARY="IPMI management tool"
DESC="A utility for managing and configuring devices that support the "
Expand All @@ -35,6 +35,9 @@ DESC+="Intelligent Platform Management Interface"
BUILD_DEPENDS_IPS="driver/ipmi developer/build/libtool"

set_arch 64

set_builddir $PROG-${PROG^^}_${VER//./_}

CONFIGURE_OPTS_64+=" --bindir=/usr/sbin --sbindir=/usr/lib"
CONFIGURE_OPTS+="
--mandir=/usr/share/man
Expand All @@ -43,8 +46,10 @@ CONFIGURE_OPTS+="
--enable-solaris-opt
"

CPPFLAGS+=" -D_PATH_RUN='\"/var/run/\"'"

init
download_source $PROG $PROG $VER
download_source $PROG ${PROG^^}_${VER//./_}
patch_source
run_autoreconf -fi
prep_build
Expand Down
2 changes: 1 addition & 1 deletion build/ipmitool/patches/7052161.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved
diff -wpruN '--exclude=*.orig' a~/lib/ipmi_fru.c a/lib/ipmi_fru.c
--- a~/lib/ipmi_fru.c 1970-01-01 00:00:00
+++ a/lib/ipmi_fru.c 1970-01-01 00:00:00
@@ -1332,11 +1332,19 @@ fru_area_print_multirec(struct ipmi_intf
@@ -1376,11 +1376,19 @@ fru_area_print_multirec(struct ipmi_intf
peak_hold_up_time);
if (ps->combined_capacity == 0)
printf (" Combined capacity : not specified\n");
Expand Down
77 changes: 0 additions & 77 deletions build/ipmitool/patches/POSIX.patch

This file was deleted.

2 changes: 1 addition & 1 deletion build/ipmitool/patches/configure.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff -wpruN '--exclude=*.orig' a~/configure.ac a/configure.ac
--- a~/configure.ac 1970-01-01 00:00:00
+++ a/configure.ac 1970-01-01 00:00:00
@@ -78,7 +78,7 @@ solaris*)
@@ -100,7 +100,7 @@ solaris*)
# disable the linux-specific interfaces
xenable_intf_bmc=yes
xenable_intf_imb=no
Expand Down
2 changes: 1 addition & 1 deletion build/ipmitool/patches/fix-MAX.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff -wpruN '--exclude=*.orig' a~/lib/ipmi_hpmfwupg.c a/lib/ipmi_hpmfwupg.c
--- a~/lib/ipmi_hpmfwupg.c 1970-01-01 00:00:00
+++ a/lib/ipmi_hpmfwupg.c 1970-01-01 00:00:00
@@ -46,6 +46,7 @@
@@ -43,6 +43,7 @@
#include <stdio.h>
#include <time.h>
#include <sys/param.h>
Expand Down
19 changes: 19 additions & 0 deletions build/ipmitool/patches/iana-pen.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

This was fixed upstream in

https://github.com/ipmitool/ipmitool/commit/1edb0e27e44196d1ebe449aba0b9be

but has not yet made it into a release.

diff -wpruN '--exclude=*.orig' a~/Makefile.am a/Makefile.am
--- a~/Makefile.am 1970-01-01 00:00:00
+++ a/Makefile.am 1970-01-01 00:00:00
@@ -41,7 +41,7 @@ MAINTAINERCLEANFILES = Makefile.in acloc
$(distdir).tar.gz $(distdir).tar.bz2

SUBDIRS = lib src include doc contrib control
-IANA_PEN = http://www.iana.org/assignments/enterprise-numbers
+IANA_PEN = https://www.iana.org/assignments/enterprise-numbers.txt

dist-hook:
cp control/ipmitool.spec $(distdir)
2 changes: 1 addition & 1 deletion build/ipmitool/patches/ipmievd.local4.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved
diff -wpruN '--exclude=*.orig' a~/lib/log.c a/lib/log.c
--- a~/lib/log.c 1970-01-01 00:00:00
+++ a/lib/log.c 1970-01-01 00:00:00
@@ -123,7 +123,7 @@ void log_init(const char * name, int isd
@@ -120,7 +120,7 @@ void log_init(const char * name, int isd
logpriv->level = verbose + LOG_NOTICE;

if (logpriv->daemon)
Expand Down
24 changes: 0 additions & 24 deletions build/ipmitool/patches/multiple_symbols.patch

This file was deleted.

99 changes: 0 additions & 99 deletions build/ipmitool/patches/openssl11.patch

This file was deleted.

4 changes: 1 addition & 3 deletions build/ipmitool/patches/series
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@ configure.patch
ipmievd.local4.patch
v6-noaddr16.patch
fix-MAX.patch
POSIX.patch
openssl11.patch
multiple_symbols.patch
iana-pen.patch
4 changes: 2 additions & 2 deletions build/ipmitool/patches/v6-noaddr16.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff -wpruN '--exclude=*.orig' a~/src/plugins/ipmi_intf.c a/src/plugins/ipmi_intf.c
--- a~/src/plugins/ipmi_intf.c 1970-01-01 00:00:00
+++ a/src/plugins/ipmi_intf.c 1970-01-01 00:00:00
@@ -429,8 +429,11 @@ ipmi_intf_socket_connect(struct ipmi_int
@@ -455,8 +455,11 @@ ipmi_intf_socket_connect(struct ipmi_int
tmp6->sin6_scope_id);
}

Expand All @@ -13,7 +13,7 @@ diff -wpruN '--exclude=*.orig' a~/src/plugins/ipmi_intf.c a/src/plugins/ipmi_int
} else {
/*
* No scope information in interface address information
@@ -444,6 +447,7 @@ ipmi_intf_socket_connect(struct ipmi_int
@@ -470,6 +473,7 @@ ipmi_intf_socket_connect(struct ipmi_int
addr6->sin6_scope_id = ntohs(tmp6->sin6_addr.s6_addr[1]);
}
}
Expand Down