Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721956 - www-apps/gitea: Add file capabilities (bind to port 22)
Summary: www-apps/gitea: Add file capabilities (bind to port 22)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-09 22:34 UTC by tastytea
Modified: 2020-05-13 07:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tastytea 2020-05-09 22:34:31 UTC
Please add the capability to bind to ports < 1024 to usr/bin/gitea.
All that's necessary is:

inherit fcaps
FILECAPS=( cap_net_bind_service+ep usr/bin/gitea )

Reproducible: Always




https://devmanual.gentoo.org/eclass-reference/fcaps.eclass/index.html
Comment 1 Larry the Git Cow gentoo-dev 2020-05-13 07:59:56 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a567064eb42784daf85090b2afef53a71c0c099e

commit a567064eb42784daf85090b2afef53a71c0c099e
Author:     Pierre-Olivier Mercier <nemunaire@nemunai.re>
AuthorDate: 2020-05-12 08:31:49 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-05-13 07:59:43 +0000

    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@nemunai.re>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-apps/gitea/gitea-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)