Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/monit/
Date: Tue, 30 Jun 2020 07:21:30
Message-Id: 1593501682.31b37d9465e65aca17e48bb5fa6c81fec12dc728.polynomial-c@gentoo
1 commit: 31b37d9465e65aca17e48bb5fa6c81fec12dc728
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 30 07:21:14 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 30 07:21:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b37d94
7
8 app-admin/monit: Bump to version 5.27.0
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-admin/monit/Manifest | 1 +
14 app-admin/monit/monit-5.27.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
18 index 047ddfbb68c..20af3417f3e 100644
19 --- a/app-admin/monit/Manifest
20 +++ b/app-admin/monit/Manifest
21 @@ -1,2 +1,3 @@
22 DIST monit-5.25.3.tar.gz 1355925 BLAKE2B f1c4775ad82ccea262fa5d9c3c9396e634cb3742c59ff9d8b3c87552501ee749a829932570b8d2836fe77a14fb42fea2ee42cab1aa355ca09df6dccda9aa5f51 SHA512 9030b8e6a02eeaf497382f14f7cf855a96599ab060130f077208edd5db35fee1b74f9166df4deff87b4a1954c8d4fff83b5465166938a3f8aea8d4d4c0371e90
23 DIST monit-5.26.0.tar.gz 1371327 BLAKE2B eb130c36ad9df0b042fc241fde540ea12945ff1d63d14925da8435e88586141f5ebc116ad5a540a4fbfa507e0101d4cf4ef8a4435fd638f39d5472ba0d6e12d5 SHA512 ae5bfc9f2e8cf2d2efa7a121f3bb865dc5b66b647e23e005349799f3f4384dfa1534ed88d0767ca41dac4cea2674fb82cfb51098129d350b470143df548c6900
24 +DIST monit-5.27.0.tar.gz 1455341 BLAKE2B a2eeab81dacf506cdb336ba5e116f18d947b206ab791b4ee9f3ec54dcbbb973c31074f5a46bf32397fa4306cc6b11eca80b4c92770ae412baf1b610483e8259f SHA512 34461572ad809917f13672613bd37546ec2b5ebaf5a93a52d669c7c67b102a592ed5e88012feb53c9fe310ea9437a169f8822eac06d7b6f42a1801f710365785
25
26 diff --git a/app-admin/monit/monit-5.27.0.ebuild b/app-admin/monit/monit-5.27.0.ebuild
27 new file mode 100644
28 index 00000000000..6de7d574476
29 --- /dev/null
30 +++ b/app-admin/monit/monit-5.27.0.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +inherit bash-completion-r1 pam systemd
37 +
38 +DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system"
39 +HOMEPAGE="http://mmonit.com/monit/"
40 +SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
41 +
42 +LICENSE="AGPL-3"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
45 +IUSE="ipv6 libressl pam ssl"
46 +
47 +RDEPEND="
48 + ssl? (
49 + !libressl? ( dev-libs/openssl:0= )
50 + libressl? ( dev-libs/libressl:0= )
51 + )"
52 +DEPEND="${RDEPEND}
53 + pam? ( sys-libs/pam )"
54 +BDEPEND="
55 + sys-devel/flex
56 + sys-devel/bison
57 +"
58 +
59 +src_prepare() {
60 + default
61 + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die
62 +}
63 +
64 +src_configure() {
65 + local myeconfargs=(
66 + $(use_with ipv6)
67 + $(use_with pam)
68 + $(use_with ssl)
69 + )
70 + econf "${myeconfargs[@]}"
71 +}
72 +
73 +src_install() {
74 + default
75 +
76 + insinto /etc; insopts -m600; doins monitrc
77 + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
78 + systemd_dounit "${FILESDIR}"/${PN}.service
79 +
80 + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
81 +
82 + dobashcomp system/bash/monit
83 +}
84 +
85 +pkg_postinst() {
86 + elog "Sample configurations are available at:"
87 + elog "http://mmonit.com/monit/documentation/"
88 +}