Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools Name: infiniband-diags Version: 1.5.12 Release: 1%{?dist} License: GPLv2 or BSD Group: System Environment/Libraries Url: http://openfabrics.org/ Source0: http://www.openfabrics.org/downloads/management/%{name}-%{version}.tar.gz Patch0: infiniband-diags-1.5.8-all_hcas.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: opensm-devel > 3.3.8, libibumad-devel, libibmad-devel, perl Provides: perl(IBswcountlimits) Obsoletes: openib-diags < 1.3 ExclusiveArch: %{ix86} x86_64 ia64 ppc ppc64 # Find the correct directory to install the perl module into. %global _perldir %(perl -e 'use Config; print $Config{installvendorarch};') %description This package provides IB diagnostic programs and scripts needed to diagnose an IB subnet. %package devel Summary: Development files for the infiniband-diags library Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} %description devel Headers and shared devel libraries for the infiniband-diags package. %package devel-static Summary: Static development files for the infiniband-diags library Group: System Environment/Libraries Requires: %{name}-devel = %{version}-%{release} %description devel-static Static libraries for the infiniband-diags library. %prep %setup -q %patch0 -p1 -b .hcas %build %configure --with-perl-installdir=%{_perldir} make %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install # remove unpackaged files from the buildroot rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_sbindir}/*.{pl,sh} %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_sbindir}/* %{_mandir}/man8/*.8* %{_libdir}/libibnetdisc.so.* %dir %{_sysconfdir}/infiniband-diags %config(noreplace) %{_sysconfdir}/infiniband-diags/* %doc COPYING README ChangeLog %{_perldir}/IBswcountlimits.pm %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %{_mandir}/man3/* %files devel-static %defattr(-,root,root) %{_libdir}/*.a %changelog * Fri Jan 06 2012 Doug Ledford - 1.5.12-1 - Update to latest upstream release - Initial Fedora import - Add devel and devel static packages (review item) - Make etc file config(noreplace) (review item) - Remove no longer support scripts (review item) * Wed Jul 27 2011 Doug Ledford - 1.5.8-1.el6 - Update to latest upstream version - Make build work on i686 arch - Modify perfquery to be able to loop through all HCAs in a single host - Resolves: bz593767 - Related: bz725016 * Fri Mar 12 2010 Doug Ledford - 1.5.5-1.el6 - Update and rebuild against latest opensm (which was needed for latest ibutils, which was needed for licensing issues resolved in new upstream tarball, which was needed for pkgwrangler review) - Related: bz555835 * Fri Feb 26 2010 Doug Ledford - 1.5.3-4.el6 - Tidy ups for pkgwrangler review - Related: bz555835 * Tue Feb 9 2010 Jay Fenlason 1.5.3-3.el6 - Correct the perldir macro for rhel-6's perl. - Remove the unrecognized --with-node-name-map configure option. - reorganize the files section to use fewer globs, so that it's less likely to pick up files inappropriately. * Mon Jan 25 2010 Doug Ledford - 1.5.3-2.el6 - Update license tag for pkgwrangler import - Related: bz543948 * Tue Dec 22 2009 Doug Ledford - 1.5.3-1.el5 - Update to latest upstream version - Don't include the newly added devel stuff as it's likely only needed internally (and certainly not needed by anything we've supported before since we've never shipped it) - Related: bz518218 * Fri Apr 17 2009 Doug Ledford - 1.4.4-1.el5 - Update to ofed 1.4.1-rc3 version - Remove dead patch - Related: bz459652 * Fri Oct 17 2008 Doug Ledford - 1.4.1-2 - Fix up a few trivial issues - Resolves: bz216014 * Wed Sep 17 2008 Doug Ledford - 1.4.1-1 - Update to latest upstream version (required to work with latest opensm libs) - Resolves: bz451465 * Tue Apr 01 2008 Doug Ledford - 1.3.6-1 - Update to latest upstream version to match OFED 1.3 - Related: bz428197 * Sun Jan 27 2008 Doug Ledford - 1.3.5-2 - Obsolete the openib-diags that this package replaces * Fri Jan 25 2008 Doug Ledford - 1.3.5-1 - Import into Red Hat CVS - Related: bz428197 * Wed Oct 31 2007 Ira Weiny - 1.3.2 - Change switch-map option to node-name-map * Thu Aug 9 2007 Ira Weiny - 1.3.1 - Change set_mthca_nodedesc.sh to set_nodedesc.sh * Tue Jul 10 2007 Hal Rosenstock - 1.3.1 - Add link width and speed to topology file output in ibnetdiscover - Add support for -R(outer_list) in ibnetdiscover - Add script and man page for ibidsverify - Moved diags from bin to sbin - Add scripts and man pages for display on IB routers - Add GUID to output line for ports in ibqueryerrors.pl - Add ibdatacounts and ibdatacounters scripts and man pages - Add peer port link width and speed validation in iblinkinfo.pl - Display remote LID with peer port info in IBswcountlimits.pm - Handle peer ports at 1x that should be wider and 2.5 Gbps links that should be faster in ibportstate - Add LinkSpeed/Width components to output of ibportstate - Add support for IB routers - Add grouping support for ISR2012 and ISR2004 in ibnetdiscover - Remove all uses of "/tmp" from perl scripts - Add switch map support for saquery -O and -U options - Add support for saquery -s (isSMdisabled) - Add name input checks to saquery (-O and -U) * Thu Mar 29 2007 Hal Rosenstock - 1.3.0 - Add some extra debug information to IBswcountlimits.pm - Send normal output to stdout in ibtracert - Don't truncate NodeDescriptions containing ctl characters in ibdiag_common - Fix ibnetdiscover grouping for Cisco SFS7000 - Add support to query the GUIDInfo table in smpquery - Allow user to specify a default switch map file * Fri Mar 9 2007 Hal Rosenstock - 1.2.5 - Find perl modules in perl sitearch directory - Fix non standard prefix install for diag scripts - Clean gcc-4.1 warnings in saquery and ibdiag_common * Fri Mar 2 2007 Hal Rosenstock - 1.2.4 - OpenFabrics 1.2.4 release - Fix diag rpmbuild from make dist - Include set_mthca_nodedesc.sh and dump_lfts.sh in the rpm * Thu Mar 1 2007 Hal Rosenstock - 1.2.3 - OpenFabrics 1.2.3 release - Fixed saquery timeout handling * Tue Feb 27 2007 Hal Rosenstock - 1.2.2 - OpenFabrics 1.2.2 release - Minor changes to ibswitches and ibhosts output * Thu Feb 14 2007 Hal Rosenstock - 1.2.1 - OpenFabrics 1.2.1 release - Initial release of vendstat tool * Fri Feb 2 2007 Hal Rosenstock - 1.2.0 - OpenFabrics 1.2.0 release - Added brief option to ibcheckerrors and ibcheckerrs - Updated man pages - Added build version to saquery and updated build version tags of other tools - Added -N | nocolor to usage display of scripts - Fixed -nocolor and -G options on scripts - Fixed error return status in ibchecknet - Added exit code to ibcheckerrors - Added nodename to output of ibcheckerrs - ibqueryerrors.pl fixes and improvements - Removed use of tmpfile for ibroute data in ibfindnodeusing.pl - Fixed undefined subroutine error in iblinkinfo.pl - Added switch-map option to ibtracert and ibnetdiscover - Cleaned up node descriptions before printing in saquery - Clarified --src-to-dst option in saquery - Added peer NodeDescription and LID to output of inbetdiscover - For grouping, ordered Spine and Line Nodes (for Voltaire chassis) in ibnetdiscover - Cleaned up node descriptions before printing in ibtracert and ibroute - Added additional sematics to -m option of saquery - Added dump_mfts.sh similar to dump_lfts.sh - ibnetdiscover improvements (memory leaks, ports moving, etc.) - Converted iblinkspeed.pl into iblinkinfo.pl and added additional capabilities - Added 0x in front of GUID printing of ibtracert - Fixed loopback handling in ibnetdiscover - Added support for querying Service Records to saquery - Added support for PerfMgt IsExtendedWidthSupported IBA 1.2 erratum in perfquery - For query operations, added peer port checking of linkwidth and speed active in ibportstate - Added support for DrSLID in smpquery - Added IB router support to ibnetdiscover and ibtracert - Added additional options to saquery - Added support to change LinkSpeedEnabled in ibportstate * Fri Sep 22 2006 Hal Rosenstock - 1.1.0 - OpenFabrics 1.1 release * Wed Sep 13 2006 Hal Rosenstock - 1.1.0-rc5 - OpenFabrics 1.1-rc5 release * Wed Sep 6 2006 Hal Rosenstock - 1.1.0-rc4 - OpenFabrics 1.1-rc4 release * Wed Aug 23 2006 Hal Rosenstock - 1.1.0-rc3 - OpenFabrics 1.1-rc3 release * Mon Aug 14 2006 Hal Rosenstock - 1.1.0-rc2 - OpenFabrics 1.1-rc2 release - Added ibsysstat man page * Wed Jul 26 2006 Hal Rosenstock - 1.1.0-rc1 - OpenFabrics 1.1-rc1 release - Added man pages - Made diag command/script options more consistent - saquery tool added - dump_lft.sh script added - Renamed discover.pl to ibdiscover.pl * Sun Jun 10 2006 Hal Rosenstock - 1.0-1 - OpenFabrics 1.0 release * Tue May 30 2006 Hal Rosenstock - 1.0.0-rc6 - Maintenance release * Fri May 12 2006 Hal Rosenstock - 1.0.0-rc5 - Maintenance release * Thu Apr 27 2006 Hal Rosenstock - 1.0.0-rc4 - Maintenance release - Note rc3 skipped to sync with OFED * Mon Apr 10 2006 Hal Rosenstock - 1.0.0-rc2 - Maintenance release * Mon Feb 27 2006 Hal Rosenstock - 1.0.0-rc1 - Initial spec file and release