~ubuntu-branches/ubuntu/raring/autofs5/raring

« back to all changes in this revision

Viewing changes to debian/patches/01UPSTREAM_autofs-5.0.4-use-misc-device.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2009-08-28 21:24:14 UTC
  • mfrom: (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090828212414-z9xvmo5kdpm26vxv
Tags: 5.0.4-3
* Fix LSB initscript header to use keywords that
  insserv knows about. Closes: #541841.
* Bump Standards version to 3.8.3.
  * Add README.source.

* Upload sponsored by Petter Reinholdtsen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 01UPSTREAM_autofs-5.0.4-use-misc-device.patch
 
3
##
 
4
## DP: Upstream patch on top of 5.0.4.
 
5
 
 
6
@DPATCH@
 
7
autofs-5.0.4 - use misc device
 
8
 
 
9
From: Ian Kent <raven@themaw.net>
 
10
 
 
11
Change default installed configuration to use the misc device ioctl
 
12
interface if available.
 
13
---
 
14
 
 
15
 CHANGELOG                      |    1 +
 
16
 redhat/autofs.sysconfig.in     |    2 +-
 
17
 samples/autofs.conf.default.in |    2 +-
 
18
 3 files changed, 3 insertions(+), 2 deletions(-)
 
19
 
 
20
 
 
21
diff --git a/CHANGELOG b/CHANGELOG
 
22
index da7ecbf..96a4617 100644
 
23
--- a/CHANGELOG
 
24
+++ b/CHANGELOG
 
25
@@ -32,6 +32,7 @@
 
26
 - another easy alloca replacements fix.
 
27
 - add LSB init script parameter block.
 
28
 - fix file map lookup when reading included or nsswitch sources.
 
29
+- use misc device ioctl interface by default, if available.
 
30
 
 
31
 4/11/2008 autofs-5.0.4
 
32
 -----------------------
 
33
diff --git a/redhat/autofs.sysconfig.in b/redhat/autofs.sysconfig.in
 
34
index 04e521c..97e20fe 100644
 
35
--- a/redhat/autofs.sysconfig.in
 
36
+++ b/redhat/autofs.sysconfig.in
 
37
@@ -110,7 +110,7 @@ BROWSE_MODE="no"
 
38
 # If the kernel supports using the autofs miscellanous device
 
39
 # and you wish to use it you must set this configuration option
 
40
 # to "yes" otherwise it will not be used.
 
41
-#USE_MISC_DEVICE="no"
 
42
+USE_MISC_DEVICE="yes"
 
43
 #
 
44
 #OPTIONS=""
 
45
 #
 
46
diff --git a/samples/autofs.conf.default.in b/samples/autofs.conf.default.in
 
47
index 52d18ec..62084c2 100644
 
48
--- a/samples/autofs.conf.default.in
 
49
+++ b/samples/autofs.conf.default.in
 
50
@@ -110,7 +110,7 @@ BROWSE_MODE="no"
 
51
 # If the kernel supports using the autofs miscellanous device
 
52
 # and you wish to use it you must set this configuration option
 
53
 # to "yes" otherwise it will not be used.
 
54
-#USE_MISC_DEVICE="no"
 
55
+USE_MISC_DEVICE="yes"
 
56
 #
 
57
 #OPTIONS=""
 
58
 #