From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0BCCD139694 for ; Wed, 8 Mar 2017 09:47:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2637FE0C15; Wed, 8 Mar 2017 09:47:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E49E0E0C15 for ; Wed, 8 Mar 2017 09:47:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C0953341586 for ; Wed, 8 Mar 2017 09:47:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6719860DA for ; Wed, 8 Mar 2017 09:47:28 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1488966433.3affbc8345d3cae7d40543e699a6b9d955756ade.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/monit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/monit/Manifest app-admin/monit/monit-5.21.0.ebuild X-VCS-Directories: app-admin/monit/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 3affbc8345d3cae7d40543e699a6b9d955756ade X-VCS-Branch: master Date: Wed, 8 Mar 2017 09:47:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a8648214-0fcc-410d-b75d-15b26b74adab X-Archives-Hash: a36b9a40fdf20456a55cc95e999cfd29 commit: 3affbc8345d3cae7d40543e699a6b9d955756ade Author: Lars Wendler gentoo org> AuthorDate: Wed Mar 8 09:30:59 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Mar 8 09:47:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3affbc83 app-admin/monit: Bump to version 5.21.0 Package-Manager: Portage-2.3.4, Repoman-2.3.2 app-admin/monit/Manifest | 1 + app-admin/monit/monit-5.21.0.ebuild | 51 +++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index 1e11f157b1d..cc95c3aca6d 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1 +1,2 @@ DIST monit-5.20.0.tar.gz 1267991 SHA256 ebac395ec50c1ae64d568db1260bc049d0e0e624c00e79d7b1b9a59c2679b98d SHA512 653cba9d63fad42acf8c27ee9c050d047fc78e0b7e8cdb0f3d0a533d5b5e01ccf1b82d443cb6518d286547087a021e37a59cbffedbb3daf49ff8f95e8c64b884 WHIRLPOOL 28f9fcfa86c346fb390654e4730cc52ce30b794b2dc1e02a484079b55a8bcb50d78a71e2e856f1ce1e161dc99bcd6913b4db92ed0deab64e969c5c6a464c584d +DIST monit-5.21.0.tar.gz 1302859 SHA256 fbf76163ed4a180854d378af60fed0cdbc5a8772823957234efc182ead10c03c SHA512 ab0f255bc5f2d1c4b642694b411fca202258360bc24e9da8631026cde868a336b9472b6f341517248bcbbaeefeeb9c07477194f450410cf14f64b5016b2c009b WHIRLPOOL 4a9b1b080192b08af486c840c833c8e5f6d29795b07ecb653e73d2409a3b620bc59a2d13c4f541840128c1d83b0675a9cfa8fe95e8aebd2dc0f94f404b20d90c diff --git a/app-admin/monit/monit-5.21.0.ebuild b/app-admin/monit/monit-5.21.0.ebuild new file mode 100644 index 00000000000..0cbe4359523 --- /dev/null +++ b/app-admin/monit/monit-5.21.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit pam systemd + +DESCRIPTION="Monitoring and managing daemons or similar programs running on a Unix system" +HOMEPAGE="http://mmonit.com/monit/" +SRC_URI="http://mmonit.com/monit/dist/${P}.tar.gz" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" +IUSE="libressl pam ssl" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + pam? ( virtual/pam )" + +src_prepare() { + default + + sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in" +} + +src_configure() { + econf $(use_with ssl) $(use_with pam) +} + +src_install() { + default + + dodoc README + + insinto /etc; insopts -m600; doins monitrc + newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit + systemd_dounit "${FILESDIR}"/${PN}.service + + use pam && newpamd "${FILESDIR}"/${PN}.pamd ${PN} +} + +pkg_postinst() { + elog "Sample configurations are available at:" + elog "http://mmonit.com/monit/documentation/" +}