commit:     a81eab6e099fc55682769d065ee7d1d913a63511
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu May 31 11:52:37 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu May 31 11:53:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81eab6e

app-admin/monit: Revbump to install bash-completion file. Removed old

Also added ipv6 USE flag.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../monit/{monit-5.25.2.ebuild => monit-5.25.2-r1.ebuild}   | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/app-admin/monit/monit-5.25.2.ebuild 
b/app-admin/monit/monit-5.25.2-r1.ebuild
similarity index 83%
rename from app-admin/monit/monit-5.25.2.ebuild
rename to app-admin/monit/monit-5.25.2-r1.ebuild
index 43e22cd6648..8897263d608 100644
--- a/app-admin/monit/monit-5.25.2.ebuild
+++ b/app-admin/monit/monit-5.25.2-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit pam systemd
+inherit bash-completion-r1 pam systemd
 
 DESCRIPTION="Monitoring and managing daemons or similar programs running on a 
Unix system"
 HOMEPAGE="http://mmonit.com/monit/";
@@ -11,7 +11,7 @@ SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz";
 LICENSE="AGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
-IUSE="libressl pam ssl"
+IUSE="ipv6 libressl pam ssl"
 
 RDEPEND="
        ssl? (
@@ -30,7 +30,12 @@ src_prepare() {
 }
 
 src_configure() {
-       econf $(use_with ssl) $(use_with pam)
+       local myeconfargs=(
+               $(use_with ipv6)
+               $(use_with pam)
+               $(use_with ssl)
+       )
+       econf "${myeconfargs[@]}"
 }
 
 src_install() {
@@ -43,6 +48,8 @@ src_install() {
        systemd_dounit "${FILESDIR}"/${PN}.service
 
        use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
+
+       dobashcomp system/bash/monit
 }
 
 pkg_postinst() {

Reply via email to