playing with sabotage linux package system

sabotage | build chroot | docker image | pkg build | xen guest

create a new package

e.g. sysklogd

cd /src/pkg/
butch dlinfo https://github.com/troglobit/sysklogd/releases/download/v2.5.2/sysklogd-2.5.2.tar.gz
cp ../KEEP/pkg_skel/autoconf sysklogd
vi sysklogd
(copy/paste the download info)
[vars]
...
service=syslogd
serviceflags="--down --log"

[build]
...
  --sbindir="$butch_prefix"/bin

install -Dm640 syslog.conf "$butch_install_dir""$butch_prefix"/etc/syslog.conf
cd ../KEEP/services/
cp -pi crond syslogd
vi syslogd

exec syslogd -s -m0 2>&1

ready to go

butch search sysklogd
butch install sysklogd

resources

https://github.com/troglobit/sysklogd

https://github.com/troglobit/sysklogd/releases

https://wiki.gentoo.org/wiki/Sysklogd


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun