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-27
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. |
Lines 81-88
Link Here
|
81 |
src_configure() { |
81 |
src_configure() { |
82 |
# --with-confdir is for bug #361481 |
82 |
# --with-confdir is for bug #361481 |
83 |
# --with-mapdir is for bug #385113 |
83 |
# --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 |
84 |
# --disable-move-mount: requires kernel >=2.6.39 |
87 |
local myeconfargs=( |
85 |
local myeconfargs=( |
88 |
--with-confdir=/etc/conf.d |
86 |
--with-confdir=/etc/conf.d |
Lines 92-104
Link Here
|
92 |
$(use_with libtirpc) |
90 |
$(use_with libtirpc) |
93 |
$(use_with sasl) |
91 |
$(use_with sasl) |
94 |
$(use_with hesiod) |
92 |
$(use_with hesiod) |
|
|
93 |
$(use_with systemd) |
95 |
$(use_enable mount-locking) |
94 |
$(use_enable mount-locking) |
96 |
--disable-ext-env |
95 |
--disable-ext-env |
97 |
--enable-sloppy-mount # bug #453778 |
96 |
--enable-sloppy-mount # bug #453778 |
98 |
--enable-forced-shutdown |
97 |
--enable-forced-shutdown |
99 |
--enable-ignore-busy |
98 |
--enable-ignore-busy |
100 |
) |
99 |
) |
101 |
autotools-utils_src_configure |
100 |
autotools-utils_src_configure systemddir="$(systemd_get_unitdir)" |
102 |
} |
101 |
} |
103 |
|
102 |
|
104 |
src_install() { |
103 |
src_install() { |