- use misc device ioctl interface by default, if available.
This commit is contained in:
parent
18373e6e09
commit
a7eb7b6e07
52
autofs-5.0.4-use-misc-device.patch
Normal file
52
autofs-5.0.4-use-misc-device.patch
Normal file
@ -0,0 +1,52 @@
|
||||
autofs-5.0.4 - use misc device
|
||||
|
||||
From: Ian Kent <raven@themaw.net>
|
||||
|
||||
Change default installed configuration to use the misc device ioctl
|
||||
interface if available.
|
||||
---
|
||||
|
||||
CHANGELOG | 1 +
|
||||
redhat/autofs.sysconfig.in | 2 +-
|
||||
samples/autofs.conf.default.in | 2 +-
|
||||
3 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
|
||||
diff --git a/CHANGELOG b/CHANGELOG
|
||||
index da7ecbf..234e1e0 100644
|
||||
--- a/CHANGELOG
|
||||
+++ b/CHANGELOG
|
||||
@@ -32,6 +32,7 @@
|
||||
- another easy alloca replacements fix.
|
||||
- add LSB init script parameter block.
|
||||
- fix file map lookup when reading included or nsswitch sources.
|
||||
+- use misc device ioctl interface by default, if available.
|
||||
|
||||
4/11/2008 autofs-5.0.4
|
||||
-----------------------
|
||||
diff --git a/redhat/autofs.sysconfig.in b/redhat/autofs.sysconfig.in
|
||||
index 04e521c..97e20fe 100644
|
||||
--- a/redhat/autofs.sysconfig.in
|
||||
+++ b/redhat/autofs.sysconfig.in
|
||||
@@ -110,7 +110,7 @@ BROWSE_MODE="no"
|
||||
# If the kernel supports using the autofs miscellanous device
|
||||
# and you wish to use it you must set this configuration option
|
||||
# to "yes" otherwise it will not be used.
|
||||
-#USE_MISC_DEVICE="no"
|
||||
+USE_MISC_DEVICE="yes"
|
||||
#
|
||||
#OPTIONS=""
|
||||
#
|
||||
diff --git a/samples/autofs.conf.default.in b/samples/autofs.conf.default.in
|
||||
index 52d18ec..62084c2 100644
|
||||
--- a/samples/autofs.conf.default.in
|
||||
+++ b/samples/autofs.conf.default.in
|
||||
@@ -110,7 +110,7 @@ BROWSE_MODE="no"
|
||||
# If the kernel supports using the autofs miscellanous device
|
||||
# and you wish to use it you must set this configuration option
|
||||
# to "yes" otherwise it will not be used.
|
||||
-#USE_MISC_DEVICE="no"
|
||||
+USE_MISC_DEVICE="yes"
|
||||
#
|
||||
#OPTIONS=""
|
||||
#
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: A tool for automatically mounting and unmounting filesystems
|
||||
Name: autofs
|
||||
Version: 5.0.4
|
||||
Release: 21
|
||||
Release: 22
|
||||
Epoch: 1
|
||||
License: GPLv2+
|
||||
Group: System Environment/Daemons
|
||||
@ -42,6 +42,7 @@ Patch29: autofs-5.0.4-fix-double-free-in-expire_proc.patch
|
||||
Patch30: autofs-5.0.4-another-easy-alloca-replacements-fix.patch
|
||||
Patch31: autofs-5.0.4-add-lsb-init-script-parameter-block.patch
|
||||
Patch32: autofs-5.0.4-always-read-file-maps-fix.patch
|
||||
Patch33: autofs-5.0.4-use-misc-device.patch
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel module-init-tools util-linux nfs-utils e2fsprogs libtirpc-devel
|
||||
Requires: kernel >= 2.6.17
|
||||
@ -115,6 +116,7 @@ echo %{version}-%{release} > .version
|
||||
%patch30 -p1
|
||||
%patch31 -p1
|
||||
%patch32 -p1
|
||||
%patch33 -p1
|
||||
|
||||
%build
|
||||
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
|
||||
@ -167,6 +169,9 @@ fi
|
||||
%{_libdir}/autofs/
|
||||
|
||||
%changelog
|
||||
* Wed Mar 18 2009 Ian Kent <ikent@redhat.com> - 1:5.0.4-22
|
||||
- use misc device ioctl interface by default, if available.
|
||||
|
||||
* Tue Mar 17 2009 Ian Kent <ikent@redhat.com> - 1:5.0.4-21
|
||||
- fix file map lookup when reading included or nsswitch sources.
|
||||
- a regression introduced by file map lookup optimisation in rev 9.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user