diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-10-21 14:33:18 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2006-10-21 14:33:18 +0000 |
commit | ac21f58b31b6d1bff73b5c87e915e3641f402ef2 (patch) | |
tree | 4288af047a8931e832dea1b9688e97b981eb3186 | |
parent | MySQL 5.1 support, configure splitup, cleanup, thanks to vivo! (diff) | |
download | gentoo-2-ac21f58b31b6d1bff73b5c87e915e3641f402ef2.tar.gz gentoo-2-ac21f58b31b6d1bff73b5c87e915e3641f402ef2.tar.bz2 gentoo-2-ac21f58b31b6d1bff73b5c87e915e3641f402ef2.zip |
stable on amd64, wrt bug #152220.
(Portage version: 2.1.2_pre3-r6)
-rw-r--r-- | app-admin/monit/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/monit/monit-4.8.1.ebuild | 24 |
2 files changed, 19 insertions, 10 deletions
diff --git a/app-admin/monit/ChangeLog b/app-admin/monit/ChangeLog index 3bf33c001cae..2f1e0d0c3fea 100644 --- a/app-admin/monit/ChangeLog +++ b/app-admin/monit/ChangeLog @@ -1,6 +1,9 @@ # 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.21 2006/06/10 13:39:56 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.22 2006/10/21 14:33:18 voxus Exp $ + + 21 Oct 2006; Konstantin V. Arkhipov <voxus@gentoo.org> monit-4.8.1.ebuild: + Applied Jakub's patch wrt bug #152220, goes stable on amd64. *monit-4.8.1 (10 Jun 2006) diff --git a/app-admin/monit/monit-4.8.1.ebuild b/app-admin/monit/monit-4.8.1.ebuild index cb7b23d7cab2..28c24faed65a 100644 --- a/app-admin/monit/monit-4.8.1.ebuild +++ b/app-admin/monit/monit-4.8.1.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-4.8.1.ebuild,v 1.2 2006/10/21 14:33:18 voxus Exp $ DESCRIPTION="a utility for monitoring and managing daemons or similar programs running on a Unix system." HOMEPAGE="http://www.tildeslash.com/monit/" @@ -8,7 +8,7 @@ SRC_URI="http://www.tildeslash.com/monit/dist/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" +KEYWORDS="amd64 ~ppc ~sparc ~x86" IUSE="ssl" RDEPEND="virtual/libc @@ -17,22 +17,28 @@ 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 - emake || die + econf $(use_with ssl) || die "econf failed" + emake || die "emake failed" } src_install() { - make DESTDIR="${D}" install || die + 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 - newinitd "${FILESDIR}"/monit.initd-${PV} monit || die + insinto /etc; insopts -m700; doins monitrc || die "doins monitrc failed" + newinitd "${FILESDIR}"/monit.initd-${PV} monit || die "newinitd failed" } pkg_postinst() { - einfo "Sample configurations are available at" - einfo "http://www.tildeslash.com/monit/doc/examples.php" + elog "Sample configurations are available at" + elog "http://www.tildeslash.com/monit/doc/examples.php" } |