diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-10-22 23:53:45 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-10-22 23:54:38 +0200 |
commit | 0e3303375468a0d5ea7265d1b9b7fa454807245a (patch) | |
tree | 7a2a5a7e273c63c69bfd0065d2240ee50d594b03 /app-admin | |
parent | xfce-extra/xfce4-whiskermenu-plugin: update metadata.xml. (diff) | |
download | gentoo-0e3303375468a0d5ea7265d1b9b7fa454807245a.tar.gz gentoo-0e3303375468a0d5ea7265d1b9b7fa454807245a.tar.bz2 gentoo-0e3303375468a0d5ea7265d1b9b7fa454807245a.zip |
app-admin/monit: Bump to version 5.20.0
Package-Manager: portage-2.3.2
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.20.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index adac49b05668..640bfb7aebd5 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1,3 +1,4 @@ DIST monit-5.17.1.tar.gz 1231823 SHA256 f71a22cfb6bd91ff46496e72e1d1b1021ecd651e7748131ce0f995cc37ff0b42 SHA512 e28534ce3a5a95eac70f05c34b5a8545a0eb925ac90f82f71bcea8f3568be45288ddbd196c2352a390820244143511ecf2e0de21cdcab1dd2f3e4788dad71015 WHIRLPOOL 9416020cecb49473299f0603448a79c0f3992bad995dbd78a282cf8440b9957edcefc419a56ed71f583efbce2d0ba50a338d2df5b736d9d32e0116ecc5bf5ef1 DIST monit-5.18.tar.gz 1239752 SHA256 75ccb85fa2ac1f44c9c95c5a6b539a254b0a1d64e16a36ec9eeb867484a4fcaf SHA512 448f0d2cb0a18e6b4ead051918677414157f7feac5697888f667db4cf5411b922058a36fc57247c6b8ff9b6f23382305c8c69fc6ec1fcd247b01f4a8bccaa42c WHIRLPOOL 7eaa147be48aa8f38d3e11df6af65c68aa36f20bb868d619e573a13563a2f3e82efc170e5449785f93db1b56261a286422565455676f86e803612d10b8c87d24 DIST monit-5.19.0.tar.gz 1260248 SHA256 befcd54365502bce4ffd6d1b0c345d5b689c9f7cb3a35a462ba7dcffcf6f62b8 SHA512 87bd21660c8ef1f1663abe24d5024c2f6d2d6a782a0a37432c5afff45d906ecf12d477569309a6be80c6bb855d04da5ac51818cdcc46542cdac2df88bad91517 WHIRLPOOL 0bd22cef1b42a31393af59284e5a3d08f6974fb6daf557f2dd27d31fecf0f8b1657d7050ce8cfea8d2c423a5a83f7dae8ec1af3f6eb7340abb16253d3d3e9b43 +DIST monit-5.20.0.tar.gz 1267991 SHA256 ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d SHA512 653cba9d63fad42acf8c27ee9c050d047fc78e0b7e8cdb0f3d0a533d5b5e01ccf1b82d443cb6518d286547087a021e37a59cbffedbb3daf49ff8f95e8c64b884 WHIRLPOOL 28f9fcfa86c346fb390654e4730cc52ce30b794b2dc1e02a484079b55a8bcb50d78a71e2e856f1ce1e161dc99bcd6913b4db92ed0deab64e969c5c6a464c584d diff --git a/app-admin/monit/monit-5.20.0.ebuild b/app-admin/monit/monit-5.20.0.ebuild new file mode 100644 index 000000000000..369c57a797d1 --- /dev/null +++ b/app-admin/monit/monit-5.20.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit pam systemd + +DESCRIPTION="a utility for 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="libressl pam ssl" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + default + + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) +} + +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} +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +} |