summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2016-06-29 17:51:15 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2016-06-30 01:32:47 +0300
commit2174b99106b4796b65aab64e4035ca17bf78c4dc (patch)
tree9c05d91c11809b8704270851793bf0a14859fc6a /sys-fabric/ofed
parentAdapt sys-infiniband to sys-fabric move (diff)
downloadgentoo-2174b99106b4796b65aab64e4035ca17bf78c4dc.tar.gz
gentoo-2174b99106b4796b65aab64e4035ca17bf78c4dc.tar.bz2
gentoo-2174b99106b4796b65aab64e4035ca17bf78c4dc.zip
sys-fabric: drop old ofed-3.5
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'sys-fabric/ofed')
-rw-r--r--sys-fabric/ofed/Manifest1
-rw-r--r--sys-fabric/ofed/ofed-3.5.ebuild158
2 files changed, 0 insertions, 159 deletions
diff --git a/sys-fabric/ofed/Manifest b/sys-fabric/ofed/Manifest
index ca457c585395..a6c7bd74e5e8 100644
--- a/sys-fabric/ofed/Manifest
+++ b/sys-fabric/ofed/Manifest
@@ -1,2 +1 @@
DIST OFED-3.12-rc1.tgz 22055476 SHA256 14ca8a2b0d68e3ee9a37f475fa9eecd9a5ffd6055135f9d4d9db8319843a94dc SHA512 9f834d6982ab7e8ab47a8b5c958ab2e4c238ef983e47798e7f06655f69672ea1e996297939b381f26ed8c39552f6e62156173d5ddd2f0a7b6cad6aecdd973944 WHIRLPOOL 5a64b1d952890ea0e72e0ca93654a0fabc8f871475b05fcbe3b214ddfe4836f6b92d4fbc9e0f0d79acfe69d8c8d219b2c467c23654021e23eaf85ae6825ea4a9
-DIST OFED-3.5-rc2.tgz 18600237 SHA256 b267cea49bf72790843e6b08e26c10a6954d7736a8b93deed1e632772f4f5fff SHA512 deb83c3417ac60bd5d4c6ac1cadf93d6a34a55ca58365b54bb0c3a8230ba6a7f13e0257515dac0170cc4ab46b558519c86e6c01f7fa49550162feed0b0ea2e89 WHIRLPOOL e6843593fbe4937ffcf600be9cb3dee78e14cbeb4c411a4b64076b1194653cbcb9d4bc6cbd52ad77ac9c6b14d4dd2cdafa4364bfe6924b55896844042aa4d9cd
diff --git a/sys-fabric/ofed/ofed-3.5.ebuild b/sys-fabric/ofed/ofed-3.5.ebuild
deleted file mode 100644
index 0bd95bf18a11..000000000000
--- a/sys-fabric/ofed/ofed-3.5.ebuild
+++ /dev/null
@@ -1,158 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-OFED_VER="3.5"
-OFED_RC="1"
-OFED_RC_VER="2"
-OFED_SUFFIX="OFED.3.5.rc2"
-
-IUSE_OFED_DRIVERS="
- ofed_drivers_cxgb3
- ofed_drivers_cxgb4
- ofed_drivers_ehca
- ofed_drivers_ipath
- ofed_drivers_mlx4
- ofed_drivers_mthca
- ofed_drivers_nes
- ofed_drivers_psm"
-
-inherit openib udev toolchain-funcs
-
-DESCRIPTION="OpenIB system files"
-SCRIPTDIR="${S}/ofed_scripts"
-KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="compat-dapl dapl +diags ibacm mstflint +opensm perftest rds sdp 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}
- compat-dapl? ( sys-fabric/compat-dapl:${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} )
- srp? ( sys-fabric/srptools:${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_mthca? ( sys-fabric/libmthca:${SLOT} )
- ofed_drivers_nes? ( sys-fabric/libnes:${SLOT} )
- ofed_drivers_psm? ( sys-fabric/infinipath-psm:${SLOT} )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- "
-
-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
- build_sdp=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 (( build_sdp )); then
- echo >> ${IB_CONF_DIR}/openib.conf
- echo "# Load SDP module" >> ${IB_CONF_DIR}/openib.conf
- echo "#SDP_LOAD=yes" >> ${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 iser; then
- echo >> ${IB_CONF_DIR}/openib.conf
- echo "# Load ISER module" >> ${IB_CONF_DIR}/openib.conf
- echo "#ISER_LOAD=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
- if use vnic; then
- echo >> ${IB_CONF_DIR}/openib.conf
- echo "# Load VNIC module" >> ${IB_CONF_DIR}/openib.conf
- echo "#VNIC_LOAD=yes" >> ${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\`"
-
-}