summaryrefslogtreecommitdiff
path: root/sysutils/ipmitool
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2006-03-13 23:03:28 +0000
committerheinz <heinz@pkgsrc.org>2006-03-13 23:03:28 +0000
commitbc65925994edeee2fa57059ca2de0ce7067675ce (patch)
tree52a141331b48d63c2258e2341fcb7a3f3ca98700 /sysutils/ipmitool
parent3257e6ac7cf4fe73b69545587bbb8ea0ddbd58b1 (diff)
downloadpkgsrc-bc65925994edeee2fa57059ca2de0ce7067675ce.tar.gz
Initial import of ipmitool 1.8.6.
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.
Diffstat (limited to 'sysutils/ipmitool')
-rw-r--r--sysutils/ipmitool/DESCR14
-rw-r--r--sysutils/ipmitool/Makefile25
-rw-r--r--sysutils/ipmitool/PLIST19
-rw-r--r--sysutils/ipmitool/distinfo8
-rw-r--r--sysutils/ipmitool/patches/patch-aa13
-rw-r--r--sysutils/ipmitool/patches/patch-ab13
-rw-r--r--sysutils/ipmitool/patches/patch-ac13
7 files changed, 105 insertions, 0 deletions
diff --git a/sysutils/ipmitool/DESCR b/sysutils/ipmitool/DESCR
new file mode 100644
index 00000000000..12d4b508065
--- /dev/null
+++ b/sysutils/ipmitool/DESCR
@@ -0,0 +1,14 @@
+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.
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile
new file mode 100644
index 00000000000..dd0acb10178
--- /dev/null
+++ b/sysutils/ipmitool/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/13 23:03:28 heinz Exp $
+#
+
+DISTNAME= ipmitool-1.8.6
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ipmitool/}
+
+MAINTAINER= heinz@NetBSD.org
+HOMEPAGE= http://ipmitool.sourceforge.net/
+COMMENT= Command-line utility for managing IPMI devices
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+GNU_CONFIGURE= yes
+USE_GNU_READLINE= yes # ipmitool uses rl_event_hook
+INSTALLATION_DIRS+= share/ipmitool doc/ipmitool
+
+OPSYSVARS+= CONFIGURE_ARGS
+CONFIGURE_ARGS.NetBSD+= --disable-intf-open --disable-intf-imb
+CONFIGURE_ARGS.DragonFly+= --disable-intf-open --disable-intf-imb
+CONFIGURE_ARGS.SunOS+= --enable-solaris-opt
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/ipmitool/PLIST b/sysutils/ipmitool/PLIST
new file mode 100644
index 00000000000..824bbdcd819
--- /dev/null
+++ b/sysutils/ipmitool/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/13 23:03:28 heinz Exp $
+bin/ipmitool
+man/man1/ipmitool.1
+man/man8/ipmievd.8
+sbin/ipmievd
+share/doc/ipmitool/AUTHORS
+share/doc/ipmitool/COPYING
+share/doc/ipmitool/ChangeLog
+share/doc/ipmitool/README
+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
+@dirrm share/ipmitool
+@dirrm share/doc/ipmitool
diff --git a/sysutils/ipmitool/distinfo b/sysutils/ipmitool/distinfo
new file mode 100644
index 00000000000..617d497df88
--- /dev/null
+++ b/sysutils/ipmitool/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/03/13 23:03:28 heinz Exp $
+
+SHA1 (ipmitool-1.8.6.tar.gz) = c6eac0ba062257fa770257dfe09abc8190f4f9ec
+RMD160 (ipmitool-1.8.6.tar.gz) = 640fc101de856bb7a861b1824173dc07959251dd
+Size (ipmitool-1.8.6.tar.gz) = 611126 bytes
+SHA1 (patch-aa) = 2a23d0ddc9554b81df9ee1653d3dae42772fa681
+SHA1 (patch-ab) = 319ea1d70d3ab4f1f4c919ea18af531aeb97adc4
+SHA1 (patch-ac) = 67f29e9fade6de73adce2f17f7d17c2f84ee5534
diff --git a/sysutils/ipmitool/patches/patch-aa b/sysutils/ipmitool/patches/patch-aa
new file mode 100644
index 00000000000..90ad7db1520
--- /dev/null
+++ b/sysutils/ipmitool/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/03/13 23:03:28 heinz Exp $
+
+--- Makefile.in.orig 2006-01-17 18:54:11.000000000 +0100
++++ Makefile.in
+@@ -690,7 +690,7 @@ dist-hook:
+
+ install-data-local:
+ mkdir -p $(DOCDIR)
+- install -m 644 $(DOCLIST) $(DOCDIR)
++ $(INSTALL_DATA) $(DOCLIST) $(DOCDIR)
+
+ .PHONY: pkg
+ pkg: PKG := ipmitool-@VERSION@-@OS@-@ARCH@
diff --git a/sysutils/ipmitool/patches/patch-ab b/sysutils/ipmitool/patches/patch-ab
new file mode 100644
index 00000000000..75edc0a3ca0
--- /dev/null
+++ b/sysutils/ipmitool/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/03/13 23:03:28 heinz Exp $
+
+--- Makefile.am.orig 2004-09-10 06:50:12.000000000 +0200
++++ Makefile.am
+@@ -53,7 +53,7 @@ dist-hook:
+
+ install-data-local:
+ mkdir -p $(DOCDIR)
+- install -m 644 $(DOCLIST) $(DOCDIR)
++ $(INSTALL_DATA) $(DOCLIST) $(DOCDIR)
+
+ .PHONY: pkg
+ pkg: PKG := ipmitool-@VERSION@-@OS@-@ARCH@
diff --git a/sysutils/ipmitool/patches/patch-ac b/sysutils/ipmitool/patches/patch-ac
new file mode 100644
index 00000000000..bc70649dab1
--- /dev/null
+++ b/sysutils/ipmitool/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2006/03/13 23:03:28 heinz Exp $
+
+--- lib/helper.c.orig 2006-01-17 18:31:14.000000000 +0100
++++ lib/helper.c
+@@ -378,7 +378,7 @@ ipmi_start_daemon(void)
+ close(fd);
+ }
+ #else
+- if (setpgrp() == -1)
++ if (setpgid(0,0) == -1)
+ exit(1);
+ pid = (pid_t) fork();
+ if (pid < 0 || pid > 0)