diff options
Diffstat (limited to 'sys-apps/cpqarrayd')
-rw-r--r-- | sys-apps/cpqarrayd/Manifest | 5 | ||||
-rw-r--r-- | sys-apps/cpqarrayd/cpqarrayd-2.3.ebuild | 32 | ||||
-rw-r--r-- | sys-apps/cpqarrayd/files/cpqarrayd.confd | 3 | ||||
-rw-r--r-- | sys-apps/cpqarrayd/files/cpqarrayd.init | 16 | ||||
-rw-r--r-- | sys-apps/cpqarrayd/metadata.xml | 8 |
5 files changed, 64 insertions, 0 deletions
diff --git a/sys-apps/cpqarrayd/Manifest b/sys-apps/cpqarrayd/Manifest new file mode 100644 index 0000000..da68682 --- /dev/null +++ b/sys-apps/cpqarrayd/Manifest @@ -0,0 +1,5 @@ +AUX cpqarrayd.confd 76 RMD160 1117b0f2689c79cfb175df45d10dcf984edf686b SHA1 126e1c55a970d9f89fcae94cd1bbeb1a857ac86a SHA256 c8ae23fe59ccafbaef7968be48f2a6b6dff31e22d8b6cadcc3890c2cd044cffb +AUX cpqarrayd.init 505 RMD160 18887b4b20e424d8a51c633377cca93fe740dec7 SHA1 04c771450376a3cd08390c7ba6e33e7bfcb8245e SHA256 26517d51e87fcfa0747a4840da0a38bd53a6d8156e9ff889c536c6b2f3241552 +DIST cpqarrayd-2.3.tar.gz 169933 RMD160 268747f7bfa76730e2a1fa6668524df80b7e5014 SHA1 9d76dfe75507eabcc9e406bc88eeab7a660b057f SHA256 400473c64542fa45a845d90a04a38d62da16ce94a589e26338de7a99a84afa1b +EBUILD cpqarrayd-2.3.ebuild 802 RMD160 08f9e02d12f4a0247f9da4b64544dfdd61d7aebd SHA1 68797bec9d77399a51cc5c85f8db3e60c8781eea SHA256 44e81c2e50ed60aa451ce9bb292a5d39018684dd4d2695c1b48bdbedf4da8c99 +MISC metadata.xml 239 RMD160 e5d33022028c725984cfa2c549df2a91bc4fef9c SHA1 65c73cc8c173fd228df953f6f8e5a5fe68a5cbef SHA256 41e95189480b2f1c1f824a2eb09be0ab3f55e3bf6591bf214a955000adf7e104 diff --git a/sys-apps/cpqarrayd/cpqarrayd-2.3.ebuild b/sys-apps/cpqarrayd/cpqarrayd-2.3.ebuild new file mode 100644 index 0000000..b379e48 --- /dev/null +++ b/sys-apps/cpqarrayd/cpqarrayd-2.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpqarrayd/cpqarrayd-2.2.ebuild,v 1.1 2006/04/01 09:14:07 dertobi123 Exp $ + +DESCRIPTION="Compaq Arraycontroller Daemon" +HOMEPAGE="http://www.strocamp.net/opensource/cpqarrayd.php" +SRC_URI="http://www.strocamp.net/opensource/compaq/downloads/${P}.tar.gz" + +IUSE="snmp" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="snmp? ( net-analyzer/net-snmp )" +RDEPEND="${DEPEND}" + +src_compile() { + econf \ + $(use_enable snmp snmptrap ) \ + || die "Configure failed" + + emake || die "Make failed" +} + +src_install() { + einstall + + dodoc NEWS AUTHORS README + + newinitd "${FILESDIR}"/cpqarrayd.init cpqarrayd + newconfd "${FILESDIR}"/cpqarrayd.confd cpqarrayd +} diff --git a/sys-apps/cpqarrayd/files/cpqarrayd.confd b/sys-apps/cpqarrayd/files/cpqarrayd.confd new file mode 100644 index 0000000..982098b --- /dev/null +++ b/sys-apps/cpqarrayd/files/cpqarrayd.confd @@ -0,0 +1,3 @@ +# config file for /etc/init.d/cpqarrayd +# +#CPQARRAYD_OPTS="-t snmptraphost" diff --git a/sys-apps/cpqarrayd/files/cpqarrayd.init b/sys-apps/cpqarrayd/files/cpqarrayd.init new file mode 100644 index 0000000..cfe2752 --- /dev/null +++ b/sys-apps/cpqarrayd/files/cpqarrayd.init @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpqarrayd/files/cpqarrayd.init,v 1.1 2006/04/01 09:14:08 dertobi123 Exp $ + +start() { + ebegin "Starting cpqarrayd" + start-stop-daemon --quiet --start --exec /usr/sbin/cpqarrayd -- ${CPQARRAYD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping cpqarrayd" + start-stop-daemon --quiet --stop --name cpqarrayd --exec /usr/sbin/cpqarrayd + eend $? +} diff --git a/sys-apps/cpqarrayd/metadata.xml b/sys-apps/cpqarrayd/metadata.xml new file mode 100644 index 0000000..41cca76 --- /dev/null +++ b/sys-apps/cpqarrayd/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>dertobi123@gentoo.org</email> + <name>Tobias Scherbaum</name> + </maintainer> +</pkgmetadata> |