# ChangeLog for app-admin/monit
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.25 2006/10/25 04:30:19 tsunam Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.26 2007/01/06 05:57:05 matsuu Exp $
+
+*monit-4.8.2 (06 Jan 2007)
+
+ 06 Jan 2007; MATSUU Takuto <matsuu@gentoo.org> -files/monit.initd,
+ -monit-4.4.ebuild, -monit-4.5.1.ebuild, -monit-4.6.ebuild,
+ +monit-4.8.2.ebuild:
+ Version bumped.
+ Removed old versions.
25 Oct 2006; Joshua Jackson <tsunam@gentoo.org> monit-4.8.1.ebuild:
Stable x86; bug #152220
--- /dev/null
+MD5 e7ad6056c71becf014653f6597d110ca monit-4.8.2.tar.gz 568557
+RMD160 1b6ff54973006cf0e317d6cf4728e5822a524f7b monit-4.8.2.tar.gz 568557
+SHA256 5fecb7a7e6e9ca86c565c202f4f56eaed92c0418187ca6675fd77194630f3e3c monit-4.8.2.tar.gz 568557
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-4.8.2.ebuild,v 1.1 2007/01/06 05:57:05 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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e '/^INSTALL_PROG/s/-s//' Makefile.in || die "sed failed in Makefile.in"
+}
+
+src_compile() {
+ econf $(use_with ssl) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc CHANGES.txt CONTRIBUTORS FAQ.txt README* STATUS UPGRADE.txt
+ dohtml -r doc/*
+
+ insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed"
+ newinitd "${FILESDIR}"/monit.initd-4.8.1 monit || die "newinitd failed"
+}
+
+pkg_postinst() {
+ elog "Sample configurations are available at"
+ elog "http://www.tildeslash.com/monit/doc/examples.php"
+}