various upg

This commit is contained in:
joborun linux 2022-04-05 22:49:25 +03:00
parent 053f213689
commit 487ec8b357
13 changed files with 82 additions and 81 deletions

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=hwdata
pkgver=0.357
pkgver=0.358
pkgrel=01
pkgdesc="hardware identification databases"
makedepends=('git')

View File

@ -1,6 +1,6 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=hwdata
pkgver=0.357
pkgver=0.358
pkgrel=1
pkgdesc="hardware identification databases"
makedepends=('git')

View File

@ -1 +1,2 @@
git

View File

@ -1,8 +1,5 @@
real 0m3.206s
user 0m2.083s
sys 0m0.283s
real 1m10.726s
user 0m10.546s
sys 0m1.801s
real 1m7.339s
user 0m10.632s
sys 0m2.283s

View File

@ -6,38 +6,38 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=jobo66
pkgdesc="installs minimal s6 66 needed software equivalent to the runit setup on joborun"
pkgdesc="installs minimal s6 & 66 needed software equivalent to the runit setup on joborun to boot w/ s6/66"
pkgver=0.1.0
pkgrel=03
pkgrel=04
arch=('x86_64')
source=(jobo66.txt install)
makedepends=(glibc)
depends=(66 boot-66serv boot@-66serv 66-tools execline oblibs s6 s6-dns s6-linux-utils s6-networking
s6-portable-utils s6-rc skalibs ntpd-66serv dhclient-66serv wpa_supplicant-66serv tty@-66serv
joborun66 obsysusers opentmpfiles)
prepare() {
mkdir -p $pkgname
cd $pkgname
}
package() {
install -Dm 0644 $srcdir/jobo66.txt $pkgdir/etc/66/jobo66.txt
}
install=install
makedepends=(glibc sh)
groups=('s6-suite')
backup=('etc/66/jobo66.txt')
conflicts=(opensysusers)
optdepends=('lvm2-66serv: lvm service'
'openntpd-66serv: an alternative to ntp'
'dhcpcd-66serv: works well with wpa_supplicant'
'dbus-66serv: if you really need the damn thing running - includes a user dbus script as well'
'ntpclient-66serv: a very small but effective ntp service by Skarnet')
#prepare() {
# mkdir -p $pkgname
# cd $pkgname
#}
package() {
depends=(66 boot-66serv boot@-66serv 66-tools execline oblibs s6 s6-dns s6-linux-utils s6-networking
s6-portable-utils s6-rc skalibs ntpd-66serv dhclient-66serv wpa_supplicant-66serv tty@-66serv
joborun66 obsysusers opentmpfiles)
install -Dm 0644 $srcdir/jobo66.txt $pkgdir/etc/66/jobo66.txt
mkdir -p $pkgdir/usr/bin
ln -s /usr/bin/obsysusers $pkgdir/usr/bin/sysusers
}
install=install
# See the observice repository (pkg -Sl observice) for all the Obarun service files available
# 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/

View File

@ -1,21 +1 @@
66
66-tools
execline
mdevd
oblibs
s6
s6-dns
s6-linux-utils
s6-networking
s6-portable-utils
s6-rc
skalibs
ntpd-66serv
dhclient-66serv
wpa_supplicant-66serv
tty@-66serv
joborun66
opentmpfiles
obsysusers
boot-66serv
boot@-66serv

View File

@ -6,7 +6,7 @@
pkgname=kmod
pkgver=29
pkgrel=02
pkgrel=03
pkgdesc="Linux kernel module management tools and library"
arch=('x86_64')
url='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'
@ -79,4 +79,4 @@ sha256sums=(0b80eea7aa184ac6fd20cafa2a1fdf290ffecc70869a797079e2cc5c6225a52a # k
e98f09d07f63b25d4f9ac2c07cb683eeeef2a6c68202b1449cb01d4e94613dd7 # kmod-29.tar.sign
1a92bfeae870f61ce814577e69d2a147a9c0caf6aed1131243e4179241fcc4a8 # depmod-search.conf
c11c2a0f66ea405493e8617689ca10818dc81dd1dddc19bdb220c8b2917119c1 # depmod.hook
827c02e868777e8fcaa91fd519966ef5d30c8d30bad1b20eb56e01cbc9a2e43f) # depmod.script
d2cd04a09feba30e1376144a8110ec7521892acb0940c3c4ba459aeecf0452ed) # depmod.script

View File

