summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2023-03-14 15:47:40 +0000
committerPatrick Lauer <patrick@gentoo.org>2023-03-14 15:48:56 +0000
commit768c0379295a25190b856dcc507978202164ab4f (patch)
treea2a5be872f69c5efd0c2e7dc61886e8fa7dfb2fb /app-admin
parentwww-client/chromium: add ppc64 patchset for 111 (diff)
downloadgentoo-768c0379295a25190b856dcc507978202164ab4f.tar.gz
gentoo-768c0379295a25190b856dcc507978202164ab4f.tar.bz2
gentoo-768c0379295a25190b856dcc507978202164ab4f.zip
app-admin/monit: add 5.33.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/monit/Manifest1
-rw-r--r--app-admin/monit/monit-5.33.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
index 51e75d08fb32..59ef9c8e9231 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.31.0.tar.gz 1479644 BLAKE2B 3aee9e87acb287dbf9cdc26dd5cb5e693a52d7f88c4851f9c1101aec8060df250e75890815b7ec30e58324ec118bded8e25e6a17e694bec1c028941e2cff0141 SHA512 1259c57683389d7241db9524136cec7e42067e32dac79d97753211525c6451af2768c1023535d7d894dad7c5f6e7c3b3ac77bd8540bb53634f6d72587b522d42
DIST monit-5.32.0.tar.gz 1480629 BLAKE2B 48b824365dca349914ffc066a19758f23fee122fb29b1aed5cecad6f97799a987752e3e59cbed488282738c755fdf4d7c95dbe85069f2e070c28f03a324e0a7f SHA512 dcb56bee23c5fef4abe08a2b1633e58b60c8863b335d651d26e87f5306b4f98bd4887d2bf6311c2fc11c9b99eb853226d836b9d212ab65c0f150872c7297e005
+DIST monit-5.33.0.tar.gz 1502487 BLAKE2B 770474f010067fe6388622e764a0d032495589dad24873dabd87ab0aa8edcff34d7a014a72c1c05aaa47104b12daf3dc542aa1d2d823d267814c9b5fd139e747 SHA512 f84edfc03a7386bb712c3d1e1e74801c5deea596f533bd898f342c8435e4b9f4225ec24a4daee11c4d23a5742e9f8a9c666ebaa1ba56f13842ac7214d1d70d4f
diff --git a/app-admin/monit/monit-5.33.0.ebuild b/app-admin/monit/monit-5.33.0.ebuild
new file mode 100644
index 000000000000..1f5faf3c1cfd
--- /dev/null
+++ b/app-admin/monit/monit-5.33.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2021-2023 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/"
+}