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