summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-12-05 17:19:28 +0100
committerDavid Seifert <soap@gentoo.org>2021-12-05 17:19:28 +0100
commit63a567c5a0b9d4373ddaaccb34d6db002fb600ea (patch)
tree5404b872cae2e6b155e259499440abc6920e1892 /sys-libs
parentsys-libs/libcap: add live ebuild (diff)
downloadgentoo-63a567c5a0b9d4373ddaaccb34d6db002fb600ea.tar.gz
gentoo-63a567c5a0b9d4373ddaaccb34d6db002fb600ea.tar.bz2
gentoo-63a567c5a0b9d4373ddaaccb34d6db002fb600ea.zip
sys-libs/libcap: sync 2.61 from live ebuild
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libcap/libcap-2.61.ebuild11
1 files 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