summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-01-13 09:34:40 +0100
committerLars Wendler <polynomial-c@gentoo.org>2022-01-13 09:37:41 +0100
commitfa258ab636a0a1e12cfa7d6d3a24d07b840f0f73 (patch)
tree4e23b8ca7577a074f2a7e2b00dea3dc5ff5cf051 /app-admin
parentsys-fs/inotify-tools: Stabilize 3.21.9.6 arm64, #830136 (diff)
downloadgentoo-fa258ab636a0a1e12cfa7d6d3a24d07b840f0f73.tar.gz
gentoo-fa258ab636a0a1e12cfa7d6d3a24d07b840f0f73.tar.bz2
gentoo-fa258ab636a0a1e12cfa7d6d3a24d07b840f0f73.zip
app-admin/monit: Bump to version 5.30.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/monit/Manifest1
-rw-r--r--app-admin/monit/monit-5.30.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
index 9f8631d3c546..bb125b7c5d89 100644
--- a/app-admin/monit/Manifest
+++ b/app-admin/monit/Manifest
@@ -1,3 +1,4 @@
DIST monit-5.27.2.tar.gz 1463790 BLAKE2B f00733261fd941f47ec04e63ed9e3617991cd8a069a14e59941e85d3a342537892019864d4716f821428adb57979aa270fcba9d57f573d49e897dfcd77cc133a SHA512 a45cbbf0905b165767e21d66103b460ea48948824d043881aba3de752e34a67bfb3b97f75153e3672d87a34a702d66ceee28160110654aa52fb82c668aa135b9
DIST monit-5.28.1.tar.gz 1470342 BLAKE2B 134f63f4560cf26a563cb8e1f063b291dd6d87159878a1918aef62d8ffe6138a64b4e34c1713b46cb80bfd04eddb0abab725aa7cbe59331dac9e41d0f286f883 SHA512 2683084aea88567309b4693247c27312e1cb4225175cb8643a1f980ed8fc8ecd549818e157e1bb6c0feafc306bc9217bbd2c0c501cb75ea2425b646955076e5a
DIST monit-5.29.0.tar.gz 1476102 BLAKE2B a4037c61e8d893b194317dc3c79d37f9b449d3524b91a06c0ff36a9c39016b12b0ce970c969fc10421412e6406c680714522379780cd80897a7a467f7b08450f SHA512 a69125bfa6fa9ea837f396e762a45e0cb41258c175d120c2af999ae1b500ce5cf5b57d774cc89299f70950a25ced5368c85455fffafd75677311c7912f86c49d
+DIST monit-5.30.0.tar.gz 1476979 BLAKE2B deb3d58770e2cd33cd33094bc43a9375df567d389542439920f16ed864c743c348915ed37730a3ceb217c9e435d4fb3ba42038406cfcdf52c1382e83ef31ca24 SHA512 4d73eaf3785f40de2789bd1feceda5363cbdc8cbeb4431b14d09d72c65483afe09f68257cef4492304ad87314cd3e5e631bf1165d69abea93a9f70f73767655f
diff --git a/app-admin/monit/monit-5.30.0.ebuild b/app-admin/monit/monit-5.30.0.ebuild
new file mode 100644
index 000000000000..672caf23966d
--- /dev/null
+++ b/app-admin/monit/monit-5.30.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 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/"
+}