- add LSB init script parameter block.
This commit is contained in:
parent
923ea051de
commit
06c6ae6974
69
autofs-5.0.4-add-lsb-init-script-parameter-block.patch
Normal file
69
autofs-5.0.4-add-lsb-init-script-parameter-block.patch
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
autofs-5.0.4 - add lsb init script parameter block
|
||||||
|
|
||||||
|
From: Ian Kent <raven@themaw.net>
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
CHANGELOG | 1 +
|
||||||
|
redhat/autofs.init.in | 11 ++++++++++-
|
||||||
|
samples/rc.autofs.in | 11 ++++++++++-
|
||||||
|
3 files changed, 21 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
|
||||||
|
diff --git a/CHANGELOG b/CHANGELOG
|
||||||
|
index 4df6a60..aab3209 100644
|
||||||
|
--- a/CHANGELOG
|
||||||
|
+++ b/CHANGELOG
|
||||||
|
@@ -30,6 +30,7 @@
|
||||||
|
- fix return start status on fail.
|
||||||
|
- fix double free in expire_proc().
|
||||||
|
- another easy alloca replacements fix.
|
||||||
|
+- add LSB init script parameter block.
|
||||||
|
|
||||||
|
4/11/2008 autofs-5.0.4
|
||||||
|
-----------------------
|
||||||
|
diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in
|
||||||
|
index 471667e..0fd1777 100644
|
||||||
|
--- a/redhat/autofs.init.in
|
||||||
|
+++ b/redhat/autofs.init.in
|
||||||
|
@@ -6,7 +6,16 @@
|
||||||
|
# processname: /usr/sbin/automount
|
||||||
|
# config: /etc/auto.master
|
||||||
|
# description: Automounts filesystems on demand
|
||||||
|
-
|
||||||
|
+#
|
||||||
|
+### BEGIN INIT INFO
|
||||||
|
+# Provides: $autofs
|
||||||
|
+# Should-Start: $network $ypbind
|
||||||
|
+# Should-Stop: $network $ypbind
|
||||||
|
+# Default-Start: 3 4 5
|
||||||
|
+# Default-Stop: 0 1 2 6
|
||||||
|
+# Short-Description: Automounts filesystems on demand
|
||||||
|
+# Description: Automounts filesystems on demand
|
||||||
|
+### END INIT INFO
|
||||||
|
#
|
||||||
|
# Location of the automount daemon and the init directory
|
||||||
|
#
|
||||||
|
diff --git a/samples/rc.autofs.in b/samples/rc.autofs.in
|
||||||
|
index 2877fe2..63a0c5d 100644
|
||||||
|
--- a/samples/rc.autofs.in
|
||||||
|
+++ b/samples/rc.autofs.in
|
||||||
|
@@ -5,7 +5,16 @@
|
||||||
|
# On most distributions, this file should be called:
|
||||||
|
# /etc/rc.d/init.d/autofs or /etc/init.d/autofs or /etc/rc.d/rc.autofs
|
||||||
|
#
|
||||||
|
-
|
||||||
|
+#
|
||||||
|
+### BEGIN INIT INFO
|
||||||
|
+# Provides: $autofs
|
||||||
|
+# Should-Start: $network $ypbind
|
||||||
|
+# Should-Stop: $network $ypbind
|
||||||
|
+# Default-Start: 3 4 5
|
||||||
|
+# Default-Stop: 0 1 2 6
|
||||||
|
+# Short-Description: Automounts filesystems on demand
|
||||||
|
+# Description: Automounts filesystems on demand
|
||||||
|
+### END INIT INFO
|
||||||
|
#
|
||||||
|
# Location of the automount daemon and the init directory
|
||||||
|
#
|
@ -4,7 +4,7 @@
|
|||||||
Summary: A tool for automatically mounting and unmounting filesystems
|
Summary: A tool for automatically mounting and unmounting filesystems
|
||||||
Name: autofs
|
Name: autofs
|
||||||
Version: 5.0.4
|
Version: 5.0.4
|
||||||
Release: 19
|
Release: 20
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -40,6 +40,7 @@ Patch27: autofs-5.0.4-fix-bad-token-declare.patch
|
|||||||
Patch28: autofs-5.0.4-fix-return-start-status-on-fail.patch
|
Patch28: autofs-5.0.4-fix-return-start-status-on-fail.patch
|
||||||
Patch29: autofs-5.0.4-fix-double-free-in-expire_proc.patch
|
Patch29: autofs-5.0.4-fix-double-free-in-expire_proc.patch
|
||||||
Patch30: autofs-5.0.4-another-easy-alloca-replacements-fix.patch
|
Patch30: autofs-5.0.4-another-easy-alloca-replacements-fix.patch
|
||||||
|
Patch31: autofs-5.0.4-add-lsb-init-script-parameter-block.patch
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
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
|
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
|
Requires: kernel >= 2.6.17
|
||||||
@ -111,6 +112,7 @@ echo %{version}-%{release} > .version
|
|||||||
%patch28 -p1
|
%patch28 -p1
|
||||||
%patch29 -p1
|
%patch29 -p1
|
||||||
%patch30 -p1
|
%patch30 -p1
|
||||||
|
%patch31 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
|
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
|
||||||
@ -163,6 +165,9 @@ fi
|
|||||||
%{_libdir}/autofs/
|
%{_libdir}/autofs/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 13 2009 Ian Kent <ikent@redhat.com> - 1:5.0.4-20
|
||||||
|
- add LSB init script parameter block.
|
||||||
|
|
||||||
* Fri Mar 13 2009 Ian Kent <ikent@redhat.com> - 1:5.0.4-19
|
* Fri Mar 13 2009 Ian Kent <ikent@redhat.com> - 1:5.0.4-19
|
||||||
- another easy alloca replacements fix.
|
- another easy alloca replacements fix.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user