~dricottone/huttese-apk

6b4c92303579c7a2917fd6f554b2eaf775935e0f — Simon Ser 3 years ago 4800997
soju: upgrade and add cap_net_bind_service
1 files changed, 5 insertions(+), 4 deletions(-)

M sr.ht/soju/APKBUILD
M sr.ht/soju/APKBUILD => sr.ht/soju/APKBUILD +5 -4
@@ 2,7 2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=soju
pkgver=0.2.2
pkgrel=0
pkgrel=1
pkgdesc="User-friendly IRC bouncer"
url="https://soju.im/"
license="AGPL-3.0"


@@ 12,9 12,9 @@ pkgusers="$pkgname"
pkggroups="$pkgname"
install="$pkgname.pre-install"
depends="ca-certificates"
makedepends="go scdoc"
makedepends="go scdoc libcap"
subpackages="$pkgname-openrc $pkgname-doc"
githash=f7fce788c153c032796786d7ad0b420be49b86d9 # branch srht
githash=84534028eb3565d025216d57fa460c60c317c791 # branch srht
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/soju/archive/$githash.tar.gz
	$pkgname.initd
	$pkgname.confd


@@ 34,6 34,7 @@ check() {

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
	setcap 'cap_net_bind_service=+ep' "$pkgdir"/usr/bin/soju

	install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname


@@ 43,7 44,7 @@ package() {
}

sha512sums="
ffb9a56d5593848279b059f11446aed92b3933e5b1c49ead23b7fad362e62cc382e3e8ee030c1ccccb8cd0ed2d03c1ec8953b820245fc825a1f033f960430acc  soju-0.2.2.tar.gz
911c8b371f1db03fd01dff1b62c505dc32e12a3d4fadc4fdb5c959d03940bb6a8354f2b8b9c8c793fcff6ededab11812ad87b14f18827b97c209839ae97dd3c2  soju-0.2.2.tar.gz
6072c070b7bdaea08406d60816c74752e5a037c56f823b35333311f1ae3328d7e9dcab22c5a82c8628cbdc92b505e4c2ea989a5118491feb82a44efe84216d06  soju.initd
daca27e5deb5135b406e4160504efa011219147465c2f2b484b92db0aa9174173e37c62d32109937df3d2e8c430625e0ec25956775dd92f7fa1f55b19e0e8a18  soju.confd
"