Lines 6-12
Link Here
|
6 |
|
6 |
|
7 |
AUTOTOOLS_AUTORECONF=true |
7 |
AUTOTOOLS_AUTORECONF=true |
8 |
|
8 |
|
9 |
inherit autotools-utils linux-info multilib |
9 |
inherit autotools-utils linux-info multilib systemd |
10 |
|
10 |
|
11 |
PATCH_VER=3 |
11 |
PATCH_VER=3 |
12 |
[[ -n ${PATCH_VER} ]] && \ |
12 |
[[ -n ${PATCH_VER} ]] && \ |
Lines 21-34
Link Here
|
21 |
LICENSE="GPL-2" |
21 |
LICENSE="GPL-2" |
22 |
SLOT="0" |
22 |
SLOT="0" |
23 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
23 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
24 |
IUSE="-dmalloc hesiod ldap libtirpc mount-locking sasl" |
24 |
IUSE="-dmalloc hesiod ldap libtirpc mount-locking sasl systemd" |
25 |
|
25 |
|
26 |
# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
26 |
# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
27 |
# SASL support should be available, please add "ldap" to the USE flags. |
27 |
# SASL support should be available, please add "ldap" to the USE flags. |
28 |
REQUIRED_USE="sasl? ( ldap )" |
28 |
REQUIRED_USE="sasl? ( ldap )" |
29 |
|
29 |
|
30 |
# currently, sasl code assumes the presence of kerberosV |
30 |
# currently, sasl code assumes the presence of kerberosV |
31 |
RDEPEND=">=sys-apps/util-linux-2.20 |
31 |
CDEPEND=">=sys-apps/util-linux-2.20 |
32 |
dmalloc? ( dev-libs/dmalloc[threads] ) |
32 |
dmalloc? ( dev-libs/dmalloc[threads] ) |
33 |
hesiod? ( net-dns/hesiod ) |
33 |
hesiod? ( net-dns/hesiod ) |
34 |
ldap? ( >=net-nds/openldap-2.0 |
34 |
ldap? ( >=net-nds/openldap-2.0 |
Lines 40-49
Link Here
|
40 |
) |
40 |
) |
41 |
libtirpc? ( net-libs/libtirpc )" |
41 |
libtirpc? ( net-libs/libtirpc )" |
42 |
|
42 |
|
43 |
DEPEND="${RDEPEND} |
43 |
DEPEND="${CDEPEND} |
44 |
sys-devel/flex |
44 |
sys-devel/flex |
45 |
virtual/yacc" |
45 |
virtual/yacc" |
46 |
|
46 |
|
|
|
47 |
RDEPEND="${CDEPEND} |
48 |
systemd? ( sys-apps/systemd )" |
49 |
|
47 |
CONFIG_CHECK="~AUTOFS4_FS" |
50 |
CONFIG_CHECK="~AUTOFS4_FS" |
48 |
|
51 |
|
49 |
PATCHES=( |
52 |
PATCHES=( |
Lines 81-88
Link Here
|
81 |
src_configure() { |
84 |
src_configure() { |
82 |
# --with-confdir is for bug #361481 |
85 |
# --with-confdir is for bug #361481 |
83 |
# --with-mapdir is for bug #385113 |
86 |
# --with-mapdir is for bug #385113 |
84 |
# for systemd support (not enabled yet): |
|
|
85 |
# --with-systemd |
86 |
# --disable-move-mount: requires kernel >=2.6.39 |
87 |
# --disable-move-mount: requires kernel >=2.6.39 |
87 |
local myeconfargs=( |
88 |
local myeconfargs=( |
88 |
--with-confdir=/etc/conf.d |
89 |
--with-confdir=/etc/conf.d |
Lines 92-98
Link Here
|
92 |
$(use_with libtirpc) |
93 |
$(use_with libtirpc) |
93 |
$(use_with sasl) |
94 |
$(use_with sasl) |
94 |
$(use_with hesiod) |
95 |
$(use_with hesiod) |
|
|
96 |
$(use_with systemd) |
95 |
$(use_enable mount-locking) |
97 |
$(use_enable mount-locking) |
|
|
98 |
$(use systemd && echo systemddir="$(systemd_get_unitdir)") |
96 |
--disable-ext-env |
99 |
--disable-ext-env |
97 |
--enable-sloppy-mount # bug #453778 |
100 |
--enable-sloppy-mount # bug #453778 |
98 |
--enable-forced-shutdown |
101 |
--enable-forced-shutdown |