rpms/autofs/devel autofs-5.0.4-use-misc-device.patch, NONE, 1.1 autofs.spec, 1.275, 1.276
Ian Kent
iankent at fedoraproject.org
Wed Mar 18 07:26:00 UTC 2009
Author: iankent
Update of /cvs/pkgs/rpms/autofs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24180
Modified Files:
autofs.spec
Added Files:
autofs-5.0.4-use-misc-device.patch
Log Message:
* Wed Mar 18 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-22
- use misc device ioctl interface by default, if available.
autofs-5.0.4-use-misc-device.patch:
--- NEW FILE autofs-5.0.4-use-misc-device.patch ---
autofs-5.0.4 - use misc device
From: Ian Kent <raven at 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=""
#
Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -r1.275 -r1.276
--- autofs.spec 17 Mar 2009 02:51:24 -0000 1.275
+++ autofs.spec 18 Mar 2009 07:25:30 -0000 1.276
@@ -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 @@
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 @@
%patch30 -p1
%patch31 -p1
%patch32 -p1
+%patch33 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -167,6 +169,9 @@
%{_libdir}/autofs/
%changelog
+* Wed Mar 18 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-22
+- use misc device ioctl interface by default, if available.
+
* Tue Mar 17 2009 Ian Kent <ikent at 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.
More information about the scm-commits
mailing list