Blame SPECS/biosdevname.spec

450293
Name:		biosdevname
450293
Version:	0.7.3
450293
Release:	2%{?dist}
450293
Summary:	Udev helper for naming devices per BIOS names
450293
450293
Group:		System Environment/Base
450293
License:	GPLv2
450293
URL:		http://linux.dell.com/files/%{name}
450293
# SMBIOS only exists on these arches.  It's also likely that other
450293
# arches don't expect the PCI bus to be sorted breadth-first, or of
450293
# so, there haven't been any comments about that on LKML.
450293
ExclusiveArch:	%{ix86} x86_64
450293
Source0:	http://linux.dell.com/files/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz
450293
450293
BuildRequires:  autoconf
450293
BuildRequires:  automake
450293
BuildRequires:  pciutils-devel
450293
BuildRequires:  zlib-devel
450293
450293
Patch0001:      0001-Add-support-for-ExaNIC-network-cards-5.patch
450293
Patch0002:      0002-Prevent-infinite-recursion-in-dmidecode.c-smbios_set.patch
450293
Patch0003:      0003-Netronome-biosdevname-support-8.patch
450293
450293
Patch0999:      0999-Place-udev-rules-to-usr-lib.patch
450293
Patch1000:      1000-rules-disable-pirq-and-force-minimal-smbios-version.patch
450293
Patch1001:      1001-rules-disable-biosdevname-by-default.patch
450293
450293
%description
450293
biosdevname in its simplest form takes a kernel device name as an
450293
argument, and returns the BIOS-given name it "should" be.  This is necessary
450293
on systems where the BIOS name for a given device (e.g. the label on
450293
the chassis is "Gb1") doesn't map directly and obviously to the kernel
450293
name (e.g. eth0).
450293
450293
%prep
450293
%setup -q
450293
%autopatch -p1
450293
450293
%build
450293
autoreconf -fiv
450293
%configure --prefix=%{_prefix}
450293
make %{?_smp_mflags}
450293
450293
%install
450293
make install install-data DESTDIR=%{buildroot}
450293
450293
%files
450293
%defattr(-,root,root,-)
450293
%doc COPYING README
450293
%{_sbindir}/%{name}
450293
%{_prefix}/lib/udev/rules.d/*.rules
450293
%{_mandir}/man1/%{name}.1*
450293
450293
%changelog
450293
* Mon Dec 17 2018 Michal Sekletár <msekleta@redhat.com> - 0.7.3-2
450293
- make biosdevname optional even on Dell servers (#1623621)
450293
- prevent infinite recursion in smbios_setslot() (#1499458)
450293
- Netronome biosdevname support (#1649036)
450293
450293
* Fri Mar 23 2018 Michal Sekletar <msekleta@redhat.com> - 0.7.3-1
450293
- rebase to biosdevname 0.7.3
450293
450293
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
450293
450293
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-4
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
450293
450293
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-3
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
450293
450293
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-2
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
450293
450293
* Fri Jun 26 2015 Michal Sekletar <msekleta@redhat.com> - 0.6.2-1
450293
- Rebase to 0.6.2
450293
450293
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-5
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
450293
450293
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
450293
450293
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
450293
450293
* Mon Sep 02 2013 Harald Hoyer <harald@redhat.com> 0.5.0-2
450293
- not only NAME KERNEL=="eth*", but every ethernet device
450293
450293
* Tue Jul 30 2013 Václav Pavlín <vpavlin@redhat.com> - 0.5.0-1
450293
- Updating the sources to 0.5.0 version. Following are the changes:
450293
- Change scan of SMBIOS slot <-> PCI methods, recurse to set SMBIOS slot field
450293
- Save off secondary bus of PCI device for PCI tree traversal
450293
- Add version number to biosdevname
450293
450293
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-4
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
450293
450293
* Wed Nov 14 2012 Václav Pavlín <vpavlin@redhat.com> - 0.4.1-3
450293
- Source link update
450293
450293
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
450293
450293
* Wed Jul 18 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.4.1-1
450293
- Fix autoconfig for Fedora systems
450293
- Make sure that vpd scan only runs on Dell systems, also blacklist Atheros
450293
  wireless cards which hang when vpd is read.
450293
- Add fixes to biosdevname to support cards that export multiple network
450293
  ports per PCI device (chelsio/mellanox).
450293
450293
450293
450293
* Thu May 3 2012 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.4.0-1
450293
- Create detached signature
450293
- Fix man page to use new naming convention
450293
- Remove unused variables from Stephen Hemminger [shemminger@vyatta.com]
450293
- Use Physical device for slot numbering for embedded SR-IOV cards
450293
- Add tracking of ifindex to eths structure
450293
- Fix naming for add-in network adapters when SMBIOS version is invalid
450293
- Read VPD-R on Dell systems only
450293
450293
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.11-6
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
450293
450293
* Tue Oct  4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-5
450293
- Added automake as a build dependency
450293
450293
* Tue Oct  4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-4
450293
- Added autoconf as a build dependency
450293
450293
* Tue Oct  4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-3
450293
- Generating the configure script if it doesn't exist
450293
450293
* Tue Oct  4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-2
450293
- Fixed the dir structure inside the archive
450293
450293
* Tue Oct  4 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.11-1
450293
- Updating the sources to 0.3.11 version. Following are the changes:
450293
- Fix man page for PCI slot naming
450293
- Fix clearing of buffer for NPAR/SRIOV naming
450293
- Add --nopirq and --smbios options to manpage.
450293
- Verify length of VPD on network device
450293
- Close file handle on sysfs read
450293
- Fix naming policy for NPAR devices.
450293
  Match each PCI device to its VPD 'physical' device to get correct index
450293
- Exclude  building on ia64 arch
450293
- Add support functions for determining PCIE slot
450293
- Scan full path to parent when getting PCIE slot
450293
- Fix NPAR naming for add-in cards
450293
- Don't display _vf suffix on NPAR devices with single function
450293
- Fix PCIe/PIRQ slot mapping
450293
450293
* Thu Apr 21 2011 Praveen K Paladugu <praveen_paladugu@dell.com> - 0.3.8-1
450293
- Add changes to parse VPD structure for device mapping on NPAR devices
450293
- Fix pathname
450293
- Cleanup and comment NPAR code
450293
- Fix debian packaging rules to regenerate configure script
450293
- Change pciX to pX for shortened names for PCI add-on devices
450293
- Fix manpage typo
450293
- Delete CR-LF in script
450293
- Change default signing key
450293
- Add command line arguments for checking SMBIOS version and ignore $PIRQ.
450293
450293
* Thu Feb 17 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.7-1
450293
- drop dump_pirq, suggest use biosdecode instead
450293
- don't use '#' in names, use 'p' instead, by popular demand
450293
- properly look for SMBIOS, then $PIR, then recurse
450293
- Add kernel command line parameter "biosdevname={0|1}" to turn off/on biosdevname
450293
- Fix segfault when BIOS advertises zero sized PIRQ Routing Table
450293
- Add 'bonding' and 'openvswitch' to the virtual devices list
450293
- fail PIRQ lookups if device domain is not 0
450293
- Don't suggest names if running in a virtual machine (Xen, KVM,
450293
  VMware tested, but should work on others)
450293
- Typo fixes
450293
450293
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-2
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
450293
450293
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.6-1
450293
- drop biosdevnameS, it's unused and fails to build on F15
450293
450293
* Tue Jan 25 2011 Matt Domsch <Matt_Domsch@dell.com> - 0.3.5-1
450293
- install dump_pirq into /usr/sbin
450293
- fix udev rule, skip running if NAME is already set
450293
- move udev rule to /lib/udev/rules.d by default
450293
450293
* Thu Dec 16 2010 Matt Domsch <mdomsch@fedoraproject.org> - 0.3.4-1
450293
- drop unnecessary explicit version requirement on udev
450293
- bugfix: start indices at 1 not 0, to match Dell and HP server port designations
450293
- bugfix: don't assign names to unknown devices
450293
- bugfix: don't assign duplicate names
450293
450293
* Thu Dec  9 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.3-1
450293
- add back in use of PCI IRQ Routing Table, if info is not provided by
450293
  sysfs or SMBIOS
450293
450293
* Thu Dec  2 2010 Matt Domsch <Matt_Domsch@dell.com> - 0.3.2-1
450293
- fix for multi-port cards with bridges
450293
- removal of code for seriously obsolete systems
450293
450293
* Sun Nov 28 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.1-1
450293
- remove all policies except 'physical' and 'all_ethN'
450293
- handle SR-IOV devices properly
450293
450293
* Wed Nov 10 2010 Matt Domsch <Matt_Domsch@dell.com> 0.3.0-1
450293
- add --policy=loms, make it default
450293
- read index and labels from sysfs if available
450293
450293
* Mon Jul 27 2009 Jordan Hargrave <Jordan_Hargrave@dell.com> 0.2.5-1
450293
- fix mmap error checking
450293
450293
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-7
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
450293
450293
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-6
450293
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
450293
450293
* Tue May 06 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-5
450293
- use policy=all_names to find breakage
450293
450293
* Sun Feb 10 2008 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-4
450293
- rebuild for gcc43
450293
450293
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-3
450293
- fix manpage entry in files
450293
450293
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-2
450293
- rebuild with Requires: udev > 115-3.20070920git
450293
450293
* Fri Sep 21 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.4-1
450293
- coordinate udev rules usage with udev maintainer
450293
- fix crashes in pcmcia search, in_ethernet(), and incorrect command
450293
  line parsing.
450293
450293
* Mon Aug 27 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.3-1
450293
- eliminate libbiosdevname.*, pre and post scripts
450293
450293
* Fri Aug 24 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.2-1
450293
- ExclusiveArch those arches with SMBIOS and PCI IRQ Routing tables
450293
- eliminate libsysfs dependency, move app to / for use before /usr is mounted.
450293
- build static
450293
450293
* Mon Aug 20 2007 Matt Domsch <Matt_Domsch@dell.com> 0.2.1-1
450293
- initial release