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