tlstunnel: move setcap to post-upgrade
3 files changed, 4 insertions(+), 3 deletions(-) M sr.ht/tlstunnel/APKBUILD M sr.ht/tlstunnel/tlstunnel.post-install A sr.ht/tlstunnel/tlstunnel.post-upgrade
M sr.ht/tlstunnel/APKBUILD => sr.ht/tlstunnel/APKBUILD +2 -2
@@ 1,12 1,12 @@ # Maintainer: Drew DeVault <sir@cmpwn.com> pkgname=tlstunnel pkgver=0.1.3 pkgrel=0 pkgrel=1 pkgdesc="A TLS reverse proxy" url="https://git.sr.ht/~emersion/tlstunnel" arch="all" license="MIT" install="$pkgname.post-install" install="$pkgname.post-install $pkgname.post-upgrade" depends="libcap" makedepends="go scdoc" source="
M sr.ht/tlstunnel/tlstunnel.post-install => sr.ht/tlstunnel/tlstunnel.post-install +0 -1
@@ 2,4 2,3 @@ grep '^tlstunnel' /etc/group >/dev/null || addgroup -S tlstunnel 2>/dev/null grep '^tlstunnel' /etc/passwd >/dev/null || adduser -SDh/var/lib/tlstunnel \ -s/sbin/nologin -Gtlstunnel -gtlstunnel tlstunnel tlstunnel 2>/dev/null setcap 'cap_net_bind_service=+ep' /usr/bin/tlstunnel
A sr.ht/tlstunnel/tlstunnel.post-upgrade => sr.ht/tlstunnel/tlstunnel.post-upgrade +2 -0