diff --git a/sysutils/perp/Makefile b/sysutils/perp/Makefile new file mode 100644 index 00000000000..04b214aad32 --- /dev/null +++ b/sysutils/perp/Makefile @@ -0,0 +1,35 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2020/01/11 16:52:27 sthen Exp $ + +COMMENT= process supervisor & service framework for unix +V= 2.07 +DISTNAME= perp-${V} +CATEGORIES= sysutils + +HOMEPAGE= http://b0llix.net/perp/ +MAINTAINER= Jan-Piet Mens + +# License free to use http://b0llix.net/perp/site.cgi?page=LICENSE +PERMIT_PACKAGE= Yes + +WANTLIB += c + +MASTER_SITES= http://b0llix.net/perp/distfiles/ + +CFLAGS+= -I. -I../lasagna +CFLAGS+= -DPERP_BASE_DEFAULT='\"${SYSCONFDIR}/perp\"' + +MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" +MAKE_FLAGS+= BINDIR="${TRUEPREFIX}/bin" \ + SBINDIR="${TRUEPREFIX}/sbin" \ + MANDIR="${TRUEPREFIX}/man" + +.ifndef DEBUG +pre-install: + cd ${WRKSRC} && ${MAKE} strip +.endif + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/perp + cp -r ${WRKSRC}/examples/* ${PREFIX}/share/examples/perp/ + +.include diff --git a/sysutils/perp/distinfo b/sysutils/perp/distinfo new file mode 100644 index 00000000000..26f409639df --- /dev/null +++ b/sysutils/perp/distinfo @@ -0,0 +1,2 @@ +SHA256 (perp-2.07.tar.gz) = EiL+McFgFNiyp4QW+Tup+MMe3bw4GtyQIfpdl2RHWBU= +SIZE (perp-2.07.tar.gz) = 211568 diff --git a/sysutils/perp/pkg/DESCR b/sysutils/perp/pkg/DESCR new file mode 100644 index 00000000000..a71de6272e1 --- /dev/null +++ b/sysutils/perp/pkg/DESCR @@ -0,0 +1,16 @@ +The perp package provides a set of daemons and utilities to reliably +start, monitor, log, and control a collection of persistent processes. + +A "persistent process" is any program intended to be long-running, +highly available, and purpose critical. Also known and often described +as a "service", a persistent process normally provides some essential, +on-demand system service. Programs that serve email, domain name +queries, and http requests are all examples of services that are +normally run as persistent processes. + +These are the programs that you want to start at system boot, and +to continue running for as long as the system itself. These are the +programs you need running in uninterrupted service, day and night, +forever and ever. + +perp helps make sure that they do. diff --git a/sysutils/perp/pkg/PLIST b/sysutils/perp/pkg/PLIST new file mode 100644 index 00000000000..a56371f20b3 --- /dev/null +++ b/sysutils/perp/pkg/PLIST @@ -0,0 +1,87 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2020/01/11 16:52:27 sthen Exp $ +@man man/man5/perpetrate.5 +@man man/man8/perp-setup.8 +@man man/man8/perp_intro.8 +@man man/man8/perpboot.8 +@man man/man8/perpctl.8 +@man man/man8/perpd.8 +@man man/man8/perpetrate.8 +@man man/man8/perphup.8 +@man man/man8/perpls.8 +@man man/man8/perpok.8 +@man man/man8/perpstat.8 +@man man/man8/runargs.8 +@man man/man8/runargv0.8 +@man man/man8/runchoom.8 +@man man/man8/rundetach.8 +@man man/man8/rundeux.8 +@man man/man8/runenv.8 +@man man/man8/runfile.8 +@man man/man8/runlimit.8 +@man man/man8/runlock.8 +@man man/man8/runpause.8 +@man man/man8/runsession.8 +@man man/man8/runtool.8 +@man man/man8/runtools_intro.8 +@man man/man8/runtrap.8 +@man man/man8/runuid.8 +@man man/man8/sissylog.8 +@man man/man8/tinylog.8 +sbin/perp-setup +@bin sbin/perpboot +@bin sbin/perpctl +@bin sbin/perpd +@bin sbin/perphup +@bin sbin/perpls +@bin sbin/perpok +@bin sbin/perpstat +@bin sbin/runargs +@bin sbin/runargv0 +@bin sbin/runchoom +@bin sbin/rundetach +@bin sbin/rundeux +@bin sbin/runenv +@bin sbin/runfile +@bin sbin/runlimit +@bin sbin/runlock +@bin sbin/runpause +@bin sbin/runsession +@bin sbin/runtool +@bin sbin/runtrap +@bin sbin/runuid +@bin sbin/sissylog +@bin sbin/tinylog +sbin/tinylog_run +share/examples/perp/ +share/examples/perp/README +share/examples/perp/apgd/ +share/examples/perp/apgd/README +share/examples/perp/apgd/rc.log +share/examples/perp/apgd/rc.main +share/examples/perp/dnscache/ +share/examples/perp/dnscache/README +share/examples/perp/dnscache/dnscache.env +share/examples/perp/dnscache/rc.log +share/examples/perp/dnscache/rc.main +share/examples/perp/dnscache/root/ +share/examples/perp/dnscache/root/ip/ +share/examples/perp/dnscache/root/ip/127.0.0.1 +share/examples/perp/dnscache/root/servers/ +share/examples/perp/dnscache/root/servers/@ +share/examples/perp/hellod/ +share/examples/perp/hellod/README +share/examples/perp/hellod/rc.log +share/examples/perp/hellod/rc.main +share/examples/perp/mathopd/ +share/examples/perp/mathopd/README +share/examples/perp/mathopd/index.html +share/examples/perp/mathopd/mathopd.conf +share/examples/perp/mathopd/mathopd.conf.bak +share/examples/perp/mathopd/rc.log +share/examples/perp/mathopd/rc.main +share/examples/perp/sshd/ +share/examples/perp/sshd/README +share/examples/perp/sshd/rc.log +share/examples/perp/sshd/rc.main +share/examples/perp/sshd/rc.main_tcpserver +share/examples/perp/tinylog.conf