net-misc/stayrtr: fix caps

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-12-28 09:00:20 +01:00
parent f357e5fe94
commit ac44612160
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 7 additions and 7 deletions

View file

@ -1,15 +1,17 @@
BDEPEND=>=dev-lang/go-1.20:= app-arch/unzip virtual/pkgconfig
DEFINED_PHASES=compile install unpack
DEFINED_PHASES=compile install postinst unpack
DEPEND=acct-user/stayrtr net-misc/rpki-client
DESCRIPTION=RPKI-To-Router server implementation in Go
EAPI=8
HOMEPAGE=https://github.com/bgp/stayrtr
INHERIT=go-module systemd
IDEPEND=filecaps? ( sys-libs/libcap )
INHERIT=fcaps go-module systemd
IUSE=+filecaps
KEYWORDS=~amd64
LICENSE=BSD
RDEPEND=acct-user/stayrtr net-misc/rpki-client
RESTRICT=strip
SLOT=0
SRC_URI=https://github.com/bgp/stayrtr/archive/v0.6.1.tar.gz -> stayrtr-0.6.1.gh.tar.gz https://herbizarre.swordarmor.fr/garbage/stayrtr-0.6.1-deps.tar.xz
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 systemd 54bd206bb5c4efac6ae28b6b006713b0
_md5_=460a1be26adfdcf6b02d12f52e2f7561
_eclasses_=fcaps 27152c9e4da035accb14a2d7879744ef multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 systemd 54bd206bb5c4efac6ae28b6b006713b0
_md5_=8793efa32bf2fc318c8c636995793cd8

View file

@ -23,9 +23,7 @@ DEPEND="${RDEPEND}"
FILECAPS=(
CAP_NET_ADMIN usr/bin/stayrtr
CAP_NET_BIND_SERVICE usr/bin/stayrtr
CAP_NET_RAW usr/bin/stayrtr
-m 755 'cap_net_bind_service=+ep' usr/bin/"${PN}"
)
src_compile() {