summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2012-10-05 06:06:50 +0000
committerPatrick Lauer <patrick@gentoo.org>2012-10-05 06:06:50 +0000
commiteadbc9d6550aff998a35469cb4952a650a5ef5df (patch)
tree748fe164ed826a8d3a309561670e50db0df4a9e3 /app-admin
parentBump (diff)
downloadgentoo-2-eadbc9d6550aff998a35469cb4952a650a5ef5df.tar.gz
gentoo-2-eadbc9d6550aff998a35469cb4952a650a5ef5df.tar.bz2
gentoo-2-eadbc9d6550aff998a35469cb4952a650a5ef5df.zip
Bump
(Portage version: 2.2.0_alpha135/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/monit/ChangeLog8
-rw-r--r--app-admin/monit/monit-5.5.ebuild47
2 files changed, 53 insertions, 2 deletions
diff --git a/app-admin/monit/ChangeLog b/app-admin/monit/ChangeLog
index 05b3c77c5308..08ef172111aa 100644
--- a/app-admin/monit/ChangeLog
+++ b/app-admin/monit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/monit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.71 2012/08/20 06:43:50 heroxbd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.72 2012/10/05 06:06:50 patrick Exp $
+
+*monit-5.5 (05 Oct 2012)
+
+ 05 Oct 2012; Patrick Lauer <patrick@gentoo.org> +monit-5.5.ebuild:
+ Bump
20 Aug 2012; Benda Xu <heroxbd@gentoo.org> monit-5.4-r1.ebuild:
keyword ~amd64-linux
@@ -298,4 +303,3 @@
01 Oct 2003; Markus Nigbur <pyrania@gentoo.org> monit-4.0.ebuild:
Initial ebuild. Thanks to rladams@kelsey-seybold.com (bug #16044).
-
diff --git a/app-admin/monit/monit-5.5.ebuild b/app-admin/monit/monit-5.5.ebuild
new file mode 100644
index 000000000000..4e02e9574767
--- /dev/null
+++ b/app-admin/monit/monit-5.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-5.5.ebuild,v 1.1 2012/10/05 06:06:50 patrick Exp $
+
+EAPI="2"
+
+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 CHANGES.txt README*
+ dohtml -r doc/*
+
+ insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed"
+ newinitd "${FILESDIR}"/monit.initd-5.0-r1 monit || die "newinitd failed"
+}
+
+pkg_postinst() {
+ elog "Sample configurations are available at:"
+ elog "http://mmonit.com/monit/documentation/"
+}