commit: a567064eb42784daf85090b2afef53a71c0c099e Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> AuthorDate: Tue May 12 08:31:49 2020 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed May 13 07:59:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a567064e
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 <nemunaire <AT> nemunai.re> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-apps/gitea/gitea-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www-apps/gitea/gitea-9999.ebuild b/www-apps/gitea/gitea-9999.ebuild index ce44b1f5ef7..0d1559ca4a3 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" )
