import of ipmitool-1.8.7

ipmitool is a utility for managing and configuring devices that
support the Intelligent Platform Management Interface.
This commit is contained in:
wilfried 2006-05-06 17:28:44 +00:00
parent dcebcb23f9
commit 53cc8c37e3
12 changed files with 181 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
COMMENT= "manage and configure devices that supports IPMI"
DISTNAME= ipmitool-1.8.7
CATEGORIES= sysutils
HOMEPAGE= http://ipmitool.sourceforge.net/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m ncurses readline crypto c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipmitool/}
SEPARATE_BUILD= concurrent
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (ipmitool-1.8.7.tar.gz) = 8e581db152c97a8c402f94a13bd7aa67
RMD160 (ipmitool-1.8.7.tar.gz) = 2f9bfb0718935083f9a6a12845794ed5f52c1967
SHA1 (ipmitool-1.8.7.tar.gz) = 6cee18a703fffc662e49f268a91f2d1a6973b708
SIZE (ipmitool-1.8.7.tar.gz) = 628278

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- Makefile.in.orig Mon Mar 20 00:37:52 2006
+++ Makefile.in Sat May 6 19:00:01 2006
@@ -225,7 +225,7 @@ target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
DOCDIR = $(DESTDIR)/$(datadir)/doc/$(PACKAGE)
-DOCLIST = README COPYING AUTHORS ChangeLog
+DOCLIST = ${srcdir}/README ${srcdir}/COPYING ${srcdir}/AUTHORS ${srcdir}/ChangeLog
EXTRA_DIST = $(DOCLIST) \
debian/changelog debian/control debian/copyright \
debian/dirs debian/docs debian/rules

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-contrib_bmclanconf,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- contrib/bmclanconf.orig Sun Mar 19 18:59:38 2006
+++ contrib/bmclanconf Sat May 6 19:03:22 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
#

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-contrib_collect_data_sh,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- contrib/collect_data.sh.orig Sat Jan 10 19:31:54 2004
+++ contrib/collect_data.sh Sat May 6 19:03:24 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright (c) 2003 Fredrik Ohrn. All Rights Reserved.
#

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-contrib_create_rrds_sh,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- contrib/create_rrds.sh.orig Sat Jan 10 19:31:54 2004
+++ contrib/create_rrds.sh Sat May 6 19:03:27 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright (c) 2003 Fredrik Ohrn. All Rights Reserved.
#

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-contrib_create_webpage_compact_sh,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- contrib/create_webpage_compact.sh.orig Mon Feb 2 18:45:57 2004
+++ contrib/create_webpage_compact.sh Sat May 6 19:03:32 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright (c) 2003-2004 Fredrik Ohrn. All Rights Reserved.
#

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-contrib_create_webpage_sh,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- contrib/create_webpage.sh.orig Mon Feb 2 18:45:02 2004
+++ contrib/create_webpage.sh Sat May 6 19:03:29 2006
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# Copyright (c) 2003-2004 Fredrik Ohrn. All Rights Reserved.
#

View File

@ -0,0 +1,35 @@
$OpenBSD: patch-src_plugins_imb_imbapi_c,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- src/plugins/imb/imbapi.c.orig Wed May 3 13:21:34 2006
+++ src/plugins/imb/imbapi.c Wed May 3 13:20:34 2006
@@ -1961,6 +1961,7 @@ UnmapPhysicalMemory (
ACCESN_STATUS
MapPhysicalMemory(int startAddress,int addressLength, int *virtualAddress )
{
+#if 0
int fd;
unsigned int length = addressLength;
off_t startpAddress = (off_t)startAddress;
@@ -2017,11 +2018,14 @@ MapPhysicalMemory(int startAddress,int a
*virtualAddress = (long)(startvAddress + diff);
return ACCESN_OK;
+#endif
+ return ACCESN_ERROR ;
}
ACCESN_STATUS
UnmapPhysicalMemory( int virtualAddress, int Length )
{
+#if 0
unsigned int diff = 0;
/* page align the virtual address and adjust length accordingly */
@@ -2046,6 +2050,8 @@ UnmapPhysicalMemory( int virtualAddress,
#endif
return ACCESN_OK;
+#endif
+ return ACCESN_ERROR;
}
#endif /*unix*/

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-src_plugins_imb_imbapi_h,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
--- src/plugins/imb/imbapi.h.orig Wed Sep 1 01:52:58 2004
+++ src/plugins/imb/imbapi.h Wed May 3 13:19:19 2006
@@ -44,7 +44,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
#ifndef NULL
#define NULL 0
#endif
-#ifndef WIN32
+#if !defined(WIN32) && !defined(__OpenBSD__)
/* WIN32 defines this in stdio.h */
#ifndef _WCHAR_T
#define _WCHAR_T
@@ -139,7 +139,7 @@ typedef CONST WCHAR *LPCWSTR, *PCWST
#ifndef _SYS_TYPES_H
#ifndef _CADDR_T
#define _CADDR_T
- typedef char * caddr_t;
+// typedef char * caddr_t;
#endif
#endif
/*

View File

@ -0,0 +1,15 @@
ipmitool is a utility for managing and configuring devices that
support the Intelligent Platform Management Interface. IPMI is an
open standard for monitoring, logging, recovery, inventory, and
control of hardware that is implemented independent of the main
CPU, BIOS, and OS. The service processor (or Baseboard Management
Controller, BMC) is the brain behind platform management and its
primary purpose is to handle the autonomous sensor monitoring and
event logging features.
The ipmitool program provides a simple command-line interface to
this BMC. It features the ability to read the sensor data repository
(SDR) and print sensor values, display the contents of the System
Event Log (SEL), print Field Replaceable Unit (FRU) inventory
information, read and set LAN configuration parameters, and perform
remote chassis power control.

View File

@ -0,0 +1,23 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/06 17:28:44 wilfried Exp $
bin/ipmitool
@man man/man1/ipmitool.1
@man man/man8/ipmievd.8
sbin/ipmievd
share/doc/ipmitool/
share/doc/ipmitool/AUTHORS
share/doc/ipmitool/COPYING
share/doc/ipmitool/ChangeLog
share/doc/ipmitool/README
share/ipmitool/
share/ipmitool/README
share/ipmitool/bmclanconf
share/ipmitool/collect_data.sh
share/ipmitool/create_rrds.sh
share/ipmitool/create_webpage.sh
share/ipmitool/create_webpage_compact.sh
share/ipmitool/ipmi.init.basic
share/ipmitool/ipmi.init.redhat
share/ipmitool/ipmievd.init.debian
share/ipmitool/ipmievd.init.redhat
share/ipmitool/ipmievd.init.suse
share/ipmitool/oem_ibm_sel_map