Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 719487 Details for
Bug 798831
net-fs/nfs-utils cleanup / bad flag logic
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nfs-utils-2.5.4.ebuild.patch
nfs-utils-2.5.4.ebuild.patch (text/plain), 3.05 KB, created by
Justin Keogh
on 2021-06-26 21:10:38 UTC
(
hide
)
Description:
nfs-utils-2.5.4.ebuild.patch
Filename:
MIME Type:
Creator:
Justin Keogh
Created:
2021-06-26 21:10:38 UTC
Size:
3.05 KB
patch
obsolete
>--- a/net-fs/nfs-utils/nfs-utils-2.5.4.ebuild >+++ b/net-fs/nfs-utils/nfs-utils-2.5.4.ebuild >@@ -19,10 +19,20 @@ fi > > LICENSE="GPL-2" > SLOT="0" >-IUSE="caps ipv6 junction kerberos ldap +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 selinux tcpd +uuid" >-REQUIRED_USE="kerberos? ( nfsv4 )" >+IUSE="caps ipv6 junction kerberos ldap +libmount nfsdcld +nfsidmap +nfsv4 +nfsv41 selinux tcpd +uuid" >+REQUIRED_USE="kerberos? ( nfsv4 nfsv41 )" > RESTRICT="test" #315573 > >+# +nfsv4 or +nfsv41 >+NFSV4_DEPEND=" >+ dev-libs/libevent:= >+ >=sys-apps/keyutils-1.5.9:= >+ kerberos? ( >+ >=net-libs/libtirpc-0.2.4-r1[kerberos] >+ app-crypt/mit-krb5 >+ ) >+" >+ > # kth-krb doesn't provide the right include > # files, and nfs-utils doesn't build against heimdal either, > # so don't depend on virtual/krb. >@@ -36,15 +46,9 @@ DEPEND=" > caps? ( sys-libs/libcap ) > ldap? ( net-nds/openldap ) > libmount? ( sys-apps/util-linux ) >- nfsv4? ( >- dev-libs/libevent:= >- >=sys-apps/keyutils-1.5.9:= >- kerberos? ( >- >=net-libs/libtirpc-0.2.4-r1[kerberos] >- app-crypt/mit-krb5 >- ) >- ) >+ nfsv4? ( ${NFSV4_DEPEND} ) > nfsv41? ( >+ ${NFSV4_DEPEND} > sys-fs/lvm2 > ) > tcpd? ( sys-apps/tcp-wrappers ) >@@ -70,7 +74,7 @@ PATCHES=( > > pkg_setup() { > linux-info_pkg_setup >- if use nfsv4 && ! use nfsdcld && linux_config_exists && ! linux_chkconfig_present CRYPTO_MD5 ; then >+ if ( use nfsv4 || use nfsv41 ) && ! use nfsdcld && linux_config_exists && ! linux_chkconfig_present CRYPTO_MD5 ; then > ewarn "Your NFS server will be unable to track clients across server restarts!" > ewarn "Please enable the \"${HILITE}nfsdcld${NORMAL}\" USE flag to install the nfsdcltrack usermode" > ewarn "helper upcall program, or enable ${HILITE}CONFIG_CRYPTO_MD5${NORMAL} in your kernel to" >@@ -136,7 +140,7 @@ src_install() { > dodir /sbin > mv "${ED}"/usr/sbin/rpc.statd "${ED}"/sbin/ || die > >- if use nfsv4 && use nfsidmap ; then >+ if ( use nfsv4 || use nfsv41 ) && use nfsidmap ; then > insinto /etc > doins support/nfsidmap/idmapd.conf > >@@ -151,7 +155,7 @@ src_install() { > keepdir /etc/exports.d > > local f list=() opt_need="" >- if use nfsv4 ; then >+ if use nfsv4 || use nfsv41 ; then > opt_need="rpc.idmapd" > list+=( rpc.idmapd rpc.pipefs ) > use kerberos && list+=( rpc.gssd rpc.svcgssd ) >@@ -159,7 +163,12 @@ src_install() { > for f in nfs nfsclient rpc.statd "${list[@]}" ; do > newinitd "${FILESDIR}"/${f}.initd ${f} > done >- newinitd "${FILESDIR}"/nfsmount.initd-1.3.1 nfsmount # Nuke after 2015/08/01 >+ >+ #537996 #406021 #426944 >+ # this patch adds a no-op /etc/init.d/nfsmount that produces a warning: >+ # "This migration script will be removed after 01 Aug 2015." >+ #newinitd "${FILESDIR}"/nfsmount.initd-1.3.1 nfsmount # Nuke after 2015/08/01 >+ > for f in nfs nfsclient ; do > newconfd "${FILESDIR}"/${f}.confd ${f} > done >@@ -202,6 +211,6 @@ pkg_postinst() { > else > ewarn "If you use OpenRC, the nfsmount service has been replaced with nfsclient." > ewarn "If you were using nfsmount, please add nfsclient and netmount to the" >- ewarn "same runlevel as nfsmount." >+ ewarn "same runlevel as nfsmount and 'rc-update del nfsmount'." > fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 798831
: 719487