2007-12-10 21:29:47 +01:00
|
|
|
# Description: Utility for monitoring daemons running on a Unix system
|
2018-01-10 13:50:39 +01:00
|
|
|
# URL: http://www.tildeslash.com/monit/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2019-07-06 11:45:14 +02:00
|
|
|
# Depends on: openssl linux-pam
|
2007-12-10 21:29:47 +01:00
|
|
|
|
|
|
|
name=monit
|
2019-07-06 11:45:14 +02:00
|
|
|
version=5.26.0
|
2009-04-23 08:23:57 +00:00
|
|
|
release=1
|
2010-02-18 16:09:29 +01:00
|
|
|
source=(http://mmonit.com/$name/dist/$name-$version.tar.gz \
|
2007-12-10 21:29:47 +01:00
|
|
|
monitd)
|
|
|
|
|
|
|
|
build() {
|
2008-05-15 00:22:49 +02:00
|
|
|
cd $name-$version
|
2011-03-31 09:28:15 +02:00
|
|
|
|
2007-12-10 21:29:47 +01:00
|
|
|
./configure --prefix=/usr \
|
2019-07-06 11:45:14 +02:00
|
|
|
--sysconfdir=/etc
|
2011-03-31 09:28:15 +02:00
|
|
|
|
2007-12-10 21:29:47 +01:00
|
|
|
make
|
2008-05-15 00:22:49 +02:00
|
|
|
make DESTDIR=$PKG install
|
2011-03-31 09:28:15 +02:00
|
|
|
|
2008-05-15 00:22:49 +02:00
|
|
|
install -D -m 0755 $SRC/monitd $PKG/etc/rc.d/monitd
|
2019-07-06 11:45:14 +02:00
|
|
|
install -D -m 0700 monitrc $PKG/etc/monitrc
|
2007-12-10 21:29:47 +01:00
|
|
|
}
|