summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-03-25 10:12:48 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-03-25 10:12:48 +0000
commitfe9ed3377d3ebaf177155af52f005d903e5484f3 (patch)
tree6802f140986edf5a2377b36798a925776b4d0b38 /sys-apps/ipmiutil
parentStable on mips. (diff)
downloadgentoo-2-fe9ed3377d3ebaf177155af52f005d903e5484f3.tar.gz
gentoo-2-fe9ed3377d3ebaf177155af52f005d903e5484f3.tar.bz2
gentoo-2-fe9ed3377d3ebaf177155af52f005d903e5484f3.zip
Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps/ipmiutil')
-rw-r--r--sys-apps/ipmiutil/ChangeLog10
-rw-r--r--sys-apps/ipmiutil/Manifest3
-rw-r--r--sys-apps/ipmiutil/files/digest-ipmiutil-1.6.01
-rw-r--r--sys-apps/ipmiutil/files/ipmiutil-1.6.0-link-external-freeipmi.diff46
-rw-r--r--sys-apps/ipmiutil/ipmiutil-1.6.0.ebuild42
-rw-r--r--sys-apps/ipmiutil/metadata.xml8
6 files changed, 110 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/ChangeLog b/sys-apps/ipmiutil/ChangeLog
new file mode 100644
index 000000000000..2d8e864ce803
--- /dev/null
+++ b/sys-apps/ipmiutil/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/ipmiutil
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmiutil/ChangeLog,v 1.1 2005/03/25 10:12:47 robbat2 Exp $
+
+*ipmiutil-1.6.0 (25 Mar 2005)
+
+ 25 Mar 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +files/ipmiutil-1.6.0-link-external-freeipmi.diff, +ipmiutil-1.6.0.ebuild:
+ Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
diff --git a/sys-apps/ipmiutil/Manifest b/sys-apps/ipmiutil/Manifest
new file mode 100644
index 000000000000..1f19b91c537c
--- /dev/null
+++ b/sys-apps/ipmiutil/Manifest
@@ -0,0 +1,3 @@
+MD5 28c866c17d78597e8fe1ee0b6f2d2aa8 ipmiutil-1.6.0.ebuild 889
+MD5 26555fccc3acf12bb91ab2b43478209c files/ipmiutil-1.6.0-link-external-freeipmi.diff 1904
+MD5 96a84a3afc0b7d84cd30d6134a389be1 files/digest-ipmiutil-1.6.0 67
diff --git a/sys-apps/ipmiutil/files/digest-ipmiutil-1.6.0 b/sys-apps/ipmiutil/files/digest-ipmiutil-1.6.0
new file mode 100644
index 000000000000..6304c061c59d
--- /dev/null
+++ b/sys-apps/ipmiutil/files/digest-ipmiutil-1.6.0
@@ -0,0 +1 @@
+MD5 b1e16ca74448f40ce33bb9d74ab4f5fc ipmiutil-1.6.0.tar.gz 1151460
diff --git a/sys-apps/ipmiutil/files/ipmiutil-1.6.0-link-external-freeipmi.diff b/sys-apps/ipmiutil/files/ipmiutil-1.6.0-link-external-freeipmi.diff
new file mode 100644
index 000000000000..6ae4aa09abbc
--- /dev/null
+++ b/sys-apps/ipmiutil/files/ipmiutil-1.6.0-link-external-freeipmi.diff
@@ -0,0 +1,46 @@
+diff -Nuar ipmiutil-1.6.0.orig/Makefile.am ipmiutil-1.6.0/Makefile.am
+--- ipmiutil-1.6.0.orig/Makefile.am 2005-02-10 07:29:37.000000000 -0800
++++ ipmiutil-1.6.0/Makefile.am 2005-03-25 01:40:42.817933112 -0800
+@@ -1,5 +1,5 @@
+
+-SUBDIRS = doc freeipmi util
++SUBDIRS = doc util
+ PKGDIR = /usr/src/redhat
+ SOURCEDIR = $(PKGDIR)/SOURCES
+ BUILDDIR = $(PKGDIR)/BUILD
+diff -Nuar ipmiutil-1.6.0.orig/Makefile.in ipmiutil-1.6.0/Makefile.in
+--- ipmiutil-1.6.0.orig/Makefile.in 2005-03-07 12:25:58.000000000 -0800
++++ ipmiutil-1.6.0/Makefile.in 2005-03-25 01:40:53.444317656 -0800
+@@ -63,7 +63,7 @@
+ PACKAGE = @PACKAGE@
+ VERSION = @VERSION@
+
+-SUBDIRS = doc freeipmi util
++SUBDIRS = doc util
+ PKGDIR = /usr/src/redhat
+ SOURCEDIR = $(PKGDIR)/SOURCES
+ BUILDDIR = $(PKGDIR)/BUILD
+diff -Nuar ipmiutil-1.6.0.orig/util/Makefile.am ipmiutil-1.6.0/util/Makefile.am
+--- ipmiutil-1.6.0.orig/util/Makefile.am 2005-03-07 12:14:03.000000000 -0800
++++ ipmiutil-1.6.0/util/Makefile.am 2005-03-25 01:41:27.013214408 -0800
+@@ -3,7 +3,7 @@
+ AM_CPPFLAGS = -DLINUX -DLOCALEDIR=\"$(localedir)\"
+ INCLUDES = -I..
+ CMDMOD = ipmicmd.c imbapi.c ipmimv.c ipmignu.c ipmild.c
+-LDFLAGS = -lfreeipmi -L../freeipmi
++LDFLAGS = -lfreeipmi
+ # To build without gnu freeipmi, uncomment the following two lines.
+ # LDFLAGS =
+ # CMDMOD = ipmicmd.c imbapi.c ipmimv.c ipmignustub.c
+diff -Nuar ipmiutil-1.6.0.orig/util/Makefile.in ipmiutil-1.6.0/util/Makefile.in
+--- ipmiutil-1.6.0.orig/util/Makefile.in 2005-03-07 12:26:04.000000000 -0800
++++ ipmiutil-1.6.0/util/Makefile.in 2005-03-25 01:41:28.650965432 -0800
+@@ -67,7 +67,7 @@
+ AM_CPPFLAGS = -DLINUX -DLOCALEDIR=\"$(localedir)\"
+ INCLUDES = -I..
+ CMDMOD = ipmicmd.c imbapi.c ipmimv.c ipmignu.c ipmild.c
+-LDFLAGS = -lfreeipmi -L../freeipmi
++LDFLAGS = -lfreeipmi
+ # To build without gnu freeipmi, uncomment the following two lines.
+ # LDFLAGS =
+ # CMDMOD = ipmicmd.c imbapi.c ipmimv.c ipmignustub.c
diff --git a/sys-apps/ipmiutil/ipmiutil-1.6.0.ebuild b/sys-apps/ipmiutil/ipmiutil-1.6.0.ebuild
new file mode 100644
index 000000000000..71b54d6234d7
--- /dev/null
+++ b/sys-apps/ipmiutil/ipmiutil-1.6.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmiutil/ipmiutil-1.6.0.ebuild,v 1.1 2005/03/25 10:12:47 robbat2 Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="IPMI Management Utilities"
+HOMEPAGE="http://ipmiutil.sf.net/"
+SRC_URI="mirror://sourceforge/${PV}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RDEPEND="virtual/libc
+ >=sys-libs/freeipmi-0.1.0"
+DEPEND="${RDEPEND}
+ virtual/os-headers"
+
+src_unpack() {
+ unpack ${A}
+ EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${P}-link-external-freeipmi.diff
+ # The following upstream directories are unneeded/obsolete:
+ # freeipmi hpiutil kern test
+ # we remove them for safety:
+ cd ${S}
+ rm -rf freeipmi hpiutil kern test
+}
+
+#src_compile() {
+# econf || die "econf failed"
+# emake || die "emake failed"
+#}
+
+src_install() {
+ # must come first, due to install system that uses 'mv' instead of 'cp'.
+ dodoc AUTHORS INSTALL NEWS COPYING README TODO doc/UserGuide
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # clean up the install a bit
+ rm ${D}/usr/share/ipmiutil/{COPYING,README,UserGuide}
+}
diff --git a/sys-apps/ipmiutil/metadata.xml b/sys-apps/ipmiutil/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/sys-apps/ipmiutil/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>