Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/netatalk/files: afpd.init
Date: Thu, 29 Sep 2011 18:22:04
Message-Id: 20110929182154.729302004C@flycatcher.gentoo.org
1 flameeyes 11/09/29 18:21:54
2
3 Modified: afpd.init
4 Log:
5 Avoid false positives in apfd init dependencies.
6
7 (Portage version: 2.2.0_alpha59/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 net-fs/netatalk/files/afpd.init
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/files/afpd.init?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/files/afpd.init?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/netatalk/files/afpd.init?r1=1.1&r2=1.2
15
16 Index: afpd.init
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/afpd.init,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- afpd.init 29 Sep 2011 16:55:00 -0000 1.1
23 +++ afpd.init 29 Sep 2011 18:21:54 -0000 1.2
24 @@ -1,20 +1,16 @@
25 #!/sbin/runscript
26 # Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/afpd.init,v 1.1 2011/09/29 16:55:00 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-fs/netatalk/files/afpd.init,v 1.2 2011/09/29 18:21:54 flameeyes Exp $
30
31 depend() {
32 need net cnid_metad
33 - use logger dns atalkd
34 + use logger dns atalkd
35
36 - if [ ${EXTRA_CONF/-D/} != ${EXTRA_CONF} ]; then
37 - need atalkd
38 - else
39 - config /etc/netatalk/afpd.conf
40 -
41 - sed -e 's:#.*::' /etc/netatalk/afpd.conf | fgrep -q -e -ddp \
42 - && need atalkd
43 - fi
44 + config /etc/netatalk/afpd.conf
45 +
46 + sed -e 's:#.*::' /etc/netatalk/afpd.conf | fgrep -q -e -ddp \
47 + && need atalkd
48
49 need avahi-daemon
50 need slpd