update ipmitool to 1.8.9

This commit is contained in:
wilfried 2007-10-25 17:15:28 +00:00
parent 00f2785714
commit 8d38deead2
5 changed files with 18 additions and 75 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.3 2007/09/15 21:14:01 merdely Exp $
# $OpenBSD: Makefile,v 1.4 2007/10/25 17:15:28 wilfried Exp $
COMMENT= manage and configure devices that supports IPMI
DISTNAME= ipmitool-1.8.8
DISTNAME= ipmitool-1.8.9
CATEGORIES= sysutils
HOMEPAGE= http://ipmitool.sourceforge.net/
@ -22,5 +22,16 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipmitool/}
SEPARATE_BUILD= concurrent
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-dependency-tracking
CONFIGURE_ARGS+= --disable-intf-free
CONFIGURE_ARGS+= --disable-intf-open
CONFIGURE_ARGS+= --disable-intf-imb
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/ipmitool/
${INSTALL_DATA} ${WRKSRC}/contrib/README ${PREFIX}/share/ipmitool/
.for f in bmclanconf collect_data.sh create_rrds.sh create_webpage.sh create_webpage_compact.sh ipmi.init.basic ipmi.init.redhat ipmievd.init.debian ipmievd.init.redhat ipmievd.init.suse oem_ibm_sel_map
${INSTALL_SCRIPT} ${WRKSRC}/contrib/$f ${PREFIX}/share/ipmitool/
.endfor
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (ipmitool-1.8.8.tar.gz) = iuIKdiGwAUisrKtbRFQPPg==
RMD160 (ipmitool-1.8.8.tar.gz) = 4Bw8kkiYjwYlAJN0WGG+xYob+KM=
SHA1 (ipmitool-1.8.8.tar.gz) = mDgbeudHGmpYxev+7DQ/B7rE3wo=
SHA256 (ipmitool-1.8.8.tar.gz) = XQq9kTHQZvrwEZciFZ3I52j/Nz+jDLGkncXDdsnjaQk=
SIZE (ipmitool-1.8.8.tar.gz) = 634899
MD5 (ipmitool-1.8.9.tar.gz) = 8SLqEXH4lQMGtJ3etNEvfg==
RMD160 (ipmitool-1.8.9.tar.gz) = PHdpGeM7p+c7bIkT+VCG0ljmzFM=
SHA1 (ipmitool-1.8.9.tar.gz) = /FPZNHqDiTKWs4SA/PpGeZGJuVw=
SHA256 (ipmitool-1.8.9.tar.gz) = HWvyWV0f0NvvIGwwDMZm09B5VIupf3Jwd9YcRzan5jo=
SIZE (ipmitool-1.8.9.tar.gz) = 682029

View File

@ -1,12 +0,0 @@
$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

@ -1,35 +0,0 @@
$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

@ -1,21 +0,0 @@
$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
/*