summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-07-09 22:47:42 +0000
committerRoy Marples <uberlord@gentoo.org>2007-07-09 22:47:42 +0000
commit6c13b0dfda45a703d0d169759d7c7786f851349a (patch)
treec6faeedc9f6d613cf51f4515ce7e98e47d81d487 /app-admin/mon
parentRemoved stale versions since they depended on a non-existing version of libqa... (diff)
downloadgentoo-2-6c13b0dfda45a703d0d169759d7c7786f851349a.tar.gz
gentoo-2-6c13b0dfda45a703d0d169759d7c7786f851349a.tar.bz2
gentoo-2-6c13b0dfda45a703d0d169759d7c7786f851349a.zip
Fix init script typo, #120904.
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'app-admin/mon')
-rw-r--r--app-admin/mon/ChangeLog8
-rw-r--r--app-admin/mon/files/digest-mon-0.99.2-r53
-rw-r--r--app-admin/mon/files/mon.rc64
-rw-r--r--app-admin/mon/mon-0.99.2-r5.ebuild61
4 files changed, 73 insertions, 3 deletions
diff --git a/app-admin/mon/ChangeLog b/app-admin/mon/ChangeLog
index e43525e8b66e..b125bf59afab 100644
--- a/app-admin/mon/ChangeLog
+++ b/app-admin/mon/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/mon
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/ChangeLog,v 1.24 2007/04/28 17:05:28 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/ChangeLog,v 1.25 2007/07/09 22:47:42 uberlord Exp $
+
+*mon-0.99.2-r5 (09 Jul 2007)
+
+ 09 Jul 2007; Roy Marples <uberlord@gentoo.org> files/mon.rc6,
+ +mon-0.99.2-r5.ebuild:
+ Fix init script typo, #120904.
28 Apr 2007; Torsten Veller <tove@gentoo.org> mon-0.99.2-r2.ebuild,
mon-0.99.2-r4.ebuild:
diff --git a/app-admin/mon/files/digest-mon-0.99.2-r5 b/app-admin/mon/files/digest-mon-0.99.2-r5
new file mode 100644
index 000000000000..90af4ea3e052
--- /dev/null
+++ b/app-admin/mon/files/digest-mon-0.99.2-r5
@@ -0,0 +1,3 @@
+MD5 61dbaed4ab89e952650339a55dd9f1dc mon-0.99.2.tar.bz2 135732
+RMD160 c81ffbc16c022d9f3e4a1ed8ea8802dc7f78766e mon-0.99.2.tar.bz2 135732
+SHA256 d0dfa547180c15f21c9c22557025f75c7e14bd77e808c03e2e59f2303dd6656e mon-0.99.2.tar.bz2 135732
diff --git a/app-admin/mon/files/mon.rc6 b/app-admin/mon/files/mon.rc6
index f35bc2a2d058..bb7122ea1445 100644
--- a/app-admin/mon/files/mon.rc6
+++ b/app-admin/mon/files/mon.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/files/mon.rc6,v 1.6 2006/01/31 12:30:13 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/files/mon.rc6,v 1.7 2007/07/09 22:47:42 uberlord Exp $
depend() {
need clock
@@ -20,7 +20,7 @@ start() {
checkconfig || return 1
ebegin "Starting mon"
start-stop-daemon --start --exec /usr/sbin/mon \
- --pidfile /var/run/mod.pid \
+ --pidfile /var/run/mon.pid \
-- -P /var/run/mon.pid -f
eend $?
}
diff --git a/app-admin/mon/mon-0.99.2-r5.ebuild b/app-admin/mon/mon-0.99.2-r5.ebuild
new file mode 100644
index 000000000000..57ec11608361
--- /dev/null
+++ b/app-admin/mon/mon-0.99.2-r5.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/mon-0.99.2-r5.ebuild,v 1.1 2007/07/09 22:47:42 uberlord Exp $
+
+inherit toolchain-funcs eutils multilib
+
+DESCRIPTION="highly configurable service monitoring daemon"
+HOMEPAGE="http://www.kernel.org/software/mon/"
+SRC_URI="mirror://kernel/software/admin/mon/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="ldap mysql"
+
+DEPEND=">=dev-perl/Mon-0.9
+ >=virtual/perl-Time-HiRes-1.20
+ dev-perl/Convert-BER
+ dev-perl/Filesys-DiskSpace
+ dev-perl/Net-Telnet
+ ldap? ( dev-perl/perl-ldap )
+ dev-perl/Expect
+ dev-perl/Net-DNS
+ mysql? ( dev-perl/DBD-mysql )
+ >=dev-perl/Period-1.20-r2"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" && epatch "${FILESDIR}"/alertafter.patch
+}
+
+src_compile() {
+ cd "${S}"/mon.d
+ make CC="$(tc-getCC) $CFLAGS" || die
+}
+
+src_install() {
+ dosbin mon clients/mon* || die "dosbin"
+
+ insinto /usr/$(get_libdir)/mon/utils
+ doins utils/* || die "doins"
+
+ exeinto /usr/$(get_libdir)/mon/alert.d ; doexe alert.d/*
+ exeinto /usr/$(get_libdir)/mon/mon.d ; doexe mon.d/*.monitor
+ insopts -g uucp -m 02555 ; doins mon.d/*.wrap
+
+ dodir /var/log/mon.d
+ dodir /var/lib/mon.d
+
+ doman doc/*.1
+ doman doc/*.8
+ dodoc CHANGES CREDITS KNOWN-PROBLEMS
+ dodoc mon.lsm README TODO VERSION
+ docinto txt ; dodoc doc/README*
+ docinto etc ; dodoc etc/*
+ newdoc "${FILESDIR}"/mon.cf mon.cf.sample
+
+ newinitd "${FILESDIR}"/mon.rc6 mon
+ insinto /etc/mon
+ newins "${FILESDIR}"/mon.cf mon.cf.sample
+}