summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2024-11-01 07:38:28 +0000
committerPatrick Lauer <patrick@gentoo.org>2024-11-01 08:05:25 +0000
commited91e1c010b10efc3938da4db0ddfb30f198c9ca (patch)
tree9c443728e5668a160bea2dff40e51bbf7e25881f /app-admin/monit
parentdev-ruby/benchmark-ips: drop 2.12.0 (diff)
downloadgentoo-ed91e1c010b10efc3938da4db0ddfb30f198c9ca.tar.gz
gentoo-ed91e1c010b10efc3938da4db0ddfb30f198c9ca.tar.bz2
gentoo-ed91e1c010b10efc3938da4db0ddfb30f198c9ca.zip
app-admin/monit: add 5.34.2
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'app-admin/monit')
-rw-r--r--app-admin/monit/Manifest1
-rw-r--r--app-admin/monit/monit-5.34.2.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
index be87b6778105..40479bd20ba0 100644
--- a/app-admin/monit/Manifest
+++ b/app-admin/monit/Manifest
@@ -1,2 +1,3 @@
DIST monit-5.33.0.tar.gz 1502487 BLAKE2B 770474f010067fe6388622e764a0d032495589dad24873dabd87ab0aa8edcff34d7a014a72c1c05aaa47104b12daf3dc542aa1d2d823d267814c9b5fd139e747 SHA512 f84edfc03a7386bb712c3d1e1e74801c5deea596f533bd898f342c8435e4b9f4225ec24a4daee11c4d23a5742e9f8a9c666ebaa1ba56f13842ac7214d1d70d4f
DIST monit-5.34.0.tar.gz 1486962 BLAKE2B e49e271f981d76b5d1f71818b7e6e1b1a2de56d8b1f856931c9abec053358dc6557e58fe3c37c5af9cf0f4e2c667ead5cff2ac96c6d8a2c70155cf301c6ffb44 SHA512 7e966b4437233a9be25c517620d77400bb865278975d62f6edc7d42a88d1780cbd233ce20f48da9a026b84a77d47796fb4f528409f064a99d08243ff3f3d2472
+DIST monit-5.34.2.tar.gz 1490776 BLAKE2B d4e5587299a44697d0c7d26b0fcc1a7fe4330693de188cf82301e4ab8fa8b2aea141f3aaa99bd1c598655ba993c616faf0a559dbb9c538d2d9421c6791f36880 SHA512 aa3579bd08099ef19b92dfbb172bbdbacaac1c29ecd08e3d201cb043c1423e16a8c79ee02999c32ba1954b4f069a3200b628ad3d4d224167945205e530a22359
diff --git a/app-admin/monit/monit-5.34.2.ebuild b/app-admin/monit/monit-5.34.2.ebuild
new file mode 100644
index 000000000000..b64d7bf782e9
--- /dev/null
+++ b/app-admin/monit/monit-5.34.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021-2024 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="pam ssl"
+
+RDEPEND="sys-libs/zlib:=
+ virtual/libcrypt:=
+ pam? ( sys-libs/pam )
+ ssl? ( dev-libs/openssl:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ app-alternatives/yacc
+ app-alternatives/lex
+"
+
+src_prepare() {
+ default
+ sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(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/"
+}