From f9b84b4967282cd6da931b7ea2569557937d4e24 Mon Sep 17 00:00:00 2001 From: Shokara Kou Date: Fri, 13 May 2022 11:50:43 -0400 Subject: add sinit and perp replaces sysvinit. perp can be used alongside crux's rc scripts, but i didn't try that. --- perp/.footprint | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ perp/.md5sum | 1 + perp/Pkgfile | 19 ++++++++++++++++++ perp/post-install | 4 ++++ 4 files changed, 83 insertions(+) create mode 100644 perp/.footprint create mode 100644 perp/.md5sum create mode 100644 perp/Pkgfile create mode 100644 perp/post-install (limited to 'perp') diff --git a/perp/.footprint b/perp/.footprint new file mode 100644 index 0000000..d2a965e --- /dev/null +++ b/perp/.footprint @@ -0,0 +1,59 @@ +drwxr-xr-x root/root sbin/ +-rwxr-xr-x root/root sbin/perp-setup +-rwxr-xr-x root/root sbin/perpboot +-rwxr-xr-x root/root sbin/perpctl +-rwxr-xr-x root/root sbin/perpd +-rwxr-xr-x root/root sbin/perphup +-rwxr-xr-x root/root sbin/perpls +-rwxr-xr-x root/root sbin/perpok +-rwxr-xr-x root/root sbin/perpstat +-rwxr-xr-x root/root sbin/runargs +-rwxr-xr-x root/root sbin/runargv0 +-rwxr-xr-x root/root sbin/runchoom +-rwxr-xr-x root/root sbin/rundetach +-rwxr-xr-x root/root sbin/rundeux +-rwxr-xr-x root/root sbin/runenv +-rwxr-xr-x root/root sbin/runfile +-rwxr-xr-x root/root sbin/runlimit +-rwxr-xr-x root/root sbin/runlock +-rwxr-xr-x root/root sbin/runpause +-rwxr-xr-x root/root sbin/runsession +-rwxr-xr-x root/root sbin/runtool +-rwxr-xr-x root/root sbin/runtrap +-rwxr-xr-x root/root sbin/runuid +-rwxr-xr-x root/root sbin/sissylog +-rwxr-xr-x root/root sbin/tinylog +-rwxr-xr-x root/root sbin/tinylog_run +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man5/ +-rw-r--r-- root/root usr/share/man/man5/perpetrate.5.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/perp-setup.8.gz +-rw-r--r-- root/root usr/share/man/man8/perp_intro.8.gz +-rw-r--r-- root/root usr/share/man/man8/perpboot.8.gz +-rw-r--r-- root/root usr/share/man/man8/perpctl.8.gz +-rw-r--r-- root/root usr/share/man/man8/perpd.8.gz +-rw-r--r-- root/root usr/share/man/man8/perpetrate.8.gz +-rw-r--r-- root/root usr/share/man/man8/perphup.8.gz +-rw-r--r-- root/root usr/share/man/man8/perpls.8.gz +-rw-r--r-- root/root usr/share/man/man8/perpok.8.gz +-rw-r--r-- root/root usr/share/man/man8/perpstat.8.gz +-rw-r--r-- root/root usr/share/man/man8/runargs.8.gz +-rw-r--r-- root/root usr/share/man/man8/runargv0.8.gz +-rw-r--r-- root/root usr/share/man/man8/runchoom.8.gz +-rw-r--r-- root/root usr/share/man/man8/rundetach.8.gz +-rw-r--r-- root/root usr/share/man/man8/rundeux.8.gz +-rw-r--r-- root/root usr/share/man/man8/runenv.8.gz +-rw-r--r-- root/root usr/share/man/man8/runfile.8.gz +-rw-r--r-- root/root usr/share/man/man8/runlimit.8.gz +-rw-r--r-- root/root usr/share/man/man8/runlock.8.gz +-rw-r--r-- root/root usr/share/man/man8/runpause.8.gz +-rw-r--r-- root/root usr/share/man/man8/runsession.8.gz +-rw-r--r-- root/root usr/share/man/man8/runtool.8.gz +-rw-r--r-- root/root usr/share/man/man8/runtools_intro.8.gz +-rw-r--r-- root/root usr/share/man/man8/runtrap.8.gz +-rw-r--r-- root/root usr/share/man/man8/runuid.8.gz +-rw-r--r-- root/root usr/share/man/man8/sissylog.8.gz +-rw-r--r-- root/root usr/share/man/man8/tinylog.8.gz diff --git a/perp/.md5sum b/perp/.md5sum new file mode 100644 index 0000000..d3ab623 --- /dev/null +++ b/perp/.md5sum @@ -0,0 +1 @@ +a2acc7425d556d9635a25addcee9edb5 perp-2.07.tar.gz diff --git a/perp/Pkgfile b/perp/Pkgfile new file mode 100644 index 0000000..af63eca --- /dev/null +++ b/perp/Pkgfile @@ -0,0 +1,19 @@ +# Description: persistent process supervisor/service managment framework +# URL: http://b0llix.net/perp/ +# Maintainer: Shokara Kou, kou at 13f0 dot net +# Depends on: + +name=perp +version=2.07 +release=1 +source=(http://b0llix.net/$name/distfiles/$name-$version.tar.gz) + +build() { + cd $name-$version + + sed '/BINDIR/ s/\/usr//' conf.mk > conf.mk.tmp + mv conf.mk.tmp conf.mk + + make + make DESTDIR=$PKG install +} diff --git a/perp/post-install b/perp/post-install new file mode 100644 index 0000000..9a47bdc --- /dev/null +++ b/perp/post-install @@ -0,0 +1,4 @@ +#!/bin/sh +groupadd log +useradd -r log +perp-setup /etc/perp -- cgit v1.2.3