aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2011-07-01 02:13:40 +0400
committerAlexey Shvetsov <alexxy@gentoo.org>2011-07-01 02:13:40 +0400
commit985201fc0db02a931587134604849ff5c3a10d7a (patch)
tree4f34e784ae608562db6c2a72f91d33adb43af203 /sys-infiniband/openib-drivers
parent[sys-infiniband/srptools] Fix ofed suffix (diff)
downloadsci-985201fc0db02a931587134604849ff5c3a10d7a.tar.gz
sci-985201fc0db02a931587134604849ff5c3a10d7a.tar.bz2
sci-985201fc0db02a931587134604849ff5c3a10d7a.zip
Keep old stuff here for some time
(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key F82F92E6)
Diffstat (limited to 'sys-infiniband/openib-drivers')
-rw-r--r--sys-infiniband/openib-drivers/Manifest20
-rw-r--r--sys-infiniband/openib-drivers/openib-drivers-1.2.5.1.ebuild220
2 files changed, 14 insertions, 226 deletions
diff --git a/sys-infiniband/openib-drivers/Manifest b/sys-infiniband/openib-drivers/Manifest
index 438454834..2cc9e848b 100644
--- a/sys-infiniband/openib-drivers/Manifest
+++ b/sys-infiniband/openib-drivers/Manifest
@@ -1,18 +1,26 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX openib 26019 RMD160 982d998e407973205b268311cf653650208338e6 SHA1 a0e88afc64cea2d33952783440bf65810527e265 SHA256 0dce134380e646be283ab406758ec07ee162a6d0504ef81373bb8f3a39ab6208
AUX openib.modprobe 350 RMD160 a40e8656ee1bdfc26a86b65aa3eaf5553a93b7b8 SHA1 623adbeccde3e88ce2c39d113a409c4d14091f0d SHA256 32054c7ee7caffc21ed320a9be5d0c2cd85e51295c0515521373d658f55ee68e
-DIST OFED-1.2.5.1.tgz 46256516 RMD160 b19f1917b32b7b15db75aace6ed433d57dc98fc5 SHA1 9a1ff30c97c94352f70e52d7cc31328013bea1b7 SHA256 41c6408135d8707d05bef8aa0a4ec548ae64ec010224e3b38746ab6f5c1e9b78
DIST OFED-1.2.5.5.tgz 46432282 RMD160 f5829858fca521d8675af1245d4764eeb87ff08d SHA1 faa027109b56583207eca9fd736164517acf7120 SHA256 ffb990b22d7b0f25026d9fe785aa97ca5920b5a0e620851deb057b9b83bbf907
-EBUILD openib-drivers-1.2.5.1.ebuild 6406 RMD160 993261ee5cdf68e55fb91a4b08903a829239030e SHA1 ac9b3efa7f698da60c41faf4de45f6933a25da57 SHA256 e14bd98547359c99899e410d57703d7619a33065ba36ebf58677b8e098281ae8
EBUILD openib-drivers-1.2.5.5.ebuild 3939 RMD160 386b8c0e89121fe3ec33d0eb01d627166d887608 SHA1 f2e5b09a1d4fbb1b6b1113db08b778184ac704c8 SHA256 36b582159684760c9d6f990bb729ae3e85c173f0f6ccdd9d02a5ae54cd34232c
MISC ChangeLog 895 RMD160 6263ab0ef045e071ca9d22b36c056668b31d5b54 SHA1 a513ed90637419a9a51ffed37d25909430a17646 SHA256 1861f1f31364b459b68a2d62975861c0b87c234fdb8e419ab24d7174fc16c43e
MISC metadata.xml 1231 RMD160 4473f9d2a46305a1041a636b5ac79625796c878f SHA1 86189fe137f400954955e6b6b63130169755a206 SHA256 878c33613ae2619fb930ac5e83d747b56789895d585184196386da8ca708a86e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4EuvwACgkQgAnW8HDreRbO3gCgkN54yJedzZEYTwvIem7ZkMrq
-mTUAoKWudMiqLc7xNW7sFuRftJ9/E5Ck
-=4FlU
+iQIcBAEBCAAGBQJODPUUAAoJEOf+E+/4L5LmOAgP/38NpPPm8hlXw4HFEpviLqNV
+xk8W4XBriz0diNJ6U/cUQTE6dSXJfvP8UJDSZc+4fwJREaHyucT6R8Ewekby143q
+4h1WRMqSr1DqQGASM6FyOfTNBS4OPnN982rF/tNkHOkXZQnIMMsVkyJyPIPpOuu9
+SHtyRiJVbJqIskrBCpxLPC+JlEC2MlLXLs6FRgjeNLpnffulCkDZCLRtNn2MEhb/
+bFrY1rV4ZXIRI37WFDOMG5ifO03WdR2PekoZjXeF+94uxdekIQDoH85wszmyhrdb
+DnvP6PCeN+VisFehTA/kcrKS+af/T5BRxHrp6LlpRPUobUXNqBNltDcLZyRitv2F
+P5Aawl/LDfJklHwZokKi4COYX8/+GEpbOMcn4wuIaWSgzgpONBgGnH4sZs9mzFkD
+ivr4SKhYlyXbKaW9lVNdIfhUfcehlVRkDVPfhA/6bHLq4caqU543nr5M6j1jvVyF
+8A25mYyOd161AHQcwVUXi8edyp1Z9odq/8l8Un1047kkcpij69HavGFb/CJ3g3Dr
+GkBu8bNxAqLy1CeOEHb5qgAMk797UYX5Kf+Mw0OS5789kE5uDPFFw6CttCpH0XN1
+spGWmSD/oiSI7h68hA/yiMkqKlsfkCsfKz0qEwmFwv6df/Co6G99d7w04xkXoSWf
+JyPWO+kbuT7wLEFgHKyY
+=/p3G
-----END PGP SIGNATURE-----
diff --git a/sys-infiniband/openib-drivers/openib-drivers-1.2.5.1.ebuild b/sys-infiniband/openib-drivers/openib-drivers-1.2.5.1.ebuild
deleted file mode 100644
index e639e72d9..000000000
--- a/sys-infiniband/openib-drivers/openib-drivers-1.2.5.1.ebuild
+++ /dev/null
@@ -1,220 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit linux-mod rpm
-
-DESCRIPTION="OpenIB kernel modules"
-HOMEPAGE="http://www.openfabrics.org/"
-SHORT_PV=${PV%\.[^.]}
-SRC_URI="http://www.openfabrics.org/builds/ofed-${SHORT_PV}/release/OFED-${PV}.tgz"
-MY_P="OFED-${PV}"
-S="${WORKDIR}/ofa_kernel-${PV}"
-
-LICENSE="|| ( GPL-2 BSD-2 )"
-SLOT="0"
-
-KEYWORDS="~x86 ~amd64"
-IUSE="cxgb3 debug ehca hpage-patch ipath iser madeye memtrack rds srp vnic"
-
-RDEPEND=""
-DEPEND="${RDEPEND}
- virtual/linux-sources
- !sys-infiniband/openib-files"
-
-pkg_setup() {
-
- CONFIG_CHECK="!INFINIBAND PCI"
- ERROR_INFINIBAND="Infiniband is already compiled into the kernel."
- ERROR_PCI="PCI must be enabled in the kernel."
-
- linux-mod_pkg_setup
-}
-
-src_unpack() {
- unpack ${A} || die "unpack failed"
- rpm_unpack ${MY_P}/SRPMS/ofa_kernel-${PV}-0.src.rpm
- tar xzf ofa_kernel-${PV}.tgz
-}
-
-make_target() {
- local myARCH="${ARCH}" myABI="${ABI}"
- ARCH="$(tc-arch-kernel)"
- ABI="${KERNEL_ABI}"
-
- emake HOSTCC=$(tc-getBUILD_CC) CC=$(get-KERNEL_CC) $@ \
- || die "Unable to run emake $@"
-
- ARCH="${myARCH}"
- ABI="${myABI}"
-}
-
-src_compile() {
- convert_to_m Makefile
-
- export CONFIG_INFINIBAND="m"
- export CONFIG_INFINIBAND_IPOIB="m"
- export CONFIG_INFINIBAND_SDP="m"
- export CONFIG_INFINIBAND_SRP="m"
-
- export CONFIG_INFINIBAND_USER_MAD="m"
- export CONFIG_INFINIBAND_USER_ACCESS="m"
- export CONFIG_INFINIBAND_ADDR_TRANS="y"
- export CONFIG_INFINIBAND_MTHCA="m"
- export CONFIG_INFINIBAND_IPATH="m"
-
- CONF_PARAMS="--prefix=${ROOT}usr --kernel-version=${KV_FULL}
- --with-core-mod
- --with-ipoib-mod
- --with-ipoib-cm
- --with-sdp-mod
- --with-user_mad-mod
- --with-user_access-mod
- --with-addr_trans-mod
- --with-mthca-mod"
- CONF_PARAMS="$CONF_PARAMS
- $(use_with srp)-mod
- $(use_with ipath)_inf-mod
- $(use_with iser)-mod
- $(use_with ehca)-mod
- $(use_with rds)-mod
- $(use_with madeye)-mod
- $(use_with vnic)-mod
- $(use_with cxgb3)-mod"
- if use debug; then
- CONF_PARAMS="$CONF_PARAMS
- --with-mthca_debug-mod
- --with-ipoib_debug-mod
- --with-sdp_debug-mod
- $(use_with srp)_debug-mod
- $(use_with rds)_debug-mod
- $(use_with vnic)_debug-mod
- $(use_with cxgb3)_debug-mod"
- else
- CONF_PARAMS="$CONF_PARAMS
- --without-mthca_debug-mod
- --without-ipoib_debug-mod
- --without-sdp_debug-mod"
- fi
- ebegin "Configuring"
- local myARCH="${ARCH}" myABI="${ABI}"
- ARCH="$(tc-arch-kernel)"
- ABI="${KERNEL_ABI}"
- ./configure ${CONF_PARAMS} ${EXTRA_ECONF} \
- || die "configure failed with options: ${CONF_PARAMS}"
- ARCH="${myARCH}"
- ABI="${myABI}"
- eend
-
- #sed -i '/DEPMOD.*=.*depmod/s/=.*/= :/' ./Makefile
- #grep DEPMOD Makefile
-
- make_target
-}
-
-src_install() {
-
- make_target DESTDIR="${D}" install
-
- insinto /usr/include/rdma
- doins "${S}/include/rdma/*.h"
- insinto /usr/include/scsi
- doins "${S}/include/scsi/*.h"
-
- insinto /etc/udev/rules.d
- newins "${S}/ofed_scripts/90-ib.rules" 40-ib.rules
- insinto /etc/modules.d
- newins "${FILESDIR}/openib.modprobe" openib
- insinto /etc/infiniband
-
- doinitd "${FILESDIR}/openib"
-
- # build openib.conf based on ofed_scripts/ofa_kernel.spec
- build_ipoib=1
- build_sdp=1
- cp "${S}/ofed_scripts/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 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 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 (( 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() {
-
- linux-mod_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\`"
-
-}