Skip to content

Commit

Permalink
ipmitool: update to 1.8.18
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Jul 16, 2017
1 parent e103a3a commit ce8db80
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 36 deletions.
2 changes: 1 addition & 1 deletion build/ipmitool/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
. ../../lib/functions.sh

PROG=ipmitool
VER=1.8.16
VER=1.8.18
VERHUMAN=$VER
PKG=system/management/ipmitool
SUMMARY="IPMI management tool"
Expand Down
16 changes: 3 additions & 13 deletions build/ipmitool/patches/configure.patch
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
--- ipmitool-1.8.16-orig/configure.ac Fri Feb 19 16:05:13 2016
+++ ipmitool-1.8.16/configure.ac Wed Mar 23 14:53:03 2016
@@ -59,7 +59,7 @@
xenable_intf_bmc=no
xenable_intf_imb=yes
xenable_intf_open=yes
-xenable_intf_usb=yes
+xenable_intf_usb=no
xenable_intf_lipmi=yes
#xenable_intf_serial=yes
xenable_intf_dummy=no
@@ -78,7 +78,8 @@
--- ipmitool-1.8.18/configure.ac Sat Oct 8 10:08:59 2016
+++ ipmitool-1.8.18/configure.ac Sun Jul 16 22:39:21 2017
@@ -78,7 +78,7 @@
# disable the linux-specific interfaces
xenable_intf_bmc=yes
xenable_intf_imb=no
- xenable_intf_open=no
+ xenable_intf_open=yes
+ xenable_intf_usb=no
xenable_intf_lipmi=no
xenable_ipmishell=no
xenable_all_options=no
8 changes: 4 additions & 4 deletions build/ipmitool/patches/fix-MAX.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
--- ipmitool-old/lib/ipmi_hpmfwupg.c Tue Aug 12 19:42:51 2014
+++ ipmitool/lib/ipmi_hpmfwupg.c Tue Aug 12 19:43:02 2014
@@ -41,6 +41,7 @@
--- ipmitool-1.8.18/lib/ipmi_hpmfwupg.c Wed Jun 29 20:01:49 2016
+++ ipmitool-1.8.18/lib/ipmi_hpmfwupg.c Sun Jul 16 16:02:46 2017
@@ -46,6 +46,7 @@
#include <stdio.h>
#include <time.h>
#include <sys/param.h>
+#include <sys/sysmacros.h>
#include <unistd.h>

#if HAVE_CONFIG_H
# include <config.h>
67 changes: 50 additions & 17 deletions build/ipmitool/patches/no-POSIX.patch
Original file line number Diff line number Diff line change
@@ -1,36 +1,69 @@
--- ipmitool-1.8.16-orig/lib/helper.c Fri Feb 19 16:01:38 2016
+++ ipmitool-1.8.16/lib/helper.c Wed Mar 23 14:24:07 2016
--- ipmitool-1.8.18/lib/helper.c Sun Jul 31 08:52:40 2016
+++ ipmitool-1.8.18/lib/helper.c Sun Jul 16 15:58:33 2017
@@ -29,7 +29,7 @@
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#define _POSIX_SOURCE
+/* #define _POSIX_SOURCE */

#include <sys/types.h>
#include <sys/stat.h>
--- ipmitool-1.8.16-orig/src/plugins/open/open.c Fri Feb 19 16:01:38 2016
+++ ipmitool-1.8.16/src/plugins/open/open.c Wed Mar 23 14:24:44 2016
#define /* glibc 2.19 and earlier */ _BSD_SOURCE || \
/* Since glibc 2.20 */_DEFAULT_SOURCE || \
_XOPEN_SOURCE >= 500 || \
--- ipmitool-1.8.18/src/plugins/open/open.c Tue May 31 22:26:19 2016
+++ ipmitool-1.8.18/src/plugins/open/open.c Sun Jul 16 16:04:37 2017
@@ -29,7 +29,7 @@
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#define _POSIX_SOURCE
+/* #define _POSIX_SOURCE */
-#define _POSIX_C_SOURCE 1
+/* #define _POSIX_C_SOURCE 1 */

#include <stdio.h>
#include <fcntl.h>
--- ipmitool-1.8.16-orig/src/plugins/ipmi_intf.c Fri Feb 19 16:02:19 2016
+++ ipmitool-1.8.16/src/plugins/ipmi_intf.c Wed Mar 23 15:17:54 2016
@@ -29,8 +29,8 @@
--- ipmitool-1.8.18/src/plugins/ipmi_intf.c Sun Jul 31 08:52:40 2016
+++ ipmitool-1.8.18/src/plugins/ipmi_intf.c Sun Jul 16 16:07:04 2017
@@ -29,9 +29,9 @@
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#define _XOPEN_SOURCE 700
-#define _GNU_SOURCE 1
+/*#define _XOPEN_SOURCE 700
+#define _GNU_SOURCE 1 */
+/* #define _XOPEN_SOURCE 700
#define _GNU_SOURCE 1
-#define _DARWIN_C_SOURCE 1
+#define _DARWIN_C_SOURCE 1 */

#include <stdio.h>
#include <stdlib.h>
--- ipmitool-1.8.18/lib/ipmi_sol.c Wed Jun 29 20:06:29 2016
+++ ipmitool-1.8.18/lib/ipmi_sol.c Sun Jul 16 16:33:43 2017
@@ -29,7 +29,7 @@
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#define _XOPEN_SOURCE
+/* #define _XOPEN_SOURCE */
#define _BSD_SOURCE || \
(_XOPEN_SOURCE >= 500 || \
_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) && \
--- ipmitool-1.8.18/lib/ipmi_sunoem.c Mon May 30 20:28:40 2016
+++ ipmitool-1.8.18/lib/ipmi_sunoem.c Sun Jul 16 16:35:50 2017
@@ -29,7 +29,7 @@
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#define _XOPEN_SOURCE
+/* #define _XOPEN_SOURCE */

#include <stdlib.h>
#include <stdio.h>
--- ipmitool-1.8.18/lib/ipmi_isol.c Sun Mar 13 11:14:08 2016
+++ ipmitool-1.8.18/lib/ipmi_isol.c.new Sun Jul 16 16:38:19 2017
@@ -29,7 +29,7 @@
* LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE,
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#define _XOPEN_SOURCE
+/* #define _XOPEN_SOURCE */

#include <stdlib.h>

#include <string.h>
2 changes: 1 addition & 1 deletion build/jeos/omnios-userland.p5m
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ depend fmri=library/[email protected],5.11-@PVER@ type=incorporate
depend fmri=system/library/[email protected],5.11-@PVER@ type=incorporate
depend fmri=system/management/[email protected],5.11-@PVER@ type=incorporate
depend fmri=system/management/[email protected],5.11-@PVER@ type=incorporate
depend fmri=system/management/[email protected].16,5.11-@PVER@ type=incorporate
depend fmri=system/management/[email protected].18,5.11-@PVER@ type=incorporate
depend fmri=system/management/mdata-client@20170105,5.11-@PVER@ type=incorporate
depend fmri=system/management/snmp/[email protected],5.11-@PVER@ type=incorporate
depend fmri=system/[email protected],5.11-@PVER@ type=incorporate
Expand Down

0 comments on commit ce8db80

Please sign in to comment.