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, 08 Mar 2017 09:47:32
Message-Id: 1488966433.3affbc8345d3cae7d40543e699a6b9d955756ade.polynomial-c@gentoo
1 commit: 3affbc8345d3cae7d40543e699a6b9d955756ade
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 8 09:30:59 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 8 09:47:13 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3affbc83
7
8 app-admin/monit: Bump to version 5.21.0
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 app-admin/monit/Manifest | 1 +
13 app-admin/monit/monit-5.21.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
17 index 1e11f157b1d..cc95c3aca6d 100644
18 --- a/app-admin/monit/Manifest
19 +++ b/app-admin/monit/Manifest
20 @@ -1 +1,2 @@
21 DIST monit-5.20.0.tar.gz 1267991 SHA256 ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d SHA512 653cba9d63fad42acf8c27ee9c050d047fc78e0b7e8cdb0f3d0a533d5b5e01ccf1b82d443cb6518d286547087a021e37a59cbffedbb3daf49ff8f95e8c64b884 WHIRLPOOL 28f9fcfa86c346fb390654e4730cc52ce30b794b2dc1e02a484079b55a8bcb50d78a71e2e856f1ce1e161dc99bcd6913b4db92ed0deab64e969c5c6a464c584d
22 +DIST monit-5.21.0.tar.gz 1302859 SHA256 fbf76163ed4a180854d378af60fed0cdbc5a8772823957234efc182ead10c03c SHA512 ab0f255bc5f2d1c4b642694b411fca202258360bc24e9da8631026cde868a336b9472b6f341517248bcbbaeefeeb9c07477194f450410cf14f64b5016b2c009b WHIRLPOOL 4a9b1b080192b08af486c840c833c8e5f6d29795b07ecb653e73d2409a3b620bc59a2d13c4f541840128c1d83b0675a9cfa8fe95e8aebd2dc0f94f404b20d90c
23
24 diff --git a/app-admin/monit/monit-5.21.0.ebuild b/app-admin/monit/monit-5.21.0.ebuild
25 new file mode 100644
26 index 00000000000..0cbe4359523
27 --- /dev/null
28 +++ b/app-admin/monit/monit-5.21.0.ebuild
29 @@ -0,0 +1,51 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +inherit pam systemd
35 +
36 +DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system"
37 +HOMEPAGE="http://mmonit.com/monit/"
38 +SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz"
39 +
40 +LICENSE="AGPL-3"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
43 +IUSE="libressl pam ssl"
44 +
45 +RDEPEND="
46 + ssl? (
47 + !libressl? ( dev-libs/openssl:0= )
48 + libressl? ( dev-libs/libressl:0= )
49 + )"
50 +DEPEND="${RDEPEND}
51 + sys-devel/flex
52 + sys-devel/bison
53 + pam? ( virtual/pam )"
54 +
55 +src_prepare() {
56 + default
57 +
58 + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
59 +}
60 +
61 +src_configure() {
62 + econf $(use_with ssl) $(use_with pam)
63 +}
64 +
65 +src_install() {
66 + default
67 +
68 + dodoc README
69 +
70 + insinto /etc; insopts -m600; doins monitrc
71 + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit
72 + systemd_dounit "${FILESDIR}"/${PN}.service
73 +
74 + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN}
75 +}
76 +
77 +pkg_postinst() {
78 + elog "Sample configurations are available at:"
79 + elog "http://mmonit.com/monit/documentation/"
80 +}