mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-28 02:20:05 +00:00
core/monit: new port
This commit is contained in:
2
core/monit/.checksums
Normal file
2
core/monit/.checksums
Normal file
@@ -0,0 +1,2 @@
|
||||
6a582b26bcc1be69d565b98b2f183cfb monit-5.27.0.tar.gz
|
||||
75931a3204d9f63944ace164516ff1f1 run
|
||||
7
core/monit/.pkgfiles
Normal file
7
core/monit/.pkgfiles
Normal file
@@ -0,0 +1,7 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/monit
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/monit.1.gz
|
||||
3
core/monit/run
Executable file
3
core/monit/run
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec monit -c /etc/monitrc -I
|
||||
22
core/monit/spkgbuild
Normal file
22
core/monit/spkgbuild
Normal file
@@ -0,0 +1,22 @@
|
||||
# description : Utility for monitoring daemons running on a Unix system
|
||||
# depends : linux-pam zlib openssl
|
||||
|
||||
name=monit
|
||||
version=5.27.0
|
||||
release=1
|
||||
source="http://mmonit.com/$name/dist/$name-$version.tar.gz
|
||||
run"
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr --sysconfdir=/etc
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -D -m 0700 monitrc $PKG/etc/monitrc
|
||||
|
||||
# runit service
|
||||
install -Dm755 $SRC/run $PKG/etc/sv/$name/run
|
||||
ln -s /run/runit/supervise.$name $PKG/etc/sv/$name/supervise
|
||||
}
|
||||
Reference in New Issue
Block a user