Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 529280 | Differences between
and this patch

Collapse All | Expand All

(-)a/nfs-utils-1.3.0-r1.ebuild (-3 / +9 lines)
Lines 1-6 Link Here
1
# Copyright 1999-2014 Gentoo Foundation
1
# Copyright 1999-2014 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.3.0-r1.ebuild,v 1.2 2014/11/02 08:54:13 swift Exp $
3
# $Header: $
4
4
5
EAPI="4"
5
EAPI="4"
6
6
Lines 46-51 DEPEND_COMMON="tcpd? ( sys-apps/tcp-wrappers ) Link Here
46
	uuid? ( sys-apps/util-linux )"
46
	uuid? ( sys-apps/util-linux )"
47
RDEPEND="${DEPEND_COMMON}
47
RDEPEND="${DEPEND_COMMON}
48
	!net-nds/portmap
48
	!net-nds/portmap
49
	!<sys-apps/openrc-0.13.4
49
	selinux? (
50
	selinux? (
50
		sec-policy/selinux-rpc
51
		sec-policy/selinux-rpc
51
		sec-policy/selinux-rpcbind
52
		sec-policy/selinux-rpcbind
Lines 122-131 src_install() { Link Here
122
		list+=( rpc.idmapd rpc.pipefs )
123
		list+=( rpc.idmapd rpc.pipefs )
123
		use kerberos && list+=( rpc.gssd rpc.svcgssd )
124
		use kerberos && list+=( rpc.gssd rpc.svcgssd )
124
	fi
125
	fi
125
	for f in nfs nfsmount rpc.statd "${list[@]}" ; do
126
	for f in nfs nfsclient rpc.statd "${list[@]}" ; do
126
		newinitd "${FILESDIR}"/${f}.initd ${f}
127
		newinitd "${FILESDIR}"/${f}.initd ${f}
127
	done
128
	done
128
	for f in nfs nfsmount ; do
129
	for f in nfs nfsclient ; do
129
		newconfd "${FILESDIR}"/${f}.confd ${f}
130
		newconfd "${FILESDIR}"/${f}.confd ${f}
130
	done
131
	done
131
	sed -i \
132
	sed -i \
Lines 163-167 pkg_postinst() { Link Here
163
			ewarn "You can run 'equery files nfs-utils | grep systemd'"
164
			ewarn "You can run 'equery files nfs-utils | grep systemd'"
164
			ewarn "to know what services you need to enable now."
165
			ewarn "to know what services you need to enable now."
165
		fi
166
		fi
167
	else
168
		ewarn "If you use OpenRC, the nfsmount service has been replaced"
169
		ewarn "with nfsclient."
170
		ewarn "If you were using nfsmount, please add nfsclient and"
171
		ewarn "netmount to the same runlevel as nfsmount."
166
	fi
172
	fi
167
}
173
}

Return to bug 529280