diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2022-03-24 18:18:05 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2022-03-24 18:21:40 +0100 |
commit | 69e644d6e7afdf5f8be9adbe83dff4c12a7910ef (patch) | |
tree | a8ae81e26da1a766c5526d672a157c6aeffe489d /app-admin | |
parent | media-libs/harfbuzz: Removed old (diff) | |
download | gentoo-69e644d6e7afdf5f8be9adbe83dff4c12a7910ef.tar.gz gentoo-69e644d6e7afdf5f8be9adbe83dff4c12a7910ef.tar.bz2 gentoo-69e644d6e7afdf5f8be9adbe83dff4c12a7910ef.zip |
app-admin/monit: Bump to version 5.32.0
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.32.0.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index 20a40e54a2c4..30e020cb1318 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1,3 +1,4 @@ DIST monit-5.29.0.tar.gz 1476102 BLAKE2B a4037c61e8d893b194317dc3c79d37f9b449d3524b91a06c0ff36a9c39016b12b0ce970c969fc10421412e6406c680714522379780cd80897a7a467f7b08450f SHA512 a69125bfa6fa9ea837f396e762a45e0cb41258c175d120c2af999ae1b500ce5cf5b57d774cc89299f70950a25ced5368c85455fffafd75677311c7912f86c49d DIST monit-5.30.0.tar.gz 1476979 BLAKE2B deb3d58770e2cd33cd33094bc43a9375df567d389542439920f16ed864c743c348915ed37730a3ceb217c9e435d4fb3ba42038406cfcdf52c1382e83ef31ca24 SHA512 4d73eaf3785f40de2789bd1feceda5363cbdc8cbeb4431b14d09d72c65483afe09f68257cef4492304ad87314cd3e5e631bf1165d69abea93a9f70f73767655f DIST monit-5.31.0.tar.gz 1479644 BLAKE2B 3aee9e87acb287dbf9cdc26dd5cb5e693a52d7f88c4851f9c1101aec8060df250e75890815b7ec30e58324ec118bded8e25e6a17e694bec1c028941e2cff0141 SHA512 1259c57683389d7241db9524136cec7e42067e32dac79d97753211525c6451af2768c1023535d7d894dad7c5f6e7c3b3ac77bd8540bb53634f6d72587b522d42 +DIST monit-5.32.0.tar.gz 1480629 BLAKE2B 48b824365dca349914ffc066a19758f23fee122fb29b1aed5cecad6f97799a987752e3e59cbed488282738c755fdf4d7c95dbe85069f2e070c28f03a324e0a7f SHA512 dcb56bee23c5fef4abe08a2b1633e58b60c8863b335d651d26e87f5306b4f98bd4887d2bf6311c2fc11c9b99eb853226d836b9d212ab65c0f150872c7297e005 diff --git a/app-admin/monit/monit-5.32.0.ebuild b/app-admin/monit/monit-5.32.0.ebuild new file mode 100644 index 000000000000..54708e6c5d9e --- /dev/null +++ b/app-admin/monit/monit-5.32.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux" +IUSE="ipv6 pam ssl" + +RDEPEND="sys-libs/zlib:= + virtual/libcrypt:= + pam? ( sys-libs/pam ) + ssl? ( dev-libs/openssl:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +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 + + insinto /etc/logrotate.d + newins "${FILESDIR}"/monit.logrotate monit + + insinto /etc; insopts -m600; doins monitrc + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit + systemd_dounit system/startup/${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/" +} |