# Copyright (C) 2007 Platform Computing Inc # # This program is free software; you can redistribute it and/or modify # it under the terms of version 2 of the GNU General Public License as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA # # # Summary: Platform OFED Component Name: component-Platform-OFED-v1_4 Version: 1.4 Release: 9 License: Kit is GPL. OpenIB.org is BSD license Group: System Environment/Base Vendor: Platform Computing Corporation BuildArchitectures: noarch BuildRoot: %{_tmppath}/%{name}.%{version}-buildroot # Use Exact versions to allow different versions of this kit to co-exist Requires: dapl = 2.0.15 # Conflicts if installing compat-dapl-utils and dapl-utils (dapltest/dtest) #Requires: dapl-utils = 2.0.15 Requires: gcc Requires: compat-dapl = 1.2.12 Requires: compat-dapl-utils = 1.2.12 Requires: ibsim = 0.5 Requires: ibutils = 1.2 Requires: ibvexdmtools = 0.0.1 Requires: infiniband-diags = 1.4.4_20081207 #Requires: iscsi-initiator-utils = 2.0 #Requires: ofa_kernel = 1.4 #Requires: ofa_kernel-kmp-smp = 1.4 Requires: ofa_kernel Requires: ofa_kernel-kmp-smp Requires: libcxgb3 = 1.2.2 Requires: libibcm = 1.0.4 Requires: libibcommon = 1.1.2_20081020 Requires: libibcommon-static = 1.1.2_20081020 Requires: libibmad = 1.2.3_20081118 Requires: libibmad-static = 1.2.3_20081118 Requires: libibumad = 1.2.3_20081118 Requires: libibumad-static = 1.2.3_20081118 Requires: libibverbs = 1.1.2 Requires: libibverbs-utils = 1.1.2 Requires: libibverbs-devel = 1.1.2 Requires: libipathverbs = 1.1 Requires: libmlx4 = 1.0 Requires: libmthca = 1.0.5 Requires: libnes = 0.5 Requires: librdmacm = 1.0.8 Requires: librdmacm-utils = 1.0.8 Requires: libsdp = 1.1.99 Requires: mpi-selector = 1.0.2 Requires: mstflint = 1.4 Requires: ofed-docs = 1.4 Requires: ofed-scripts = 1.4 Requires: ofed-src = 1.4 #Requires: open-iscsi = 2.0 Requires: opensm-libs = 3.2.5_20081207 Requires: perftest = 1.2 Requires: qlvnictools = 0.0.1 Requires: qlgc_vnic_daemon = 0.0.1 Requires: qperf = 0.4.2 Requires: sdpnetstat = 1.60 Requires: srptools = 0.0.4 Requires: tvflash = 0.9.0 # For post section #Requires: component-base-node #Requires: kusu-core Requires: pciutils Requires: coreutils Requires: grep Requires: net-tools Requires: module-init-tools Requires: procps Requires: util-linux Requires: iproute2 Requires: multipath-tools Requires: sysconfig Requires: net-tools Requires: util-linux Requires: aaa_base %description This package is a meta package for OFED packages %prep %pre %install rm -rf $RPM_BUILD_ROOT /usr/bin/install -d $RPM_BUILD_ROOT/etc/rc.kusu.d/ /usr/bin/install -m 755 %{_topdir}/S40ofed-setulimit.rc.py $RPM_BUILD_ROOT/etc/rc.kusu.d/ %post # Place any component post install code here chkconfig --level 35 openibd on if [ ! -e /var/lock/subsys/kusu-installer ]; then service openibd restart > /dev/null 2>&1 || : memtotal=`cat /proc/meminfo | grep 'MemTotal:' | awk '{ print $2 }'` ulimit -l $memtotal > /dev/null 2>&1 service sshd restart > /dev/null 2>&1 || : fi %preun /etc/init.d/openibd stop %postun # Place any component uninstall code here # Generate scripts for the CFM to remove other packages /bin/cat << 'EOF' >> /opt/kusu/lib/plugins/cfmclient/%{name}.remove #!/bin/sh rpm -e dapl \ compat-dapl \ compat-dapl-utils \ ibsim \ ibutils \ ibvexdmtools \ infiniband-diags \ ofa_kernel-kmp-smp \ ofa_kernel \ libcxgb3 \ libibcm \ libibcommon \ libibcommon-static \ libibmad \ libibmad-static \ libibumad \ libibumad-static \ libibverbs \ libibverbs-utils \ libibverbs-devel \ libipathverbs \ libmlx4 \ libmthca \ libnes \ librdmacm \ librdmacm-utils \ libsdp \ mpi-selector \ mstflint \ ofed-docs \ ofed-scripts \ ofed-src \ opensm-libs \ perftest \ qlvnictools \ qperf \ sdpnetstat \ srptools \ qlgc_vnic_daemon \ tvflash rm -rf /opt/kusu/lib/plugins/cfmclient/%{name}.remove EOF %files /etc/rc.kusu.d/S40ofed-setulimit.rc.py* %changelog * Wed Apr 15 2009 Mehdi Bozzo-Rey 1.4-9 - removed kusurc, added chkconfig openibd, stop opensm before openibd * Sun Feb 1 2009 Mehdi Bozzo-Rey 1.4-8 - add qlgc_vnic_daemon as req * Tue Jan 13 2009 Mehdi Bozzo-Rey 1.4-6 - update req for post * Fri Dec 12 2008 Mehdi Bozzo-Rey 1.4-4 - update to 1.4 final * Mon Nov 24 2008 Mehdi Bozzo-Rey 1.4-3 - add libibverbs-devel * Sun Nov 9 2008 Mehdi Bozzo-Rey 1.4-2 - add kusurc script for opensm conf and startup on the installer * Wed Oct 29 2008 Mehdi Bozzo-Rey 1.4-1 - update for OFED 1.4-rc2 * Fri Jun 13 2008 Mike Frisch 1.3-6 - Added missing symlink to libdat.so (#109958)