@ -2,7 +2,7 @@
pkgname=kmod
pkgver=29
pkgrel=2
pkgrel=3
pkgdesc="Linux kernel module management tools and library"
arch=('x86_64')
url='https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git'
@ -21,7 +21,12 @@ md5sums=('e81e63acd80697d001c8d85c1acb38a0'
'SKIP'
'dd62cbf62bd8f212f51ef8c43bec9a77'
'e179ace75721e92b04b2e145b69dab29'
'18fb3d1f6024a5a84514c8276cb3ebff')
'b00253ca0d4ebfb2414e4596597bdebd')
sha256sums=('0b80eea7aa184ac6fd20cafa2a1fdf290ffecc70869a797079e2cc5c6225a52a'
'SKIP'
'1a92bfeae870f61ce814577e69d2a147a9c0caf6aed1131243e4179241fcc4a8'
'c11c2a0f66ea405493e8617689ca10818dc81dd1dddc19bdb220c8b2917119c1'
'd2cd04a09feba30e1376144a8110ec7521892acb0940c3c4ba459aeecf0452ed')
build() {
cd "$pkgname-$pkgver"

View File

@ -1,8 +1,12 @@
#!/bin/bash
while read -r f; do
if [[ -e ${f}vmlinuz ]]; then
if [[ -e ${f}modules.order ]]; then
depmod $(basename "$f")
elif [[ -d $f ]]; then
rm -f "${f}"modules.{alias,alias.bin,builtin.alias.bin,builtin.bin} \
"${f}"modules.{dep,dep.bin,devname,softdep,symbols,symbols.bin}
rmdir --ignore-fail-on-non-empty "$f"
fi
done

9
kmod/depmod.script-29-02 Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
while read -r f; do
if [[ -e ${f}vmlinuz ]]; then
depmod $(basename "$f")
fi
done
# vim:set ft=sh sw=2 et:

View File

@ -6,33 +6,29 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=runit-service-scripts
pkgver=20220202
pkgrel=04
pkgver=20220403
pkgrel=01
pkgdesc="A collection of services for runit - similar to Artix Linux"
arch=(x86_64)
group=(base)
depends=('runit' 'runit-rc')
backup=("etc/runit/sv" "etc/runit/runsvdir/default")
makedepends=()
backup=("etc/runit/sv/" "etc/runit/runsvdir/default/")
makedepends=(sh)
url="https://osdn.net/projects/joborun/storage"
source=($url/tarballs/runit-sv.tar.xz)
source=($url/tarballs/runit-sv2.tar.xz)
install=rss.install
package() {
cd $srcdir
mkdir -p $pkgdir/etc/runit/sv
depends=('runit' 'runit-rc')
mkdir -p $pkgdir/usr/lib/runit/sv
mkdir -p $pkgdir/etc/runit/runsvdir/default
msg 'Copying services library to /etc/runit/sv/ ...'
cp -r etc/runit/sv/* $pkgdir/etc/runit/sv
msg 'Copying links to default service /etc/runit/runsvdir/default ...'
cp -r etc/runit/runsvdir/default/* $pkgdir/etc/runit/runsvdir/default/
# We currently decided against the default use of syslog-ng and since it is not
# installed by base it gives runit a hard time trying to run in error
rm $pkgdir/etc/runit/runsvdir/default/syslog-ng
msg 'Copying services library to /usr/lib/runit/sv/ ...'
cp -r $srcdir/usr/lib/runit/sv/* $pkgdir/usr/lib/runit/sv
msg 'Copying links to default network services /etc/runit/runsvdir/default ...'
cp -r $srcdir/etc/runit/runsvdir/default/* $pkgdir/etc/runit/runsvdir/default/
}
#---- license gpg-key sha256sums ----
license=(GPL)
sha256sums=(a19353583c3b895b5e65e08e2ea9a0336e310999e5cd0a4e8954d4f9e972e80f) # runit-sv.tar.xz
sha256sums=(06a137891e22156c0292d069f03bac9d59c23bc4e6d3e2026a6f8a29d9356b77) # runit-sv2.tar.xz

View File

@ -1 +1 @@
runit runit-rc

View File

@ -1,18 +1,27 @@
post_install() {
echo " "
echo " !!!!! Attention - Attention !!!!"
echo " "
echo "################ hello this is Joe of joborun talking to you #################"
echo "Please enable services by ln -s /etc/sv/<serv-name> /run/runit/service/"
echo "Also make sure you have the appropriate application installed for runit to superfice"
echo "if you look at the particular service's run script you will see the name of the executable file. Use pacman -F to locate the package that contains it, if it is unknown to you, install the package, then enable the service."
echo " by default dhclient and wpa_supplicant should be installed in your system for the services to provide you networking."
echo " make adjustments to these to match your needs, take a look at the service library at /etc/runit/sv/ "
echo " "
echo " ------- Hello this is joborun packaging team talking to you ------"
echo " "
echo " Please enable services by ln -s /usr/lib/runit/sv/<serv-name> /etc/runit/runsvdir/default/"
echo " Copy/edit/hack your own services in /etc/runit/sv/ and then make links from /etc/runit/sv/<serv-name> /etc/runit/runsvdir/default/"
echo " If you are on a running system you can also link to /run/runit/service/ which is linked to /etc.../default by defaul!"
echo " "
echo " Also make sure you have the appropriate application installed for runit to supervise. dhclient wpa_supplicant ntp "
echo "should already be installed from joborun base, but other service dependencies are not!"
echo " "
echo " if you look at the particular service's run script you will see the name of the executable file. Use pacman -F to"
echo "locate the package that contains it, if it is unknown to you, install the package, then enable the service."
echo " "
echo " Take a few minutes and familiarize yourself with /usr/lib/runit/sv service library. Those services may at times be revised and replaced by packaging."
echo " After this package upgrade /etc/runit/sv will not be altered or affected by pacjages, it belongs to the sys-admin."
echo " "
echo " if you want a syslog with runit install syslog-ng (pacman -S syslog-ng) and then "
echo " ln -s /etc/runit/sv/syslog-ng /etc/runit/runsvdir/default/"
echo " ln -s /usr/lib/runit/sv/syslog-ng /etc/runit/runsvdir/default/"
echo " or use your choice of syslog program and write a runscript for it - feel free to share "
echo "##### I hope you are having a great day and getting a system to run makes it better ###"
echo " "
echo " "
echo " "
}