diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2006-06-10 13:39:56 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2006-06-10 13:39:56 +0000 |
commit | a9c2eb428c669017d73a8e764589f9d14421c3ad (patch) | |
tree | b2a36792d0bb5f610c2863be4606d4025c42cd1e /app-admin/monit | |
parent | few little QA fixes (diff) | |
download | gentoo-2-a9c2eb428c669017d73a8e764589f9d14421c3ad.tar.gz gentoo-2-a9c2eb428c669017d73a8e764589f9d14421c3ad.tar.bz2 gentoo-2-a9c2eb428c669017d73a8e764589f9d14421c3ad.zip |
Version bumped, Bug 132609.
(Portage version: 2.1_rc4-r5)
Diffstat (limited to 'app-admin/monit')
-rw-r--r-- | app-admin/monit/ChangeLog | 10 | ||||
-rw-r--r-- | app-admin/monit/files/digest-monit-4.8.1 | 3 | ||||
-rw-r--r-- | app-admin/monit/files/monit.initd-4.8.1 | 28 | ||||
-rw-r--r-- | app-admin/monit/monit-4.8.1.ebuild | 38 |
4 files changed, 77 insertions, 2 deletions
diff --git a/app-admin/monit/ChangeLog b/app-admin/monit/ChangeLog index f0b3634f6d26..3bf33c001cae 100644 --- a/app-admin/monit/ChangeLog +++ b/app-admin/monit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/monit -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.20 2005/10/29 18:33:52 vanquirius Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.21 2006/06/10 13:39:56 matsuu Exp $ + +*monit-4.8.1 (10 Jun 2006) + + 10 Jun 2006; MATSUU Takuto <matsuu@gentoo.org> +files/monit.initd-4.8.1, + +monit-4.8.1.ebuild: + Version bumped, Bug 132609. *monit-4.6 (29 Oct 2005) diff --git a/app-admin/monit/files/digest-monit-4.8.1 b/app-admin/monit/files/digest-monit-4.8.1 new file mode 100644 index 000000000000..dcd2fe218945 --- /dev/null +++ b/app-admin/monit/files/digest-monit-4.8.1 @@ -0,0 +1,3 @@ +MD5 3c7b9340d3fba73c75c993e7069cd108 monit-4.8.1.tar.gz 561152 +RMD160 322844aa98319ac5ed740e96d260dd223d225812 monit-4.8.1.tar.gz 561152 +SHA256 2a4a057ff3f695826aaeae22d3c736fbd440bcde5b4f320dbf5ae837c5860b75 monit-4.8.1.tar.gz 561152 diff --git a/app-admin/monit/files/monit.initd-4.8.1 b/app-admin/monit/files/monit.initd-4.8.1 new file mode 100644 index 000000000000..58a2fb820ce9 --- /dev/null +++ b/app-admin/monit/files/monit.initd-4.8.1 @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/files/monit.initd-4.8.1,v 1.1 2006/06/10 13:39:56 matsuu Exp $ + +opts="${opts} reload" + +depend() { + use net +} + +start() { + ebegin "Starting monit" + start-stop-daemon --start --quiet --exec /usr/bin/monit >/dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping monit" + start-stop-daemon --stop --quiet --exec /usr/bin/monit + eend $? +} + +reload() { + ebegin "Reloading monit" + /usr/bin/monit -c /etc/monitrc reload >/dev/null 2>&1 + eend $? +} diff --git a/app-admin/monit/monit-4.8.1.ebuild b/app-admin/monit/monit-4.8.1.ebuild new file mode 100644 index 000000000000..cb7b23d7cab2 --- /dev/null +++ b/app-admin/monit/monit-4.8.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-4.8.1.ebuild,v 1.1 2006/06/10 13:39:56 matsuu Exp $ + +DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system." +HOMEPAGE="http://www.tildeslash.com/monit/" +SRC_URI="http://www.tildeslash.com/monit/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="ssl" + +RDEPEND="virtual/libc + ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison" + +src_compile() { + econf `use_with ssl` || die + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + + dodoc CHANGES.txt CONTRIBUTORS FAQ.txt README* STATUS UPGRADE.txt + dohtml -r doc/* + + insinto /etc; insopts -m700; doins monitrc || die + newinitd "${FILESDIR}"/monit.initd-${PV} monit || die +} + +pkg_postinst() { + einfo "Sample configurations are available at" + einfo "http://www.tildeslash.com/monit/doc/examples.php" +} |