Date: Thu, 10 Aug 2006 21:09:42 +0100 From: "Simon A. Boggis" <s.a.boggis@qmul.ac.uk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: "Simon A. Boggis" <s.a.boggis@qmul.ac.uk> Subject: ports/101776: Update port: sysutils/freeipmi - update to current version (0.2.3) to support newer baseboard management controllers Message-ID: <E1GBGqc-000Dtd-Cs@blueberry.qmul.ac.uk> Resent-Message-ID: <200608102010.k7AKAL7I085009@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101776 >Category: ports >Synopsis: Update port: sysutils/freeipmi - update to current version (0.2.3) to support newer baseboard management controllers >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Aug 10 20:10:20 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Simon A. Boggis >Release: FreeBSD 5.4-RELEASE-p13 i386 >Organization: Queen Mary, University of London >Environment: System: FreeBSD xxx.qmul.ac.uk 5.4-RELEASE-p13 FreeBSD 5.4-RELEASE-p13 #6: Fri Mar 31 13:27:13 BST 2006 root@xxx.qmul.ac.uk:/export/src/builds/obj_20060323-005103/export/src/builds/src_20060323-005103/sys/CUSTOM_FWR_1-7 i386 >Description: The existing version of freeipmi in the ports collection (0.1.3) does not properly support configuration of the local baseboard management controller over the /dev/io interface (so-called in-band access). Specifically, whilst it supports our older Intel WV2 serverboards completely, it cannot configure the newer Intel JR2 serverboard. The updated version (0.2.3) solves this problem. >How-To-Repeat: n/a >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # freeipmi # freeipmi/Makefile # freeipmi/distinfo # freeipmi/pkg-descr # freeipmi/pkg-install # freeipmi/pkg-plist # freeipmi/files # freeipmi/files/patch-Makefile.in # freeipmi/files/patch-bmc-watchdog-Makefile.in # freeipmi/files/patch-fish-Makefile.in # freeipmi/files/patch-fish-extensions-Makefile.in # freeipmi/files/patch-common-src-argp-common.c # freeipmi/files/patch-common-src-ipmi-common.c # freeipmi/files/patch-ipmi-raw-src-ipmi-raw.c # freeipmi/files/patch-libfreeipmi-src-ipmi-smic-interface.c # freeipmi/files/patch-bmc-info-src-bmc-info.c # echo c - freeipmi mkdir -p freeipmi > /dev/null 2>&1 echo x - freeipmi/Makefile sed 's/^X//' >freeipmi/Makefile << 'END-of-freeipmi/Makefile' X# New ports collection makefile for: freeipmi X# Date created: 20/Oct/2004 X# Whom: Dmitry Frolov <frol@nov.net> X# X# $FreeBSD: ports/sysutils/freeipmi/Makefile,v 1.7 2006/05/13 04:15:31 edwin Exp $ X# X XPORTNAME= freeipmi XPORTVERSION= 0.2.3 XPORTREVISION= 1 XCATEGORIES= sysutils XMASTER_SITES= ftp://ftp.zresearch.com/pub/freeipmi/${PORTVERSION}/ X XMAINTAINER= s.a.boggis@qmul.ac.uk XCOMMENT= Library and tools to support IPMI-capable hardware X XLIB_DEPENDS+= guile:${PORTSDIR}/lang/guile XBUILD_DEPENDS+= ${LOCALBASE}/lib/libargp.a:${PORTSDIR}/devel/argp-standalone X XUSE_GMAKE= yes XUSE_GETOPT_LONG= yes XGNU_CONFIGURE= yes XINSTALLS_SHLIB= yes XNOT_FOR_ARCHS= ia64 sparc64 alpha XPLIST_SUB+= SHLIBVER=${SHLIBVER} RUNDIR=${RUNDIR} LOGDIR=${LOGDIR} XMAN5+= bmc-config.conf.5 ipmipower.conf.5 XMAN8+= bmc-watchdog.8 bmc-info.8 bmc-config.8 fish.8 ipmi-sel.8 ipmi-sensors.8 ipmi-raw.8 ipmiping.8 ipmipower.8 rmcpping.8 ipmi-locate.8 XINFO+= freeipmi freeipmi-faq XPORTDOCS= * XPKGDEINSTALL= ${PKGINSTALL} X X#OPTIONS+= IOPERM "Use i386_set_ioperm(2) instead of io(4)" off X XSHLIBVER= 1 X X.include <bsd.port.pre.mk> X XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib -largp X.if defined(WITH_IOPERM) XCPPFLAGS+= -DUSE_IOPERM X.endif XCONFIGURE_ARGS+= --datadir=/usr/local/share --datarootdir=/usr/local XCONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" X Xpost-install: X @${SETENV} PKG_PREFIX=${PREFIX} \ X ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X X.include <bsd.port.post.mk> END-of-freeipmi/Makefile echo x - freeipmi/distinfo sed 's/^X//' >freeipmi/distinfo << 'END-of-freeipmi/distinfo' XMD5 (freeipmi-0.2.3.tar.gz) = aa3d093e835f9e75301d5cab02c09c68 XSHA256 (freeipmi-0.2.3.tar.gz) = 4333609231797b3cdc17f76856af5d6ed60e337d606870fcc19e441e00f9d334 XSIZE (freeipmi-0.2.3.tar.gz) = 1081539 END-of-freeipmi/distinfo echo x - freeipmi/pkg-descr sed 's/^X//' >freeipmi/pkg-descr << 'END-of-freeipmi/pkg-descr' XFreeIPMI is a library and a set tools to control Intelligent Platform XManagement Interface (IPMI) capable hardware. X XWWW: http://www.gnu.org/software/freeipmi/ END-of-freeipmi/pkg-descr echo x - freeipmi/pkg-install sed 's/^X//' >freeipmi/pkg-install << 'END-of-freeipmi/pkg-install' X#!/bin/sh X Xconffiles="etc/fish/fish.scm etc/fish/ipmi-sensors-conf.scm" Xrundir="/var/lib/freeipmi" Xlogdir="/var/log/freeipmi" X Xcase "$2" in XPOST-INSTALL) X for file in $conffiles; do X [ -f "$PKG_PREFIX/$file" ] || \ X cp "$PKG_PREFIX/$file-dist" "$PKG_PREFIX/$file" X done X X mkdir -p "$rundir" "$logdir" && \ X chmod 0700 "$rundir" "$logdir" X touch "$rundir/ipckey" X ;; XDEINSTALL) X for file in $conffiles; do X cmp -s "$PKG_PREFIX/$file" "$PKG_PREFIX/$file-dist" && \ X rm -f $PKG_PREFIX/$file X done X X rm -f "$rundir/ipckey" X rmdir "$rundir" "$logdir" 2>/dev/null || : X ;; Xesac END-of-freeipmi/pkg-install echo x - freeipmi/pkg-plist sed 's/^X//' >freeipmi/pkg-plist << 'END-of-freeipmi/pkg-plist' Xinclude/freeipmi/freeipmi.h Xinclude/freeipmi/fiid.h Xinclude/freeipmi/ipmi-locate.h Xinclude/freeipmi/smbios-locate.h Xinclude/freeipmi/acpi-spmi-locate.h Xinclude/freeipmi/pci-locate.h Xinclude/freeipmi/defaults-locate.h Xinclude/freeipmi/bit-ops.h Xinclude/freeipmi/ipmi-cmd-spec.h Xinclude/freeipmi/ipmi-netfn-spec.h Xinclude/freeipmi/ipmi-semaphores.h Xinclude/freeipmi/ipmi-interface.h Xinclude/freeipmi/ipmi-ipmb-interface.h Xinclude/freeipmi/ipmi-lan-interface.h Xinclude/freeipmi/ipmi-kcs-interface.h Xinclude/freeipmi/ipmi-smic-interface.h Xinclude/freeipmi/ipmi-ssif-interface.h Xinclude/freeipmi/rmcp.h Xinclude/freeipmi/ipmi-md2.h Xinclude/freeipmi/ipmi-sessions.h Xinclude/freeipmi/ipmi-utils.h Xinclude/freeipmi/ipmi-error.h Xinclude/freeipmi/ipmi-msg-support-cmds.h Xinclude/freeipmi/ipmi-chassis-cmds.h Xinclude/freeipmi/ipmi-dev-global-cmds.h Xinclude/freeipmi/ipmi-sdr-record-types.h Xinclude/freeipmi/ipmi-sdr-repo-cmds.h Xinclude/freeipmi/ipmi-sensor-types.h Xinclude/freeipmi/ipmi-sensor-cmds.h Xinclude/freeipmi/ipmi-sel-record-types.h Xinclude/freeipmi/ipmi-sel-cmds.h Xinclude/freeipmi/ipmi-lan-param-spec.h Xinclude/freeipmi/ipmi-lan-cmds.h Xinclude/freeipmi/ipmi-sol-cmds.h Xinclude/freeipmi/ipmi-md5.h Xinclude/freeipmi/ipmi-serial-modem-param-spec.h Xinclude/freeipmi/ipmi-serial-cmds.h Xinclude/freeipmi/ipmi-sdr-repo-cache.h Xinclude/freeipmi/ipmi-sensor-utils.h Xinclude/freeipmi/ipmi-debug.h Xinclude/freeipmi/ipmi-watchdog.h Xinclude/freeipmi/ipmi-msg-interface-desc.h Xinclude/freeipmi/ipmi-pef-cmds.h Xinclude/freeipmi/ipmi-pef-param-spec.h Xinclude/freeipmi/ipmi-sensor-event-messages.h Xinclude/freeipmi/ipmi-sensor-api.h Xinclude/freeipmi/ipmi-sel-api.h Xinclude/freeipmi/ipmi-comp-code-spec.h Xlib/libfreeipmi.so.2 Xlib/libfreeipmi.so Xlib/libfreeipmi.la Xlib/libfreeipmi.a Xshare/fish/extensions/init.scm Xshare/fish/extensions/shell.scm Xshare/fish/extensions/utils.scm Xshare/fish/extensions/discovery.scm Xshare/fish/extensions/sel.scm Xshare/fish/extensions/bmc-info.scm Xshare/fish/extensions/bc-common.scm Xshare/fish/extensions/bc-user-section.scm Xshare/fish/extensions/bc-lan-serial-channel-section.scm Xshare/fish/extensions/bc-lan-conf-section.scm Xshare/fish/extensions/bc-lan-conf-auth-section.scm Xshare/fish/extensions/bc-lan-conf-misc-section.scm Xshare/fish/extensions/bc-serial-conf-section.scm Xshare/fish/extensions/bc-pef-conf-section.scm Xshare/fish/extensions/bc-misc-section.scm Xshare/fish/extensions/bc-section.scm Xshare/fish/extensions/bmc-config.scm Xshare/fish/extensions/sensors-alias.scm Xshare/fish/extensions/sensors-simple-display.scm Xshare/fish/extensions/sensors-common.scm Xshare/fish/extensions/sensors-verbose-display.scm Xshare/fish/extensions/sensors-very-verbose-display.scm Xshare/fish/extensions/sdr.scm Xshare/fish/extensions/sensors.scm Xshare/fish/extensions/pef.scm Xetc/fish/ipmi-sensors-conf.scm-dist Xetc/fish/fish.scm-dist Xsbin/bmc-watchdog Xsbin/ipmipower Xsbin/ipmi-raw Xsbin/ipmi-locate Xsbin/bmc-info Xsbin/ipmiping Xsbin/rmcpping Xsbin/fish Xsbin/ipmi-sensors Xsbin/bmc-config Xsbin/bmc-autoconfig Xsbin/ipmi-sel Xsbin/ipmi-pef X@dirrm share/fish/extensions X@dirrm share/fish X@dirrm include/freeipmi X@dirrm etc/fish END-of-freeipmi/pkg-plist echo c - freeipmi/files mkdir -p freeipmi/files > /dev/null 2>&1 echo x - freeipmi/files/patch-Makefile.in sed 's/^X//' >freeipmi/files/patch-Makefile.in << 'END-of-freeipmi/files/patch-Makefile.in' X--- ../freeipmi-0.2.3.orig/Makefile.in Tue Jul 25 11:25:43 2006 X+++ Makefile.in Thu Aug 10 14:54:51 2006 X@@ -199,7 +199,7 @@ X target_alias = @target_alias@ X @FISH_TRUE@MAYBE_FISH = fish X SUBDIRS = doc libfreeipmi common bmc-watchdog ipmipower ipmi-raw ipmi-locate bmc-info ipmiping rmcpping $(MAYBE_FISH) X-EXTRA = ChangeLog AUTHORS COPYING INSTALL NEWS README TODO THANKS COPYING.bmc-watchdog DISCLAIMER.bmc-watchdog COPYING.ipmipower DISCLAIMER.ipmipower COPYING.ipmiping DISCLAIMER.ipmiping COPYING.rmcpping DISCLAIMER.rmcpping X+EXTRA = ChangeLog AUTHORS COPYING INSTALL NEWS README TODO THANKS DISCLAIMER.bmc-watchdog DISCLAIMER.ipmipower DISCLAIMER.ipmiping DISCLAIMER.rmcpping X doc_DATA = $(EXTRA) X CLEANFILES = X DISTCLEANFILES = .deps/*.P END-of-freeipmi/files/patch-Makefile.in echo x - freeipmi/files/patch-bmc-watchdog-Makefile.in sed 's/^X//' >freeipmi/files/patch-bmc-watchdog-Makefile.in << 'END-of-freeipmi/files/patch-bmc-watchdog-Makefile.in' X--- ../freeipmi-0.2.3.orig/bmc-watchdog/Makefile.in Tue Jul 25 11:25:39 2006 X+++ bmc-watchdog/Makefile.in Thu Aug 10 15:00:54 2006 X@@ -484,9 +484,12 @@ X all-am: Makefile $(MANS) $(DATA) X installdirs: installdirs-recursive X installdirs-am: X- for dir in "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(DEFINITSCRIPTdir)"; do \ X+ for dir in "$(DESTDIR)$(man8dir)" ; do \ X test -z "$$dir" || $(mkdir_p) "$$dir"; \ X done X+# for dir in "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(DEFINITSCRIPTdir)"; do \ X+# test -z "$$dir" || $(mkdir_p) "$$dir"; \ X+# done X install: install-recursive X install-exec: install-exec-recursive X install-data: install-data-recursive X@@ -532,9 +535,10 @@ X X info-am: X X-install-data-am: install-DEFINITSCRIPTDATA install-man X+#install-data-am: install-DEFINITSCRIPTDATA install-man X+install-data-am: install-man X @$(NORMAL_INSTALL) X- $(MAKE) $(AM_MAKEFLAGS) install-data-hook X+# $(MAKE) $(AM_MAKEFLAGS) install-data-hook X X install-exec-am: X END-of-freeipmi/files/patch-bmc-watchdog-Makefile.in echo x - freeipmi/files/patch-fish-Makefile.in sed 's/^X//' >freeipmi/files/patch-fish-Makefile.in << 'END-of-freeipmi/files/patch-fish-Makefile.in' X--- ../freeipmi-0.2.3.orig/fish/Makefile.in Tue Jul 25 11:25:40 2006 X+++ fish/Makefile.in Thu Aug 10 15:02:22 2006 X@@ -353,8 +353,8 @@ X @list='$(Defconf_DATA)'; for p in $$list; do \ X if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ X f=$(am__strip_dir) \ X- echo " $(DefconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Defconfdir)/$$f'"; \ X- $(DefconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Defconfdir)/$$f"; \ X+ echo " $(DefconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Defconfdir)/$$f-dist'"; \ X+ $(DefconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Defconfdir)/$$f-dist"; \ X done X X uninstall-DefconfDATA: END-of-freeipmi/files/patch-fish-Makefile.in echo x - freeipmi/files/patch-fish-extensions-Makefile.in sed 's/^X//' >freeipmi/files/patch-fish-extensions-Makefile.in << 'END-of-freeipmi/files/patch-fish-extensions-Makefile.in' X--- ../freeipmi-0.2.3.orig/fish/extensions/Makefile.in Tue Jul 25 11:25:40 2006 X+++ fish/extensions/Makefile.in Thu Aug 10 15:03:30 2006 X@@ -257,8 +257,8 @@ X @list='$(Extensionsconf_DATA)'; for p in $$list; do \ X if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ X f=$(am__strip_dir) \ X- echo " $(ExtensionsconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Extensionsconfdir)/$$f'"; \ X- $(ExtensionsconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Extensionsconfdir)/$$f"; \ X+ echo " $(ExtensionsconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(Extensionsconfdir)/$$f-dist'"; \ X+ $(ExtensionsconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(Extensionsconfdir)/$$f-dist"; \ X done X X uninstall-ExtensionsconfDATA: END-of-freeipmi/files/patch-fish-extensions-Makefile.in echo x - freeipmi/files/patch-common-src-argp-common.c sed 's/^X//' >freeipmi/files/patch-common-src-argp-common.c << 'END-of-freeipmi/files/patch-common-src-argp-common.c' X--- ../freeipmi-0.2.3.orig/./common/src/argp-common.c Wed Jul 12 11:26:38 2006 X+++ ./common/src/argp-common.c Thu Aug 10 17:48:52 2006 X@@ -29,7 +29,10 @@ X #if HAVE_UNISTD_H X #include <unistd.h> X #endif X+/* #include <error.h> */ X+#ifndef __FreeBSD__ X #include <error.h> X+#endif X #include <argp.h> X X #include "freeipmi.h" END-of-freeipmi/files/patch-common-src-argp-common.c echo x - freeipmi/files/patch-common-src-ipmi-common.c sed 's/^X//' >freeipmi/files/patch-common-src-ipmi-common.c << 'END-of-freeipmi/files/patch-common-src-ipmi-common.c' X--- ../freeipmi-0.2.3.orig/./common/src/ipmi-common.c Thu Feb 9 16:59:03 2006 X+++ ./common/src/ipmi-common.c Thu Aug 10 17:49:03 2006 X@@ -29,7 +29,10 @@ X #if HAVE_UNISTD_H X #include <unistd.h> X #endif X+/* #include <error.h> */ X+#ifndef __FreeBSD__ X #include <error.h> X+#endif X #include <argp.h> X X #include "freeipmi.h" END-of-freeipmi/files/patch-common-src-ipmi-common.c echo x - freeipmi/files/patch-ipmi-raw-src-ipmi-raw.c sed 's/^X//' >freeipmi/files/patch-ipmi-raw-src-ipmi-raw.c << 'END-of-freeipmi/files/patch-ipmi-raw-src-ipmi-raw.c' X--- ../freeipmi-0.2.3.orig/./ipmi-raw/src/ipmi-raw.c Wed Apr 19 02:34:29 2006 X+++ ./ipmi-raw/src/ipmi-raw.c Thu Aug 10 17:49:20 2006 X@@ -20,7 +20,10 @@ X #include <stdio.h> X #include <unistd.h> X #include <stdlib.h> X+/* #include <error.h> */ X+#ifndef __FreeBSD__ X #include <error.h> X+#endif X #include <string.h> X #include <sys/socket.h> X #include <netinet/in.h> END-of-freeipmi/files/patch-ipmi-raw-src-ipmi-raw.c echo x - freeipmi/files/patch-libfreeipmi-src-ipmi-smic-interface.c sed 's/^X//' >freeipmi/files/patch-libfreeipmi-src-ipmi-smic-interface.c << 'END-of-freeipmi/files/patch-libfreeipmi-src-ipmi-smic-interface.c' X--- ../freeipmi-0.2.3.orig/./libfreeipmi/src/ipmi-smic-interface.c Fri Dec 16 08:48:40 2005 X+++ ./libfreeipmi/src/ipmi-smic-interface.c Thu Aug 10 17:49:53 2006 X@@ -20,7 +20,10 @@ X */ X X #include "freeipmi.h" X+/* #include <linux/types.h> */ X+#if !defined(__FreeBSD__) X #include <linux/types.h> X+#endif X X #if defined(__FreeBSD__) && !defined(USE_IOPERM) X static int ipmi_smic_dev_io_fd = -1; END-of-freeipmi/files/patch-libfreeipmi-src-ipmi-smic-interface.c echo x - freeipmi/files/patch-bmc-info-src-bmc-info.c sed 's/^X//' >freeipmi/files/patch-bmc-info-src-bmc-info.c << 'END-of-freeipmi/files/patch-bmc-info-src-bmc-info.c' X--- ../freeipmi-0.2.3.orig/./bmc-info/src/bmc-info.c Wed Apr 19 02:34:27 2006 X+++ ./bmc-info/src/bmc-info.c Thu Aug 10 17:48:18 2006 X@@ -20,7 +20,10 @@ X #include <stdio.h> X #include <unistd.h> X #include <stdlib.h> X+/* #include <error.h> */ X+#ifndef __FreeBSD__ X #include <error.h> X+#endif X #include <string.h> X #include <sys/socket.h> X #include <netinet/in.h> END-of-freeipmi/files/patch-bmc-info-src-bmc-info.c exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1GBGqc-000Dtd-Cs>