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

Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +15 lines)
Line  Link Here
0
-- autofs-5.0.6-r5.ebuild
0
++ autofs-5.0.6-r200.ebuild
Lines 1-22 Link Here
1
# Copyright 1999-2011 Gentoo Foundation
1
# Copyright 1999-2012 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/autofs/autofs-5.0.6-r5.ebuild,v 1.1 2011/12/17 03:45:15 pva Exp $
3
# $Header: $
4
4
5
EAPI="4"
5
EAPI="4"
6
inherit eutils multilib autotools linux-info
6
inherit eutils multilib autotools linux-info
7
7
8
DESCRIPTION="Kernel based automounter"
8
DESCRIPTION="Kernel based automounter"
9
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
9
HOMEPAGE="http://www.linux-consulting.com/Amd_AutoFS/autofs.html"
10
PATCH_VER="1"
10
11
[[ -n ${PATCH_VER} ]] && \
11
if [[ ${PR#r} -ge 100 ]]; then
12
	PATCH_VER="${PR#r}"
13
	PATCH_VER="${PATCH_VER%??}"
12
	PATCHSET_URI="mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma"
14
	PATCHSET_URI="mirror://gentoo/${P}-patches-${PATCH_VER}.tar.lzma"
15
fi
13
SRC_URI="mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.bz2
16
SRC_URI="mirror://kernel/linux/daemons/${PN}/v5/${P}.tar.bz2
14
	${PATCHSET_URI}"
17
	${PATCHSET_URI}"
15
18
16
LICENSE="GPL-2"
19
LICENSE="GPL-2"
17
SLOT="0"
20
SLOT="0"
18
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
21
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
19
IUSE="hesiod ldap sasl"
22
IUSE="hesiod ldap mount-locking sasl"
20
23
21
# USE="sasl" adds SASL support to the LDAP module which will not be build. If
24
# USE="sasl" adds SASL support to the LDAP module which will not be build. If
22
# SASL support should be available, please add "ldap" to the USE flags.
25
# SASL support should be available, please add "ldap" to the USE flags.
Lines 81-86 src_configure() { Link Here
81
		$(use_with ldap openldap) \
84
		$(use_with ldap openldap) \
82
		$(use_with sasl) \
85
		$(use_with sasl) \
83
		$(use_with hesiod) \
86
		$(use_with hesiod) \
87
		$(use_enable mount-locking) \
84
		--enable-ignore-busy
88
		--enable-ignore-busy
85
}
89
}
86
90
Lines 111-114 pkg_postinst() { Link Here
111
	elog "If you plan on using autofs for automounting remote NFS mounts,"
115
	elog "If you plan on using autofs for automounting remote NFS mounts,"
112
	elog "please check that both portmap (or rpcbind) and rpc.statd/lockd"
116
	elog "please check that both portmap (or rpcbind) and rpc.statd/lockd"
113
	elog "are running."
117
	elog "are running."
118
	elog "Since autofs-5.0.6_p2, the behavior of autofs has changed to"
119
	elog "follow upstream's suggestion to allow concurrent automounting."
120
	elog "This might cause a corrupted /etc/mtab in rare cases."
121
	elog "Please report any problems arising from this. To restore the old"
122
	elog "behavior, enable the 'mount-locking' USE flag."
114
}
123
}

Return to bug 411509