diff options
Diffstat (limited to 'sys-infiniband/opensm')
-rw-r--r-- | sys-infiniband/opensm/CVS/Entries | 5 | ||||
-rw-r--r-- | sys-infiniband/opensm/CVS/Repository | 1 | ||||
-rw-r--r-- | sys-infiniband/opensm/CVS/Root | 1 | ||||
-rw-r--r-- | sys-infiniband/opensm/ChangeLog | 13 | ||||
-rw-r--r-- | sys-infiniband/opensm/Manifest | 5 | ||||
-rw-r--r-- | sys-infiniband/opensm/files/CVS/Entries | 2 | ||||
-rw-r--r-- | sys-infiniband/opensm/files/CVS/Repository | 1 | ||||
-rw-r--r-- | sys-infiniband/opensm/files/CVS/Root | 1 | ||||
-rw-r--r-- | sys-infiniband/opensm/files/opensm.init.d | 28 | ||||
-rw-r--r-- | sys-infiniband/opensm/metadata.xml | 10 | ||||
-rw-r--r-- | sys-infiniband/opensm/opensm-3.3.9-r1.ebuild | 44 |
11 files changed, 111 insertions, 0 deletions
diff --git a/sys-infiniband/opensm/CVS/Entries b/sys-infiniband/opensm/CVS/Entries new file mode 100644 index 0000000..e8e8e4b --- /dev/null +++ b/sys-infiniband/opensm/CVS/Entries @@ -0,0 +1,5 @@ +/ChangeLog/1.2/Sat Jul 2 20:30:15 2011// +/Manifest/1.3/Sat Jul 2 20:30:47 2011// +/metadata.xml/1.1/Thu Jun 30 22:04:54 2011// +/opensm-3.3.9.ebuild/1.2/Sat Jul 2 20:30:15 2011// +D/files//// diff --git a/sys-infiniband/opensm/CVS/Repository b/sys-infiniband/opensm/CVS/Repository new file mode 100644 index 0000000..9f9c95f --- /dev/null +++ b/sys-infiniband/opensm/CVS/Repository @@ -0,0 +1 @@ +gentoo-x86/sys-infiniband/opensm diff --git a/sys-infiniband/opensm/CVS/Root b/sys-infiniband/opensm/CVS/Root new file mode 100644 index 0000000..16f00f0 --- /dev/null +++ b/sys-infiniband/opensm/CVS/Root @@ -0,0 +1 @@ +xarthisius@cvs.gentoo.org:/var/cvsroot diff --git a/sys-infiniband/opensm/ChangeLog b/sys-infiniband/opensm/ChangeLog new file mode 100644 index 0000000..8eb0c66 --- /dev/null +++ b/sys-infiniband/opensm/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for sys-infiniband/opensm +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/ChangeLog,v 1.2 2011/07/02 20:30:15 alexxy Exp $ + + 02 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> opensm-3.3.9.ebuild: + Add ~amd64-linux keywrod + +*opensm-3.3.9 (30 Jun 2011) + + 30 Jun 2011; Alexey Shvetsov <alexxy@gentoo.org> +opensm-3.3.9.ebuild, + +files/opensm.init.d, +metadata.xml: + Initial import to tree + diff --git a/sys-infiniband/opensm/Manifest b/sys-infiniband/opensm/Manifest new file mode 100644 index 0000000..f14d8f5 --- /dev/null +++ b/sys-infiniband/opensm/Manifest @@ -0,0 +1,5 @@ +AUX opensm.init.d 814 RMD160 38c1f39ea0cd2fb9e3dc8129b7ec63c23cebdf16 SHA1 782ffc0087dcae612c6ade8acdafbd82da8d83b3 SHA256 1058ffc5b105585d7b42a0caa55af475f4989031a4cbec78394e6aadd061baf7 +DIST OFED-1.5.3.2.tgz 75648067 RMD160 d4c9965deffc5283c52901e46ddc60184078ec5b SHA1 a71445973a04992ab1b233ceba1e43abc5e4e84e SHA256 e167c48483132dedaecac7966f5057eec8f112beba91cf6a79abd754f9599f3f +EBUILD opensm-3.3.9-r1.ebuild 1177 RMD160 67eee5b048d39f2938cd79ce9b1f2c579236d17c SHA1 ec983d54520a536fecf67b51dc0d9e92b2b92a41 SHA256 ace18b97a9d2c6adb8f81108c7466c28f74552115b64abf6a78c6ed2c97d9b39 +MISC ChangeLog 482 RMD160 06032fdffabefb1ab2cf53c3c8d16cfea6ea9ab7 SHA1 e8b9fa51263f1853ac7a4437bc35414a5bca82d1 SHA256 56cd6764aa33c75db018bb03216d3a1c85700f95aeb388f36299eded7908b1b7 +MISC metadata.xml 421 RMD160 b9ff53511dc2fcd9c5b3ac94f5028d018440dada SHA1 97f82cbaddd3275d7f906cac68018c5d2433e975 SHA256 78b506cf13aff9269660e6e54f6c27e82e8359c52746036c43841feb140907f8 diff --git a/sys-infiniband/opensm/files/CVS/Entries b/sys-infiniband/opensm/files/CVS/Entries new file mode 100644 index 0000000..6972097 --- /dev/null +++ b/sys-infiniband/opensm/files/CVS/Entries @@ -0,0 +1,2 @@ +/opensm.init.d/1.1/Thu Jun 30 22:04:54 2011// +D diff --git a/sys-infiniband/opensm/files/CVS/Repository b/sys-infiniband/opensm/files/CVS/Repository new file mode 100644 index 0000000..95f2b47 --- /dev/null +++ b/sys-infiniband/opensm/files/CVS/Repository @@ -0,0 +1 @@ +gentoo-x86/sys-infiniband/opensm/files diff --git a/sys-infiniband/opensm/files/CVS/Root b/sys-infiniband/opensm/files/CVS/Root new file mode 100644 index 0000000..16f00f0 --- /dev/null +++ b/sys-infiniband/opensm/files/CVS/Root @@ -0,0 +1 @@ +xarthisius@cvs.gentoo.org:/var/cvsroot diff --git a/sys-infiniband/opensm/files/opensm.init.d b/sys-infiniband/opensm/files/opensm.init.d new file mode 100644 index 0000000..74598b7 --- /dev/null +++ b/sys-infiniband/opensm/files/opensm.init.d @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/files/opensm.init.d,v 1.1 2011/06/30 22:04:54 alexxy Exp $ + +# Based on opensm script from openfabrics.org, +# Copyright (c) 2006 Mellanox Technologies. All rights reserved. +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need openib + after net # ip net seems to be needed to perform management. +} + +prog=/usr/sbin/opensm + +start() { + ebegin "Starting OpenSM Infiniband Subnet Manager" + start-stop-daemon --start --background --exec $prog -- $OPTIONS + eend $? +} + +stop() { + ebegin "Stopping OpenSM Infiniband Subnet Manager" + start-stop-daemon --stop --exec $prog + eend $? +} + diff --git a/sys-infiniband/opensm/metadata.xml b/sys-infiniband/opensm/metadata.xml new file mode 100644 index 0000000..82f7df3 --- /dev/null +++ b/sys-infiniband/opensm/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>cluster</herd> + <longdescription> +OpenSM provides an implementation for an InfiniBand Subnet Manager and +Administrator. Such a software entity is required to run for in order to +initialize the InfiniBand hardware (at least one per each InfiniBand subnet). +</longdescription> +</pkgmetadata> diff --git a/sys-infiniband/opensm/opensm-3.3.9-r1.ebuild b/sys-infiniband/opensm/opensm-3.3.9-r1.ebuild new file mode 100644 index 0000000..093d54c --- /dev/null +++ b/sys-infiniband/opensm/opensm-3.3.9-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/opensm-3.3.9.ebuild,v 1.2 2011/07/02 20:30:15 alexxy Exp $ + +EAPI="4" + +OFED_VER="1.5.3.2" +OFED_SUFFIX="1" + +inherit openib + +DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +DEPEND=" + >=sys-infiniband/libibmad-1.3.7 + >=sys-infiniband/libibumad-1.3.7" +RDEPEND="$DEPEND + sys-infiniband/openib-files + net-misc/iputils" + +src_configure() { + econf \ + --enable-perf-mgr \ + --enable-default-event-plugin \ + --with-osmv="openib" +} + +src_install() { + default + newconfd "${S}/scripts/opensm.sysconfig" opensm + newinitd "${FILESDIR}/opensm.init.d" opensm + insinto /etc/logrotate.d + newins "${S}/scripts/opensm.logrotate" opensm + # we dont nee this int script + rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed" +} + +pkg_postinst() { + einfo "To automatically configure the infiniband subnet manager on boot," + einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:" + einfo "\`rc-update add opensm default\`" +} |