Сравнение libcap-ng-0.9.3 с libcap-ng-0.9.5-r1
| /usr/portage/sys-libs/libcap-ng/libcap-ng-0.9.5-r1.ebuild 2026-08-26 20:03:05.437139382 +0300 | ||
|---|---|---|
| 5 | 5 | |
| 6 | 6 |
# Keep an eye on Fedora's packaging (https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches |
| 7 | 7 |
# Same maintainer in Fedora as upstream |
| 8 |
PYTHON_COMPAT=( python3_{11..14} )
|
|
| 9 |
inherit autotools dot-a flag-o-matic linux-info out-of-source-utils python-r1 |
|
| 8 |
PYTHON_COMPAT=( python3_{12..14} )
|
|
| 9 |
inherit autotools dot-a flag-o-matic linux-info out-of-source-utils python-r1 shell-completion |
|
| 10 | 10 | |
| 11 | 11 |
DESCRIPTION="POSIX 1003.1e capabilities" |
| 12 | 12 |
HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/" |
| ... | ... | |
| 14 | 14 | |
| 15 | 15 |
LICENSE="GPL-2+ LGPL-2.1+" |
| 16 | 16 |
SLOT="0" |
| 17 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" |
|
| 17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
|
| 18 | 18 |
IUSE="bpf deprecated python static-libs" |
| 19 | 19 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
| 20 | 20 | |
| ... | ... | |
| 38 | 38 |
python? ( >=dev-lang/swig-2 ) |
| 39 | 39 |
" |
| 40 | 40 | |
| 41 |
PATCHES=( |
|
| 42 |
"${FILESDIR}"/${PN}-0.9.3-audit-out-of-source-build.patch
|
|
| 43 |
) |
|
| 44 | ||
| 45 | 41 |
pkg_pretend() {
|
| 46 | 42 |
# bug 972898 |
| 47 | 43 |
if use bpf && [[ ${MERGE_TYPE} != binary ]] ; then
|
| ... | ... | |
| 150 | 146 |
use static-libs && strip-lto-bytecode |
| 151 | 147 | |
| 152 | 148 |
find "${ED}" -name '*.la' -delete || die
|
| 149 | ||
| 150 |
# Fixup completions, bug 972536 |
|
| 151 |
mv "${D}$(get_bashcompdir)"/{libcap-ng.bash_completion,cap-audit} || die
|
|
| 152 |
bashcomp_alias cap-audit filecap netcap pscap |
|
| 153 | 153 |
} |