rpms/autofs/devel autofs-5.0.4-add-lsb-init-script-parameter-block.patch, NONE, 1.1 autofs.spec, 1.273, 1.274
Ian Kent
iankent at fedoraproject.org
Fri Mar 13 03:07:54 UTC 2009
Author: iankent
Update of /cvs/pkgs/rpms/autofs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14025
Modified Files:
autofs.spec
Added Files:
autofs-5.0.4-add-lsb-init-script-parameter-block.patch
Log Message:
* Fri Mar 13 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-20
- add LSB init script parameter block.
autofs-5.0.4-add-lsb-init-script-parameter-block.patch:
--- NEW FILE autofs-5.0.4-add-lsb-init-script-parameter-block.patch ---
autofs-5.0.4 - add lsb init script parameter block
From: Ian Kent <raven at 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
#
Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -r1.273 -r1.274
--- autofs.spec 13 Mar 2009 01:10:58 -0000 1.273
+++ autofs.spec 13 Mar 2009 03:07:24 -0000 1.274
@@ -4,7 +4,7 @@
Summary: A tool for automatically mounting and unmounting filesystems
Name: autofs
Version: 5.0.4
-Release: 19
+Release: 20
Epoch: 1
License: GPLv2+
Group: System Environment/Daemons
@@ -40,6 +40,7 @@
Patch28: autofs-5.0.4-fix-return-start-status-on-fail.patch
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
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
@@ -111,6 +112,7 @@
%patch28 -p1
%patch29 -p1
%patch30 -p1
+%patch31 -p1
%build
#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -163,6 +165,9 @@
%{_libdir}/autofs/
%changelog
+* Fri Mar 13 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-20
+- add LSB init script parameter block.
+
* Fri Mar 13 2009 Ian Kent <ikent at redhat.com> - 1:5.0.4-19
- another easy alloca replacements fix.
More information about the fedora-extras-commits
mailing list