summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2014-05-20 06:01:10 +0000
committerPatrick Lauer <patrick@gentoo.org>2014-05-20 06:01:10 +0000
commit6ee4486027cd01139d9ef4f85419022d8639e5bc (patch)
treec4094e7245e8c0115d2391dde9849a069e281d14 /app-admin
parentMove the ruby bindings to a separate package to facilitate building them for ... (diff)
downloadgentoo-2-6ee4486027cd01139d9ef4f85419022d8639e5bc.tar.gz
gentoo-2-6ee4486027cd01139d9ef4f85419022d8639e5bc.tar.bz2
gentoo-2-6ee4486027cd01139d9ef4f85419022d8639e5bc.zip
Bump
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/monit/ChangeLog7
-rw-r--r--app-admin/monit/monit-5.8.1.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/app-admin/monit/ChangeLog b/app-admin/monit/ChangeLog
index 819a5e7576e9..36a038a862db 100644
--- a/app-admin/monit/ChangeLog
+++ b/app-admin/monit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/monit
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.81 2014/04/02 02:32:01 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.82 2014/05/20 06:01:10 patrick Exp $
+
+*monit-5.8.1 (20 May 2014)
+
+ 20 May 2014; Patrick Lauer <patrick@gentoo.org> +monit-5.8.1.ebuild:
+ Bump
*monit-5.8 (02 Apr 2014)
diff --git a/app-admin/monit/monit-5.8.1.ebuild b/app-admin/monit/monit-5.8.1.ebuild
new file mode 100644
index 000000000000..ca62db78b421
--- /dev/null
+++ b/app-admin/monit/monit-5.8.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.8.1.ebuild,v 1.1 2014/05/20 06:01:10 patrick Exp $
+
+EAPI="2"
+inherit systemd
+
+DESCRIPTION="a utility for 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="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux"
+IUSE="pam ssl"
+
+RDEPEND="ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ sys-devel/bison
+ pam? ( virtual/pam )"
+
+src_prepare() {
+ sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
+}
+
+src_configure() {
+ econf $(use_with ssl) $(use_with pam) || die "econf failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc README*
+ dohtml -r doc/*
+
+ insinto /etc; insopts -m600; doins monitrc || die "doins monitrc failed"
+ newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed"
+ systemd_dounit "${FILESDIR}"/${PN}.service || die
+}
+
+pkg_postinst() {
+ elog "Sample configurations are available at:"
+ elog "http://mmonit.com/monit/documentation/"
+}