[netatalk/el5] fixes #758373 - "/etc/init.d/atalk status" is broken when running afpd without atalkd

Jiri Skala jskala at fedoraproject.org
Fri Jan 13 14:05:20 UTC 2012


commit 49bdef4c82e47710842a317312bdba503b30823a
Author: Jiri Skala <jskala at redhat.com>
Date:   Fri Jan 13 15:05:12 2012 +0100

    fixes #758373 - "/etc/init.d/atalk status" is broken when running afpd without atalkd

 netatalk-2.0.5-status.patch |   15 +++++++++++++++
 netatalk.spec               |    7 ++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/netatalk-2.0.5-status.patch b/netatalk-2.0.5-status.patch
new file mode 100644
index 0000000..cd39138
--- /dev/null
+++ b/netatalk-2.0.5-status.patch
@@ -0,0 +1,15 @@
+diff -up netatalk-2.0.5/distrib/initscripts/rc.atalk.redhat.tmpl.status netatalk-2.0.5/distrib/initscripts/rc.atalk.redhat.tmpl
+--- netatalk-2.0.5/distrib/initscripts/rc.atalk.redhat.tmpl.status	2012-01-13 14:08:51.130784433 +0100
++++ netatalk-2.0.5/distrib/initscripts/rc.atalk.redhat.tmpl	2012-01-13 14:08:55.930776016 +0100
+@@ -210,6 +210,11 @@ case "$1" in
+ 	;;
+   'status')
+ 	status atalkd
++	status papd
++	status timelord
++	status a2boot
++	status cnid_metad
++	status afpd
+ 	RETVAL=$?
+ 	;;
+   *)
diff --git a/netatalk.spec b/netatalk.spec
index 0261b2c..09e3c5b 100644
--- a/netatalk.spec
+++ b/netatalk.spec
@@ -1,7 +1,7 @@
 Summary: AppleTalk networking programs
 Name:    netatalk
 Version: 2.0.5
-Release: 3%{?dist}
+Release: 4%{?dist}
 Epoch:   4
 License: GPLv2+
 Group:   System Environment/Daemons
@@ -13,6 +13,7 @@ Patch2:  netatalk-2.0.2-uams_no_pie.patch
 Patch3:  netatalk-2.0.4-extern_ucreator.patch
 Patch4:  netatalk-2.0.3-nodefault.patch
 Patch5:  netatalk-2.0.4-open_call.patch
+Patch6:  netatalk-2.0.5-status.patch
 
 Url:	 http://netatalk.sourceforge.net/
 Requires: pam
@@ -43,6 +44,7 @@ programs.
 %patch3  -p1 -b .extern_ucreator
 %patch4  -p1
 %patch5  -p1 -b .open_call
+%patch6  -p1 -b .status
 
 ln -s ./NEWS ChangeLog
 
@@ -163,6 +165,9 @@ fi
 %{_mandir}/man*/netatalk-config.1*
 
 %changelog
+* Fri Jan 13 2012 Jiri Skala <jskala at redhat.com> - 4:2.0.5-4
+- fixes #758373 - "/etc/init.d/atalk status" is broken when running afpd without atalkd
+
 * Thu Sep 29 2011 Jiri Skala <jskala at redhat.com> - 4:2.0.5-3
 - rebuild for bodhi
 


More information about the scm-commits mailing list