diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-03-08 10:30:59 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-03-08 10:47:13 +0100 |
commit | 3affbc8345d3cae7d40543e699a6b9d955756ade (patch) | |
tree | 919b4cd7ed26147ef3339a45ba7d551933e9b403 /app-admin/monit | |
parent | net-p2p/syncthing: remove old (diff) | |
download | gentoo-3affbc8345d3cae7d40543e699a6b9d955756ade.tar.gz gentoo-3affbc8345d3cae7d40543e699a6b9d955756ade.tar.bz2 gentoo-3affbc8345d3cae7d40543e699a6b9d955756ade.zip |
app-admin/monit: Bump to version 5.21.0
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'app-admin/monit')
-rw-r--r-- | app-admin/monit/Manifest | 1 | ||||
-rw-r--r-- | app-admin/monit/monit-5.21.0.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index 1e11f157b1d0..cc95c3aca6de 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1 +1,2 @@ DIST monit-5.20.0.tar.gz 1267991 SHA256 ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d SHA512 653cba9d63fad42acf8c27ee9c050d047fc78e0b7e8cdb0f3d0a533d5b5e01ccf1b82d443cb6518d286547087a021e37a59cbffedbb3daf49ff8f95e8c64b884 WHIRLPOOL 28f9fcfa86c346fb390654e4730cc52ce30b794b2dc1e02a484079b55a8bcb50d78a71e2e856f1ce1e161dc99bcd6913b4db92ed0deab64e969c5c6a464c584d +DIST monit-5.21.0.tar.gz 1302859 SHA256 fbf76163ed4a180854d378af60fed0cdbc5a8772823957234efc182ead10c03c SHA512 ab0f255bc5f2d1c4b642694b411fca202258360bc24e9da8631026cde868a336b9472b6f341517248bcbbaeefeeb9c07477194f450410cf14f64b5016b2c009b WHIRLPOOL 4a9b1b080192b08af486c840c833c8e5f6d29795b07ecb653e73d2409a3b620bc59a2d13c4f541840128c1d83b0675a9cfa8fe95e8aebd2dc0f94f404b20d90c diff --git a/app-admin/monit/monit-5.21.0.ebuild b/app-admin/monit/monit-5.21.0.ebuild new file mode 100644 index 000000000000..0cbe43595233 --- /dev/null +++ b/app-admin/monit/monit-5.21.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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="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/" +} |