mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-admin/monit: add 5.34.3
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
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
|
||||
DIST monit-5.34.3.tar.gz 1518592 BLAKE2B 444bc0918fefc59214f9513fa134d4abea9cb0bbfc3e71fa4c3d76d9134821a54e1949bf89a4dc483593862a629a03ac347df9c12f07476c1fcbf2c2e2d4d507 SHA512 77a3837dec02c2008a7d460f553da18691c1e42f2c0f1baa34b7e1547d0dccadd38cd67c827ea380e26c5e15a89e87439c26ae52b4266d944898ce25153a2fa5
|
||||
|
||||
59
app-admin/monit/monit-5.34.3.ebuild
Normal file
59
app-admin/monit/monit-5.34.3.ebuild
Normal file
@@ -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/"
|
||||
}
|
||||
Reference in New Issue
Block a user