48 lines
2 KiB
Bash
48 lines
2 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=jobo66
|
|
pkgdesc="installs minimal s6 & 66 pre-0.7.0 edition needed software equivalent to the runit setup on joborun to boot w/ s6/66 and provide user level service supervision"
|
|
pkgver=0.1.2
|
|
pkgrel=02
|
|
makedepends=(glibc sh)
|
|
groups=('66-EOL')
|
|
conflicts=(opensysusers '66>0.6.2.0' 'oblibs>0.1.4.0') # obsysusers takes over what opensysusers does with runit alone
|
|
source=(jobo66.txt)
|
|
install=jobo66.install
|
|
|
|
package() {
|
|
depends=(skalibs execline s6 s6-dns s6-linux-utils s6-networking s6-portable-utils s6-rc
|
|
oblibs 66 66-tools boot-66serv boot@-66serv modules joborun66 obsysusers opentmpfiles
|
|
'oblog=0.1.1.0-03' '66-service-scripts') # All must be from the 66-EOL repository
|
|
|
|
install -Dm 0644 $srcdir/jobo66.txt $pkgdir/etc/66/jobo66.txt
|
|
mkdir -p $pkgdir/usr/bin
|
|
## replaces runit functionality when opensysusers is replaced by obsysusers
|
|
ln -s /usr/bin/obsysusers $pkgdir/usr/bin/sysusers
|
|
# post-install/post-upgrade in jobo66 makes sure that the directory and contents
|
|
# if existing belong to s6log:log and not root:root
|
|
# This must be a bug in 66 allowing some process under some conditions to allow
|
|
# root to write into the directory
|
|
mkdir -p $pkgdir/var/log/66
|
|
}
|
|
|
|
# All observice repository (pkg -Sl observice) are for 66>=0.7.0.0 for 66-EOL use
|
|
# 66-service-scripts as retained from before May 2024
|
|
# See also additional or more minimalistic and runit like services for 66 from mobinmob
|
|
# https://codeberg.org/mobinmob/66-voidlinux and https://osdn.net/projects/avyssos/
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=(ISC)
|
|
|
|
sha256sums=(33f0d5e25bb99aaed94691226b7a9af09497a22322986047925f828a9db0404d) # jobo66.txt
|
|
|
|
## 8adce402526e83da7105521d511f8e98b747910f81f8f5761ffd08ecfa5b3d7d jobo66-0.1.2-02-x86_64.pkg.tar.lz
|
|
|