diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2004-03-28 03:52:36 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2004-03-28 03:52:36 +0000 |
commit | b3bb63d158dd45645af229fff5366af33af729ae (patch) | |
tree | c616f9ecbe0370f8470c790d244b079024fea3d2 /app-admin/monit | |
parent | Initial version, closes #45538. (diff) | |
download | historical-b3bb63d158dd45645af229fff5366af33af729ae.tar.gz historical-b3bb63d158dd45645af229fff5366af33af729ae.tar.bz2 historical-b3bb63d158dd45645af229fff5366af33af729ae.zip |
Version bumped.
Diffstat (limited to 'app-admin/monit')
-rw-r--r-- | app-admin/monit/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/monit/Manifest | 9 | ||||
-rw-r--r-- | app-admin/monit/files/digest-monit-4.0 | 1 | ||||
-rw-r--r-- | app-admin/monit/files/digest-monit-4.2 | 1 | ||||
-rw-r--r-- | app-admin/monit/files/monit.initd | 28 | ||||
-rw-r--r-- | app-admin/monit/monit-4.2.ebuild (renamed from app-admin/monit/monit-4.0.ebuild) | 13 |
6 files changed, 46 insertions, 13 deletions
diff --git a/app-admin/monit/ChangeLog b/app-admin/monit/ChangeLog index e5975005b4c9..98c89db9f29d 100644 --- a/app-admin/monit/ChangeLog +++ b/app-admin/monit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/monit # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.3 2004/02/29 22:59:35 pyrania Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/ChangeLog,v 1.4 2004/03/28 03:52:36 matsuu Exp $ + + 28 Mar 2004; <matsuu@gentoo.org> monit-4.2.ebuild: + Version bumped. + Added files/monit.initd. + Added ~amd64 to KEYWORDS. 29 Feb 2004; Markus Nigbur <pyrania@gentoo.org> monit-4.1.ebuild: Stable on x86. diff --git a/app-admin/monit/Manifest b/app-admin/monit/Manifest index 4314f8adba59..25cfab60ad50 100644 --- a/app-admin/monit/Manifest +++ b/app-admin/monit/Manifest @@ -1,6 +1,7 @@ -MD5 75c9c7c8774a0d193313461293b4cada monit-4.1.ebuild 970 -MD5 303e2070a6945f69ba9e0c5fd0a3a915 monit-4.0.ebuild 970 -MD5 21581ff606488138875149b59a81f89a ChangeLog 572 +MD5 5fbef6981bd5a2c408ff9fc98ef5dd97 ChangeLog 698 MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 -MD5 95c4887b1557df5797c6f38257792614 files/digest-monit-4.0 61 +MD5 75c9c7c8774a0d193313461293b4cada monit-4.1.ebuild 970 +MD5 4648848703aeea7bb828892fdf00689d monit-4.2.ebuild 1062 +MD5 af8ea4ce9aab20cbeac1f719c0339ddf files/digest-monit-4.2 61 MD5 1d8f2629f9e3e636f22832af99c31004 files/digest-monit-4.1 61 +MD5 5ea376de61512d4c3dabb43eb21cd108 files/monit.initd 631 diff --git a/app-admin/monit/files/digest-monit-4.0 b/app-admin/monit/files/digest-monit-4.0 deleted file mode 100644 index a946cf944621..000000000000 --- a/app-admin/monit/files/digest-monit-4.0 +++ /dev/null @@ -1 +0,0 @@ -MD5 f9d26b8393736b5dfad837bb13780786 monit-4.0.tar.gz 404227 diff --git a/app-admin/monit/files/digest-monit-4.2 b/app-admin/monit/files/digest-monit-4.2 new file mode 100644 index 000000000000..c0125feba392 --- /dev/null +++ b/app-admin/monit/files/digest-monit-4.2 @@ -0,0 +1 @@ +MD5 8932e3dca85aab69ba768995107b9dbf monit-4.2.tar.gz 436036 diff --git a/app-admin/monit/files/monit.initd b/app-admin/monit/files/monit.initd new file mode 100644 index 000000000000..b04248a09774 --- /dev/null +++ b/app-admin/monit/files/monit.initd @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/files/monit.initd,v 1.1 2004/03/28 03:52:36 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 --pidfile /var/run/monit.pid + 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.0.ebuild b/app-admin/monit/monit-4.2.ebuild index f693c6c779e9..919eb012cb67 100644 --- a/app-admin/monit/monit-4.0.ebuild +++ b/app-admin/monit/monit-4.2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-4.0.ebuild,v 1.2 2003/11/16 22:54:32 pyrania Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/monit/monit-4.2.ebuild,v 1.1 2004/03/28 03:52:36 matsuu 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="x86" +KEYWORDS="~x86 ~amd64" IUSE="ssl" RDEPEND="virtual/glibc @@ -26,12 +26,11 @@ src_compile() { src_install() { make DESTDIR=${D} install || die - dodoc CHANGES.txt CONTRIBUTORS FAQ.txt LICENSE README* STATUS + dodoc CHANGES.txt CONTRIBUTORS FAQ.txt LICENSE README* STATUS UPGRADE.txt dohtml -r doc/* - insinto /etc - insopts -m700 - doins monitrc + insinto /etc; insopts -m700; doins monitrc || die + exeinto /etc/init.d; newexe ${FILESDIR}/monit.initd monit || die } pkg_postinst() { |