1 |
commit: a81eab6e099fc55682769d065ee7d1d913a63511 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 31 11:52:37 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 31 11:53:04 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81eab6e |
7 |
|
8 |
app-admin/monit: Revbump to install bash-completion file. Removed old |
9 |
|
10 |
Also added ipv6 USE flag. |
11 |
|
12 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
13 |
|
14 |
.../monit/{monit-5.25.2.ebuild => monit-5.25.2-r1.ebuild} | 13 ++++++++++--- |
15 |
1 file changed, 10 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/app-admin/monit/monit-5.25.2.ebuild b/app-admin/monit/monit-5.25.2-r1.ebuild |
18 |
similarity index 83% |
19 |
rename from app-admin/monit/monit-5.25.2.ebuild |
20 |
rename to app-admin/monit/monit-5.25.2-r1.ebuild |
21 |
index 43e22cd6648..8897263d608 100644 |
22 |
--- a/app-admin/monit/monit-5.25.2.ebuild |
23 |
+++ b/app-admin/monit/monit-5.25.2-r1.ebuild |
24 |
@@ -2,7 +2,7 @@ |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=6 |
28 |
-inherit pam systemd |
29 |
+inherit bash-completion-r1 pam systemd |
30 |
|
31 |
DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system" |
32 |
HOMEPAGE="http://mmonit.com/monit/" |
33 |
@@ -11,7 +11,7 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz" |
34 |
LICENSE="AGPL-3" |
35 |
SLOT="0" |
36 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
37 |
-IUSE="libressl pam ssl" |
38 |
+IUSE="ipv6 libressl pam ssl" |
39 |
|
40 |
RDEPEND=" |
41 |
ssl? ( |
42 |
@@ -30,7 +30,12 @@ src_prepare() { |
43 |
} |
44 |
|
45 |
src_configure() { |
46 |
- econf $(use_with ssl) $(use_with pam) |
47 |
+ local myeconfargs=( |
48 |
+ $(use_with ipv6) |
49 |
+ $(use_with pam) |
50 |
+ $(use_with ssl) |
51 |
+ ) |
52 |
+ econf "${myeconfargs[@]}" |
53 |
} |
54 |
|
55 |
src_install() { |
56 |
@@ -43,6 +48,8 @@ src_install() { |
57 |
systemd_dounit "${FILESDIR}"/${PN}.service |
58 |
|
59 |
use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN} |
60 |
+ |
61 |
+ dobashcomp system/bash/monit |
62 |
} |
63 |
|
64 |
pkg_postinst() { |