blob: 943a8497da5177b8a37755498a7c733505c36110 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/mon-0.38.20-r1.ebuild,v 1.1 2001/04/05 15:56:03 achim Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Highly configurable service monitoring daemon"
SRC_URI="ftp://ftp.kernel.org/pub/software/admin/mon/${P}.tar.bz2"
HOMEPAGE="http://www.kernel.org/software/mon/"
DEPEND=">=dev-perl/Mon-0.9"
src_compile() {
cd ${S}/mon.d
try make
}
src_install () {
exeinto /usr/sbin
doexe mon clients/mon*
insinto /etc/mon
doins etc/*.cf etc/example.monshowrc
insinto /usr/lib/mon/utils
doins utils/*
exeinto /usr/lib/mon/alert.d
doexe alert.d/*
exeinto /usr/lib/mon/mon.d
doexe mon.d/*.monitor
insopts -g uucp -m 02555
doins mon.d/*.wrap
exeinto /etc/rc.d/init.d
doexe ${FILESDIR}/mon
dodir /var/log/mon.d
dodir /var/lib/mon.d
dodoc CHANGES COPYING CREDITS KNOWN-PROBLEMS
dodoc mon.lsm README TODO VERSION
doman doc/*.1
docinto txt
dodoc doc/README*
}
|