Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libcap/
Date: Sun, 05 Dec 2021 16:19:37
Message-Id: 1638721168.63a567c5a0b9d4373ddaaccb34d6db002fb600ea.soap@gentoo
1 commit: 63a567c5a0b9d4373ddaaccb34d6db002fb600ea
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 5 16:19:28 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 5 16:19:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a567c5
7
8 sys-libs/libcap: sync 2.61 from live ebuild
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sys-libs/libcap/libcap-2.61.ebuild | 11 +++++++++--
13 1 file changed, 9 insertions(+), 2 deletions(-)
14
15 diff --git a/sys-libs/libcap/libcap-2.61.ebuild b/sys-libs/libcap/libcap-2.61.ebuild
16 index 28b28501b9d6..ad5ca82adcb8 100644
17 --- a/sys-libs/libcap/libcap-2.61.ebuild
18 +++ b/sys-libs/libcap/libcap-2.61.ebuild
19 @@ -5,14 +5,21 @@ EAPI=7
20
21 inherit multilib-minimal toolchain-funcs pam usr-ldscript
22
23 +if [[ ${PV} == *9999 ]]; then
24 + inherit git-r3
25 + EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/libcap/libcap.git"
26 +else
27 + SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz"
28 +
29 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
30 +fi
31 +
32 DESCRIPTION="POSIX 1003.1e capabilities"
33 HOMEPAGE="https://sites.google.com/site/fullycapable/"
34 -SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz"
35
36 # it's available under either of the licenses
37 LICENSE="|| ( GPL-2 BSD )"
38 SLOT="0"
39 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
40 IUSE="pam static-libs tools"
41
42 # While the build system optionally uses gperf, we don't DEPEND on it because