Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 00:33:07 +0700 (NOVST)
From:      Dmitry Frolov <frolov@riss-telecom.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73249: New port: sysutils/freeipmi IPMI system management tools
Message-ID:  <200410281733.i9SHX7Jl036633@nerve.riss-telecom.ru>
Resent-Message-ID: <200410281740.i9SHeUoa091033@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73249
>Category:       ports
>Synopsis:       New port: sysutils/freeipmi IPMI system management tools
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 28 17:40:30 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Frolov
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
RISS-Telecom
>Environment:
System: FreeBSD nerve.riss-telecom.ru 5.3-BETA7 FreeBSD 5.3-BETA7 #15: Mon Oct 18

	
>Description:

FreeIPMI is a library and a set of tools that can be used to manage
servers supporting Intelligent Platform Management Interface (IPMI).
See FreeIPMI homepage for more information:

http://www.gnu.org/software/freeipmi/

>How-To-Repeat:
	
>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-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/pkg-install
#
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.10.2004
X# Whom:			Dmitry Frolov <frol@nov.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	freeipmi
XPORTVERSION=	0.1.3
XCATEGORIES=	sysutils
XMASTER_SITES=	ftp://ftp.californiadigital.com/pub/${PORTNAME}/${PORTVERSION}/
X
XPATCH_SITES=	ftp://ftp.riss-telecom.ru/pub/patches/
XPATCHFILES=	${DISTNAME}-fbsd.diff
X
XMAINTAINER=	frolov@riss-telecom.ru
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_REINPLACE=	yes
XUSE_LIBTOOL_VER=	15
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
XPLIST_SUB+=	SHLIBVER=${SHLIBVER} RUNDIR=${RUNDIR} LOGDIR=${LOGDIR}
XMAN1+=	bmc-config.1 bmc-info.1 fish.1 sel.1 sensors.1
XMAN5+=	ipmipower.conf.5
XMAN8+=	bmc-watchdog.8 ipmipower.8 ipmiping.8 rmcpping.8
XINFO+=	freeipmi
XPORTDOCS=	*
XPKGDEINSTALL=	${PKGINSTALL}
X
XOPTIONS+=	IOPERM "Use i386_set_ioperm(2) instead of io(4)" off
X
XSHLIBVER=	1
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_IOPERM)
XMYDEFS+=	-DUSE_IOPERM
X.endif
XCONFIGURE_ENV+=	CFLAGS="-I${LOCALBASE}/include ${MYDEFS}" \
X	LDFLAGS="-L${LOCALBASE}/lib -largp"
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.1.3.tar.gz) = c4b088f806253971759c60263722e63d
XSIZE (freeipmi-0.1.3.tar.gz) = 888728
XMD5 (freeipmi-0.1.3-fbsd.diff) = 346f5a774eccce9f8e2451f37c447192
XSIZE (freeipmi-0.1.3-fbsd.diff) = 15746
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-plist
sed 's/^X//' >freeipmi/pkg-plist << 'END-of-freeipmi/pkg-plist'
Xsbin/bmc-watchdog
Xsbin/fish
Xsbin/bmc-config
Xsbin/bmc-info
Xsbin/sel
Xsbin/sensors
Xsbin/ipmiping
Xsbin/ipmipower
Xsbin/rmcpping
Xlib/libfreeipmi.so
Xlib/libfreeipmi.so.%%SHLIBVER%%
Xetc/fish/fish.scm-dist
Xetc/fish/sensors-conf.scm-dist
X@dirrm etc/fish
Xshare/fish/extensions/init.scm
Xshare/fish/extensions/shell.scm
Xshare/fish/extensions/utils.scm
Xshare/fish/extensions/discovery.scm
Xshare/fish/extensions/sensors.scm
Xshare/fish/extensions/sensors-utils.scm
Xshare/fish/extensions/bmc-config.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-misc-section.scm
Xshare/fish/extensions/bc2.scm
Xshare/fish/extensions/bc-section.scm
X@dirrm share/fish/extensions
X@dirrm share/fish
Xinclude/freeipmi/freeipmi.h
Xinclude/freeipmi/fiid.h
Xinclude/freeipmi/smbios.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-ipmb-interface.h
Xinclude/freeipmi/ipmi-lan-interface.h
Xinclude/freeipmi/ipmi-kcs-interface.h
Xinclude/freeipmi/ipmi-smic-interface.h
Xinclude/freeipmi/rmcp.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-sel-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-lan-param-spec.h
Xinclude/freeipmi/ipmi-lan-cmds.h
Xinclude/freeipmi/ipmi-sol-cmds.h
Xinclude/freeipmi/ipmi-md2.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-probe.h
Xinclude/freeipmi/pcilocate.h
Xinclude/freeipmi/ipmi-ping.h
Xinclude/freeipmi/ipmi-msg-interface-desc.h
X@dirrm include/freeipmi
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--- Makefile.in.orig	Sat Oct  9 11:24:48 2004
X+++ Makefile.in	Thu Oct 21 01:50:36 2004
X@@ -144,7 +144,7 @@
X target_alias = @target_alias@
X SUBDIRS = doc libfreeipmi fish bmc-watchdog ipmipower ipmiping rmcpping
X 
X-EXTRA = ChangeLog AUTHORS COPYING INSTALL NEWS README TODO COPYING.bmc-watchdog DISCLAIMER.bmc-watchdog COPYING.ipmipower DISCLAIMER.ipmipower COPYING.ipmiping DISCLAIMER.ipmiping COPYING.rmcpping DISCLAIMER.rmcpping
X+EXTRA = ChangeLog AUTHORS INSTALL NEWS README TODO DISCLAIMER.bmc-watchdog DISCLAIMER.ipmipower DISCLAIMER.ipmiping DISCLAIMER.rmcpping
X 
X docdir = $(datadir)/doc/$(PACKAGE)
X doc_DATA = $(EXTRA)
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--- bmc-watchdog/Makefile.in.orig	Mon Oct 25 12:42:31 2004
X+++ bmc-watchdog/Makefile.in	Mon Oct 25 20:58:48 2004
X@@ -436,7 +436,8 @@
X all-am: Makefile $(MANS) $(DATA)
X installdirs: installdirs-recursive
X installdirs-am:
X-	$(mkinstalldirs) $(DESTDIR)$(man8dir) $(DESTDIR)$(DEFINITSCRIPTdir)
X+	$(mkinstalldirs) $(DESTDIR)$(man8dir)
X+#	$(mkinstalldirs) $(DESTDIR)$(man8dir) $(DESTDIR)$(DEFINITSCRIPTdir)
X 
X install: install-recursive
X install-exec: install-exec-recursive
X@@ -481,9 +482,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--- fish/Makefile.in.orig	Sat Oct  9 11:24:50 2004
X+++ fish/Makefile.in	Thu Oct 21 02:02:55 2004
X@@ -198,8 +198,8 @@
X 	@list='$(Defconf_DATA)'; for p in $$list; do \
X 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
X 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
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--- fish/extensions/Makefile.in.orig	Sat Oct  9 11:24:50 2004
X+++ fish/extensions/Makefile.in	Thu Oct 21 02:06:48 2004
X@@ -212,8 +212,8 @@
X 	@list='$(Extensionsconf_DATA)'; for p in $$list; do \
X 	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
X 	  f="`echo $$p | sed -e 's|^.*/||'`"; \
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/pkg-install
sed 's/^X//' >freeipmi/pkg-install << 'END-of-freeipmi/pkg-install'
X#!/bin/sh
X
Xconffiles="etc/fish/fish.scm etc/fish/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 etc/fish/fish.scm etc/fish/sensors-conf.scm; 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
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410281733.i9SHX7Jl036633>