diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-02-07 14:59:12 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-02-07 15:45:46 +0100 |
commit | e180e28d8882de48cc3d8530b14c2e795d76140f (patch) | |
tree | 020e747c6605c21142631be23b85098becdbf721 /app-admin | |
parent | sys-apps/texinfo: Removed old. (diff) | |
download | gentoo-e180e28d8882de48cc3d8530b14c2e795d76140f.tar.gz gentoo-e180e28d8882de48cc3d8530b14c2e795d76140f.tar.bz2 gentoo-e180e28d8882de48cc3d8530b14c2e795d76140f.zip |
app-admin/monit: Bump to version 5.16.1
Package-Manager: portage-2.2.27
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.16.1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index c570d9920c8d..3a5056c95e7d 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1,2 +1,3 @@ DIST monit-5.15.tar.gz 1218043 SHA256 deada8153dc7e8755f572bc4d790143a92c7a8668dccb563ae4dbd73af56697c SHA512 7e2b011a89d9b1dc990faf413a38f0c68aea398e25efd5392d6aa1baf50d68ea2db087ea2093c84658a99b7a83d133b23562d5ad11e1197db7a54a2b961177cd WHIRLPOOL e305705583c79b8d861595cae4d000b5832e3288f3d0ec59e69ac811e1f402af489e44c8fe568941781d97c953ff181a8048f0b3dfaeec14a26fd4bbc8cff697 +DIST monit-5.16.1.tar.gz 1226375 SHA256 b729b8345f5b85311c7f05751fc5d009128fd4a95fc4929a04b43bd15ab3b23f SHA512 911462b73074cbdd151596dc29cef74370af3ae368067d36e9f630fd2f4cb37867f0eef68083ee07efa1f489848560c4b4152e55eccc829d5118990e04308ffa WHIRLPOOL bca90fd0d28aa65c81074d427426bf748a94de23716fe99a203e8af7bea34aa32d9f0c02716d4850b67f165c0224de14618f8a64061588bfe2fa2542a70a1a70 DIST monit-5.16.tar.gz 1226329 SHA256 5b998e796113ce244c8b575da09d3a62bac1b2765484fe6416f224b4ba8f391f SHA512 09d3fa772c0749e0cb7fd057bcf9d057650601e09b746dd335ee040ba1f9f45693174aead065d50c7f43c2f5dc7f3cace252cf2c94ccdf767a14afdff57f808e WHIRLPOOL 9cbf7dd1f42ebb43f4e3ea1d5880f3229b147576d4ea4f856e38d1fffb20af539d31d52d7bdebcad9354a0ffd3c135760e585a673cb76e2b56f396e34d5dcfc9 diff --git a/app-admin/monit/monit-5.16.1.ebuild b/app-admin/monit/monit-5.16.1.ebuild new file mode 100644 index 000000000000..df1ef806e07d --- /dev/null +++ b/app-admin/monit/monit-5.16.1.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 ) + )" +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/" +} |