diff options
Diffstat (limited to 'app-admin/monit')
-rw-r--r-- | app-admin/monit/Manifest | 2 | ||||
-rw-r--r-- | app-admin/monit/monit-5.34.2.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index 0d9d0b1a49a2..ef8c158d95e7 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -4,6 +4,8 @@ AUX monit.pamd 120 BLAKE2B 76744f79babaa99fa2961f73158ca755f885e9ea8e20b76dcb29f AUX monit.service 226 BLAKE2B 3b3041900987acd5bb6faa770c6631f6554b2e4360520252369951b3f7f87a3dd96440a58c9d2c4973ce9980a00ab7085c92af1e6542ae10d679ba352d170b19 SHA512 3ca0499ebd21aee812b78883c144c0a346a8cb6106392544836bf76d594e96b7e77be4b32b8c3170273e8236b25000c268724148252d98a4b99131f8b0ce4e88 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 EBUILD monit-5.33.0.ebuild 1265 BLAKE2B d96df7b758a63361c3d22650380152f71b8226c64ac9d8997627d0582eba722115e07ae6d50500e233c0331ea388b47d1b13c6469e81f35590d04c9289ebbb28 SHA512 bbae7158790630ce300325ff7b4ad7799a22bf161485e1a4114a728384b0180746a5ac097769f5d342705e013afa4cc0c76343d61e78a7614bb7ecca38fdee84 EBUILD monit-5.34.0.ebuild 1241 BLAKE2B 2221cf4effa378542551dd4ec7bfe4bf133d3e6547d799a95460bb845d69e38713431e1ab535749f141ffbabc43ce38967a849f92fb1259b40020b271937994e SHA512 8682b0d2406af26eb1420452a3149c803b77424be600ee62787bb0ca7445b67efca79a322a80fedf589db2e8443c86046b7b2c2c2ba43ca123ffb0d45f359acc +EBUILD monit-5.34.2.ebuild 1244 BLAKE2B 21b3263f568fc10b8ccd26fd1962f9520caea036a3caaf2fce6910eb31091b713bae12b37f0224a2d916ae51006f6195cade6293611663f76b35a530fd345695 SHA512 ccdd05fbe8aee758454067abcca116bcebf303a166c8913b0b8e7aa1f5109063d3b88dba5c7934ea8e161a906055bb4dd15753d77322c32b0296877dd6a10c78 MISC metadata.xml 248 BLAKE2B 2ac829e1663815f752e218e9ee474448a3d973c075939d578699f57790581498adfe9bad180a79fcc6ea0afc339f57d25cbcc0fdd430f82d192c23c03d15e465 SHA512 55c2e2e06f91e13fd73b9545c51d4169a47f040ead41eb1368479940b026def820de67137312b64a6203f80b57a421c8895ed690386a79086fa0ba6c3557aa47 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/" +} |