summaryrefslogtreecommitdiff
path: root/sys-fabric
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fabric')
-rw-r--r--sys-fabric/dapl/Manifest4
-rw-r--r--sys-fabric/dapl/dapl-2.0.40.ebuild22
-rw-r--r--sys-fabric/dapl/metadata.xml13
-rw-r--r--sys-fabric/ibacm/Manifest4
-rw-r--r--sys-fabric/ibacm/ibacm-1.0.8.ebuild22
-rw-r--r--sys-fabric/ibacm/metadata.xml11
-rw-r--r--sys-fabric/ibutils/Manifest4
-rw-r--r--sys-fabric/ibutils/ibutils-1.5.7-r3.ebuild23
-rw-r--r--sys-fabric/ibutils/metadata.xml13
-rw-r--r--sys-fabric/infiniband-diags/Manifest4
-rw-r--r--sys-fabric/infiniband-diags/infiniband-diags-1.6.4.ebuild22
-rw-r--r--sys-fabric/infiniband-diags/metadata.xml11
-rw-r--r--sys-fabric/infinipath-psm/Manifest5
-rw-r--r--sys-fabric/infinipath-psm/files/42-infinipath-psm.rules2
-rw-r--r--sys-fabric/infinipath-psm/infinipath-psm-3.2.ebuild35
-rw-r--r--sys-fabric/infinipath-psm/metadata.xml8
-rw-r--r--sys-fabric/libcxgb3/Manifest4
-rw-r--r--sys-fabric/libcxgb3/libcxgb3-1.3.1-r2.ebuild19
-rw-r--r--sys-fabric/libcxgb3/metadata.xml11
-rw-r--r--sys-fabric/libcxgb4/Manifest4
-rw-r--r--sys-fabric/libcxgb4/libcxgb4-1.3.2.ebuild19
-rw-r--r--sys-fabric/libcxgb4/metadata.xml11
-rw-r--r--sys-fabric/libehca/Manifest4
-rw-r--r--sys-fabric/libehca/libehca-1.2.2-r3.ebuild20
-rw-r--r--sys-fabric/libehca/metadata.xml11
-rw-r--r--sys-fabric/libibcm/Manifest4
-rw-r--r--sys-fabric/libibcm/libibcm-1.0.5-r3.ebuild19
-rw-r--r--sys-fabric/libibcm/metadata.xml11
-rw-r--r--sys-fabric/libibmad/Manifest4
-rw-r--r--sys-fabric/libibmad/libibmad-1.3.11.ebuild21
-rw-r--r--sys-fabric/libibmad/metadata.xml13
-rw-r--r--sys-fabric/libibumad/Manifest4
-rw-r--r--sys-fabric/libibumad/libibumad-1.3.9.ebuild21
-rw-r--r--sys-fabric/libibumad/metadata.xml13
-rw-r--r--sys-fabric/libibverbs/Manifest5
-rw-r--r--sys-fabric/libibverbs/libibverbs-1.1.7-r1.ebuild31
-rw-r--r--sys-fabric/libibverbs/libibverbs-1.1.7.ebuild20
-rw-r--r--sys-fabric/libibverbs/metadata.xml14
-rw-r--r--sys-fabric/libipathverbs/Manifest4
-rw-r--r--sys-fabric/libipathverbs/libipathverbs-1.2.1.ebuild19
-rw-r--r--sys-fabric/libipathverbs/metadata.xml13
-rw-r--r--sys-fabric/libmlx4/Manifest4
-rw-r--r--sys-fabric/libmlx4/libmlx4-1.0.5.ebuild22
-rw-r--r--sys-fabric/libmlx4/metadata.xml14
-rw-r--r--sys-fabric/libmlx5/Manifest4
-rw-r--r--sys-fabric/libmlx5/libmlx5-1.0.1.ebuild22
-rw-r--r--sys-fabric/libmlx5/metadata.xml8
-rw-r--r--sys-fabric/libmthca/Manifest4
-rw-r--r--sys-fabric/libmthca/libmthca-1.0.6.ebuild20
-rw-r--r--sys-fabric/libmthca/metadata.xml14
-rw-r--r--sys-fabric/libnes/Manifest4
-rw-r--r--sys-fabric/libnes/libnes-1.1.4.ebuild29
-rw-r--r--sys-fabric/libnes/metadata.xml14
-rw-r--r--sys-fabric/libocrdma/Manifest4
-rw-r--r--sys-fabric/libocrdma/libocrdma-1.0.2.ebuild22
-rw-r--r--sys-fabric/libocrdma/metadata.xml14
-rw-r--r--sys-fabric/librdmacm/Manifest5
-rw-r--r--sys-fabric/librdmacm/librdmacm-1.0.18-r1.ebuild31
-rw-r--r--sys-fabric/librdmacm/librdmacm-1.0.18.ebuild20
-rw-r--r--sys-fabric/librdmacm/metadata.xml11
-rw-r--r--sys-fabric/metadata.xml12
-rw-r--r--sys-fabric/mstflint/Manifest4
-rw-r--r--sys-fabric/mstflint/metadata.xml11
-rw-r--r--sys-fabric/mstflint/mstflint-3.5.0.ebuild19
-rw-r--r--sys-fabric/ofed/Manifest9
-rw-r--r--sys-fabric/ofed/files/90-ib.rules5
-rw-r--r--sys-fabric/ofed/files/openib242
-rw-r--r--sys-fabric/ofed/files/openib.conf27
-rw-r--r--sys-fabric/ofed/files/openib.env1
-rw-r--r--sys-fabric/ofed/files/openib.modprobe12
-rw-r--r--sys-fabric/ofed/metadata.xml19
-rw-r--r--sys-fabric/ofed/ofed-3.12_rc1.ebuild149
-rw-r--r--sys-fabric/opensm/Manifest10
-rw-r--r--sys-fabric/opensm/files/opensm-3.3.17-norpm.patch32
-rw-r--r--sys-fabric/opensm/files/opensm-3.3.17-sldd.patch20
-rw-r--r--sys-fabric/opensm/files/opensm.conf.d3
-rw-r--r--sys-fabric/opensm/files/opensm.init.d23
-rw-r--r--sys-fabric/opensm/files/sldd.conf.d21
-rw-r--r--sys-fabric/opensm/files/sldd.init.d25
-rw-r--r--sys-fabric/opensm/metadata.xml16
-rw-r--r--sys-fabric/opensm/opensm-3.3.17-r1.ebuild60
-rw-r--r--sys-fabric/perftest/Manifest4
-rw-r--r--sys-fabric/perftest/metadata.xml11
-rw-r--r--sys-fabric/perftest/perftest-2.0.ebuild29
-rw-r--r--sys-fabric/qperf/Manifest4
-rw-r--r--sys-fabric/qperf/metadata.xml14
-rw-r--r--sys-fabric/qperf/qperf-0.4.9.ebuild23
-rw-r--r--sys-fabric/rds-tools/Manifest5
-rw-r--r--sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch59
-rw-r--r--sys-fabric/rds-tools/metadata.xml13
-rw-r--r--sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild28
-rw-r--r--sys-fabric/srptools/Manifest5
-rw-r--r--sys-fabric/srptools/files/srpd.initd41
-rw-r--r--sys-fabric/srptools/metadata.xml14
-rw-r--r--sys-fabric/srptools/srptools-1.0.2.ebuild28
95 files changed, 1786 insertions, 0 deletions
diff --git a/sys-fabric/dapl/Manifest b/sys-fabric/dapl/Manifest
new file mode 100644
index 000000000000..283725a9dc70
--- /dev/null
+++ b/sys-fabric/dapl/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD dapl-2.0.40.ebuild 442 SHA256 74798a691b90285c0d3e13d72919bd90fd7ce3c687f041d955779c97f3f3b356 SHA512 8b5f611d042da22962ee7942e64884f26bd51e8c5ae7ec78861efa3ca0b8a67974a4e03dbad9e40a8266708d2249b85e7dbd2cace65c94e426cb4cc330668848 WHIRLPOOL 1ce95b62d303a358bdbaf92b2c96b4dfdb18215fd8b31d8f6a2810098f2d6ec8422f5bbe42bdf141ca5408022163fde4434837b67a0bdfce6d55517625013d29
+MISC ChangeLog 530 SHA256 2d0c0bc82b1bd2bea4716e4b07c704e4233af715b3da82751a6b9768746c9fe8 SHA512 aa78218d4aec7c7fe614a3c9cfd10f0380f966e8b0110787697cc7b765c0692c8f1883ed293adb3683a54f90ad666cd4c075ea95785ff890f876b6b2f2c77c12 WHIRLPOOL 49ce2d5c963fd105a79ead29cd9c4c7e04cb692b226551685b07a31953a4778e39727a49bfd1b8a5dc06cde644c0a2611e8a8b5e51b8c1f9be88ef5b440f3ab1
+MISC metadata.xml 517 SHA256 dad5cd0099eb3fb5b9e1326966f59d4576599f53ccc7ae0d37c944a0575c72de SHA512 b4660bcb112426f8c8e785c68b64c85fd5155917405d72271bdc418821c542eb8e0bc2cb16740188851d75820d25d580a9edf4a3a35715a709b84d0134b4b2a4 WHIRLPOOL ce809904f57a5e17d23302da1ee6c984a77b21e18973c1911f43a1e0c34182506a6254020cb9a22d578f52f578b53eebbc968a34b9be1408bcb352994b5f309f
diff --git a/sys-fabric/dapl/dapl-2.0.40.ebuild b/sys-fabric/dapl/dapl-2.0.40.ebuild
new file mode 100644
index 000000000000..4c1329701956
--- /dev/null
+++ b/sys-fabric/dapl/dapl-2.0.40.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB - Direct Access Provider Library"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}
+ sys-fabric/librdmacm:${SLOT}"
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+
+block_other_ofed_versions
diff --git a/sys-fabric/dapl/metadata.xml b/sys-fabric/dapl/metadata.xml
new file mode 100644
index 000000000000..b52d7d3385ae
--- /dev/null
+++ b/sys-fabric/dapl/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+uDAPL is a transport neutral infrastructure that provides RDMA capabilities in
+user space. It is the user space component of DAPL, the Direct Access Provider
+Library for RDMA transports. See http://www.datcollaborative.org/
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/ibacm/Manifest b/sys-fabric/ibacm/Manifest
new file mode 100644
index 000000000000..3ad4516ff8ff
--- /dev/null
+++ b/sys-fabric/ibacm/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD ibacm-1.0.8.ebuild 414 SHA256 1592f6424961ea936bc422c4d5c4d1359f00114efb37b54819704e693ea9e626 SHA512 9a920947c8d58ab7924d27f439bdb5f965aa85fe084f178e05d53608ccd9a3b9d26b02cd3a24eb5854bb758bf40f7a7645ddb1b782e3041dd37daba8ac5f7260 WHIRLPOOL 18241413606a7f7ebf1e97dab78c8f63b22ea55301b6e83333c243de447735e02a6a2f82bec160dc0541addc2a5114ca8fd0cf657ebcba7e5dce5d1d6daaa380
+MISC ChangeLog 531 SHA256 e0170f58173aa4d785dfc11d735ab0e1219c6bcfd98b9ff425912d20c9c4e93d SHA512 625e2145e5c914a27635bf8f4dffd0c0591647028a00a28bb064db156672d1f766bf207631bcffdbba0cb9833ccaec5c114632b0d71c69a1015e9b96282ad06e WHIRLPOOL b437c2c86728816e3bba94dfb29b5e5b59452e6e5e63c2e55b071030084f5ccfe25a1e6da769aa87e6009409714df192f4554401436a0603d0bf91305e8037ea
+MISC metadata.xml 318 SHA256 9096ec7c9c1d513fa40ed8682cbfef4b2c841f040faf1db2a827323230c08360 SHA512 478d039ee9264011d4287dc4444921a6d6bfd824a547af3da63cacca01165099a66601c17dba9739967b847887b09a5e6ee0a74d22250af145ead4c8c833255b WHIRLPOOL d99c5dcd91d9815277c03a44ec2b1180bb578c4f151a4b9e0f49f54a57ea60fc29d6005cf2ecbc1cded7ab40a8bf208e27ea0828fab23659b9943c14e6fce721
diff --git a/sys-fabric/ibacm/ibacm-1.0.8.ebuild b/sys-fabric/ibacm/ibacm-1.0.8.ebuild
new file mode 100644
index 000000000000..b1a778e209ce
--- /dev/null
+++ b/sys-fabric/ibacm/ibacm-1.0.8.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="IB CM pre-connection service application"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="
+ sys-fabric/libibumad:${SLOT}
+ sys-fabric/libibverbs:${SLOT}
+"
+DEPEND="${RDEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/ibacm/metadata.xml b/sys-fabric/ibacm/metadata.xml
new file mode 100644
index 000000000000..f1a406d0b751
--- /dev/null
+++ b/sys-fabric/ibacm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB Userspace CM library
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/ibutils/Manifest b/sys-fabric/ibutils/Manifest
new file mode 100644
index 000000000000..461fe2fe6698
--- /dev/null
+++ b/sys-fabric/ibutils/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD ibutils-1.5.7-r3.ebuild 443 SHA256 08c4b46dcf5f3a9e875a54768fb103b836c61e4fdc97088e542bc9a892afebd8 SHA512 d4034ddc6c249635706495c02c5a6b6b668b867dd78b1a71919961aae14d85d8123dc76c07f857c5855a7510b7b3691bf7a66941cd387e60bebb83c8b235d38d WHIRLPOOL 59c5a620c12e1ed1d092352d57964b81d6543eaffeaff7da1d8030f8d0d1f6e118a8414d95f38d20d6d6402ef26dbd8f3bf28205e4e6f667eeb21c6c62f493ab
+MISC ChangeLog 558 SHA256 fad06feb6b3e5ccdde52392f658f9c170fb9bf4e2d8c24e50cfa285806dbdf01 SHA512 3beb2e99bc30501ffce3370768cf3cb1ad99314dec0b148396081563974078dad9e349c06500c9beb250ea715d55c852445c5e94fae75b4fa78d1af7e470b798 WHIRLPOOL 1ef6de750ca6e231329c3e626889521dea9d8703e4f037f25384613d6e19bfa75a3e9a4e984630b8dd31702f550cd2474bd1699afc7ab59649746b2a2631dcd2
+MISC metadata.xml 517 SHA256 dad5cd0099eb3fb5b9e1326966f59d4576599f53ccc7ae0d37c944a0575c72de SHA512 b4660bcb112426f8c8e785c68b64c85fd5155917405d72271bdc418821c542eb8e0bc2cb16740188851d75820d25d580a9edf4a3a35715a709b84d0134b4b2a4 WHIRLPOOL ce809904f57a5e17d23302da1ee6c984a77b21e18973c1911f43a1e0c34182506a6254020cb9a22d578f52f578b53eebbc968a34b9be1408bcb352994b5f309f
diff --git a/sys-fabric/ibutils/ibutils-1.5.7-r3.ebuild b/sys-fabric/ibutils/ibutils-1.5.7-r3.ebuild
new file mode 100644
index 000000000000..acd849d500a9
--- /dev/null
+++ b/sys-fabric/ibutils/ibutils-1.5.7-r3.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="0.1.g05a9d1a"
+OFED_SNAPSHOT="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB userspace tools"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}
+ >=dev-lang/tk-8.4"
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+
+block_other_ofed_versions
diff --git a/sys-fabric/ibutils/metadata.xml b/sys-fabric/ibutils/metadata.xml
new file mode 100644
index 000000000000..b52d7d3385ae
--- /dev/null
+++ b/sys-fabric/ibutils/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+uDAPL is a transport neutral infrastructure that provides RDMA capabilities in
+user space. It is the user space component of DAPL, the Direct Access Provider
+Library for RDMA transports. See http://www.datcollaborative.org/
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/infiniband-diags/Manifest b/sys-fabric/infiniband-diags/Manifest
new file mode 100644
index 000000000000..5461b844ec2d
--- /dev/null
+++ b/sys-fabric/infiniband-diags/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD infiniband-diags-1.6.4.ebuild 467 SHA256 c7166657dc016cfec51726cbabb6dd809c3734e9f3936ea4274e71c07b6e8da3 SHA512 a8c7f9fe24423e1c3fd99a352e1c7cba417ca7287f3648d247e27b9855a2f895bd7ab6b751c3f1854d44756e15f951e7f032d5a7bcb06c1f565c26b24c5a56f4 WHIRLPOOL 9e01b527bad3955e4558a1259448b87cb1f59d76853631ff5de3bb548c7f68dbe14db0a798d168f3054069fe347c212025fb4b43b3feace82b82a1aa3b05e4ee
+MISC ChangeLog 601 SHA256 a880da4bec0373bfbd447a862875d4e462e80a6486b8729c2e18a1e38e930000 SHA512 00cb0508823eb7d2af8eeb14a39bdc524f76b467446fbe639635b8626d7107887676884ca874aeeaf84a703af6f07ec812060966b2fdbdf705bd0f8d8f928ffe WHIRLPOOL d0896235466fe461ce1074156e0191da4768dcedfbde3305d49bed4c400297f7ce1801cf4e7b008f2f8f1470005d943c085ffe276381a14bf742af8ae0ba9f9b
+MISC metadata.xml 367 SHA256 8d310cb10c3cc8e708cf82f752abe31e82a52e988d38e53bf5dce176ac92b863 SHA512 49fc28b595fec2a8243bd1274df4036177dcfcf495f60b7b81633ce7444199d3942e74c203a491a47105a4b3f50ff813d346e8dfcd42b9c0a8f4cc6811117079 WHIRLPOOL 9f586fce46f8406f0815d27b09e1daa40c1713c727071b87f19846399c8c83c5695a84ef24e32b2c853f46ff46b70380f68e18590ee134ef7417d1e107cfc168
diff --git a/sys-fabric/infiniband-diags/infiniband-diags-1.6.4.ebuild b/sys-fabric/infiniband-diags/infiniband-diags-1.6.4.ebuild
new file mode 100644
index 000000000000..2ea21866a882
--- /dev/null
+++ b/sys-fabric/infiniband-diags/infiniband-diags-1.6.4.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB diagnostic programs and scripts needed to diagnose an IB subnet"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibumad:${SLOT}
+ sys-fabric/libibmad:${SLOT}
+ sys-fabric/opensm:${SLOT}"
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/infiniband-diags/metadata.xml b/sys-fabric/infiniband-diags/metadata.xml
new file mode 100644
index 000000000000..a941bea1995c
--- /dev/null
+++ b/sys-fabric/infiniband-diags/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+ <longdescription>
+OpenIB diagnostic programs and scripts needed to diagnose an IB subnet.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/infinipath-psm/Manifest b/sys-fabric/infinipath-psm/Manifest
new file mode 100644
index 000000000000..790c57f8ae81
--- /dev/null
+++ b/sys-fabric/infinipath-psm/Manifest
@@ -0,0 +1,5 @@
+AUX 42-infinipath-psm.rules 85 SHA256 839087a152c82d4e316b1e1dea94ecf55bfd4d4370c9a878714abc559a7b4332 SHA512 2113118500c9dce4d1faf2a9f5da1e540be82ed6cfbe5ad5edd2927f266d77a698f628ade289716e5f992b4d5a9ad49c6b1f522a2c2a9eda087953f9a082f6fc WHIRLPOOL ace0a4bf122e16ed3b9732609c462c40f34a8e512eaa5b85bc762c5e4187deaafc62a2cf5eaf0c005983d077fa92a9ce2a81b44bbfa661811073424f172c32ac
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD infinipath-psm-3.2.ebuild 694 SHA256 93728c47b0b56801468854299d09e8f084f78647e2a67c902c09cbfa3dd332e7 SHA512 c914b992be80d2ddfe3dd27a74a8def28f26125ad4a235d4d70a942c273ed6e3190ac76ccc7264dc01a3a7eb07856bce9f5d702ff0bf95026f975b85d565649a WHIRLPOOL 5950b5e54b17e9c9b1596f9584f79e9196f6ce617b7eb52f1cb02f4c037c33453c6ea7ab0b71c61b13e05c5061babddbce6c82f7bc07264521c07af9086b730e
+MISC ChangeLog 654 SHA256 328b6a5b1c9904aa439e1e28338df84b8eebb6b85d0b3faf009ef173587d8c56 SHA512 51c7328e026469d382d62dba76e5e0247ff73d3c31d02b3c7abb8429ab2e86f999403b5533a8b624279a5925b15f7edb9a10eb167cd767af5471ce0cd914d703 WHIRLPOOL a3ba95815bde4fc82887856bdeaa02cf1953682961d39957c22161ed65396b84a40edaae2ca30780f60e3c7550f45bce302c65dd8a5c800b531d1489c3580c6d
+MISC metadata.xml 253 SHA256 5030a84d36a522ae62530f6406dbda5099255457f76b3ed419dcffc6d7383667 SHA512 0894860713279dc39bbe7ce3491002710b62c4476198984a0deb6328cb0012c19d7a5546299960bbe600ee240e62a603dd4c4fa04325a753cc0b7c4044c30aba WHIRLPOOL c55ba84102cbd078e50dd719902811669b3913122f44e982c90039b27067446810d881e73a22ed410edc41a409a273fd355be8a6d627bb0e67717b6a33d5fe1e
diff --git a/sys-fabric/infinipath-psm/files/42-infinipath-psm.rules b/sys-fabric/infinipath-psm/files/42-infinipath-psm.rules
new file mode 100644
index 000000000000..8cc1339c16e9
--- /dev/null
+++ b/sys-fabric/infinipath-psm/files/42-infinipath-psm.rules
@@ -0,0 +1,2 @@
+KERNEL=="ipath", MODE="0666"
+KERNEL=="kcopy[0-6][0-9]", NAME="kcopy/%n", MODE="0666"
diff --git a/sys-fabric/infinipath-psm/infinipath-psm-3.2.ebuild b/sys-fabric/infinipath-psm/infinipath-psm-3.2.ebuild
new file mode 100644
index 000000000000..ddb8ffd0ae0f
--- /dev/null
+++ b/sys-fabric/infinipath-psm/infinipath-psm-3.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="2_ga8c3e3e_open"
+OFED_SNAPSHOT="1"
+OFED_SRC_SNAPSHOT="1"
+
+inherit openib udev
+
+DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="sys-fabric/libibverbs:${SLOT}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+block_other_ofed_versions
+
+src_prepare() {
+ sed -e 's:uname -p:uname -m:g' \
+ -e 's:-Werror::g' \
+ -i buildflags.mak || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc README
+ udev_dorules "${FILESDIR}"/42-infinipath-psm.rules
+}
diff --git a/sys-fabric/infinipath-psm/metadata.xml b/sys-fabric/infinipath-psm/metadata.xml
new file mode 100644
index 000000000000..4a09d7ba8d61
--- /dev/null
+++ b/sys-fabric/infinipath-psm/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 type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-fabric/libcxgb3/Manifest b/sys-fabric/libcxgb3/Manifest
new file mode 100644
index 000000000000..097133cc2031
--- /dev/null
+++ b/sys-fabric/libcxgb3/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libcxgb3-1.3.1-r2.ebuild 406 SHA256 da233fbe899949ff51764de6d06761367766b64f118e6b86b6be6082d8e350a0 SHA512 26b642b4a07c864f2484b4fba42a422061db68364de0f068e75b5bbd361c60c5a251a13fd68e73b95305ff68f63c8c4137aeb41d9d426a4a7dc59f4aad6fc763 WHIRLPOOL 055bc7c6de8a78ffe091a34f728dce82be47907fd3fe39b7547d754c84146c9e653687b840809d0adbab97cc20da3825b28931dcc573d94800c042961d5a5a6d
+MISC ChangeLog 564 SHA256 dde4785aa6d98d0e6b7ed3e744cd94bdeb8ce0db7aaf1aa0dff59ba1b3fc8c9c SHA512 0920e2f7eca66742f02fee3b1bd3735806e9c72e6ad391e05dafb58e4463f5c6ae5061f7c68c902c24fa16c67d16a22e9089bf05c345bdae7d1bd7bdf2bc2aed WHIRLPOOL 0ed70624b17566405cf5fdff5b81f436d77effca4768df6641e53af0f6bfbb494fa12a9f43cfeb2290d8cac15c9f1dcf9b0cfed2c48650e33ac786f96f8981b9
+MISC metadata.xml 357 SHA256 d1b87e62791023a45a48271971c2c42bdf42199930496c8f8cae215fc331002f SHA512 6a1dcca3db7928bcf2ac5ad28a58e6a77b199eadb0c3bfe7e3e821ffbb7945c15d68492493fc27f8a0b867b4752e9a25998313834a6ab10cfc1090c44048be25 WHIRLPOOL 0e1576a47d70cb31c7810c9ae75a9daca92c46734b58754b0f1db776a4a4b3b579e46e30d27caf27aed2cc7545a2064a269829dd9b6ead9d2d119c8f9164695a
diff --git a/sys-fabric/libcxgb3/libcxgb3-1.3.1-r2.ebuild b/sys-fabric/libcxgb3/libcxgb3-1.3.1-r2.ebuild
new file mode 100644
index 000000000000..b412bab3b50b
--- /dev/null
+++ b/sys-fabric/libcxgb3/libcxgb3-1.3.1-r2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB - driver for Chelsio T3-based iWARP (RDMA over IP/ethernet)"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/libcxgb3/metadata.xml b/sys-fabric/libcxgb3/metadata.xml
new file mode 100644
index 000000000000..6bf09024e3e4
--- /dev/null
+++ b/sys-fabric/libcxgb3/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB - driver for Chelsio T3-based iWARP (RDMA over IP/ethernet)
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libcxgb4/Manifest b/sys-fabric/libcxgb4/Manifest
new file mode 100644
index 000000000000..576090f65df7
--- /dev/null
+++ b/sys-fabric/libcxgb4/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libcxgb4-1.3.2.ebuild 406 SHA256 a8b7010af5176f1c5d24174a86467622c89b3a0e1f56311b1f0dccdc362819fe SHA512 d2bdd5af18585ad10bfc750df165c1b0422af112ae51604e751f07b37d2cc6c6ada124fb3ee6eb677b835795e506df693c4b57dfcc371f909ee6a9e0f6b2d379 WHIRLPOOL 9645e8d1390c6a34ef7990a9ea831474949e98074402b35847f69180ca23814c2b345fdebd3598d07ca31ba222cdc94382a44b2fa545c9102994d9302bde8b76
+MISC ChangeLog 558 SHA256 7631cade90cb95ca2e97d61368b88bed898b79fa41dff8a336f19e66dd0898f5 SHA512 811339a3ec743bb5788a8db7d7c3d1cb5755db3091479ab544a43888d36608757f47e6cccff80a507bee4e1a1989fd0d153d4c94c033627e022f97ca7a4f1976 WHIRLPOOL 1ea892ef7a772bae40989924f80d4d8f80b05febbbf17f5350f085cb9b3cd7466d232b9b2f56f725fa16c1286b498cf58887430a5dfcb78b9a5dcea56d368ca8
+MISC metadata.xml 357 SHA256 d1b87e62791023a45a48271971c2c42bdf42199930496c8f8cae215fc331002f SHA512 6a1dcca3db7928bcf2ac5ad28a58e6a77b199eadb0c3bfe7e3e821ffbb7945c15d68492493fc27f8a0b867b4752e9a25998313834a6ab10cfc1090c44048be25 WHIRLPOOL 0e1576a47d70cb31c7810c9ae75a9daca92c46734b58754b0f1db776a4a4b3b579e46e30d27caf27aed2cc7545a2064a269829dd9b6ead9d2d119c8f9164695a
diff --git a/sys-fabric/libcxgb4/libcxgb4-1.3.2.ebuild b/sys-fabric/libcxgb4/libcxgb4-1.3.2.ebuild
new file mode 100644
index 000000000000..c5795fd64e03
--- /dev/null
+++ b/sys-fabric/libcxgb4/libcxgb4-1.3.2.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB - driver for Chelsio T4-based iWARP (RDMA over IP/ethernet)"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/libcxgb4/metadata.xml b/sys-fabric/libcxgb4/metadata.xml
new file mode 100644
index 000000000000..6bf09024e3e4
--- /dev/null
+++ b/sys-fabric/libcxgb4/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB - driver for Chelsio T3-based iWARP (RDMA over IP/ethernet)
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libehca/Manifest b/sys-fabric/libehca/Manifest
new file mode 100644
index 000000000000..6ec187096d95
--- /dev/null
+++ b/sys-fabric/libehca/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libehca-1.2.2-r3.ebuild 414 SHA256 96cea639fce9d12f1eff2bb1545802568df6d5bbfb39e8cb4f680021301f52da SHA512 571c4b9e08f60bfd3bbd54aafc114df63c7a4d8ad539c1071301e37f52d37cd1622b20abc40e72a1d1542221a410c83441a8559de6fd3a474eae5cabf6667dad WHIRLPOOL 51e156b86bf062afc54f6b5abcc02956931b1bde5a365653251d73001f90680f128325056baa12b08a17f65ca357640c48230934fcf37e42047f5d87e34637a3
+MISC ChangeLog 558 SHA256 f10938794a09d99528e994536a72af729186b91fb7f92b54c2514ed329b9dd60 SHA512 96bc74794981bff0f53e132ef8e9b179400cfb42847bee94c804f4b4ecc67647a24b89812fa0e45ba9bfac47c3cc694a25814b18790ad06c816b751db5a0b857 WHIRLPOOL 136698331d1facaa222ec7eeb78f9afe10fb8b64d71161244e1fda5b1596fca1c86bc196839426554daedbb6b4d5f5bac9867e027a54011c558b4612e6bac5bc
+MISC metadata.xml 361 SHA256 c49b519e6860eefbcc4969788e41079c33e67e5fd76cdf8d6e8b9e758f2288b5 SHA512 69d74d78a09bbc42f493fcb387a0e8f0c5fe028c6b790926c727a147cbf516f4bbe0a8e796b47ecf610f4836c2276913faaa4acb9728c18ac88253baf3ad7430 WHIRLPOOL 64cd0e7e004fc7c0935ff2d6b2783716aa729d20e5a0cb20284d01308b6d89590721a4e51885d2d0dfa6be0bddb3dcef1f21abdd679337729aae7d068db02f97
diff --git a/sys-fabric/libehca/libehca-1.2.2-r3.ebuild b/sys-fabric/libehca/libehca-1.2.2-r3.ebuild
new file mode 100644
index 000000000000..13018f70a036
--- /dev/null
+++ b/sys-fabric/libehca/libehca-1.2.2-r3.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="0.1.g69e1a88"
+OFED_SNAPSHOT="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB - IBM eServer eHCA Infiniband device driver for Linux on POWER"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/libehca/metadata.xml b/sys-fabric/libehca/metadata.xml
new file mode 100644
index 000000000000..6cc225f82f62
--- /dev/null
+++ b/sys-fabric/libehca/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB - IBM eServer eHCA Infiniband device driver for Linux on POWER.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libibcm/Manifest b/sys-fabric/libibcm/Manifest
new file mode 100644
index 000000000000..b99c7c8edfc8
--- /dev/null
+++ b/sys-fabric/libibcm/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libibcm-1.0.5-r3.ebuild 368 SHA256 754e32f6f7e4c0207a49948b465311ae84d21907dcd479ee7ba7bdc10bdc5e61 SHA512 34df04bb9acd2655ec81fe6317b78de1aca4e92a35375453d852164e21f4d94798d2afe400e1794537d4a42b7b0a78396518877f8041f65b18c33d467eade7a4 WHIRLPOOL db36b3098f0254fc18b21cce4d3f93dcb7ba817cc3e4c0d4c73e171157d32744e6f75905d2935a5815c9d4f159d343c670ab4017498d9024cb9e00bba397fa23
+MISC ChangeLog 558 SHA256 2f5eab6aef5e904eb5454500881690ad6469fbd9c5906191af368a2b51b9f823 SHA512 30af9857d46322764d3141529423c88c1079803525876dabb116e4a98f263029b21609c8fd49d0a425106a07fcc0074cdd6fc0ef2aef7ba27a26a0472fe7f4fb WHIRLPOOL e11d9a0360d805b8b19576d247da8e97c7c41588a30f8d27c109195e8d527696e5b456ba1f0c91f53200a8fc0c4114d57e9f177de7d7898a11c6a20e83f17ca6
+MISC metadata.xml 318 SHA256 9096ec7c9c1d513fa40ed8682cbfef4b2c841f040faf1db2a827323230c08360 SHA512 478d039ee9264011d4287dc4444921a6d6bfd824a547af3da63cacca01165099a66601c17dba9739967b847887b09a5e6ee0a74d22250af145ead4c8c833255b WHIRLPOOL d99c5dcd91d9815277c03a44ec2b1180bb578c4f151a4b9e0f49f54a57ea60fc29d6005cf2ecbc1cded7ab40a8bf208e27ea0828fab23659b9943c14e6fce721
diff --git a/sys-fabric/libibcm/libibcm-1.0.5-r3.ebuild b/sys-fabric/libibcm/libibcm-1.0.5-r3.ebuild
new file mode 100644
index 000000000000..4dc82c5b5ce3
--- /dev/null
+++ b/sys-fabric/libibcm/libibcm-1.0.5-r3.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB Userspace CM library"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="sys-fabric/libibverbs:${SLOT}"
+DEPEND="${RDEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/libibcm/metadata.xml b/sys-fabric/libibcm/metadata.xml
new file mode 100644
index 000000000000..f1a406d0b751
--- /dev/null
+++ b/sys-fabric/libibcm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB Userspace CM library
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libibmad/Manifest b/sys-fabric/libibmad/Manifest
new file mode 100644
index 000000000000..1191c792ae15
--- /dev/null
+++ b/sys-fabric/libibmad/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libibmad-1.3.11.ebuild 439 SHA256 2f7cce313373c438def4f723446f132d085c97a35283ad5fb8a985f70154e52b SHA512 b7e65b2adb22fb2b233239afab2c5060a65f26d7fa77614e905221bba89fb99d5702875114188a39433748a95b7bac2704297d5570397020e0bd7c4541b3f199 WHIRLPOOL 9fbd96a2ec50a79950809e43f36a0563f45958233263b009faa87e6e167bb4e7714147950d4c3dad5134543a1082efadeeafa681f3cfa1cc5f1f7c8d32c370a6
+MISC ChangeLog 551 SHA256 a1bfd63dda876962f3b4114fbeb001cbbe98b239e36d1bff41881df30d755f44 SHA512 09de6ad0f3d355b50db23c4ebd4198b52f4416044170b4f20f58da989bce240a7df76b306dbc3b6c2c6fb9534d0fd5b8780aa43f6120e98fa0f7757829abf648 WHIRLPOOL 3266839a204f3dfad5e91cd791678503573550e8a78aae298dab52cbb21036807c66ba9cd28d4fcd65ddabe38e06ee6296447a7043a4056a8d90663148a64926
+MISC metadata.xml 454 SHA256 0c451a6b990d80d8c0fe95b71c43bbe94da67de98fff91ebd67b9548a0925b0f SHA512 22297997f188da3ac0859c8d2d4483ae15edc7a0b482ee8d2717ef290b4390c7d6cce8cc48d7785a6d5fde0cc1988a3fe662315596a11e96ee1d029e7f549b6f WHIRLPOOL 6a0bcbba2a1d4312ec2da89a85447bfa120da454f556a7e7e233121d2baf18511cd34b3318127e43fa83bb3fc92ed045ba07de198fe2f565b46516de71f17619
diff --git a/sys-fabric/libibmad/libibmad-1.3.11.ebuild b/sys-fabric/libibmad/libibmad-1.3.11.ebuild
new file mode 100644
index 000000000000..24d0637bae10
--- /dev/null
+++ b/sys-fabric/libibmad/libibmad-1.3.11.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB library providing low layer IB functions for use by the IB diagnostic/management programs"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibumad:${SLOT}
+ "
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/libibmad/metadata.xml b/sys-fabric/libibmad/metadata.xml
new file mode 100644
index 000000000000..498c88269c98
--- /dev/null
+++ b/sys-fabric/libibmad/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB library that provides low layer IB functions for use by the IB diagnostic
+and management programs. These include MAD, SA, SMP, and other basic IB
+functions.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libibumad/Manifest b/sys-fabric/libibumad/Manifest
new file mode 100644
index 000000000000..07173a7737d7
--- /dev/null
+++ b/sys-fabric/libibumad/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libibumad-1.3.9.ebuild 432 SHA256 8668551ccdafbeb7da8b05641862851b89c698d11d0f57e5989895302e16e7cc SHA512 285ec603f8c64aca333bf24cba49a4fda9084078eeeec93175b30717fb0a5127c30ab7ddc5997336da4fee0263d56ed34c18cf934929430ce14b4834a6ddb12b WHIRLPOOL 38be0cec4b9324a90343a1aa67e90e657ab3da5710894c067aa991e7f255404fe6ad0f9fe58c3a77fcc9ba48e096d7f14d906a72cb661142971d25c2066f64b8
+MISC ChangeLog 555 SHA256 c12bb675f363f32896d779926d519c897970f93028cd7b26e0d34c0c048fc369 SHA512 5f504a6e9fe60a4ecf1352952e2a82bfc8b16a092a7891e57f7951909e39100122c15761dd090a9c7a7277a0f20435c02c5e0e0ef6f3578d80e462a023c1cc96 WHIRLPOOL 686c47a1a4656046fe9421b0a54212e98b284268d4b248fedf45d2cf7b9faed43fa9a64306ca2d5f4b580128702d5972dee4a6a027d15ffb4cb06b6e9cfb6506
+MISC metadata.xml 457 SHA256 30d60e596498f695449a43540af884456838f24355baaa8171e5f817e1a8d563 SHA512 028cdf14b93f7b842077d5905cf24b7def813231b3c86eda8666cdec86b166f90f49c45c082ac7e84d08d02f1c7cb3ede5ad3e5477a2052009617ae5f8105a29 WHIRLPOOL 768749ec666143725bac2e92d6de1f67d7b8c949e4c021a449a7a4bc834424a38d615494eb2eb29a7b2c8d0d2b891b4068dbf7b90f13b8e890c07745be71ce1f
diff --git a/sys-fabric/libibumad/libibumad-1.3.9.ebuild b/sys-fabric/libibumad/libibumad-1.3.9.ebuild
new file mode 100644
index 000000000000..bff21fae9297
--- /dev/null
+++ b/sys-fabric/libibumad/libibumad-1.3.9.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB User MAD library functions which sit on top of the user MAD modules in the kernel"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibverbs:${SLOT}
+ "
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/libibumad/metadata.xml b/sys-fabric/libibumad/metadata.xml
new file mode 100644
index 000000000000..f0e58703dcaa
--- /dev/null
+++ b/sys-fabric/libibumad/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB User MAD library functions which sit on top of the user MAD modules in
+the kernel. These are used by the IB diagnostic and management tools, including
+OpenSM.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libibverbs/Manifest b/sys-fabric/libibverbs/Manifest
new file mode 100644
index 000000000000..929540e95550
--- /dev/null
+++ b/sys-fabric/libibverbs/Manifest
@@ -0,0 +1,5 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libibverbs-1.1.7-r1.ebuild 696 SHA256 448f908ed588f55696170bb91d221526990fde83946c00c7c784778ed8692340 SHA512 74efc712c5bd6898815fd22ddec7408967d4e77c4d38c3bcec4286607108f0be411bbb03d34a500f5b8b4eb379c65d100d9210a9972f1e525eba0a813fc6df61 WHIRLPOOL 4b7829515299ead587b24f9c4d02bd52b6c6d2d4cef058c53e5d3db62a2ddd39326cf4e431bf0fc775a2d60788b98af1de1e1889884e5d9584595d6f9ccf8410
+EBUILD libibverbs-1.1.7.ebuild 441 SHA256 6d7947fe4a4dd66f20083caf7206936f2c1bf4d62e9a9118b24e772c748bb8d2 SHA512 8666fa024b493ef1ca0f75867f3905a685c075a61d1e8bebed948f6578ee5aa5394298e3097755d21f4a61ede7cf0269464da0edaa2835320a36f001df93b543 WHIRLPOOL 19fa875676c56c680466acad4c4063d519ae18e0a0c950d4546ea5f135289cfe4b3e43c898ccb8b74490a82325b24b1c664c7e95b3341dae35a3e4df29db3f40
+MISC ChangeLog 561 SHA256 7d1c0cdab6af147b78189745bfad2918381edca19fab9bbcd65eac8e8a8ee930 SHA512 263a3062a11584a5d6fb7534112290e543d4b4f45188ea2f6a636741abc09838bf7c882ab7cabc6183556a4ad93d3c4dcbe5133c59bcca60004e3bca537bfeef WHIRLPOOL a2fd23095611039e74474e63255674e5fa1d0ebdd54d008acfd8c0149a8942e191ecf075b321dde5ce563559b75f8abf7e93ebef8c5cfa4ae7231d79168cd59c
+MISC metadata.xml 519 SHA256 e8d01850d63eca0970187502785662894071a6f6eeef38f471ec1505780dc504 SHA512 bb0e324624f5753a5641acbaa5703744ad4da0860c9adc55a420b198a15c969db8d92d2dabe5dff569244ebb95955e9c6bbf4f02558af598f732f78058f8351e WHIRLPOOL 9ac012d3ffae0f16f04868eafdd7247f6976ba9ce9901379df0148ef0ce489ab03c4c105e201b8f9ea8244d2ab09fe5db2381506eb217c91b6fc1ca8ecf5993c
diff --git a/sys-fabric/libibverbs/libibverbs-1.1.7-r1.ebuild b/sys-fabric/libibverbs/libibverbs-1.1.7-r1.ebuild
new file mode 100644
index 000000000000..9f87e68d527f
--- /dev/null
+++ b/sys-fabric/libibverbs/libibverbs-1.1.7-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1.gcbf2a35"
+
+inherit openib multilib-minimal
+
+DESCRIPTION="A library allowing programs to use InfiniBand 'verbs' for direct access to IB hardware"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ use static-libs || find "${ED}/usr" -name '*.la' -delete
+}
diff --git a/sys-fabric/libibverbs/libibverbs-1.1.7.ebuild b/sys-fabric/libibverbs/libibverbs-1.1.7.ebuild
new file mode 100644
index 000000000000..1f690692693f
--- /dev/null
+++ b/sys-fabric/libibverbs/libibverbs-1.1.7.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1.gcbf2a35"
+
+inherit eutils openib
+
+DESCRIPTION="A library allowing programs to use InfiniBand 'verbs' for direct access to IB hardware"
+KEYWORDS="amd64 x86 ~amd64-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
diff --git a/sys-fabric/libibverbs/metadata.xml b/sys-fabric/libibverbs/metadata.xml
new file mode 100644
index 000000000000..98dc6c52bb2c
--- /dev/null
+++ b/sys-fabric/libibverbs/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+libibverbs is a library that allows programs to use InfiniBand "verbs"
+for direct access to IB hardware from userspace. For more information
+on verbs, see the InfiniBand Architecture Specification vol. 1,
+especially chapter 11.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libipathverbs/Manifest b/sys-fabric/libipathverbs/Manifest
new file mode 100644
index 000000000000..a1bf31b29a4f
--- /dev/null
+++ b/sys-fabric/libipathverbs/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libipathverbs-1.2.1.ebuild 397 SHA256 a142f02a45a05f6b4ab6abae93712c49591cf20a621c9ec07bb6becee0cf3823 SHA512 bc0db26a96e63c81209bd403b9474a9f8ef4b3a60363fc92e9937112fdab50848197da31477c6bbdd8d9e383142bfe1c4e58ae8f761ed93b2ef4fe948241cd0f WHIRLPOOL 570b3dda46fb0a01712a9fe10297706d446fd3bd6ad47b092d816ac40cda1f95f85a92329b72ecb54452c0bcad69b33990d70f7f3f9e81a09778718aa0c95c08
+MISC ChangeLog 584 SHA256 0b8e41928d59200e1fdeb19851cd1daabe0599df130001a47d55ea3c979e3b63 SHA512 8be845aa96e015b3478b43c79af85ad2846c2989a3b63dc51ad07c2fb20a9c0d690ea756189c88c62e22ee77a7374fd42734a6064d1c8c33c0e9066bb20e9b8d WHIRLPOOL f3023da24abc0f69a8127b7bfaa6dda34f0d7535ae62f6f0659612b25036b4a0ecc2acfa96f8fcb86756a3e8e039e1635bb97cd19156de329fd86112e42ff580
+MISC metadata.xml 514 SHA256 621fd89b650275972b4df641e3cc1c25f6a8584e416d390d1579d06b4b615e63 SHA512 9f48f100850338844956926c1a35a3a9c98d2a0de45bc5d1aa04b57cdb606189b442c2184692e4e823e57470131c7a80869179fd0ee194824bd72252ba97b2b0 WHIRLPOOL a91a358b96886bd93c637c888651f400dfdbf78d414fca5aa39628f193f1b9bd6673b91adad010ade7ead733ad88982cb37140449800112f6c0f831c2f034894
diff --git a/sys-fabric/libipathverbs/libipathverbs-1.2.1.ebuild b/sys-fabric/libipathverbs/libipathverbs-1.2.1.ebuild
new file mode 100644
index 000000000000..887d277bc9d7
--- /dev/null
+++ b/sys-fabric/libipathverbs/libipathverbs-1.2.1.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/libipathverbs/metadata.xml b/sys-fabric/libipathverbs/metadata.xml
new file mode 100644
index 000000000000..cf6568d178bc
--- /dev/null
+++ b/sys-fabric/libipathverbs/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+libipathverbs is a userspace driver for QLogic InfiniBand HCAs. It works as a
+plug-in module for libibverbs that allows programs to use QLogic HCAs directly
+from userspace. See the libibverbs package for more information.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libmlx4/Manifest b/sys-fabric/libmlx4/Manifest
new file mode 100644
index 000000000000..3ba271529dfb
--- /dev/null
+++ b/sys-fabric/libmlx4/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libmlx4-1.0.5.ebuild 424 SHA256 769391f0b7166068e0700e31da3911a2c287fd0a5d66a1f3e85000ae186a09da SHA512 5d581bb67254c6efcb06a23dffcd5d9743bb684c2d6e543988fadd2167a0ad2e3a9c18a8bc13e1c14f87ba8830f8bd0c7361019d99d7477053fe36cd7de612f3 WHIRLPOOL 273f6332cf04d912ec754e2b62c99abeda77a55db1c56e66e77af855d875062eb5250eb09cf243633477ded38d479720dd1043d89a6db77d5e58374ee376f67c
+MISC ChangeLog 543 SHA256 0f42679d7ecef575a11c4bb1bd123ba5c420d617e5666d87203bc86283be7370 SHA512 57ff9c141f6de247f01d8fc3cc16170d1036596ec3fcebd356b9a5d7466ba96ea0dfe1eb461c9e7c8231ff9f4780b1479d9a05c93dd6f9c5290bbe170d3b2ecc WHIRLPOOL 573843d0dad2fa0b171922e9f81732e1985f81fc2fdca6d4a6ac2b4201655601b30d99e8a27a26dc6894db333c14f366b1c09da2ac597b92172ce1be72827777
+MISC metadata.xml 519 SHA256 e8d01850d63eca0970187502785662894071a6f6eeef38f471ec1505780dc504 SHA512 bb0e324624f5753a5641acbaa5703744ad4da0860c9adc55a420b198a15c969db8d92d2dabe5dff569244ebb95955e9c6bbf4f02558af598f732f78058f8351e WHIRLPOOL 9ac012d3ffae0f16f04868eafdd7247f6976ba9ce9901379df0148ef0ce489ab03c4c105e201b8f9ea8244d2ab09fe5db2381506eb217c91b6fc1ca8ecf5993c
diff --git a/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild b/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild
new file mode 100644
index 000000000000..403d158c5942
--- /dev/null
+++ b/sys-fabric/libmlx4/libmlx4-1.0.5.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1.gdc6ef69"
+
+inherit openib
+
+DESCRIPTION="OpenIB userspace driver for Mellanox ConnectX HCA"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibverbs:${SLOT}
+ "
+RDEPEND="
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
diff --git a/sys-fabric/libmlx4/metadata.xml b/sys-fabric/libmlx4/metadata.xml
new file mode 100644
index 000000000000..98dc6c52bb2c
--- /dev/null
+++ b/sys-fabric/libmlx4/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+libibverbs is a library that allows programs to use InfiniBand "verbs"
+for direct access to IB hardware from userspace. For more information
+on verbs, see the InfiniBand Architecture Specification vol. 1,
+especially chapter 11.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libmlx5/Manifest b/sys-fabric/libmlx5/Manifest
new file mode 100644
index 000000000000..28475595cac0
--- /dev/null
+++ b/sys-fabric/libmlx5/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libmlx5-1.0.1.ebuild 416 SHA256 8b1826d44d09028b15df451fcbebf487e3d1a49363b78af616b09251e028b0be SHA512 be3b8128f7552b608ea9d4261b6f263adc870d5e6b811bd0f7359d21613b5823d480fa76400d04da79d31a52e4b8d7c070bae9ebd041f335bf2b3b61ecc13ba9 WHIRLPOOL 302079584eb36d2f6240ce5337f455ff2aa5eb8ed74582b1eba9ae53edce8905b2438481ae96c816ce4b21e950bb7374f07e14528493a87c4c7dcc72dcfbeaf8
+MISC ChangeLog 346 SHA256 7b608903d2f93f03da8432b45514ad08c6ed4ac0644da92d2d94758b0a20cc25 SHA512 ab98120951385bfa264b3f33baee286fc0c36287dad401f35df64a68240b91221aad339cac490044e7955e95c3a958b898f62960f62a73f5ea1f17fdbe3e3284 WHIRLPOOL b99db8f26166e80c3686fe37e08fbdfb0f9e6c7c1e2631a27bd840f3e19daa4451be53453be60e16aa258b36af1e14aaa2b4563d86552fa3c6e76666e9446fed
+MISC metadata.xml 253 SHA256 5030a84d36a522ae62530f6406dbda5099255457f76b3ed419dcffc6d7383667 SHA512 0894860713279dc39bbe7ce3491002710b62c4476198984a0deb6328cb0012c19d7a5546299960bbe600ee240e62a603dd4c4fa04325a753cc0b7c4044c30aba WHIRLPOOL c55ba84102cbd078e50dd719902811669b3913122f44e982c90039b27067446810d881e73a22ed410edc41a409a273fd355be8a6d627bb0e67717b6a33d5fe1e
diff --git a/sys-fabric/libmlx5/libmlx5-1.0.1.ebuild b/sys-fabric/libmlx5/libmlx5-1.0.1.ebuild
new file mode 100644
index 000000000000..94e72af30ae5
--- /dev/null
+++ b/sys-fabric/libmlx5/libmlx5-1.0.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB userspace driver for Mellanox ConnectIB HCA"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibverbs:${SLOT}
+ "
+RDEPEND="
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
diff --git a/sys-fabric/libmlx5/metadata.xml b/sys-fabric/libmlx5/metadata.xml
new file mode 100644
index 000000000000..4a09d7ba8d61
--- /dev/null
+++ b/sys-fabric/libmlx5/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 type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-fabric/libmthca/Manifest b/sys-fabric/libmthca/Manifest
new file mode 100644
index 000000000000..1682bd597931
--- /dev/null
+++ b/sys-fabric/libmthca/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libmthca-1.0.6.ebuild 423 SHA256 ba80845e0900ef92c86d184fb50befdd69134688f404a518d6f43c1caa06b876 SHA512 8108f481f79614bb3a90a286d74a1ad46218892f22120f6d7f43d1f9b9bfa7ab10f22ce1cf1301ad0fe8b28994b62e003da572be461b39a7102b49e604a2f247 WHIRLPOOL 69345eb1eae223db7782437b4221797bcd8d09998b5a8187603db1a1c1ad64ceb7f3d2f1997467bd32ec5e1e64fce0efe1af61bb9dd3c0960ad3eb692b111621
+MISC ChangeLog 558 SHA256 c0b2017df11d3cc6c2c93ef5c376c56a47deaf8db771097b66e34b86e03b768a SHA512 e0e2f4e7463bb2d05eddb203d25094a3d234b1125173a4096fcf899799b9f77a9e83c00c23e2911feadf0fb71fc06f6403efb1491f11f7a701cc3a3a824db649 WHIRLPOOL 3e14c7d6ed99aca2846293599776c1627d1cccf1e19e8097b57446b75594a1f574cf2224e735dbc380cbc59702ad509a78d568842d2a90db812b92c381f4818b
+MISC metadata.xml 519 SHA256 e8d01850d63eca0970187502785662894071a6f6eeef38f471ec1505780dc504 SHA512 bb0e324624f5753a5641acbaa5703744ad4da0860c9adc55a420b198a15c969db8d92d2dabe5dff569244ebb95955e9c6bbf4f02558af598f732f78058f8351e WHIRLPOOL 9ac012d3ffae0f16f04868eafdd7247f6976ba9ce9901379df0148ef0ce489ab03c4c105e201b8f9ea8244d2ab09fe5db2381506eb217c91b6fc1ca8ecf5993c
diff --git a/sys-fabric/libmthca/libmthca-1.0.6.ebuild b/sys-fabric/libmthca/libmthca-1.0.6.ebuild
new file mode 100644
index 000000000000..4fc68162606e
--- /dev/null
+++ b/sys-fabric/libmthca/libmthca-1.0.6.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB userspace driver for Mellanox InfiniBand HCAs"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
diff --git a/sys-fabric/libmthca/metadata.xml b/sys-fabric/libmthca/metadata.xml
new file mode 100644
index 000000000000..98dc6c52bb2c
--- /dev/null
+++ b/sys-fabric/libmthca/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+libibverbs is a library that allows programs to use InfiniBand "verbs"
+for direct access to IB hardware from userspace. For more information
+on verbs, see the InfiniBand Architecture Specification vol. 1,
+especially chapter 11.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libnes/Manifest b/sys-fabric/libnes/Manifest
new file mode 100644
index 000000000000..3aa797350178
--- /dev/null
+++ b/sys-fabric/libnes/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libnes-1.1.4.ebuild 559 SHA256 bf8c5339edb7eb4e7f320e43f9d389102289e0f2a06630e1e9d082acfd920f23 SHA512 cd27fb0661ea38a31fea76855b421de0a9c0acdf487f86562aa24f4c86fe9edae700eaab175bcb73bb7f2aa09bc25ec2ea9ebd2c8cd8c03ff01a50e7169e631e WHIRLPOOL 9162d88e681f7d230ac6538f3f15f700d6aa2e11f9c7083dbf8e4900a4af0bb81a40fcc31e7211a90339709f33c32743f94c5bde3048965cdc78c3fca98ce10d
+MISC ChangeLog 546 SHA256 1cdba3317443ef015a282601300fc2c8af33dbce898ae326f066644a05dfb3ef SHA512 6a41e2495910c0799fe4a7789671c6202f65c95ce009c2965516abc6bcb368a16cf678ddf9038129ff708ee84fe363c9001e3bd9ef7c1db7255794e6b86b252e WHIRLPOOL b4d805a2dbbeb2d54b261306604930b18acdf2899529218c4f2a70b3ec9af1f357f2c4d324111f0209dabd48d53c32d6840f826c4e8fcdfba008562e9d50d130
+MISC metadata.xml 519 SHA256 e8d01850d63eca0970187502785662894071a6f6eeef38f471ec1505780dc504 SHA512 bb0e324624f5753a5641acbaa5703744ad4da0860c9adc55a420b198a15c969db8d92d2dabe5dff569244ebb95955e9c6bbf4f02558af598f732f78058f8351e WHIRLPOOL 9ac012d3ffae0f16f04868eafdd7247f6976ba9ce9901379df0148ef0ce489ab03c4c105e201b8f9ea8244d2ab09fe5db2381506eb217c91b6fc1ca8ecf5993c
diff --git a/sys-fabric/libnes/libnes-1.1.4.ebuild b/sys-fabric/libnes/libnes-1.1.4.ebuild
new file mode 100644
index 000000000000..6a2977991e6d
--- /dev/null
+++ b/sys-fabric/libnes/libnes-1.1.4.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="0"
+
+inherit openib
+
+DESCRIPTION="NetEffect RNIC Userspace Library"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="static-libs"
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || rm -f "${D}"usr/$(get_libdir)/${PN}.la
+}
diff --git a/sys-fabric/libnes/metadata.xml b/sys-fabric/libnes/metadata.xml
new file mode 100644
index 000000000000..98dc6c52bb2c
--- /dev/null
+++ b/sys-fabric/libnes/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+libibverbs is a library that allows programs to use InfiniBand "verbs"
+for direct access to IB hardware from userspace. For more information
+on verbs, see the InfiniBand Architecture Specification vol. 1,
+especially chapter 11.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/libocrdma/Manifest b/sys-fabric/libocrdma/Manifest
new file mode 100644
index 000000000000..6adb2159c16f
--- /dev/null
+++ b/sys-fabric/libocrdma/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD libocrdma-1.0.2.ebuild 416 SHA256 d315ff95b40c04d8d003adefc8d26afdbb44fcc2e1939573f58f4dd6ea7ade94 SHA512 c1dbb88c8a50ed155134a189cd92acaca485f51033277effd861b3d92262399ae97abb7bdffd092dc80355363ca239c388923962af5cbc53bacc077638081eed WHIRLPOOL 709efce61cfff12195ee9f072254fcf181ff3efb6eae2ac068d79ece082aff69a6f279148be7c3d460a1f5720fb4fa6f4900facda35b4ed6927be60c659dd1ec
+MISC ChangeLog 352 SHA256 ef9b231b70d63bf52be90816833fd9a5e6238ea16641e3880bf0bf0e6b1536c0 SHA512 f53f040304285dae772eaf6f9f98e07b6a63d8a7c29585d33d577c89beca9d64227345a9534ba5c8a52de1be3d44525963e6d58d2611e0da1614fee304af71a7 WHIRLPOOL 5a567497f03465d6b4c7a2c0a46a0e86fb4785929e0533641276e6f1e0c907955e1a53996c3ae210e67ccaba094cab41e64c7f6fee9b0a2555a214adac7ef903
+MISC metadata.xml 519 SHA256 e8d01850d63eca0970187502785662894071a6f6eeef38f471ec1505780dc504 SHA512 bb0e324624f5753a5641acbaa5703744ad4da0860c9adc55a420b198a15c969db8d92d2dabe5dff569244ebb95955e9c6bbf4f02558af598f732f78058f8351e WHIRLPOOL 9ac012d3ffae0f16f04868eafdd7247f6976ba9ce9901379df0148ef0ce489ab03c4c105e201b8f9ea8244d2ab09fe5db2381506eb217c91b6fc1ca8ecf5993c
diff --git a/sys-fabric/libocrdma/libocrdma-1.0.2.ebuild b/sys-fabric/libocrdma/libocrdma-1.0.2.ebuild
new file mode 100644
index 000000000000..794cdc2ad73d
--- /dev/null
+++ b/sys-fabric/libocrdma/libocrdma-1.0.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB userspace driver for Emulex OneConnect RDMA"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibverbs:${SLOT}
+ "
+RDEPEND="
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
diff --git a/sys-fabric/libocrdma/metadata.xml b/sys-fabric/libocrdma/metadata.xml
new file mode 100644
index 000000000000..98dc6c52bb2c
--- /dev/null
+++ b/sys-fabric/libocrdma/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+libibverbs is a library that allows programs to use InfiniBand "verbs"
+for direct access to IB hardware from userspace. For more information
+on verbs, see the InfiniBand Architecture Specification vol. 1,
+especially chapter 11.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/librdmacm/Manifest b/sys-fabric/librdmacm/Manifest
new file mode 100644
index 000000000000..5200e761e55a
--- /dev/null
+++ b/sys-fabric/librdmacm/Manifest
@@ -0,0 +1,5 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD librdmacm-1.0.18-r1.ebuild 696 SHA256 841aecfdad65a4c6f1969def92fd6c0798ce88ff7ebf2c7e22ac543acf673719 SHA512 73ed44c80bb3d32acbd22f882f4dc4f6dadf316853fc4213d7aea491675455b11aef5142761701743ddff7c525ad39b5560b3eaad61076ed1aa3d646a7b2b9d4 WHIRLPOOL f2e8d2ed421db2e16bb6ce283858834e597a55e8e06796a040dc795c6e676834e669c2dbd4ee7a5d542ec4ec4774977f3f46b9cc519de49dcb60d22432af7624
+EBUILD librdmacm-1.0.18.ebuild 408 SHA256 2826adcf1b5b2b32cab87e507dac9ad3445f11ca65648e564c61651cb1df7bc7 SHA512 05fb7513b2c4611051eed92497f686880bee2b6305583001445583ade3fe59e3e06635c588d4962c7d010f79b04fe83f7877972016793a3138624fe8ed3a49e2 WHIRLPOOL 8bb50a35e5a7148ea0027209f4b8904ce6c4fb7697af40a6e0a4335256019131caa9f7b874210a3e344700d81a1483a0f69d41a35018a637d5ad51ddc167d2fe
+MISC ChangeLog 560 SHA256 d1d2f969ffd361ddb2a30fdc7ab649b591761a891937e2a0cb3129c228e3a76c SHA512 ca009e5065b511705ec773d4d3f64f7d6acb1e83582f2e731abefb8618e0a5d4777401da807830232f5f2e95e124b4ac02e47be6150d8364ec323095cb06c384 WHIRLPOOL 37f048235c543cf064a6bd507403010dcf07bc19b4be81b1e00cfe55cb5496ade78b8ae167c3cde0667f4955de1f64dabef6732279fbd14aeb2ac9a15f9e4d3f
+MISC metadata.xml 324 SHA256 bd0b2644710cafa6dec1d4ab9e4d067efdb1e8c0b5f7cf7d73995898086c8b84 SHA512 b39fbd3e3a6afbf9c9a70c27697d2b117727e5226a5787c7204931b943e67a862f6a02bc1b52f57a80087da3576a495f3810f253a16d1e326376edb68926e9dc WHIRLPOOL 129bf67e126d13ccf13ed3fc0bc6202a8ee24067d72971dece1760c72fc1e066c6f45ec441700b008dde095962502678fa4dfd8c52f637758a9e5d8543ef12f2
diff --git a/sys-fabric/librdmacm/librdmacm-1.0.18-r1.ebuild b/sys-fabric/librdmacm/librdmacm-1.0.18-r1.ebuild
new file mode 100644
index 000000000000..1852ad645f93
--- /dev/null
+++ b/sys-fabric/librdmacm/librdmacm-1.0.18-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib multilib-minimal
+
+DESCRIPTION="OpenIB userspace RDMA CM library"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+IUSE="static-libs"
+
+DEPEND="sys-fabric/libibverbs:${SLOT}[static-libs?,${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf $(use_enable static-libs static)
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ use static-libs || find "${ED}/usr" -name '*.la' -delete
+}
diff --git a/sys-fabric/librdmacm/librdmacm-1.0.18.ebuild b/sys-fabric/librdmacm/librdmacm-1.0.18.ebuild
new file mode 100644
index 000000000000..35ebd2e50f83
--- /dev/null
+++ b/sys-fabric/librdmacm/librdmacm-1.0.18.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit eutils openib
+
+DESCRIPTION="OpenIB userspace RDMA CM library"
+KEYWORDS="amd64 x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
diff --git a/sys-fabric/librdmacm/metadata.xml b/sys-fabric/librdmacm/metadata.xml
new file mode 100644
index 000000000000..7a6d65bc038b
--- /dev/null
+++ b/sys-fabric/librdmacm/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB userspace RDMA CM library.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/metadata.xml b/sys-fabric/metadata.xml
new file mode 100644
index 000000000000..c226ec5fd1c2
--- /dev/null
+++ b/sys-fabric/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The sys-fabric category contains OFED software stack and other infiniband related software.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría sys-fabric contiene la pila de software OFED y
+ otro software relacionado con infiniband.
+ </longdescription>
+</catmetadata>
+
diff --git a/sys-fabric/mstflint/Manifest b/sys-fabric/mstflint/Manifest
new file mode 100644
index 000000000000..7f2945d3cc6d
--- /dev/null
+++ b/sys-fabric/mstflint/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD mstflint-3.5.0.ebuild 362 SHA256 da54785f82e4e9b9e39e945deeafd38877df570149cf0dfe279729a090df98b6 SHA512 33de4bbbf778bdaf3bc29953442a2fe2692e3619ae1a10cf0e5e301e51526123a10fa6dae84a427424503bc21616f36fe9172013131e502a3363d188566ba7ce WHIRLPOOL 752613622d8ab18eff2f2569c11da769ece0d30a04d42fc3747b540194c357c3849044be4e9dafe55632b2015074a4dc5784b34507ef8791282cbaa3a4e1b507
+MISC ChangeLog 552 SHA256 ee8539c4593fbdd4ca6a2fbeddea4c59f7beb468036d8c22881eef94a2ed86c9 SHA512 8152c30351da21301a43dd2647607d1fba8430769e41ae551f4352b9d1e5164660cd37759d36ca2c07d2d1a27ecf9e38d1424aa8059e6264a8324158f0851e99 WHIRLPOOL cef6f13425361d8a2f42456c7ef83fb0b671c900d543944a9fa854e812033e25a94cb0679c66d012afa35e0c03ce90ad2fd48271a16fb2c5f9debcfed10ad5d8
+MISC metadata.xml 318 SHA256 9096ec7c9c1d513fa40ed8682cbfef4b2c841f040faf1db2a827323230c08360 SHA512 478d039ee9264011d4287dc4444921a6d6bfd824a547af3da63cacca01165099a66601c17dba9739967b847887b09a5e6ee0a74d22250af145ead4c8c833255b WHIRLPOOL d99c5dcd91d9815277c03a44ec2b1180bb578c4f151a4b9e0f49f54a57ea60fc29d6005cf2ecbc1cded7ab40a8bf208e27ea0828fab23659b9943c14e6fce721
diff --git a/sys-fabric/mstflint/metadata.xml b/sys-fabric/mstflint/metadata.xml
new file mode 100644
index 000000000000..f1a406d0b751
--- /dev/null
+++ b/sys-fabric/mstflint/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+OpenIB Userspace CM library
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/mstflint/mstflint-3.5.0.ebuild b/sys-fabric/mstflint/mstflint-3.5.0.ebuild
new file mode 100644
index 000000000000..01c8bce56b5a
--- /dev/null
+++ b/sys-fabric/mstflint/mstflint-3.5.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="Mellanox firmware burning application"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}"
+block_other_ofed_versions
diff --git a/sys-fabric/ofed/Manifest b/sys-fabric/ofed/Manifest
new file mode 100644
index 000000000000..8aec64212e53
--- /dev/null
+++ b/sys-fabric/ofed/Manifest
@@ -0,0 +1,9 @@
+AUX 90-ib.rules 232 SHA256 c44d4937d60bb5b02d2b73d0a0e59a6b094555b060e31f2193c546dfe146f5d3 SHA512 2d2662e9b7dbc3b8d9f08467890f0a154144d6ecd0a72e7e5de44d2b2a5a4858cc27d6d626576251ba657754b226237b6a5d7f9daf6721566bf1b837d746630f WHIRLPOOL 2fd2df383a9eb27500e819f810dce9a3224d08ce15875462bfc3665ff76a4fe3df6f3a5010de11d3eea79a6bf50b520ee91c15626ec0c0d1e7ec48fefd835ccb
+AUX openib 6850 SHA256 b6e696a6b4b5d492aa9df32ce858d660754a270bbd63ca11cead44ea91a75708 SHA512 46b86e88fc2b7392f55a5e2eeb89d223114babc5a56f9dd834f2b43ba019162db4f0a26fcd0846b9c3bbf99763c4a857da7b93dbcc93fbb843360a6286918a74 WHIRLPOOL 64b6381864e744072db49b7fab02e884160b269d32615236b30069f0a986c43150c271047764eb527181e2b2c7ab9394bd45d4802f8961c3a06efa062260113e
+AUX openib.conf 498 SHA256 8c12ebe735d32f75c1bd4b66077e2642fa26a015cfc7992594066d7feb9fa962 SHA512 3db825396e2530da6d978ca46eb4dfd6298dbb797158db6fc9831e8fdcf3eb6b5801804fef3aa8919dae45578fd86267167341cd2f8bc9caaaa874c6613ea336 WHIRLPOOL d3fb7a349ce6c273ba2109b338a441915363f88b587a178050e010f5263bd458bb7cc6c45c1894dfc4863c3c6ae53ffdb067fb249d75203a5b80ddd02f94d398
+AUX openib.env 19 SHA256 5f30d772b77fa4a5aaa1a4ff4188c0f38c0cf6c4138cb6597082c6d20598a467 SHA512 016e4f49809d696f63ecd376d31f9f588cd12afde9bc7d42582219a1ce2bbb53851aa0e340c5def498a5013570cd2f1cf7502df85fa998c978ce9d5bcf41f064 WHIRLPOOL f22d92c532224a2a40b1754205b93ec3c31c652951c1016a87c534e10a2fb4a38c1f243149e00b54d141afda3bd48ad7e690bf987086eb32153a4016e113f8af
+AUX openib.modprobe 350 SHA256 32054c7ee7caffc21ed320a9be5d0c2cd85e51295c0515521373d658f55ee68e SHA512 580fd9f53ecf4661181c3d423770e9db75bd767d2efc26115d418b032663f7397637fae5f736d3acc803152af76946b1851b1444da1c4472ca42ca32c84b5d1c WHIRLPOOL e35f1a9c809dbc4f608376a9d4508093c099213f59b34e00100732c2f84782016cf763df75bc8032fa5f1af37647ea38be6e92a1ee9ae3e2958812be42b9d1fe
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD ofed-3.12_rc1.ebuild 5015 SHA256 ec4e58266673c0eb612d7cb1a189d2411c9eef87c48fc66b209211f5c9d7b7ee SHA512 8324eab3c67106183b1cbf9765f0591106d5f4cbe2b699d6750717c3222a49a0be66dd7e0f60fe66e329092ced5c126aadc57d5ff673250a1122d850efca5fd9 WHIRLPOOL 4d3904cc1ae229f58bca406cd17e63428e95d5f899bcd9cf8a67f5f2d82384c9ff06b08208a7d30faa4966a7890bcb9025a8dfa47aa260eb794c22c4b0a0b392
+MISC ChangeLog 783 SHA256 9d72610b02062bd30bdd285957c832433c76b739daab9bcab11765fef8a6ae47 SHA512 43535432ad1e1c214f00a50f5cfb33ba04d35b5c0cab34fcf60e9a8a5d19334d4e21a2e3d34611aff4d1578dcaccf477822e24cad5383be6c34361611376d104 WHIRLPOOL 29e9a3407429900b4994916df025c13252f8c0b232c125173f9e829e9de031db1b37cda45bd5d23e1dd3c611cc7163002513824a528f8defdfc0f38d3e29b50a
+MISC metadata.xml 841 SHA256 c325271e5cf593aa1963cd2c140296498aee58b54076e063ee7caedd8d25b875 SHA512 9bd4684d88eeca4cc85206ab561a70b8280d795c88afac1a8b9140307e5d8f94a46020d6f8c767ac23013d05c9e395f86b7d39d83bfff3189a981d7640c7c300 WHIRLPOOL 3732730991fd578f24146f76574fb7363409b1472d4ee28a4ad64964d3d2aff51e3a3f62ebdf63fde51acd9c55e1e9f13ab9bdada7b13a6961157928feb0ff89
diff --git a/sys-fabric/ofed/files/90-ib.rules b/sys-fabric/ofed/files/90-ib.rules
new file mode 100644
index 000000000000..789668486c8c
--- /dev/null
+++ b/sys-fabric/ofed/files/90-ib.rules
@@ -0,0 +1,5 @@
+KERNEL=="umad*", NAME="infiniband/%k"
+KERNEL=="issm*", NAME="infiniband/%k"
+KERNEL=="uverbs*", NAME="infiniband/%k", MODE="0666"
+KERNEL=="ucm*", NAME="infiniband/%k", MODE="0666"
+KERNEL=="rdma_cm", NAME="infiniband/%k", MODE="0666"
diff --git a/sys-fabric/ofed/files/openib b/sys-fabric/ofed/files/openib
new file mode 100644
index 000000000000..b4a7083b070b
--- /dev/null
+++ b/sys-fabric/ofed/files/openib
@@ -0,0 +1,242 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Based on openibd script from openfabrics.org,
+# Copyright (c) 2006 Mellanox Technologies. All rights reserved.
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ after hotplug
+ before net # init openib before starting any ipoib interfaces
+}
+
+OPENIB_CONFDIR=${OPENIB_CONFDIR:-/etc/infiniband}
+
+if [[ -r ${OPENIB_CONFDIR}/openib.conf ]] ; then
+ . ${OPENIB_CONFDIR}/openib.conf
+fi
+
+# Setting OpenIB start parameters
+POST_LOAD_MODULES=""
+
+if [ "X${SDP_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES ib_sdp"
+ IPOIB_LOAD="yes"
+fi
+
+IPOIB=0
+if [ "X${IPOIB_LOAD}" == "Xyes" ]; then
+ IPOIB=1
+fi
+
+if [ "X${SRP_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES ib_srp"
+fi
+
+if [ "X${SRP_TARGET_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES ib_srp_target"
+fi
+
+if [ "X${RDMA_CM_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES rdma_cm"
+fi
+
+if [ "X${UCM_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES ib_ucm"
+fi
+
+if [ "X${RDS_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES ib_rds"
+fi
+
+if [ "X${ISER_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES ib_iser"
+fi
+
+if [ "X${RDMA_UCM_LOAD}" == "Xyes" ]; then
+ POST_LOAD_MODULES="$POST_LOAD_MODULES rdma_ucm"
+fi
+
+PRE_UNLOAD_MODULES="ib_rds ib_ucm kdapl ib_srp_target scsi_target ib_srp ib_iser ib_sdp rdma_ucm rdma_cm ib_addr ib_cm ib_local_sa findex"
+
+# W/A for unloading modules
+POST_UNLOAD_MODULES="$PRE_UNLOAD_MODULES ib_ipoib ib_sa ib_uverbs ib_umad"
+# ib_mthca ib_ipath - don't unload unless they are in openib.conf
+[[ "${MTHCA_LOAD}" == "yes" ]] && \
+ POST_UNLOAD_MODULES="$POST_UNLOAD_MODULES ib_mthca"
+[[ "${IPATH_LOAD}" == "yes" ]] && \
+ POST_UNLOAD_MODULES="$POST_UNLOAD_MODULES ib_ipath ipath_core"
+
+[[ "${MTHCA_LOAD}" == "yes" || "${IPATH_LOAD}" == "yes" ]] && \
+ POST_UNLOAD_MODULES="$POST_UNLOAD_MODULES ib_mad ib_core"
+
+#STATUS_MODULES="rdma_ucm ib_rds ib_srp ib_sdp rdma_cm ib_addr ib_local_sa findex ib_ipoib ib_ipath ipath_core ib_mthca ib_uverbs ib_umad ib_ucm ib_sa ib_cm ib_mad ib_core"
+
+
+# If module $1 is loaded return - 0 else - 1
+is_module()
+{
+ local RC
+
+ /bin/lsmod | grep -w "$1" > /dev/null 2>&1
+ RC=$?
+
+ return $RC
+}
+
+unload()
+{
+ # Unload module $1
+ if is_module $mod; then
+ /sbin/modprobe -r $mod > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ # Try rmmod if modprobe failed: case that previous installation included more IB modules.
+ /sbin/rmmod $mod > /dev/null 2>&1
+ if [ $? -ne 0 ]; then
+ ewarn "Failed to unload $mod"
+ return 1
+ fi
+ fi
+ fi
+}
+
+start() {
+ local RC=0
+ ebegin "Initializing Infiniband"
+ eindent
+
+ # Load Mellanox HCA driver if explicitly requested
+ # (however, it should be loaded automatically by udev)
+
+ einfo "Loading HCA and Access Layer drivers"
+
+ if [[ "${MTHCA_LOAD}" == "yes" ]]; then
+ /sbin/modprobe ib_mthca > /dev/null 2>&1
+ RC=$[ $RC + $? ]
+ fi
+ if [[ "${IPATH_LOAD}" == "yes" ]]; then
+ /sbin/modprobe ib_ipath > /dev/null 2>&1
+ RC=$[ $RC + $? ]
+ fi
+
+ # Add node description to sysfs
+ IBSYSDIR="/sys/class/infiniband"
+ if [ -d ${IBSYSDIR} ]; then
+ declare -i hca_id=1
+ for hca in ${IBSYSDIR}/*; do
+ if [ -e ${hca}/node_desc ]; then
+ echo -n "$(hostname -s) HCA-${hca_id}" >> ${hca}/node_desc
+ fi
+ let hca_id++
+ done
+ fi
+ /sbin/modprobe ib_umad > /dev/null 2>&1
+ RC=$[ $RC + $? ]
+ /sbin/modprobe ib_uverbs > /dev/null 2>&1
+ RC=$[ $RC + $? ]
+
+ if [ $IPOIB -eq 1 ]; then
+ # this section is not necessary if all ib-over-ib devices are
+ # aliased properly in /etc/modules.d/openib
+ einfo "loading ib_ipoib module"
+ /sbin/modprobe ib_ipoib > /dev/null 2>&1
+ RC=$[ $RC + $? ]
+ if (( ! RC )); then
+ # start the ipoib devices automatically...
+ # this is probably a bad idea (the concept is taken from the
+ # original SUSE/Redhat-based initscript), and should be removed.
+ # But it works, and is not enabled by default. So I leave it here
+ # for second opinions.
+ local ibdevs=`rc-status -u -nc |egrep 'net\.ib[0-9a-zA-Z]+.*stopped' | awk '{print $1}'`
+ if [ -n "$ibdevs" ] ; then
+ einfo "starting ipoib devices"
+ for ibdev in $ibdevs; do
+ /etc/init.d/$ibdev start
+ done
+ fi
+ fi
+ fi
+
+ # Devices for ib_umad and ib_uverbs should now have been created.
+ if [ ! -d /dev/infiniband/ ]; then
+ eerror "udev failed to create '/dev/infiniband/' devices"
+ RC=1
+ fi
+
+ # Load configured modules
+ if [ "$POST_LOAD_MODULES" != "" ]; then
+ for mod in $POST_LOAD_MODULES
+ do
+ case $mod in
+ ib_iser)
+ # Voltaire requirement
+ /sbin/modprobe --force-modversion $mod > /dev/null 2>&1
+ ;;
+ *)
+ /sbin/modprobe $mod > /dev/null 2>&1
+ ;;
+ esac
+ RC=$?
+ [ $RC -ne 0 ] && eerror "Failed to load $mod"
+ done
+ fi
+
+ eoutdent
+ eend $RC
+}
+
+stop() {
+ ebegin "Stopping Infiniband"
+ local RC=0
+
+ # Check if applications which use infiniband are running
+ local apps="opensm osmtest ibbs ibns"
+ local pid
+
+ for app in $apps
+ do
+ if ( ps -ef | grep $app | grep -v grep > /dev/null 2>&1 ); then
+ eerror "Please stop $app and all applications running over InfiniBand"
+ eend 1
+ return
+ fi
+ done
+
+ if ! is_module ib_core; then
+ einfo "HCA driver is not loaded"
+ eend 0
+ return
+ fi
+
+ # Unload ULPs modules
+
+ if [ "$PRE_UNLOAD_MODULES" != "" ]; then
+ for mod in $PRE_UNLOAD_MODULES
+ do
+ unload $mod || { eend 1; return; }
+ done
+ fi
+
+ # Remove srp_presistant_bind.sh before removing ib_srp module
+ PID_SCRPT_TO_KILL=`ps -efww | grep srp_persistent | grep -v grep | awk '{print $2}'`
+ if ! [ "$PID_SCRPT_TO_KILL" == "" ]; then
+ PID_SLEEP_TO_KILL=`ps -efww | grep $PID_SCRPT_TO_KILL | grep sleep | awk '{print $2}'`
+ kill -9 $PID_SCRPT_TO_KILL
+ fi
+ if ! [ "$PID_SLEEP_TO_KILL" == "" ]; then
+ kill -9 $PID_SLEEP_TO_KILL
+ fi
+
+ # Unload OpenIB modules
+
+ if [ "$POST_UNLOAD_MODULES" != "" ]; then
+ for mod in $POST_UNLOAD_MODULES
+ do
+ unload $mod || RC=1
+ done
+ fi
+
+ eend $RC
+}
+
diff --git a/sys-fabric/ofed/files/openib.conf b/sys-fabric/ofed/files/openib.conf
new file mode 100644
index 000000000000..9b4eb292857c
--- /dev/null
+++ b/sys-fabric/ofed/files/openib.conf
@@ -0,0 +1,27 @@
+# uncomment to load ib_ipoib module
+#IPOIB_LOAD=yes
+
+# uncomment to load ib_sdp module (implies IPOIB_LOAD=yes)
+#SDP_LOAD=yes
+
+# uncomment to load ib_srp module
+#SRP_LOAD=yes
+
+# uncomment to load ib_srp_target module
+#SRP_TARGET_LOAD=yes
+
+# uncomment to load rdma_cm module
+#RDMA_CM_LOAD=yes
+
+# uncomment to load ib_ucm module
+#UCM_LOAD=yes
+
+# uncomment to load ib_rds module
+#RDS_LOAD=yes
+
+# uncomment to load ib_iser module
+#ISER_LOAD=yes
+
+# uncomment to load rdma_ucm module
+#RDMA_UCM_LOAD=yes
+
diff --git a/sys-fabric/ofed/files/openib.env b/sys-fabric/ofed/files/openib.env
new file mode 100644
index 000000000000..2e34cf22f96b
--- /dev/null
+++ b/sys-fabric/ofed/files/openib.env
@@ -0,0 +1 @@
+IBPATH="/usr/sbin"
diff --git a/sys-fabric/ofed/files/openib.modprobe b/sys-fabric/ofed/files/openib.modprobe
new file mode 100644
index 000000000000..52828fb3bf65
--- /dev/null
+++ b/sys-fabric/ofed/files/openib.modprobe
@@ -0,0 +1,12 @@
+# Setup aliases from ip-over-ib devices to the ip-over-ib kernel module.
+# Add to this list if you have more infiniband ports. Or you can set
+# IPOIB_LOAD=yes to have the ip-over-ib interfaces brought up by init.d/openib
+alias ib0 ib_ipoib
+alias ib1 ib_ipoib
+alias ib2 ib_ipoib
+alias ib3 ib_ipoib
+
+alias net-pf-27 ib_sdp
+
+#options ib_mthca msi_x=1
+
diff --git a/sys-fabric/ofed/metadata.xml b/sys-fabric/ofed/metadata.xml
new file mode 100644
index 000000000000..993d84db31f4
--- /dev/null
+++ b/sys-fabric/ofed/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+ <use>
+ <flag name="dapl">Add support for DAPL abstraction layer</flag>
+ <flag name="diags">Add dignostic tools for infiniband</flag>
+ <flag name="ibacm">Add support for userspace pre-connection services</flag>
+ <flag name="mstflint">Tools to burn Mellanox firmware</flag>
+ <flag name="opensm">Add OpenSM - Subnet manager for infiniband</flag>
+ <flag name="perftest">Add perftest utils</flag>
+ <flag name="qperf">Add rdma tests</flag>
+ <flag name="srp">Suport for userspace part for srp initiator</flag>
+ <flag name="rds">Tools to manage rds sockets</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-fabric/ofed/ofed-3.12_rc1.ebuild b/sys-fabric/ofed/ofed-3.12_rc1.ebuild
new file mode 100644
index 000000000000..59cbf9fbb9e1
--- /dev/null
+++ b/sys-fabric/ofed/ofed-3.12_rc1.ebuild
@@ -0,0 +1,149 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1.g8336567"
+
+IUSE_OFED_DRIVERS="
+ ofed_drivers_cxgb3
+ ofed_drivers_cxgb4
+ ofed_drivers_ehca
+ ofed_drivers_ipath
+ ofed_drivers_mlx4
+ ofed_drivers_mlx5
+ ofed_drivers_mthca
+ ofed_drivers_nes
+ ofed_drivers_ocrdma
+ ofed_drivers_psm"
+
+inherit openib udev toolchain-funcs
+
+DESCRIPTION="OpenIB system files"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="dapl +diags ibacm mstflint +opensm perftest qperf rds srp ${IUSE_OFED_DRIVERS}"
+
+RDEPEND="!sys-fabric/openib
+ !sys-fabric/openib-files
+ sys-fabric/libibcm:${SLOT}
+ sys-fabric/libibmad:${SLOT}
+ sys-fabric/libibumad:${SLOT}
+ sys-fabric/librdmacm:${SLOT}
+ dapl? ( sys-fabric/dapl:${SLOT} )
+ diags? ( sys-fabric/infiniband-diags:${SLOT} )
+ ibacm? ( sys-fabric/ibacm:${SLOT} )
+ mstflint? ( sys-fabric/mstflint:${SLOT} )
+ opensm? ( sys-fabric/opensm:${SLOT} )
+ perftest? ( sys-fabric/perftest:${SLOT} )
+ qperf? ( sys-fabric/qperf:${SLOT} )
+ srp? ( sys-fabric/srptools:${SLOT} )
+ rds? ( sys-fabric/rds-tools:${SLOT} )
+ ofed_drivers_cxgb3? ( sys-fabric/libcxgb3:${SLOT} )
+ ofed_drivers_cxgb4? ( sys-fabric/libcxgb4:${SLOT} )
+ ofed_drivers_ehca? ( sys-fabric/libehca:${SLOT} )
+ ofed_drivers_ipath? ( sys-fabric/libipathverbs:${SLOT} )
+ ofed_drivers_mlx4? ( sys-fabric/libmlx4:${SLOT} )
+ ofed_drivers_mlx5? ( sys-fabric/libmlx5:${SLOT} )
+ ofed_drivers_mthca? ( sys-fabric/libmthca:${SLOT} )
+ ofed_drivers_nes? ( sys-fabric/libnes:${SLOT} )
+ ofed_drivers_ocrdma? ( sys-fabric/libocrdma:${SLOT} )
+ ofed_drivers_psm? ( sys-fabric/infinipath-psm:${SLOT} )
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ "
+block_other_ofed_versions
+
+S="${WORKDIR}/${MY_PN}-${OFED_VER}"
+SCRIPTDIR="${S}/ofed_scripts"
+
+src_configure() { :; }
+src_compile() { :; }
+
+src_install() {
+ udev_newrules "${SCRIPTDIR}/90-ib.rules" 40-ib.rules
+ insinto /etc/modprobe.d
+ newins "${FILESDIR}/openib.modprobe" openib.conf
+ newenvd "${FILESDIR}/openib.env" 02openib
+ insinto /etc/infiniband
+
+ doinitd "${FILESDIR}/openib"
+
+ # build openib.conf based on ofed_scripts/ofa_kernel.spec
+ build_ipoib=1
+ cp "${SCRIPTDIR}/openib.conf" "${T}"
+ IB_CONF_DIR=${T}
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load UCM module" >> ${IB_CONF_DIR}/openib.conf
+ echo "UCM_LOAD=no" >> ${IB_CONF_DIR}/openib.conf
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load RDMA_CM module" >> ${IB_CONF_DIR}/openib.conf
+ echo "RDMA_CM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load RDMA_UCM module" >> ${IB_CONF_DIR}/openib.conf
+ echo "RDMA_UCM_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Increase ib_mad thread priority" >> ${IB_CONF_DIR}/openib.conf
+ echo "RENICE_IB_MAD=no" >> ${IB_CONF_DIR}/openib.conf
+
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load MTHCA" >> ${IB_CONF_DIR}/openib.conf
+ echo "MTHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
+ if use ofed_drivers_ipath; then
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load IPATH" >> ${IB_CONF_DIR}/openib.conf
+ echo "IPATH_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
+ fi
+ if use ofed_drivers_ehca; then
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load eHCA" >> ${IB_CONF_DIR}/openib.conf
+ echo "EHCA_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
+ fi
+ if use ofed_drivers_mlx4; then
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load MLX4 modules" >> ${IB_CONF_DIR}/openib.conf
+ echo "MLX4_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
+ fi
+ if (( build_ipoib )); then
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load IPoIB" >> ${IB_CONF_DIR}/openib.conf
+ echo "#IPOIB_LOAD=yes" >> ${IB_CONF_DIR}/openib.conf
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Enable IPoIB Connected Mode" >> ${IB_CONF_DIR}/openib.conf
+ echo "#SET_IPOIB_CM=yes" >> ${IB_CONF_DIR}/openib.conf
+ # from ofa_user.spec:
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Enable IPoIB High Availability daemon" >> ${IB_CONF_DIR}/openib.conf
+ echo "#IPOIBHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf
+ echo "# PRIMARY_IPOIB_DEV=ib0" >> ${IB_CONF_DIR}/openib.conf
+ echo "# SECONDARY_IPOIB_DEV=ib1" >> ${IB_CONF_DIR}/openib.conf
+ fi
+ if use srp; then
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load SRP module" >> ${IB_CONF_DIR}/openib.conf
+ echo "#SRP_LOAD=no" >> ${IB_CONF_DIR}/openib.conf
+ # from ofa_user.spec:
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Enable SRP High Availability daemon" >> ${IB_CONF_DIR}/openib.conf
+ echo "#SRPHA_ENABLE=no" >> ${IB_CONF_DIR}/openib.conf
+
+ fi
+ if use rds; then
+ echo >> ${IB_CONF_DIR}/openib.conf
+ echo "# Load RDS module" >> ${IB_CONF_DIR}/openib.conf
+ echo "#RDS_LOAD=no" >> ${IB_CONF_DIR}/openib.conf
+ fi
+
+ doins "${T}/openib.conf"
+}
+
+pkg_postinst() {
+ einfo "Configuration file installed in /etc/infiniband/openib.conf"
+ einfo "To automatically initialize infiniband on boot, add openib to your"
+ einfo "start-up scripts, like so:"
+ einfo "\`rc-update add openib default\`"
+
+}
diff --git a/sys-fabric/opensm/Manifest b/sys-fabric/opensm/Manifest
new file mode 100644
index 000000000000..742b58d10312
--- /dev/null
+++ b/sys-fabric/opensm/Manifest
@@ -0,0 +1,10 @@
+AUX opensm-3.3.17-norpm.patch 1613 SHA256 f9e73bfd04442f94228028ecbf0f65b49724dea82f9840a196c7790a1b4f0739 SHA512 6728f0463765f95dce6c04cb0c12460050914b56146105c31f5ed4a69de9351c704f02421073843024a01d733eaecd042549eb6b69bb50556b353c2dbc11819f WHIRLPOOL 3d6c3f3b70114474160af0406759a66529f786713568b73f65b86d6c2e8341dce3ef192681f0d14aa5c92838ecd94e3ded66df00d92df523af56a406e987ffb9
+AUX opensm-3.3.17-sldd.patch 541 SHA256 ba2b81c50fe655303b81d065e2aa8ac8688bc7ef2ef363ff7bd936cfbb79e8f5 SHA512 9125578de137f99cb7efbeb9d6f28a415fb0ec4fa8bd25332ea9844470db126e8b5d04bc67f659bc1bd656049311f766fb1d384110de642f8f6f0269e205f602 WHIRLPOOL bafacd91502b308e0fc24653f15524978371c88bb538ceb6882d66f91295b0ca505392352491b32a35c99d2736dd4e85f9fafea3b4c18fb85d4484898a95e9eb
+AUX opensm.conf.d 75 SHA256 9b0999f647f78651ac759a1c6fc9e2648bb5fdb2f4290e32eec6f971b8591b5a SHA512 19f03452eff5134a594a95eeef9397d7b2bf17ce8da9123f7f85a4bc924bc6762db119cbdbf5bd7f91f618acbf08d7e3e4097424bce5d4ba1f5789ec94cd2be2 WHIRLPOOL 86ad8d24aa24c1f974451835aa56d4c60415e6b28f95690f250ba948f52ac06327ce852d2e52e0f8324172169950bdc76df421e3de76a951e01f1490108766a2
+AUX opensm.init.d 521 SHA256 9dd341eeb98814a0951f0f279f246835e25a993dcdc378c5b2851a02fd5dad00 SHA512 c1bb83718455ff0da2fab32946d29015a8af9dbf15bc9c5e9ff197faf7a54d0650008d292371001f7a1b12b50dcb5a78f4c043334a2bef80391be8e08b03e85a WHIRLPOOL 4254a8bcf317c1748fc517090180bd7ca5e041c19aebc35903777057822b1bd8a3bd1798b8b89d8c51e22178e45f4c403f3950cb5d8eec694767e4b72747e37e
+AUX sldd.conf.d 459 SHA256 c032c53111700a70c52145073bacef96be08ac3fb170ceeecdfdb1209cc9b9ab SHA512 d68dd5839db3f193a05f47aaa77d281134a370385c7235b59ac079d9dbc65fbe3292beb82f60a49239d1a308ac384bc7fd71ce5d2ecf5c9b29a182280cf18a35 WHIRLPOOL e776552768070b21d38005714d0605c0fbe2cd014a81db82497e15abd7e93f9311dd59e9df2ecb92ea4d8152144737932db41073aab0303df8aad25c2c4077ca
+AUX sldd.init.d 612 SHA256 baff76bd510867b2fff17ae0a99d8de1c9c641c2bbbe02566d2d98769a1adbf4 SHA512 e939ddd800e9f077aff28e30b1e1a7ffa07b1fe779cb212f34e789b4f2bb421da34fcf5b5c186971ebea9b419e2307bfa02296350451938a48646b3bcac1a882 WHIRLPOOL 95b7f21aa888070304ba15d043efaf04cbb1761582b6ef7f46928592e03dab8abeb8919ca148ffdea80ed0ec096668cfb22fa08c8e5b5852535a7b79f922ed67
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD opensm-3.3.17-r1.ebuild 1368 SHA256 522611ab0a22b5235ceb6b8dcdeaf413f6d6e5dba18b38a9e574a4baa9422038 SHA512 6481509199255b49e7ddbc1cd7947774c564f18eb8cb5df800e02a5148759074dcfe82d3450b817935b43c900edff335faf84c32c831b3d51445a06410a49180 WHIRLPOOL df3358221a7e3835dee21c66e8a065847c1f580faeea985c7b82df26ecccdee3836ed2176fc8417c1266993e1247d23877df19521a1764b03653cf6b0313a228
+MISC ChangeLog 705 SHA256 6c840ef09a46c80caa89ade1243c29904a467d0207749d59a1753da1ef92e8ff SHA512 4293ba113c452c9daf89a139bf7016d947cf879332307291c35d3c82edcb16d4773d37e2a67f779990c198e0a9d77a162550025d530f05256654f16b34b084c7 WHIRLPOOL 15f10999e594aaaf02ebe899f56cbd5afa42f7db03a34f3b72e9f849d6d5ed8ca37a97e96da0ade2aa1152df08fe60df6219282b0e287c1803498c2a3ec0d513
+MISC metadata.xml 579 SHA256 540abf935aa98bad160766edee58cd3cafa41bc8da26ef64d82eba9db49ef237 SHA512 b795ddb33400618477f6deec90e0e45207c85b8d5c2170cb9d2e01745144903dd998a1c01280f2e127ca3d2c7efb2ccc081a783d4c7af5d90a3196241b373803 WHIRLPOOL bbba1637a943ec516e5cf2bdc6a58ae184e6c2e076f94280f11e9e066c498b2c7f6a1ba31783a04acf26b4648c0c281c931e968aa09594f3b9e492da9e6e1053
diff --git a/sys-fabric/opensm/files/opensm-3.3.17-norpm.patch b/sys-fabric/opensm/files/opensm-3.3.17-norpm.patch
new file mode 100644
index 000000000000..1300d923eb7d
--- /dev/null
+++ b/sys-fabric/opensm/files/opensm-3.3.17-norpm.patch
@@ -0,0 +1,32 @@
+--- opensm-3.3.17/configure.in.orig 2014-01-30 23:13:35.000000000 +0400
++++ opensm-3.3.17/configure.in 2014-12-27 02:48:11.264876067 +0300
+@@ -17,11 +17,7 @@
+ [name of the RDMA service: "rdma" when using /etc/init.d/rdma to start RDMA services; "openibd" when using /etc/init.d/openibd to start RDMA services [default=${default_rdma_service}]]))
+ AC_SUBST(RDMA_SERVICE, ${with_rdma_service:-${default_rdma_service}})
+
+-if { rpm -q sles-release || rpm -q openSUSE-release; } >/dev/null 2>&1; then
+- default_stop="0 1 4 6"
+-else
+- default_stop="0 1 6"
+-fi
++default_stop="0 1 6"
+
+ default_start="null"
+
+@@ -282,4 +278,4 @@
+ AC_CONFIG_FILES([man/opensm.8 man/torus-2QoS.8 man/torus-2QoS.conf.5 scripts/opensm.init scripts/redhat-opensm.init scripts/sldd.sh])
+
+ dnl Create the following Makefiles
+-AC_OUTPUT([include/opensm/osm_version.h Makefile include/Makefile complib/Makefile libvendor/Makefile opensm/Makefile osmeventplugin/Makefile osmtest/Makefile opensm.spec])
++AC_OUTPUT([include/opensm/osm_version.h Makefile include/Makefile complib/Makefile libvendor/Makefile opensm/Makefile osmeventplugin/Makefile osmtest/Makefile])
+--- opensm-3.3.17/Makefile.am.orig 2013-02-07 11:46:28.000000000 +0400
++++ opensm-3.3.17/Makefile.am 2014-12-27 02:48:45.133654187 +0300
+@@ -19,7 +19,7 @@
+ doc/partition-config.txt doc/opensm-sriov.txt \
+ doc/opensm_release_notes-3.3.txt
+
+-EXTRA_DIST = autogen.sh opensm.spec $(various_scripts) $(man_MANS) $(docs)
++EXTRA_DIST = autogen.sh $(various_scripts) $(man_MANS) $(docs)
+
+ dist-hook: $(EXTRA_DIST)
+ if [ -x $(top_srcdir)/gen_chlog.sh ] ; then \
diff --git a/sys-fabric/opensm/files/opensm-3.3.17-sldd.patch b/sys-fabric/opensm/files/opensm-3.3.17-sldd.patch
new file mode 100644
index 000000000000..d7eb3ec24b9b
--- /dev/null
+++ b/sys-fabric/opensm/files/opensm-3.3.17-sldd.patch
@@ -0,0 +1,20 @@
+--- opensm-3.3.17/scripts/sldd.sh.in.orig 2013-02-07 11:46:29.000000000 +0400
++++ opensm-3.3.17/scripts/sldd.sh.in 2014-12-27 04:47:24.488636743 +0300
+@@ -42,7 +42,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+
+-CONFIG=@sysconfdir@/sysconfig/opensm
++CONFIG=@sysconfdir@/conf.d/sldd
+ if [ -f $CONFIG ]; then
+ . $CONFIG
+ fi
+@@ -57,7 +57,7 @@
+
+ RCP=${RCP:-/usr/bin/scp}
+ RSH=${RSH:-/usr/bin/ssh}
+-IFCONFIG=${IFCONFIG:-'/sbin/ifconfig -a'}
++IFCONFIG=${IFCONFIG:-'/bin/ifconfig -a'}
+
+ declare -i SLDD_DEBUG
+ RESCAN_TIME=${RESCAN_TIME:-60}
diff --git a/sys-fabric/opensm/files/opensm.conf.d b/sys-fabric/opensm/files/opensm.conf.d
new file mode 100644
index 000000000000..4f0cd49a4bc5
--- /dev/null
+++ b/sys-fabric/opensm/files/opensm.conf.d
@@ -0,0 +1,3 @@
+# Provide OpenSM options here.
+# See man opensm for details
+OSM_OPTIONS=""
diff --git a/sys-fabric/opensm/files/opensm.init.d b/sys-fabric/opensm/files/opensm.init.d
new file mode 100644
index 000000000000..fe2bef134bbe
--- /dev/null
+++ b/sys-fabric/opensm/files/opensm.init.d
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# 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 -- $OSM_OPTIONS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping OpenSM Infiniband Subnet Manager"
+ start-stop-daemon --stop --exec $prog
+ eend $?
+}
+
diff --git a/sys-fabric/opensm/files/sldd.conf.d b/sys-fabric/opensm/files/sldd.conf.d
new file mode 100644
index 000000000000..ee0e88750310
--- /dev/null
+++ b/sys-fabric/opensm/files/sldd.conf.d
@@ -0,0 +1,21 @@
+# Tho following variables will used for sldd.sh
+#
+# You must setup this for sldd to work
+OSM_HOSTS=""
+
+### Optional variables (defaults are commented out)
+
+# Debug level
+#SLDD_DEBUG="0"
+
+# OpenSM cache files
+#CACHE_FILE="/var/cache/opensm/guid2lid:/var/cache/opensm/guid2mkey:/var/cache/opensm/neighbors"
+
+# System calls
+#PING="ping -w 1 -c 1"
+#RCP="/usr/bin/scp"
+#SSH="/usr/bin/ssh"
+#IFCONFIG="/bin/ifconfig -a"
+
+# Delay between hosts scan
+#RESCAN_TIME="60"
diff --git a/sys-fabric/opensm/files/sldd.init.d b/sys-fabric/opensm/files/sldd.init.d
new file mode 100644
index 000000000000..fce2995d2c38
--- /dev/null
+++ b/sys-fabric/opensm/files/sldd.init.d
@@ -0,0 +1,25 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need opensm
+ after net # ip net seems to be needed to perform management.
+}
+
+prog=/usr/sbin/sldd.sh
+pidfile=/var/run/sldd.pid
+
+start() {
+ ebegin "Starting Semi-static LID OpenSM Distribution Manager"
+ start-stop-daemon --start --background --pidfile "${pidfile}" \
+ --make-pidfile --wait 500 --exec $prog
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping OpenSM Infiniband Subnet Manager"
+ start-stop-daemon --stop --pidfile "${pidfile}"
+ eend $?
+}
+
diff --git a/sys-fabric/opensm/metadata.xml b/sys-fabric/opensm/metadata.xml
new file mode 100644
index 000000000000..e2e73452a40a
--- /dev/null
+++ b/sys-fabric/opensm/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+ <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>
+<use>
+ <flag name="tools">Install ssld extra tool</flag>
+</use>
+</pkgmetadata>
diff --git a/sys-fabric/opensm/opensm-3.3.17-r1.ebuild b/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
new file mode 100644
index 000000000000..6c66e3edf0e5
--- /dev/null
+++ b/sys-fabric/opensm/opensm-3.3.17-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit autotools eutils openib
+
+DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="tools"
+
+DEPEND="
+ sys-fabric/libibmad:${SLOT}
+ sys-fabric/libibumad:${SLOT}"
+RDEPEND="$DEPEND
+ tools? (
+ net-misc/iputils
+ net-misc/openssh
+ )"
+block_other_ofed_versions
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-norpm.patch"
+ epatch "${FILESDIR}/${P}-sldd.patch"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-perf-mgr \
+ --enable-default-event-plugin \
+ --with-osmv="openib"
+}
+
+src_install() {
+ default
+ newconfd "${FILESDIR}/opensm.conf.d" 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"
+
+ if use tools; then
+ dosbin scripts/sldd.sh
+ newconfd "${FILESDIR}/sldd.conf.d" sldd
+ newinitd "${FILESDIR}/sldd.init.d" sldd
+ fi
+}
+
+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\`"
+}
diff --git a/sys-fabric/perftest/Manifest b/sys-fabric/perftest/Manifest
new file mode 100644
index 000000000000..e21db3e9e10c
--- /dev/null
+++ b/sys-fabric/perftest/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD perftest-2.0.ebuild 514 SHA256 ca1132a6da57f4073342f1a141f07034781dfbbe4909dae5077876d34453023d SHA512 eb0ad2ba385631be72bc8c701d7438854e109138de681ce0e7a26a07eb2ac2101af7310161fd478db11fbdf6c347127261f4f27d996981412d402382afd42278 WHIRLPOOL e0e9de43e538898423ff1e21c312a0dfd08530920955e4fa5913511c0fe136cc79f0241b4a9b746d7bf27962b26a1c8373f9f1f73499c68fa0be45dfb3497587
+MISC ChangeLog 545 SHA256 c07d59f91caae644520c472a97ef4975565b25ca362c17897e96b25b1ceb9162 SHA512 5a7cdeb8e9aa2dd0bf29bf69f080c8d2873c23872431022405adeba43b9d1779cd281ee7a045003c77de90f186cc1ceb4203246df54c2636f36bea22c66cd480 WHIRLPOOL 34a62fe6034c654ecb9f50882c511aac48531bc6967b5dfa74ba2feddc479760ec6992eb70e61cf2e0c2314cca8582e76a45b66a0e74a855a4d2b72bb8028297
+MISC metadata.xml 327 SHA256 0221a3d491f9c81d41c721d44047f6901cdb1627938f800ea286d7873a79e3bc SHA512 42cb3b712d0cf6f8b4b960092cd1fa5d52147a118cd7da3b9b0308229ef1d780757ea7d1d3805a050a377daa246340902727e6b1c7ad8aa311ebcfe7dacd29b8 WHIRLPOOL 23e6731ecd19425b08bdae60170b0b9bfa91aa396eabfc980b978f2ad5ce0bedbc61c330b5d149bad7ba4ab87f3ca7f811af8d64da62b4f17c82ef11e62535bc
diff --git a/sys-fabric/perftest/metadata.xml b/sys-fabric/perftest/metadata.xml
new file mode 100644
index 000000000000..9d257e102d27
--- /dev/null
+++ b/sys-fabric/perftest/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+ <longdescription>
+OpenIB uverbs micro-benchmarks.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/perftest/perftest-2.0.ebuild b/sys-fabric/perftest/perftest-2.0.ebuild
new file mode 100644
index 000000000000..2f4472806e30
--- /dev/null
+++ b/sys-fabric/perftest/perftest-2.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="0.80.g54c73c6"
+OFED_SNAPSHOT="1"
+
+inherit openib
+
+DESCRIPTION="OpenIB uverbs micro-benchmarks"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibverbs:${SLOT}
+ sys-fabric/libibumad:${SLOT}
+ sys-fabric/librdmacm:${SLOT}"
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
+
+src_install() {
+ dodoc README runme
+ dobin ib_*
+}
diff --git a/sys-fabric/qperf/Manifest b/sys-fabric/qperf/Manifest
new file mode 100644
index 000000000000..8a8c4a3c87ff
--- /dev/null
+++ b/sys-fabric/qperf/Manifest
@@ -0,0 +1,4 @@
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD qperf-0.4.9.ebuild 427 SHA256 3e13c224c5611e2860f04872b34a77b0541059ebafbddb144feabdd536f8e460 SHA512 9fcdbf393f95200b381e046892582b3fcb83aeca032a6ba7bd38b1e64957cadff3c9c704986c29120cb272c902cb587ab9b7ceeaccdf3d83d5504bb18db22816 WHIRLPOOL f6a401717d8eeb129e3e5ec5b5c0006c97fef8dcabf8ec9686f8489ed6e2a9a79e7a1b951a36300e58d70dadd0ece9fd6aa2277a928e469d1c10a7931900bac9
+MISC ChangeLog 340 SHA256 05b79ee71a8146d2df4eee0c0924c6e4b6bc4d45fc7c69bc15f8abdb3de02046 SHA512 cd734e298f9757bc8102daf7a5569c06c8aa65074931348930b4570d13d0fa70c092fd3af4b771d8630496a7304fe50f8fcc2f6b42658ea184469dc49761085e WHIRLPOOL 9834eaa7a3381cd8a83b137e8bcce1b297f279cbb4411b5c49bb2afe94fb760833f36245509fa1bdfeee5a8f97c1afbbc9d410640362de2527d4cb6f59779e25
+MISC metadata.xml 519 SHA256 e8d01850d63eca0970187502785662894071a6f6eeef38f471ec1505780dc504 SHA512 bb0e324624f5753a5641acbaa5703744ad4da0860c9adc55a420b198a15c969db8d92d2dabe5dff569244ebb95955e9c6bbf4f02558af598f732f78058f8351e WHIRLPOOL 9ac012d3ffae0f16f04868eafdd7247f6976ba9ce9901379df0148ef0ce489ab03c4c105e201b8f9ea8244d2ab09fe5db2381506eb217c91b6fc1ca8ecf5993c
diff --git a/sys-fabric/qperf/metadata.xml b/sys-fabric/qperf/metadata.xml
new file mode 100644
index 000000000000..98dc6c52bb2c
--- /dev/null
+++ b/sys-fabric/qperf/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+libibverbs is a library that allows programs to use InfiniBand "verbs"
+for direct access to IB hardware from userspace. For more information
+on verbs, see the InfiniBand Architecture Specification vol. 1,
+especially chapter 11.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/qperf/qperf-0.4.9.ebuild b/sys-fabric/qperf/qperf-0.4.9.ebuild
new file mode 100644
index 000000000000..c7ea857b60f7
--- /dev/null
+++ b/sys-fabric/qperf/qperf-0.4.9.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="Measure RDMA and IP performance"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibverbs:${SLOT}
+ sys-fabric/librdmacm:${SLOT}
+ "
+RDEPEND="
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
diff --git a/sys-fabric/rds-tools/Manifest b/sys-fabric/rds-tools/Manifest
new file mode 100644
index 000000000000..56c8e6d14637
--- /dev/null
+++ b/sys-fabric/rds-tools/Manifest
@@ -0,0 +1,5 @@
+AUX rds-tools-2.0.4-qa.patch 1678 SHA256 7b13ace9767ee025d50d24068a360f2d5c1370c93b58fd361de6725afbe33373 SHA512 cfd38dbfc2790fc2859ec1655901b3f8de28b5dbccabe3ee895cf620b9da1559a9f036d1af51abbd4f4c64a31dc96a86a4c773c2df861ba561f8a3edbfb21ad4 WHIRLPOOL f80425476b6a593f73fe98dfaa8b0da4c1caf7144dd17f511bfa67f74d623ab2af92f3c47a100b008a76619c6a1be39bd0eb084fea2ce37824a30e7538aec979
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD rds-tools-2.0.4-r3.ebuild 506 SHA256 55615c16ef966a272943b47f7ab4a3cbd8351df42b480113c323a6f8fb2b9c7d SHA512 a89d78351f9301cb2b7d4092fb90f5db0ec90abf4d43b110a87b6889448b9d935705951e161e23640b2f5635a6ec0a9848c020f71c00747bdce17109d1c2a8a6 WHIRLPOOL df785cb5e4f950e0c44a86ad36c54b1e0046464b3e9a2c14d1987658d679f578451044e2dd4b41ae216977b78aba99845b7be9fdb03a3bfcfa9ba01301ec71de
+MISC ChangeLog 605 SHA256 a27dd1ee90ca4257902ec502a42ac3ff6041885eb69e3ec9bb7e1b95f7e8b258 SHA512 31ddd6b528a63b9f859eeb5b821dee24e96a8f60629fb8bf0d97fb855d2c5a746a57c816a6c4762fad7769934d9d5897a2b4bdc464711edbfa85de8cb8888324 WHIRLPOOL f21481850da5d0ed6e79932984f6b702f8a315a57474e4c81fcea2cd02bd8acb18a3036e481bdc41fda1adfb10e0cf9043941d6a63e24d43f783978eb185a929
+MISC metadata.xml 517 SHA256 dad5cd0099eb3fb5b9e1326966f59d4576599f53ccc7ae0d37c944a0575c72de SHA512 b4660bcb112426f8c8e785c68b64c85fd5155917405d72271bdc418821c542eb8e0bc2cb16740188851d75820d25d580a9edf4a3a35715a709b84d0134b4b2a4 WHIRLPOOL ce809904f57a5e17d23302da1ee6c984a77b21e18973c1911f43a1e0c34182506a6254020cb9a22d578f52f578b53eebbc968a34b9be1408bcb352994b5f309f
diff --git a/sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch b/sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch
new file mode 100644
index 000000000000..0a8e1a575c4a
--- /dev/null
+++ b/sys-fabric/rds-tools/files/rds-tools-2.0.4-qa.patch
@@ -0,0 +1,59 @@
+Respect CC,CFLAGS, fix install paths, don't strip binaries
+
+https://bugs.gentoo.org/show_bug.cgi?id=374805
+--- Makefile.in
++++ Makefile.in
+@@ -1,12 +1,15 @@
+-prefix = $(DESTDIR)@prefix@
+-exec_prefix = $(DESTDIR)@exec_prefix@
+-bindir = $(DESTDIR)@bindir@
+-mandir = $(DESTDIR)@mandir@
+-incdir = $(DESTDIR)@includedir@
++bindir = @bindir@
++exec_prefix = @exec_prefix@
++includedir = @includedir@
++libdir = @libdir@
++mandir = @mandir@
++mkdir_p = @mkdir_p@
++prefix = @prefix@
++INSTALL = /usr/bin/install
+
+ all: all-programs
+
+-CFLAGS = -O2 -Wall -Iinclude
++CFLAGS += -Wall -Iinclude
+ CPPFLAGS = -DDEBUG_EXE -DRDS_VERSION=\"@VERSION@\" -MD -MP -MF $(@D)/.$(basename $(@F)).d
+
+ HEADERS = kernel-list.h pfhack.h include/rds.h
+@@ -29,14 +32,14 @@
+ all-programs: $(PROGRAMS)
+
+ install: $(PROGRAMS)
+- install -d $(bindir)
+- install -m 555 -s $(PROGRAMS) $(bindir)
+- install -d $(mandir)/man1
+- install -d $(mandir)/man7
+- install -m 644 *.1 $(mandir)/man1
+- install -m 644 *.7 $(mandir)/man7
+- install -d $(incdir)/net
+- install -m 444 include/rds.h $(incdir)/net
++ $(INSTALL) -d $(DESTDIR)$(bindir)
++ $(INSTALL) -m 555 $(PROGRAMS) $(DESTDIR)$(bindir)
++ $(INSTALL) -d $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -d $(DESTDIR)$(mandir)/man7
++ $(INSTALL) -m 644 *.1 $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -m 644 *.7 $(DESTDIR)$(mandir)/man7
++ $(INSTALL) -d $(DESTDIR)$(includedir)/net
++ $(INSTALL) -m 444 include/rds.h $(DESTDIR)$(includedir)/net
+
+ clean:
+ rm -f $(PROGRAMS) $(CLEAN_OBJECTS)
+@@ -47,7 +50,7 @@
+
+
+ $(PROGRAMS) : % : %.o $(COMMON_OBJECTS)
+- gcc $(CFLAGS) $(LDFLAGS) -o $@ $^
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+ LOCAL_DFILES := $(wildcard .*.d)
+ ifneq ($(LOCAL_DFILES),)
diff --git a/sys-fabric/rds-tools/metadata.xml b/sys-fabric/rds-tools/metadata.xml
new file mode 100644
index 000000000000..b52d7d3385ae
--- /dev/null
+++ b/sys-fabric/rds-tools/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+</maintainer>
+<longdescription>
+uDAPL is a transport neutral infrastructure that provides RDMA capabilities in
+user space. It is the user space component of DAPL, the Direct Access Provider
+Library for RDMA transports. See http://www.datcollaborative.org/
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild b/sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild
new file mode 100644
index 000000000000..da72dec73f49
--- /dev/null
+++ b/sys-fabric/rds-tools/rds-tools-2.0.4-r3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit base openib toolchain-funcs
+
+DESCRIPTION="OpenIB userspace rds-tools"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="sys-fabric/libibverbs:${SLOT}"
+RDEPEND="${DEPEND}
+ !sys-fabric/openib-userspace"
+block_other_ofed_versions
+
+DOCS=( README )
+PATCHES=( "${FILESDIR}"/${P}-qa.patch )
+
+pkg_setup() {
+ tc-export CC
+}
diff --git a/sys-fabric/srptools/Manifest b/sys-fabric/srptools/Manifest
new file mode 100644
index 000000000000..dd108bfdf01e
--- /dev/null
+++ b/sys-fabric/srptools/Manifest
@@ -0,0 +1,5 @@
+AUX srpd.initd 797 SHA256 c863d2a8e15e70428cee82cd7b1d7f256d103c4d7f1eca23fad33fa7c73931c6 SHA512 eb9b1ea587c4bc96ba6fb8a730e9c434f911d481962de7964eca9168e353f3803eb17553e3095ddb1cbd9b83a660ef4286c737c2d654588990fda6c65a5ba0cb WHIRLPOOL 7784113c13682901195408c9eb0ac0ee115196e52e23a27bf66d5806fe5e9f623b79dece20e6300410e306067c63d15ac841959e2bbfbcebf8e8b3d359a2a8ec
+DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
+EBUILD srptools-1.0.2.ebuild 520 SHA256 89093456d151bf80fd73633c530fb22c66c954303c936d8d6cb50359c83dd504 SHA512 81f568a7b775726558514a7d58ef8a741e8c3a3a382189baafdcfee0d89ee5e7dd6e1889aea99ecfcc460c656b43427ed4f47f4f836402542858f43ab982a1eb WHIRLPOOL e9a5a79363eeff9929edf6a433091edeb1cbcc00809c69f7476a22f1f915de46ab59801bb54ba4bafcc9762ec0758421317b477736946fdc9d526af1694210e9
+MISC ChangeLog 577 SHA256 be8c93bd40b9b24a8e5760e7e225356f4dbbdecc66cb6c793a22fb5d31d72b85 SHA512 0a1cc05fc2b0282e9c610402ec3440a4a94e1c31bc86e33b3b18ca4abd9803f199752add45b3c83aeb406f88906952723159478d5523d06494693e0aa3a3b7a4 WHIRLPOOL 35ebd5293b76ac6c229c71eeebbcb0537f3232162eec20405b19cdad7de7c8409d191dad052c6d4c8176efd0ac92efe73acbb1a8e23a546c2f271550d78d603d
+MISC metadata.xml 527 SHA256 616b264b527051d4774d7b07d5779990f72f7eb0fc2739fb275acc6dec997158 SHA512 27ae66a797f390de6e188a584b6e0714e5ebb2c4b784b7ce708830f8503d7f3fa0df0824ae22f97d6e00ca61328c7730155fc09a606486f83da1aa191e82b1f2 WHIRLPOOL efe4fdabf16b687d0cdcad072d83c3f283b06916755eaa8f4fe1e7085fffb3a3de9d37a0a5e67da932992c43aed2727a9da4ca0bdfca5751fd9a23959e92555b
diff --git a/sys-fabric/srptools/files/srpd.initd b/sys-fabric/srptools/files/srpd.initd
new file mode 100644
index 000000000000..a43d09bfb2a4
--- /dev/null
+++ b/sys-fabric/srptools/files/srpd.initd
@@ -0,0 +1,41 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="SCSI RDMA Protoaemon daemon"
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if ! modinfo ib_srp > /dev/null 2>&1 ; then
+ eerror "ib_srp module not found!"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig
+ ebegin "Loading ib_srp module"
+ modprobe ib_srp
+ eend $?
+ ebegin "Starting srp_daemon"
+ start-stop-daemon \
+ --start \
+ --background \
+ --make-pidfile \
+ --pidfile ${SRP_DAEMON_PID:-/var/run/srpd.pid} \
+ --exec /usr/sbin/srp_daemon -- ${SRP_DAEMON_OPTS:- -e -R 60}
+ eend $?
+
+}
+
+stop() {
+ ebegin "Stopping srp_daemon"
+ start-stop-daemon --stop --pidfile ${SRP_DAEMON_PID:-/var/run/srpd.pid}
+ eend $?
+ ebegin "Unloading ib_srp module"
+ rmmod ib_srp
+ eend $?
+}
diff --git a/sys-fabric/srptools/metadata.xml b/sys-fabric/srptools/metadata.xml
new file mode 100644
index 000000000000..785fc5394edb
--- /dev/null
+++ b/sys-fabric/srptools/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+ <longdescription>
+srptools is a package of tools for discovering and connecting to SRP
+SCSI targets on InfiniBand fabrics. These targets can be accessed
+with the InfiniBand SRP initiator module, "ib_srp," included in Linux
+kernels 2.6.15 and newer.
+</longdescription>
+</pkgmetadata>
diff --git a/sys-fabric/srptools/srptools-1.0.2.ebuild b/sys-fabric/srptools/srptools-1.0.2.ebuild
new file mode 100644
index 000000000000..77e973a9a90d
--- /dev/null
+++ b/sys-fabric/srptools/srptools-1.0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+OFED_VER="3.12"
+OFED_RC="1"
+OFED_RC_VER="1"
+OFED_SUFFIX="1"
+
+inherit openib
+
+DESCRIPTION="Tools for discovering and connecting to SRP CSI targets on InfiniBand fabrics"
+
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE=""
+
+DEPEND="
+ sys-fabric/libibverbs:${SLOT}
+ sys-fabric/libibumad:${SLOT}
+ "
+RDEPEND="${DEPEND}"
+block_other_ofed_versions
+
+src_install() {
+ default
+ newinitd "${FILESDIR}/srpd.initd" srpd
+}