mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-admin/monit: add 5.35.2
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
parent
9969cf1ce1
commit
eb529122f4
@ -1,3 +1,4 @@
|
||||
DIST monit-5.34.0.tar.gz 1486962 BLAKE2B e49e271f981d76b5d1f71818b7e6e1b1a2de56d8b1f856931c9abec053358dc6557e58fe3c37c5af9cf0f4e2c667ead5cff2ac96c6d8a2c70155cf301c6ffb44 SHA512 7e966b4437233a9be25c517620d77400bb865278975d62f6edc7d42a88d1780cbd233ce20f48da9a026b84a77d47796fb4f528409f064a99d08243ff3f3d2472
|
||||
DIST monit-5.34.3.tar.gz 1518592 BLAKE2B 444bc0918fefc59214f9513fa134d4abea9cb0bbfc3e71fa4c3d76d9134821a54e1949bf89a4dc483593862a629a03ac347df9c12f07476c1fcbf2c2e2d4d507 SHA512 77a3837dec02c2008a7d460f553da18691c1e42f2c0f1baa34b7e1547d0dccadd38cd67c827ea380e26c5e15a89e87439c26ae52b4266d944898ce25153a2fa5
|
||||
DIST monit-5.34.4.tar.gz 1664299 BLAKE2B a61a63eab320cb39d9d90a877fa6d2f9c326e9629847c235cb44061ad69d9ae561d1c05c5ca0b50e263d3539ed39db64602741e88aa20697209c62bdb53f7516 SHA512 e9ff0c5e5823542fd60ff25ecd53850cc37c1b76c2108e9c09c4eeb137a1b7a844b4cbe0075eaf13a5d28991e1214d3ab08bf2902f375e3118af0b98fd879d98
|
||||
DIST monit-5.35.2.tar.gz 1526704 BLAKE2B 36ffdf106ac1c800817fd45bd41e444bfbfc483e13a6743ad2b7167e0e5efe612649c90ca7be2a58e6741c6b297c8677e337d9f1b6b451aadbea62eab7ac561a SHA512 5368a2096ae0ace59b4836a87d2758d11b550e6231a706f8e62ce0bcb2439895c9d1c41c0b0677a5112e30f4d809c95ddd039efdb60d9d4db826ab80d49179e5
|
||||
|
||||
59
app-admin/monit/monit-5.35.2.ebuild
Normal file
59
app-admin/monit/monit-5.35.2.ebuild
Normal file
@ -0,0 +1,59 @@
|
||||
# Copyright 2021-2025 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/"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user