commit b76ce2d9e3cbc784726d8205792a3c31e9072e0ab00f489bd2eaccaf1c3a09c0 Author: OBS User unknown Date: Tue Jan 15 03:27:21 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/biosdevname?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/biosdevname-0.2.4.tar.gz b/biosdevname-0.2.4.tar.gz new file mode 100644 index 0000000..16b002b --- /dev/null +++ b/biosdevname-0.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53329e37ba8b97c9f8af9ec650ca13f4c4913c10751a7499bfd5fc9b7e0cc270 +size 178656 diff --git a/biosdevname.changes b/biosdevname.changes new file mode 100644 index 0000000..07121e1 --- /dev/null +++ b/biosdevname.changes @@ -0,0 +1,19 @@ +------------------------------------------------------------------- +Sat Sep 22 17:37:00 CEST 2007 - bwalle@suse.de + +- update to 0.2.4 + o coordinate udev rules usage with udev maintainer + o fix crashes in pcmcia search, in_ethernet(), and incorrect + command line parsing. + +------------------------------------------------------------------- +Mon Sep 3 16:28:27 CEST 2007 - bwalle@suse.de + +- fix crash on startup + +------------------------------------------------------------------- +Mon Sep 3 00:00:00 CEST 2007 - bwalle@suse.de + +- initial package for SUSE (209107, FATE 301528) + +------------------------------------------------------------------- diff --git a/biosdevname.spec b/biosdevname.spec new file mode 100644 index 0000000..ac15516 --- /dev/null +++ b/biosdevname.spec @@ -0,0 +1,80 @@ +# +# spec file for package biosdevname (Version 0.2.4) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: biosdevname +Version: 0.2.4 +Release: 1 +Summary: Udev helper for naming devices per BIOS names +Group: System/Base +License: GPL v2 only +Url: http://linux.dell.com/files/biosdevname/ +# SMBIOS and PCI IRQ Routing Tables only exist 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. +ExclusiveArch: %{ix86} x86_64 ia64 +Source0: http://linux.dell.com/files/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: pciutils-devel zlib-devel +# to figure out how to name the rules file +BuildRequires: udev +# for ownership of /etc/udev/rules.d +Requires: udev + +%description +biosdevname in its simplest form takes an kernel name 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). + + + +Authors: +-------- + Matt Domsch + +%prep +%setup -q + +%build +# this is a udev rule, so it needs to live in / rather than /usr +%configure --disable-rpath --libdir=/%{_lib} --prefix=/ --bindir=/bin --sbindir=/sbin +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT +rm %{buildroot}/sbin/%{name}S || : + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING README +/sbin/%{name} +%config(noreplace) %{_sysconfdir}/udev/rules.d/*%{name}.rules +%{_mandir}/man1/* + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%changelog +* Sat Sep 22 2007 - bwalle@suse.de +- update to 0.2.4 + o coordinate udev rules usage with udev maintainer + o fix crashes in pcmcia search, in_ethernet(), and incorrect + command line parsing. +* Mon Sep 03 2007 - bwalle@suse.de +- fix crash on startup +* Mon Sep 03 2007 - bwalle@suse.de +- initial package for SUSE (209107, FATE 301528) diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4