diff options
Diffstat (limited to 'sys-libs/openhpi')
-rw-r--r-- | sys-libs/openhpi/ChangeLog | 11 | ||||
-rw-r--r-- | sys-libs/openhpi/Manifest | 6 | ||||
-rw-r--r-- | sys-libs/openhpi/files/openhpi-confd | 10 | ||||
-rw-r--r-- | sys-libs/openhpi/files/openhpi-initd | 21 | ||||
-rw-r--r-- | sys-libs/openhpi/openhpi-2.10.1.ebuild | 59 |
5 files changed, 104 insertions, 3 deletions
diff --git a/sys-libs/openhpi/ChangeLog b/sys-libs/openhpi/ChangeLog index 4e6260013dbc..00aca88064a2 100644 --- a/sys-libs/openhpi/ChangeLog +++ b/sys-libs/openhpi/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-libs/openhpi -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/ChangeLog,v 1.3 2007/02/09 06:09:22 flameeyes Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/ChangeLog,v 1.4 2008/11/01 08:19:05 robbat2 Exp $ + +*openhpi-2.10.1 (01 Nov 2008) + + 01 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> +files/openhpi-confd, + +files/openhpi-initd, +openhpi-2.10.1.ebuild: + Version bump, per bug #199024. Thanks to Tais M. Hansen + <tais.hansen@osd.dk> for scripts. 09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog: Regenerate digest in Manifest2 format. diff --git a/sys-libs/openhpi/Manifest b/sys-libs/openhpi/Manifest index d5a91a8f6c50..97a48f052f2e 100644 --- a/sys-libs/openhpi/Manifest +++ b/sys-libs/openhpi/Manifest @@ -1,4 +1,8 @@ +AUX openhpi-confd 292 RMD160 309b9220a6ab7340864445df220939741a0843c6 SHA1 7787821fa0e957d46e4766107b17faa2247f8019 SHA256 0e91b61dded9a8aeec7c182dd275e62be5292a2deae9f9ba89c235115b6be469 +AUX openhpi-initd 739 RMD160 cda9ce3c0007350fb8feeeee246f55f467fa39d8 SHA1 9ebfa85f52af92f99e95d79b0bd5ef549157144c SHA256 a2bb3d1fc7adefeb0833526ffa7b4da1758613c9e44885cd605591810a36f144 DIST openhpi-2.0.3-1.tar.gz 1814536 RMD160 f424d0bcfb11679faf48dd67e8dfb002516b1e0f SHA1 367c3200bf302c93ec807fb790023e7fc54af2d5 SHA256 b2c06a4a347f7ba97fbe57157e39d93c3f7ec86b62fdbb36397861444b45809c +DIST openhpi-2.10.1.tar.gz 2611483 RMD160 ae8c5dd3338bb7cfe53296b733206065f94757d4 SHA1 d7fe9005a9f234b54093f9204aff98933cf3dafe SHA256 5648e568c3cb382daf8aecf8f7c1d75372445b2aea3bd71ea6a6cc2715da60bc EBUILD openhpi-2.0.3.ebuild 1937 RMD160 54a5d5735dcaf23d6bbdbd2b8005ffa640374cdd SHA1 7c53e692d54deff1b8b2568ebe81d5f4ef3f2552 SHA256 6f3ae2b006893727308ba481bd5677e94bb47dba7ac05c2208be237a0cd511fa -MISC ChangeLog 634 RMD160 c7a248bda2fa13198952d172053a7e29ed1fb2a9 SHA1 df5f472d95b982989078f2d91a6c92d21d0b9765 SHA256 37e786aa2f19c8136fef2a26d6252915d5d2cf7a3f144ac20ea23220261683d3 +EBUILD openhpi-2.10.1.ebuild 1533 RMD160 c6a130de3c1c12061186f266257572a030969907 SHA1 c5c0da49d63ecaacc82f68f63d45ec2af4c8e171 SHA256 548bfb787ae3f553081e16df8d98b3862959c2c075fe2536f3d9ade019c14c39 +MISC ChangeLog 881 RMD160 8ca9f3c5f0cae94a9024b456c78c021594198863 SHA1 698cc81ef0066c9618a9d5091bdc2c0274a57aeb SHA256 49e0a0c4c5b833f7813163f00be7b7b3734dda3f79f32334c3a2747d8216b50b MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 diff --git a/sys-libs/openhpi/files/openhpi-confd b/sys-libs/openhpi/files/openhpi-confd new file mode 100644 index 000000000000..f8c861e49eba --- /dev/null +++ b/sys-libs/openhpi/files/openhpi-confd @@ -0,0 +1,10 @@ +# /etc/conf.d/openhpid: config file for /etc/init.d/openhpid + +# Listening port. Default is 4743. +#OPENHPID_PORT="4743" + +# Socket read timeout in seconds. Default is 1800 seconds. +#OPENHPID_READTIMEOUT="1800" + +# Maximum number of connection threads. Default is unlimited. +#OPENHPID_THREADS="" diff --git a/sys-libs/openhpi/files/openhpi-initd b/sys-libs/openhpi/files/openhpi-initd new file mode 100644 index 000000000000..d164759e6632 --- /dev/null +++ b/sys-libs/openhpi/files/openhpi-initd @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +start() { + local extraopts + [ -n "${OPENHPID_PORT}" ] && extraopts += " -p ${OPENHPID_PORT}" + [ -n "${OPENHPID_READTIMEOUT}" ] && extraopts += " -s ${OPENHPID_READTIMEOUT}" + [ -n "${OPENHPID_THREADS}" ] && extraopts += " -t ${OPENHPID_THREADS}" + + ebegin "Starting openhpid" + start-stop-daemon --start --exec /usr/sbin/openhpid --pidfile /var/run/openhpid.pid \ + -- -c /etc/openhpi/openhpi.conf -f /var/run/openhpid.pid ${extraopts} + eend $? +} + +stop() { + ebegin "Stopping openhpid" + start-stop-daemon --stop --exec /usr/sbin/openhpid --pidfile /var/run/openhpid.pid + eend $? +} diff --git a/sys-libs/openhpi/openhpi-2.10.1.ebuild b/sys-libs/openhpi/openhpi-2.10.1.ebuild new file mode 100644 index 000000000000..6d41226df1a3 --- /dev/null +++ b/sys-libs/openhpi/openhpi-2.10.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/openhpi-2.10.1.ebuild,v 1.1 2008/11/01 08:19:05 robbat2 Exp $ + +inherit eutils + +DESCRIPTION="OpenHPI provides an open source implementation of the Service Availability Forum (SAF) Hardware Platform Interface (HPI)" +HOMEPAGE="http://www.openhpi.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="snmp" + +COMMONDEPEND=">=dev-libs/glib-2.2 + sys-fs/e2fsprogs + sys-fs/sysfsutils + >=sys-libs/openipmi-1.4.20 + snmp? ( >=net-analyzer/net-snmp-5.07 )" +RDEPEND="${COMMONDEPEND}" +DEPEND="${COMMONDEPEND} + >=sys-devel/autoconf-2.57 + >=sys-devel/automake-1.8 + >=sys-devel/gcc-3.2.0 + virtual/os-headers" + +src_compile() { + econf --with-varpath=/var/lib/openhpi \ + --enable-clients \ + --enable-cpp_wrappers \ + --enable-daemon \ + --enable-ipmi \ + --enable-ipmidirect \ + --enable-sysfs \ + --enable-thread \ + --enable-watchdog \ + --enable-simulator \ + --disable-testcover \ + $(use_enable snmp snmp_bc) \ + || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + # Stage main files. + emake DESTDIR="${D}" install || die "emake install failed" + + # Stage conf.d-file and init.d-script. + newinitd "${FILESDIR}"/openhpi-initd openhpid + newconfd "${FILESDIR}"/openhpi-confd openhpid + + # Stage documentation. + dodoc README + + # Make sure the data dir exists or openhpid will fail silently. + keepdir /var/lib/openhpi/ +} |