rpms/netatalk/devel netatalk-2.0.3-lsb.patch, NONE, 1.1 netatalk.spec, 1.42, 1.43
Martin Nagy (mnagy)
fedora-extras-commits at redhat.com
Mon Feb 25 15:47:16 UTC 2008
Author: mnagy
Update of /cvs/extras/rpms/netatalk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32151
Modified Files:
netatalk.spec
Added Files:
netatalk-2.0.3-lsb.patch
Log Message:
* Mon Feb 25 2008 Martin Nagy <mnagy at redhat.com> - 4:2.0.3-18
- make init script LSB compliant (#246993)
netatalk-2.0.3-lsb.patch:
--- NEW FILE netatalk-2.0.3-lsb.patch ---
diff -up netatalk-2.0.3/distrib/initscripts/rc.atalk.redhat.lsb netatalk-2.0.3/distrib/initscripts/rc.atalk.redhat
--- netatalk-2.0.3/distrib/initscripts/rc.atalk.redhat.lsb 2008-02-25 15:29:38.000000000 +0100
+++ netatalk-2.0.3/distrib/initscripts/rc.atalk.redhat 2008-02-25 16:07:36.000000000 +0100
@@ -1,8 +1,19 @@
#! /bin/sh
+#
+### BEGIN INIT INFO
+# Provides: netatalk
+# Required-Start: $local_fs $network $syslog
+# Required-Stop: $local_fs $network $syslog
+# Short-Description: AppleTalk networking programs
+# Description: This package enables Linux to talk to Macintosh computers via the
+# AppleTalk networking protocol. It includes a daemon to allow Linux
+# to act as a file server over EtherTalk or IP for Mac's.
+### END INIT INFO
+
# chkconfig: - 91 35
-# description: This package enables Linux to talk to Macintosh
-# computers via the AppleTalk networking protocol and
-# provides printer, file sharing, and AppleTalk routing
+# description: This package enables Linux to talk to Macintosh \
+# computers via the AppleTalk networking protocol and \
+# provides printer, file sharing, and AppleTalk routing \
# services.
#
# AppleTalk daemons. Make sure not to start atalkd in the background:
@@ -27,12 +38,12 @@ ATALK_SBIN=/usr/sbin
if [ ! -x ${ATALK_SBIN}/atalkd ]; then
echo "[${ATALK_SBIN}/atalkd not found. Did it compile?]";
- exit 0;
+ exit 1;
fi
if [ ! -f ${ATALK_CONF_DIR}/netatalk.conf ]; then
echo "[${ATALK_CONF_DIR}/netatalk.conf not found]";
- exit 0;
+ exit 6;
fi
# read in netatalk configuration
@@ -41,7 +52,7 @@ fi
# Check that networking is up.
if [ ${NETWORKING} = "no" ]; then
echo "[Network isn't started]";
- exit 0;
+ exit 1;
fi
# initialize return values
Index: netatalk.spec
===================================================================
RCS file: /cvs/extras/rpms/netatalk/devel/netatalk.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- netatalk.spec 25 Feb 2008 09:14:10 -0000 1.42
+++ netatalk.spec 25 Feb 2008 15:46:32 -0000 1.43
@@ -1,7 +1,7 @@
Summary: AppleTalk networking programs
Name: netatalk
Version: 2.0.3
-Release: 17%{?dist}
+Release: 18%{?dist}
Epoch: 4
License: GPL
Group: System Environment/Daemons
@@ -190,6 +190,9 @@
%{_mandir}/man*/netatalk-config.1*
%changelog
+* Mon Feb 25 2008 Martin Nagy <mnagy at redhat.com> - 4:2.0.3-18
+- make init script LSB compliant (#246993)
+
* Mon Feb 25 2008 Martin Nagy <mnagy at redhat.com> - 4:2.0.3-17
- fix unowned directories (#233889)
More information about the fedora-extras-commits
mailing list