Blame SPECS/biosdevname.spec

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