diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-07-08 08:52:15 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-07-08 08:52:15 +0200 |
commit | 61230cdfbb2e91fd79e599a7959f2b2b1a4d491f (patch) | |
tree | 994660c4ab1ea8ec0727b469672eff00f9bb9363 /app-admin | |
parent | dev-python/pexpect: Remove py3.7 from 4.2.1 (diff) | |
download | gentoo-61230cdfbb2e91fd79e599a7959f2b2b1a4d491f.tar.gz gentoo-61230cdfbb2e91fd79e599a7959f2b2b1a4d491f.tar.bz2 gentoo-61230cdfbb2e91fd79e599a7959f2b2b1a4d491f.zip |
app-admin/monit: Bump to version 5.26.0
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/monit/Manifest | 1 | ||||
-rw-r--r-- | app-admin/monit/monit-5.26.0.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index 0529e754fbb2..047ddfbb68cb 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1 +1,2 @@ DIST monit-5.25.3.tar.gz 1355925 BLAKE2B f1c4775ad82ccea262fa5d9c3c9396e634cb3742c59ff9d8b3c87552501ee749a829932570b8d2836fe77a14fb42fea2ee42cab1aa355ca09df6dccda9aa5f51 SHA512 9030b8e6a02eeaf497382f14f7cf855a96599ab060130f077208edd5db35fee1b74f9166df4deff87b4a1954c8d4fff83b5465166938a3f8aea8d4d4c0371e90 +DIST monit-5.26.0.tar.gz 1371327 BLAKE2B eb130c36ad9df0b042fc241fde540ea12945ff1d63d14925da8435e88586141f5ebc116ad5a540a4fbfa507e0101d4cf4ef8a4435fd638f39d5472ba0d6e12d5 SHA512 ae5bfc9f2e8cf2d2efa7a121f3bb865dc5b66b647e23e005349799f3f4384dfa1534ed88d0767ca41dac4cea2674fb82cfb51098129d350b470143df548c6900 diff --git a/app-admin/monit/monit-5.26.0.ebuild b/app-admin/monit/monit-5.26.0.ebuild new file mode 100644 index 000000000000..71d8de2c4988 --- /dev/null +++ b/app-admin/monit/monit-5.26.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 pam systemd + +DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system" +HOMEPAGE="http://mmonit.com/monit/" +SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="ipv6 libressl pam ssl" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + pam? ( virtual/pam )" +BDEPEND=" + sys-devel/flex + sys-devel/bison +" + +src_prepare() { + default + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die +} + +src_configure() { + local myeconfargs=( + $(use_with ipv6) + $(use_with pam) + $(use_with ssl) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + dodoc README + + insinto /etc; insopts -m600; doins monitrc + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit + systemd_dounit "${FILESDIR}"/${PN}.service + + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN} + + dobashcomp system/bash/monit +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} |