summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/catsit/Makefile19
-rw-r--r--sysutils/catsit/distinfo3
-rw-r--r--sysutils/catsit/pkg-descr8
-rw-r--r--sysutils/catsit/pkg-plist11
5 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index d694c1bb1b5d..7a01d0002b2c 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -166,6 +166,7 @@
SUBDIR += byobu
SUBDIR += calamares
SUBDIR += catfish
+ SUBDIR += catsit
SUBDIR += cbsd
SUBDIR += cbsd-mq-api
SUBDIR += cbsd-mq-router
diff --git a/sysutils/catsit/Makefile b/sysutils/catsit/Makefile
new file mode 100644
index 000000000000..3c41c49de5cf
--- /dev/null
+++ b/sysutils/catsit/Makefile
@@ -0,0 +1,19 @@
+PORTNAME= catsit
+DISTVERSION= 1.4
+CATEGORIES= sysutils
+MASTER_SITES= https://git.causal.agency/catsit/snapshot/
+
+MAINTAINER= DtxdF@disroot.org
+COMMENT= Process supervisor
+WWW= https://git.causal.agency/catsit/
+
+LICENSE= AGPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/catsit-timer
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/catsit-watch
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/catsitd
+ ${TOUCH} ${STAGEDIR}${PREFIX}/etc/catsit.conf
+
+.include <bsd.port.mk>
diff --git a/sysutils/catsit/distinfo b/sysutils/catsit/distinfo
new file mode 100644
index 000000000000..a3b2f37c5467
--- /dev/null
+++ b/sysutils/catsit/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1662382917
+SHA256 (catsit-1.4.tar.gz) = 8326ef2e9312092cdf121c6ba3df7b93f8228fca5b514e6b05b98c848535e4d8
+SIZE (catsit-1.4.tar.gz) = 24341
diff --git a/sysutils/catsit/pkg-descr b/sysutils/catsit/pkg-descr
new file mode 100644
index 000000000000..180d038167b6
--- /dev/null
+++ b/sysutils/catsit/pkg-descr
@@ -0,0 +1,8 @@
+The catsitd daemon is a process supervisor for FreeBSD and OpenBSD.
+It is designed to supervise processes with the following behavior:
+
+* The process runs in the foreground, not as a daemon.
+* The process logs to standard output or standard error.
+* The process handles errors by exiting and expects to be
+ restarted.
+* The process indicates its reason for exiting with sysexits(3).
diff --git a/sysutils/catsit/pkg-plist b/sysutils/catsit/pkg-plist
new file mode 100644
index 000000000000..0ddd609704f2
--- /dev/null
+++ b/sysutils/catsit/pkg-plist
@@ -0,0 +1,11 @@
+bin/catsit-timer
+bin/catsit-watch
+etc/catsit.conf
+etc/rc.d/catsitd
+man/man1/catsit-timer.1.gz
+man/man1/catsit-watch.1.gz
+man/man5/catsit.conf.5.gz
+man/man8/catsit.8.gz
+man/man8/catsitd.8.gz
+sbin/catsit
+sbin/catsitd