From: Pierre-Olivier Mercier Date: Tue, 12 May 2020 08:31:49 +0000 (+0200) Subject: www-apps/gitea: Add file capability to bind port 22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a567064eb42784daf85090b2afef53a71c0c099e;p=gentoo.git www-apps/gitea: Add file capability to bind port 22 Closes: https://bugs.gentoo.org/721956 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Pierre-Olivier Mercier Signed-off-by: Joonas Niilola --- diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild index ce44b1f5ef76..0d1559ca4a39 100644 --- a/www-apps/gitea/gitea-9999.ebuild +++ b/www-apps/gitea/gitea-9999.ebuild @@ -9,7 +9,7 @@ else SCM="git-r3" fi -inherit golang-base tmpfiles systemd ${SCM} +inherit fcaps golang-base tmpfiles systemd ${SCM} unset SCM EGO_PN="code.gitea.io/gitea" @@ -41,6 +41,7 @@ RDEPEND="${DEPEND} dev-vcs/git" DOCS=( custom/conf/app.ini.sample CONTRIBUTING.md README.md ) +FILECAPS=( cap_net_bind_service+ep usr/bin/gitea ) S="${WORKDIR}/${P}/src/${EGO_PN}" PATCHES=( "${FILESDIR}/gitea-logflags.patch" )