summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-03-25 23:06:00 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-03-25 23:06:00 +0000
commitbaf56072658fbe614fc43f99c024618f2e54a389 (patch)
treeb8974dd734a1316ec6c6c44ba1ba2270e3fce051 /sys-libs
parentslow patch and ebuild thanks to Phil Whineray <pdw@slightly-cracked.com>. old... (diff)
downloadhistorical-baf56072658fbe614fc43f99c024618f2e54a389.tar.gz
historical-baf56072658fbe614fc43f99c024618f2e54a389.tar.bz2
historical-baf56072658fbe614fc43f99c024618f2e54a389.zip
Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/openhpi/ChangeLog10
-rw-r--r--sys-libs/openhpi/Manifest4
-rw-r--r--sys-libs/openhpi/files/digest-openhpi-2.0.31
-rw-r--r--sys-libs/openhpi/metadata.xml8
-rw-r--r--sys-libs/openhpi/openhpi-2.0.3.ebuild72
5 files changed, 95 insertions, 0 deletions
diff --git a/sys-libs/openhpi/ChangeLog b/sys-libs/openhpi/ChangeLog
new file mode 100644
index 000000000000..79d208ac51cd
--- /dev/null
+++ b/sys-libs/openhpi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-libs/openhpi
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/ChangeLog,v 1.1 2005/03/25 23:06:00 robbat2 Exp $
+
+*openhpi-2.0.3 (25 Mar 2005)
+
+ 25 Mar 2005; Robin H. Johnson <robbat2@gentoo.org> +metadata.xml,
+ +openhpi-2.0.3.ebuild:
+ Initial commit. Ebuild by Robin H. Johnson <robbat2@gentoo.org>.
+
diff --git a/sys-libs/openhpi/Manifest b/sys-libs/openhpi/Manifest
new file mode 100644
index 000000000000..5ee40426091f
--- /dev/null
+++ b/sys-libs/openhpi/Manifest
@@ -0,0 +1,4 @@
+MD5 f2666bced1ac589733e422ce30ad0e2d openhpi-2.0.3.ebuild 1937
+MD5 17ef50529c2958e307b1f64ed4daa9d2 ChangeLog 397
+MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
+MD5 9133e404874f16420d387266a9ee914a files/digest-openhpi-2.0.3 68
diff --git a/sys-libs/openhpi/files/digest-openhpi-2.0.3 b/sys-libs/openhpi/files/digest-openhpi-2.0.3
new file mode 100644
index 000000000000..6072cc453e0d
--- /dev/null
+++ b/sys-libs/openhpi/files/digest-openhpi-2.0.3
@@ -0,0 +1 @@
+MD5 c2160d02241b1d2f03c91586bbb44128 openhpi-2.0.3-1.tar.gz 1814536
diff --git a/sys-libs/openhpi/metadata.xml b/sys-libs/openhpi/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/sys-libs/openhpi/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>
diff --git a/sys-libs/openhpi/openhpi-2.0.3.ebuild b/sys-libs/openhpi/openhpi-2.0.3.ebuild
new file mode 100644
index 000000000000..269ed8688bfb
--- /dev/null
+++ b/sys-libs/openhpi/openhpi-2.0.3.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/openhpi-2.0.3.ebuild,v 1.1 2005/03/25 23:06:00 robbat2 Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="OpenHPI is an open implementation of the SA Forum's HPI spec"
+HOMEPAGE="http://openhpi.sourceforge.net/"
+MY_P="${P}-1"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="snmp examples"
+RDEPEND="virtual/libc
+ >=sys-fs/sysfsutils-1.0
+ >=sys-libs/openipmi-0.26
+ <sys-libs/openipmi-1.4*
+ snmp? ( >=net-analyzer/net-snmp-5.07 )"
+DEPEND="${RDEPEND}
+ virtual/os-headers"
+
+src_compile() {
+ local myconf
+ myconf="${myconf} `use_enable snmp snmp_client`"
+ myconf="${myconf} `use_enable snmp snmp_bc`"
+ myconf="${myconf} `use_enable examples`"
+
+ # these binaries are all system-core stuff
+ # so I'm putting them into sbin
+ econf \
+ --bindir='/usr/sbin' \
+ --with-confpath=/etc/openhpi/ \
+ --with-varpath=/var/lib/openhpi/ \
+ --enable-thread \
+ --enable-daemon \
+ --enable-shell_client \
+ --enable-dummy \
+ --enable-watchdog \
+ --enable-ipmi \
+ --enable-sysfs \
+ --enable-ipmidirect \
+ --enable-remote_client \
+ --enable-simulator \
+ --disable-testcover \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodoc COPYING README
+ emake \
+ DESTDIR="${D}" \
+ docdir="/usr/share/doc/${PF}" \
+ mkinstalldirs="mkdir -pv" \
+ install install-data-local \
+ || die "emake install failed"
+ cd ${S}/examples
+ emake \
+ DESTDIR="${D}" \
+ docdir="/usr/share/doc/${PF}" \
+ mkinstalldirs="mkdir -pv" \
+ install-data-local \
+ || die "emake install-data-local for config failed"
+ if use examples; then
+ dodoc list_resources*.c
+ newsbin list_resources hpi_list_resources
+ [ -f list_resources_threaded ] && newsbin list_resources_threaded hpi_list_resources_threaded
+ fi
+ keepdir /var/lib/openhpi/
+}