2007-12-10 21:29:47 +01:00
|
|
|
# Description: Utility for monitoring daemons running on a Unix system
|
2021-03-31 10:58:45 +02:00
|
|
|
# URL: http://www.tildeslash.com/monit/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: libnsl libtirpc linux-pam openssl zlib
|
2007-12-10 21:29:47 +01:00
|
|
|
|
|
|
|
name=monit
|
2022-02-10 19:13:10 +01:00
|
|
|
version=5.31.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 \
|
2020-10-25 11:57:00 +01:00
|
|
|
monitd)
|
2007-12-10 21:29:47 +01:00
|
|
|
|
|
|
|
build() {
|
2020-10-25 11:57:00 +01:00
|
|
|
cd $name-$version
|
2011-03-31 09:28:15 +02:00
|
|
|
|
2020-10-25 11:57:00 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc
|
2011-03-31 09:28:15 +02:00
|
|
|
|
2020-10-25 11:57:00 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2011-03-31 09:28:15 +02:00
|
|
|
|
2020-10-25 11:57:00 +01:00
|
|
|
install -D -m 0755 $SRC/monitd $PKG/etc/rc.d/monitd
|
|
|
|
install -D -m 0700 monitrc $PKG/etc/monitrc
|
2007-12-10 21:29:47 +01:00
|
|
|
}
|