diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-21 03:04:50 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-21 03:04:50 -0500 |
| commit | c9507d3d8ce89d8bdf4e6a04c8c7511523082acc (patch) | |
| tree | 66f62ac89a1443c94ecf0594248dd5cb5326966a /sys-libs | |
| parent | ef28a0a09751356d6a177eab79b041f208f7d070 (diff) | |
| download | baldeagleos-repo-c9507d3d8ce89d8bdf4e6a04c8c7511523082acc.tar.gz baldeagleos-repo-c9507d3d8ce89d8bdf4e6a04c8c7511523082acc.tar.xz baldeagleos-repo-c9507d3d8ce89d8bdf4e6a04c8c7511523082acc.zip | |
Adding metadata
Diffstat (limited to 'sys-libs')
| -rw-r--r-- | sys-libs/kpmcore/Manifest | 1 | ||||
| -rw-r--r-- | sys-libs/kpmcore/kpmcore-26.08.0.ebuild | 31 | ||||
| -rw-r--r-- | sys-libs/libcap-ng/Manifest | 2 | ||||
| -rw-r--r-- | sys-libs/libcap-ng/files/libcap-ng-0.8.5-python.patch | 23 | ||||
| -rw-r--r-- | sys-libs/libcap-ng/libcap-ng-0.9.5.ebuild (renamed from sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild) | 60 |
5 files changed, 84 insertions, 33 deletions
diff --git a/sys-libs/kpmcore/Manifest b/sys-libs/kpmcore/Manifest index a6b6fd72b8d5..413b8ea1f63a 100644 --- a/sys-libs/kpmcore/Manifest +++ b/sys-libs/kpmcore/Manifest @@ -1 +1,2 @@ DIST kpmcore-26.04.3.tar.xz 674072 BLAKE2B 9972199c6e8aa9999206e4c3eea7ecf7aecb105d9afc7013f165f383cd63abc60948049589c3b2a9e05ea1af43e09f717d0df86a48e9fc1ceff40571649b5ce8 SHA512 7e2b5917a55fe9535d1dfe88b9a8e1b2c63440611540f3673d8ac51145f90f438477bf9169b4be500414018786a0ee22cd99a2815fff2e2a2254b792ee55e828 +DIST kpmcore-26.08.0.tar.xz 682860 BLAKE2B f939d4c2e27b9cd5328693c92ff0d62d3da260fb83bb1350af7ca8e22340915364e50a9d5c3b5f6929992896a1670b712901ae23d5385b02fcc9fe2492197fe1 SHA512 d0c2b9795fecc7c725432ac710ee88a9a0f7191214e9b361aa8edccb4ba215110542596d2aba1fb89a6f8ae059c9b5f697361eb4d966604c51385e577f1e5e09 diff --git a/sys-libs/kpmcore/kpmcore-26.08.0.ebuild b/sys-libs/kpmcore/kpmcore-26.08.0.ebuild new file mode 100644 index 000000000000..d0fa38f6597d --- /dev/null +++ b/sys-libs/kpmcore/kpmcore-26.08.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_NONGUI="true" +KFMIN=6.27.0 +QTMIN=6.11.2 +inherit ecm gear.kde.org + +DESCRIPTION="Library for managing partitions" +HOMEPAGE="https://apps.kde.org/partitionmanager/" + +LICENSE="GPL-3" +SLOT="6/10" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86" +IUSE="" + +# bug 689468, tests need polkit etc. +RESTRICT="test" + +DEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets] + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=sys-apps/util-linux-2.33.2 + >=sys-auth/polkit-qt-0.175.0[qt6(+)] +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest index 9ca1185fb6c8..83fda51293dd 100644 --- a/sys-libs/libcap-ng/Manifest +++ b/sys-libs/libcap-ng/Manifest @@ -1,2 +1,2 @@ -DIST libcap-ng-0.8.5.tar.gz 460149 BLAKE2B ce0fc4ebceaa66d6f888f8b752e501bed7513d45231425054340016a6215ce52f0cd81b3a4a54c7c9ec0b623965002d66316c6c37844f0bd132b186ff7c6a41f SHA512 89fb86454847f354c012411ecdc7e17f07bb40d7e9719ca0b93ea81c436113685bbbb5c1b9cb1b7ac92d216c105c687285304135beb156aedd55ab1c61e4f269 DIST libcap-ng-0.9.3.tar.gz 126257 BLAKE2B 8050f69c91a8c5214d718d3ad750cf50db25690b9b8d59f37db32d33d5a0fe864afe8064ca4261f27f49f65064926c816a627a9c1c7a28e268a1a459409c59d8 SHA512 cbe6e322a6349dcd2b23833c4f66a173d5d8d36ccded782e79fa8b83a1a700da293e0a79a31408814f19cf788fd56726beb587f51314a92c135e05eb2e5a47e2 +DIST libcap-ng-0.9.5.tar.gz 173762 BLAKE2B ddfe7b6975747963a2eb53485481c55f5638a06f119260e34619336445321d41b1531e4b78593aab9267a463e08641eb666f58ca6dc19fabf776995a4579e072 SHA512 eca44c680ea6104c59591ee19ae9136ed1f4d0437877a1c16f5fb5d546466ff99d52fe45daa081bc6dde15abbb3902528b7bf6fade4845d0c13756d426e21db7 diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.8.5-python.patch b/sys-libs/libcap-ng/files/libcap-ng-0.8.5-python.patch deleted file mode 100644 index ddad5ff49d7a..000000000000 --- a/sys-libs/libcap-ng/files/libcap-ng-0.8.5-python.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/stevegrubb/libcap-ng/commit/1fe7c1cfeea00ba4eb903fbb39b74361594d4835 - -From 1fe7c1cfeea00ba4eb903fbb39b74361594d4835 Mon Sep 17 00:00:00 2001 -From: Jan Palus <jpalus@fastmail.com> -Date: Wed, 10 Apr 2024 21:30:51 +0200 -Subject: [PATCH] Fix python path when invoking py-compile (#54) - -48eebb2 replaced custom PYTHON3 variable with PYTHON by using standard -AM_PATH_PYTHON macro. Makefile however still referred to old one. -There's no need to set PYTHON explicitly anymore so drop it. - -Fixes #53 ---- a/bindings/python3/Makefile.am -+++ b/bindings/python3/Makefile.am -@@ -27,7 +27,6 @@ AM_CPPFLAGS = -I. -I$(top_builddir) $(PYTHON3_INCLUDES) - LIBS = ${top_builddir}/src/libcap-ng.la - SWIG_FLAGS = -python - SWIG_INCLUDES = ${AM_CPPFLAGS} --PYTHON = $(PYTHON3) - pyexec_PYTHON = capng.py - pyexec_LTLIBRARIES = _capng.la - pyexec_SOLIBRARIES = _capng.so - diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild b/sys-libs/libcap-ng/libcap-ng-0.9.5.ebuild index 522195e3cc1f..63c98e87c221 100644 --- a/sys-libs/libcap-ng/libcap-ng-0.8.5.ebuild +++ b/sys-libs/libcap-ng/libcap-ng-0.9.5.ebuild @@ -6,28 +6,68 @@ EAPI=8 # Keep an eye on Fedora's packaging (https://src.fedoraproject.org/rpms/libcap-ng/tree/rawhide) for patches # Same maintainer in Fedora as upstream PYTHON_COMPAT=( python3_{13..14} ) -inherit autotools dot-a flag-o-matic out-of-source-utils python-r1 +inherit autotools dot-a flag-o-matic linux-info out-of-source-utils python-r1 DESCRIPTION="POSIX 1003.1e capabilities" HOMEPAGE="https://people.redhat.com/sgrubb/libcap-ng/" -SRC_URI="https://people.redhat.com/sgrubb/${PN}/${P}.tar.gz" +SRC_URI="https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+ LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="python static-libs" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="bpf deprecated python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RDEPEND="python? ( ${PYTHON_DEPS} )" +RDEPEND=" + bpf? ( + dev-libs/libbpf:= + sys-process/audit + ) + python? ( ${PYTHON_DEPS} ) +" DEPEND=" ${RDEPEND} sys-kernel/linux-headers + bpf? ( dev-util/bpftool ) +" +BDEPEND=" + bpf? ( + llvm-core/clang[llvm_targets_BPF(-)] + virtual/pkgconfig + ) + python? ( >=dev-lang/swig-2 ) " -BDEPEND="python? ( >=dev-lang/swig-2 )" -PATCHES=( - "${FILESDIR}"/${P}-python.patch -) +pkg_pretend() { + # bug 972898 + if use bpf && [[ ${MERGE_TYPE} != binary ]] ; then + if [[ ! -f /sys/kernel/btf/vmlinux ]] ; then + local err="Cannot read /sys/kernel/btf/vmlinux, which is required by bpftool.\n" + err+=" Typically this means that your kernel is missing the DEBUG_INFO_BTF option,\n" + err+=" without which BPF cannot work. Please build with USE=-bpf or reconfigure your kernel." + die "${err}" + fi + + # check required kernel flags as documented at: + # https://github.com/stevegrubb/libcap-ng/blob/master/README.md + local CONFIG_CHECK=" + ~BPF + ~BPF_SYSCALL + ~BPF_EVENTS + ~DEBUG_INFO_BTF + ~FTRACE_SYSCALLS + ~KPROBES + ~KRETPROBES + ~KPROBE_EVENTS + ~PERF_EVENTS + ~STACKTRACE + ~TRACEPOINTS + ~TRACING + " + + linux-info_pkg_setup + fi +} src_prepare() { default @@ -44,6 +84,8 @@ src_configure() { local ECONF_SOURCE="${S}" local myconf=( + $(use_enable bpf cap-audit) + $(use_enable deprecated) $(use_enable static-libs static) --with-capability_header="${ESYSROOT}"/usr/include/linux/capability.h ) |
