summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2018-05-30 10:21:27 +0200
committerLars Wendler <polynomial-c@gentoo.org>2018-05-30 10:22:32 +0200
commit231c9df19fc0e5429e42abe50b863f00c2bb71f8 (patch)
tree9a788b0ad9aaefe8f8aadec3dbb67eae90fb3dd0 /app-admin/monit
parentant-tasks.eclass: use eapi7-ver. (diff)
downloadgentoo-231c9df19fc0e5429e42abe50b863f00c2bb71f8.tar.gz
gentoo-231c9df19fc0e5429e42abe50b863f00c2bb71f8.tar.bz2
gentoo-231c9df19fc0e5429e42abe50b863f00c2bb71f8.zip
app-admin/monit: Bump to version 5.25.2
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-admin/monit')
-rw-r--r--app-admin/monit/Manifest1
-rw-r--r--app-admin/monit/monit-5.25.2.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest
index 7d52971cf6e0..55cd2df767af 100644
--- a/app-admin/monit/Manifest
+++ b/app-admin/monit/Manifest
@@ -2,3 +2,4 @@ DIST monit-5.23.0.tar.gz 1298472 BLAKE2B 8cc580c1a9947e43703eff3593992d6ad533809
DIST monit-5.24.0.tar.gz 1352660 BLAKE2B 6759d1c75adcd089a7e3a5e48150b1ea0fcd6ab7dd1f8f3018c0a48a5a2b648bc353a99785f140d7d4cc0715b1d3c4057d26a763ec268d6dce56f96f66071bbc SHA512 5260a1b543495c650e2e91ad38129c65253ce6649150e0e51d11b2902723cb7dd8e1a874c473bec3ba5b51721f2b61fdec92cf445f11cc217c1a6fcc0fab1a1e
DIST monit-5.25.0.tar.gz 1353674 BLAKE2B a187ec1de14934f3e54bccaaf1dbf98eba57f8f06b6c43057060b63ed39f351732dd720f5026dd94bc814528a4bb685c0e342a9990f2e12f08399de4e0852a84 SHA512 6a0a3e81a97846420785026d108f2640986d0c24ecde55faf522dd7891ecdc2237c40667ec7b63a53358539c18870927cd75eb4c24cbb4b8ff73c54c267e70c5
DIST monit-5.25.1.tar.gz 1353855 BLAKE2B 5abef9c97088b12ab376e67f2524534ad1b0e2e3dfa98d5f5fdd8a6fc2331ead57d77aa1d8229a0825cbb36871b063006b74dc98dd780baef8aaca1da5c6c74c SHA512 b21b18302aed602f9371f7dee29f7306dbccd355df333bc6d868acdb6c054cef877dee72e261383938fe1d10121cd07e820e040ea80ed70260fdda8b451f6ab1
+DIST monit-5.25.2.tar.gz 1354704 BLAKE2B 503660146edba988d0c52d1773dc3d3d6f495b3e3f0ae147be6a4297bf118ad6b5f7289868ad4b61226cf499bd8d6e3aed8f5fec91ff8ff699968f4262f1fd01 SHA512 e9b6ce60bf82c2564a084fc42b65ef432ee35855cad038fe6ae209047abaa1c54cabb4cd75c8a85c1102844a1b90c3c5f8ddbbd56711665b9bea616bcc02ec86
diff --git a/app-admin/monit/monit-5.25.2.ebuild b/app-admin/monit/monit-5.25.2.ebuild
new file mode 100644
index 000000000000..43e22cd6648d
--- /dev/null
+++ b/app-admin/monit/monit-5.25.2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 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/"
+}