commit:     63a567c5a0b9d4373ddaaccb34d6db002fb600ea
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  5 16:19:28 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Dec  5 16:19:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a567c5

sys-libs/libcap: sync 2.61 from live ebuild

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-libs/libcap/libcap-2.61.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/sys-libs/libcap/libcap-2.61.ebuild 
b/sys-libs/libcap/libcap-2.61.ebuild
index 28b28501b9d6..ad5ca82adcb8 100644
--- a/sys-libs/libcap/libcap-2.61.ebuild
+++ b/sys-libs/libcap/libcap-2.61.ebuild
@@ -5,14 +5,21 @@ EAPI=7
 
 inherit multilib-minimal toolchain-funcs pam usr-ldscript
 
+if [[ ${PV} == *9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/libcap/libcap.git";
+else
+       
SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz";
+
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
 DESCRIPTION="POSIX 1003.1e capabilities"
 HOMEPAGE="https://sites.google.com/site/fullycapable/";
-SRC_URI="https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${P}.tar.xz";
 
 # it's available under either of the licenses
 LICENSE="|| ( GPL-2 BSD )"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="pam static-libs tools"
 
 # While the build system optionally uses gperf, we don't DEPEND on it because

Reply via email to