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: Wed, 30 May 2018 08:22:43
Message-Id: 1527668552.231c9df19fc0e5429e42abe50b863f00c2bb71f8.polynomial-c@gentoo
1 commit: 231c9df19fc0e5429e42abe50b863f00c2bb71f8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 30 08:21:27 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed May 30 08:22:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=231c9df1
7
8 app-admin/monit: Bump to version 5.25.2
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-admin/monit/Manifest | 1 +
13 app-admin/monit/monit-5.25.2.ebuild | 51 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
17 index 7d52971cf6e..55cd2df767a 100644
18 --- a/app-admin/monit/Manifest
19 +++ b/app-admin/monit/Manifest
20 @@ -2,3 +2,4 @@ DIST monit-5.23.0.tar.gz 1298472 BLAKE2B 8cc580c1a9947e43703eff3593992d6ad533809
21 DIST monit-5.24.0.tar.gz 1352660 BLAKE2B 6759d1c75adcd089a7e3a5e48150b1ea0fcd6ab7dd1f8f3018c0a48a5a2b648bc353a99785f140d7d4cc0715b1d3c4057d26a763ec268d6dce56f96f66071bbc SHA512 5260a1b543495c650e2e91ad38129c65253ce6649150e0e51d11b2902723cb7dd8e1a874c473bec3ba5b51721f2b61fdec92cf445f11cc217c1a6fcc0fab1a1e
22 DIST monit-5.25.0.tar.gz 1353674 BLAKE2B a187ec1de14934f3e54bccaaf1dbf98eba57f8f06b6c43057060b63ed39f351732dd720f5026dd94bc814528a4bb685c0e342a9990f2e12f08399de4e0852a84 SHA512 6a0a3e81a97846420785026d108f2640986d0c24ecde55faf522dd7891ecdc2237c40667ec7b63a53358539c18870927cd75eb4c24cbb4b8ff73c54c267e70c5
23 DIST monit-5.25.1.tar.gz 1353855 BLAKE2B 5abef9c97088b12ab376e67f2524534ad1b0e2e3dfa98d5f5fdd8a6fc2331ead57d77aa1d8229a0825cbb36871b063006b74dc98dd780baef8aaca1da5c6c74c SHA512 b21b18302aed602f9371f7dee29f7306dbccd355df333bc6d868acdb6c054cef877dee72e261383938fe1d10121cd07e820e040ea80ed70260fdda8b451f6ab1
24 +DIST monit-5.25.2.tar.gz 1354704 BLAKE2B 503660146edba988d0c52d1773dc3d3d6f495b3e3f0ae147be6a4297bf118ad6b5f7289868ad4b61226cf499bd8d6e3aed8f5fec91ff8ff699968f4262f1fd01 SHA512 e9b6ce60bf82c2564a084fc42b65ef432ee35855cad038fe6ae209047abaa1c54cabb4cd75c8a85c1102844a1b90c3c5f8ddbbd56711665b9bea616bcc02ec86
25
26 diff --git a/app-admin/monit/monit-5.25.2.ebuild b/app-admin/monit/monit-5.25.2.ebuild
27 new file mode 100644
28 index 00000000000..43e22cd6648
29 --- /dev/null
30 +++ b/app-admin/monit/monit-5.25.2.ebuild
31 @@ -0,0 +1,51 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit 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="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 + sys-devel/flex
54 + sys-devel/bison
55 + pam? ( virtual/pam )"
56 +
57 +src_prepare() {
58 + default
59 +
60 + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
61 +}
62 +
63 +src_configure() {
64 + econf $(use_with ssl) $(use_with pam)
65 +}
66 +
67 +src_install() {
68 + default
69 +
70 + dodoc README
71 +
72 + insinto /etc; insopts -m600; doins monitrc
73 + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
74 + systemd_dounit "${FILESDIR}"/${PN}.service
75 +
76 + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
77 +}
78 +
79 +pkg_postinst() {
80 + elog "Sample configurations are available at:"
81 + elog "http://mmonit.com/monit/documentation/"
82 +}