2007-12-10 21:29:47 +01:00
|
|
|
# Description: Utility for monitoring daemons running on a Unix system
|
|
|
|
# URL: http://www.tildeslash.com/monit/
|
2009-03-17 10:54:18 +00:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at crux dot nu
|
|
|
|
# Packager: Jose V Beneyto, sepen at crux dot nu
|
2007-12-10 21:29:47 +01:00
|
|
|
# Depends on: openssl
|
|
|
|
|
|
|
|
name=monit
|
2016-08-18 10:56:49 +02:00
|
|
|
version=5.19.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 \
|
2013-06-25 10:58:23 +02:00
|
|
|
--sysconfdir=/etc \
|
|
|
|
--without-pam
|
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
|
2009-04-16 06:54:06 +00:00
|
|
|
install -D -m 0700 $SRC/$name-$version/monitrc $PKG/etc/monitrc
|
2007-12-10 21:29:47 +01:00
|
|
|
}
|