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/nfs-utils/files: nfs.initd
Date: Mon, 02 Aug 2010 12:02:16
Message-Id: 20100802110850.104932CE15@corvid.gentoo.org
1 flameeyes 10/08/02 11:08:49
2
3 Modified: nfs.initd
4 Log:
5 Only require rpc.svcgssd if sec=krb is used rather than sec=sys (default). Thanks to Jared in bug #330795.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.21 net-fs/nfs-utils/files/nfs.initd
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.21&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.21&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?r1=1.20&r2=1.21
14
15 Index: nfs.initd
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v
18 retrieving revision 1.20
19 retrieving revision 1.21
20 diff -u -r1.20 -r1.21
21 --- nfs.initd 26 Jul 2010 01:02:07 -0000 1.20
22 +++ nfs.initd 2 Aug 2010 11:08:49 -0000 1.21
23 @@ -1,7 +1,7 @@
24 #!/sbin/runscript
25 # Copyright 1999-2010 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.20 2010/07/26 01:02:07 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/files/nfs.initd,v 1.21 2010/08/02 11:08:49 flameeyes Exp $
29
30 opts="reload"
31
32 @@ -18,7 +18,7 @@
33 depend() {
34 local myneed=""
35 if [ -e /etc/exports ] ; then
36 - if awk '!/^[[:space:]]*#/ && $2 ~ /sec=/ { found=1; nextfile } END { exit !found }' /etc/exports ; then
37 + if awk '!/^[[:space:]]*#/ && $2 ~ /sec=krb5/ { found=1; nextfile } END { exit !found }' /etc/exports ; then
38 myneed="${myneed} rpc.svcgssd"
39 fi
40 fi