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