automatic update by autodist [release 017-1mamba;Mon Jan 25 2010]
This commit is contained in:
parent
b82eb96272
commit
b7723d61c0
@ -1,2 +1,4 @@
|
||||
# pcmcia-utils
|
||||
|
||||
PCMCIA utils contains the initialization tools necessary to allow the PCMCIA subsystem to behave (almost) as every other hotpluggable bus system.
|
||||
|
||||
|
27
pcmcia-utils-014_pcmcia_rules.patch
Normal file
27
pcmcia-utils-014_pcmcia_rules.patch
Normal file
@ -0,0 +1,27 @@
|
||||
diff -ru pcmciautils-014/udev/rules-base pcmciautils-014-udevfix/udev/rules-base
|
||||
--- pcmciautils-014/udev/rules-base 2006-06-01 11:07:52.000000000 +0200
|
||||
+++ pcmciautils-014-udevfix/udev/rules-base 2006-10-16 15:56:16.000000000 +0200
|
||||
@@ -3,12 +3,12 @@
|
||||
# are so broken that we need to read out random bytes of it
|
||||
# instead of the manufactor, card or product ID. Then the
|
||||
# matching is done in userspace.
|
||||
-ACTION=="add", SUBSYSTEM=="pcmcia", MODALIAS=="?*", \
|
||||
+ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
|
||||
RUN+="/sbin/pcmcia-check-broken-cis"
|
||||
|
||||
# However, the "weak" matching by func_id is only allowed _after_ modprobe
|
||||
# returns, so that "strong" matches have a higher priority.
|
||||
-ACTION=="add", SUBSYSTEM=="pcmcia", MODALIAS=="?*", \
|
||||
+ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
|
||||
RUN+="/bin/sh -c 'echo 1 > /sys/$devpath/allow_func_id_match'"
|
||||
|
||||
# PCMCIA sockets:
|
||||
diff -ru pcmciautils-014/udev/rules-modprobe pcmciautils-014-udevfix/udev/rules-modprobe
|
||||
--- pcmciautils-014/udev/rules-modprobe 2006-06-01 11:07:52.000000000 +0200
|
||||
+++ pcmciautils-014-udevfix/udev/rules-modprobe 2006-10-16 15:57:45.000000000 +0200
|
||||
@@ -1,3 +1,3 @@
|
||||
# modprobe $modalias loads all possibly appropriate modules
|
||||
-ACTION=="add", SUBSYSTEM=="pcmcia", MODALIAS=="?*", \
|
||||
- RUN+="/sbin/modprobe $modalias"
|
||||
+ACTION=="add", SUBSYSTEM=="pcmcia", ENV{MODALIAS}=="?*", \
|
||||
+ RUN+="/sbin/modprobe $env{MODALIAS}"
|
78
pcmcia-utils.spec
Normal file
78
pcmcia-utils.spec
Normal file
@ -0,0 +1,78 @@
|
||||
Name: pcmcia-utils
|
||||
Version: 017
|
||||
Release: 1mamba
|
||||
Summary: Initialization tools for PCMCIA subsystem
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
|
||||
Source: http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-%{version}.tar.gz
|
||||
Patch: %{name}-014_pcmcia_rules.patch
|
||||
License: GPL
|
||||
Obsoletes: pcmcia-cs
|
||||
Obsoletes: pcmcia-cs-xcardinfo
|
||||
Provides: pcmcia-cs
|
||||
Provides: pcmciautils = %{version}-%{release}
|
||||
BuildRequires: libsysfs-devel
|
||||
BuildRequires: flex >= 2.5.31
|
||||
BuildRequires: bison >= 2.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
PCMCIA utils contains the initialization tools necessary to allow the PCMCIA subsystem to behave (almost) as every other hotpluggable bus system.
|
||||
|
||||
%prep
|
||||
%setup -q -n pcmciautils-%{version}
|
||||
#% patch0 -p1 -b .pcmcia_rules
|
||||
|
||||
%build
|
||||
%make -j1
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/sbin/lspcmcia
|
||||
/sbin/pccardctl
|
||||
/lib/udev/pcmcia-check-broken-cis
|
||||
/lib/udev/pcmcia-socket-startup
|
||||
/lib/udev/rules.d/60-pcmcia.rules
|
||||
%config %{_sysconfdir}/pcmcia/config.opts
|
||||
%{_mandir}/man8/lspcmcia.*
|
||||
%{_mandir}/man8/pccardctl.*
|
||||
%doc COPYING doc/*
|
||||
|
||||
%changelog
|
||||
* Mon Jan 25 2010 Automatic Build System <autodist@mambasoft.it> 017-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Oct 21 2009 Automatic Build System <autodist@mambasoft.it> 016-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Tue Dec 02 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 015-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Jan 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 014-2mamba
|
||||
- specfile updated
|
||||
- changed maintainer
|
||||
|
||||
* Mon Oct 16 2006 Davide Madrisan <davide.madrisan@qilinux.it> 014-1qilnx
|
||||
- update to version 014 by autospec
|
||||
- patched udev rules files to make them compatibile with latest udev versions
|
||||
|
||||
* Thu Jan 19 2006 Davide Madrisan <davide.madrisan@qilinux.it> 012-2qilnx
|
||||
- obsoletes pcmcia-cs-xcardinfo
|
||||
|
||||
* Fri Jan 13 2006 Davide Madrisan <davide.madrisan@qilinux.it> 012-1qilnx
|
||||
- update to version 012 by autospec
|
||||
- build requires libsysfs-devel
|
||||
- provides pcmciautils
|
||||
|
||||
* Thu Nov 24 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 010-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user