soju: update to 0.6.1, adopt.

add CAP_NET_BIND_SERVICE so soju can run identd on :113 if desired
This commit is contained in:
classabbyamp 2023-04-24 17:40:07 -04:00 committed by classabbyamp
parent 36d7bbb368
commit b0555006b6
2 changed files with 13 additions and 8 deletions

5
srcpkgs/soju/INSTALL Normal file
View file

@ -0,0 +1,5 @@
case "${ACTION}" in
post)
setcap CAP_NET_BIND_SERVICE=+ep usr/bin/soju
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'soju'
pkgname=soju
version=0.6.0
revision=2
version=0.6.1
revision=1
build_style=go
go_import_path="git.sr.ht/~emersion/soju"
go_package="./cmd/..."
@ -9,21 +9,21 @@ go_build_tags="libsqlite3"
hostmakedepends="scdoc"
makedepends="sqlite-devel"
short_desc="User-friendly IRC bouncer"
maintainer="flupe <lucas@escot.me>"
maintainer="classabbyamp <void@placeviolette.net>"
license="AGPL-3.0-or-later"
homepage="https://soju.im"
changelog="https://git.sr.ht/~emersion/soju/refs/v${version}"
changelog="https://git.sr.ht/~emersion/soju/refs"
distfiles="https://git.sr.ht/~emersion/soju/refs/download/v${version}/soju-${version}.tar.gz"
checksum=11275b6edf53ae811011b4e9c3f325e901c31986e46c390c841c3add114cb9aa
checksum=336ec8bb2482ec811261bb6c19bd71613fa20e65bb98aedfbceb16969bb7038b
conf_files="/etc/soju/config"
system_accounts="_soju"
make_dirs="/var/db/soju 0750 _soju _soju
/var/log/soju 0750 _soju _soju"
post_install() {
for f in soju.1 sojuctl.1; do
scdoc <doc/$f.scd >doc/$f
vman doc/$f
for f in doc/*.?.scd; do
scdoc <$f >"${f%.scd}"
vman "${f%.scd}"
done
vlicense LICENSE
vinstall $FILESDIR/config 644 etc/soju