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