1 |
commit: c87e11722313cd692aa017c5a4021fc0113a909d |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 14 04:22:52 2019 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 14 04:25:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c87e1172 |
7 |
|
8 |
net-fs/autofs: fix systemd issue |
9 |
|
10 |
Closes: https://bugs.gentoo.org/677906 |
11 |
|
12 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
13 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
14 |
|
15 |
net-fs/autofs/{autofs-5.1.5.ebuild => autofs-5.1.5-r1.ebuild} | 5 +++-- |
16 |
1 file changed, 3 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/net-fs/autofs/autofs-5.1.5.ebuild b/net-fs/autofs/autofs-5.1.5-r1.ebuild |
19 |
similarity index 94% |
20 |
rename from net-fs/autofs/autofs-5.1.5.ebuild |
21 |
rename to net-fs/autofs/autofs-5.1.5-r1.ebuild |
22 |
index f120c687a17..79c538dd1e1 100644 |
23 |
--- a/net-fs/autofs/autofs-5.1.5.ebuild |
24 |
+++ b/net-fs/autofs/autofs-5.1.5-r1.ebuild |
25 |
@@ -18,7 +18,7 @@ SRC_URI=" |
26 |
LICENSE="GPL-2" |
27 |
SLOT="0" |
28 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
29 |
-IUSE="-dmalloc ldap +libtirpc mount-locking sasl" |
30 |
+IUSE="-dmalloc ldap +libtirpc mount-locking sasl systemd" |
31 |
|
32 |
# USE="sasl" adds SASL support to the LDAP module which will not be build. If |
33 |
# SASL support should be available, please add "ldap" to the USE flags. |
34 |
@@ -34,6 +34,7 @@ RDEPEND=">=sys-apps/util-linux-2.20 |
35 |
virtual/krb5 |
36 |
) |
37 |
) |
38 |
+ systemd? ( sys-apps/systemd ) |
39 |
libtirpc? ( net-libs/libtirpc ) |
40 |
!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) |
41 |
" |
42 |
@@ -73,12 +74,12 @@ src_configure() { |
43 |
$(use_with libtirpc) |
44 |
$(use_with sasl) |
45 |
$(use_enable mount-locking) |
46 |
+ $(use_with systemd systemd $(systemd_get_systemunitdir)) #bug #479492 |
47 |
--without-hesiod |
48 |
--disable-ext-env |
49 |
--enable-sloppy-mount # bug #453778 |
50 |
--enable-force-shutdown |
51 |
--enable-ignore-busy |
52 |
- --with-systemd="$(systemd_get_systemunitdir)" #bug #479492 |
53 |
RANLIB="$(type -P $(tc-getRANLIB))" # bug #483716 |
54 |
) |
55 |
econf "${myeconfargs[@]}" |