diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-05-26 20:37:13 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-05-26 20:38:17 +0200 |
commit | 0fe0f3bcfc04389fe90a4570805a6f0d10935ffd (patch) | |
tree | 5e831e42ffcc778f4fa838bb744f6a68b1ecef75 /app-admin/monit | |
parent | net-libs/nghttp2: Removed old. (diff) | |
download | gentoo-0fe0f3bcfc04389fe90a4570805a6f0d10935ffd.tar.gz gentoo-0fe0f3bcfc04389fe90a4570805a6f0d10935ffd.tar.bz2 gentoo-0fe0f3bcfc04389fe90a4570805a6f0d10935ffd.zip |
app-admin/monit: Bump to version 5.18
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin/monit')
-rw-r--r-- | app-admin/monit/Manifest | 1 | ||||
-rw-r--r-- | app-admin/monit/monit-5.18.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index 8d3b4ba124e0..a6479a714062 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -2,3 +2,4 @@ DIST monit-5.15.tar.gz 1218043 SHA256 deada8153dc7e8755f572bc4d790143a92c7a8668d DIST monit-5.16.1.tar.gz 1226375 SHA256 b729b8345f5b85311c7f05751fc5d009128fd4a95fc4929a04b43bd15ab3b23f SHA512 911462b73074cbdd151596dc29cef74370af3ae368067d36e9f630fd2f4cb37867f0eef68083ee07efa1f489848560c4b4152e55eccc829d5118990e04308ffa WHIRLPOOL bca90fd0d28aa65c81074d427426bf748a94de23716fe99a203e8af7bea34aa32d9f0c02716d4850b67f165c0224de14618f8a64061588bfe2fa2542a70a1a70 DIST monit-5.17.1.tar.gz 1231823 SHA256 f71a22cfb6bd91ff46496e72e1d1b1021ecd651e7748131ce0f995cc37ff0b42 SHA512 e28534ce3a5a95eac70f05c34b5a8545a0eb925ac90f82f71bcea8f3568be45288ddbd196c2352a390820244143511ecf2e0de21cdcab1dd2f3e4788dad71015 WHIRLPOOL 9416020cecb49473299f0603448a79c0f3992bad995dbd78a282cf8440b9957edcefc419a56ed71f583efbce2d0ba50a338d2df5b736d9d32e0116ecc5bf5ef1 DIST monit-5.17.tar.gz 1231882 SHA256 2fbcdea79ae39228791a0aaa685ebbf650f2b58d086eaf77a33226e972cb216e SHA512 6e5459f3c1d37e3713286bfabc4a6a109f90438a0b45630af7f93fbe1e8ec7984551c7026f3fe1d8b63632bca7b3678f9ea3cbed194d6e5e7abe367d62d8ad61 WHIRLPOOL de10a18996cee1bcb1637e53e3e5ea8517ec4d7f33efbd73110c639cf921cb52cdd4ddb547a474e9d60e4c4bd451dc1947692b3244bd254027885df65074b259 +DIST monit-5.18.tar.gz 1239752 SHA256 75ccb85fa2ac1f44c9c95c5a6b539a254b0a1d64e16a36ec9eeb867484a4fcaf SHA512 448f0d2cb0a18e6b4ead051918677414157f7feac5697888f667db4cf5411b922058a36fc57247c6b8ff9b6f23382305c8c69fc6ec1fcd247b01f4a8bccaa42c WHIRLPOOL 7eaa147be48aa8f38d3e11df6af65c68aa36f20bb868d619e573a13563a2f3e82efc170e5449785f93db1b56261a286422565455676f86e803612d10b8c87d24 diff --git a/app-admin/monit/monit-5.18.ebuild b/app-admin/monit/monit-5.18.ebuild new file mode 100644 index 000000000000..369c57a797d1 --- /dev/null +++ b/app-admin/monit/monit-5.18.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/" +} |