summaryrefslogtreecommitdiff
path: root/sys-libs/libcap-ng
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-22 06:42:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-22 06:42:31 +0000
commit564687d289b862b8b079569a45a2d39d7b8c3585 (patch)
tree9ec555a8f8005c24f9d8198ba4941cc6f002a413 /sys-libs/libcap-ng
parent30c47f3c341cb37e4808aaa3842b679d0ca420e8 (diff)
gentoo auto-resync : 22:01:2025 - 06:42:31
Diffstat (limited to 'sys-libs/libcap-ng')
-rw-r--r--sys-libs/libcap-ng/Manifest4
-rw-r--r--sys-libs/libcap-ng/files/libcap-ng-0.8.4-slibtool.patch32
-rw-r--r--sys-libs/libcap-ng/files/libcap-ng-0.8.4-swig.patch31
-rw-r--r--sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild103
4 files changed, 0 insertions, 170 deletions
diff --git a/sys-libs/libcap-ng/Manifest b/sys-libs/libcap-ng/Manifest
index 0e7f32356995..cbc23cb2556a 100644
--- a/sys-libs/libcap-ng/Manifest
+++ b/sys-libs/libcap-ng/Manifest
@@ -1,8 +1,4 @@
-AUX libcap-ng-0.8.4-slibtool.patch 1294 BLAKE2B 7234f8d137570f68d3de9ab0020c3d8d7626d31d8651c4588be74d2762126ed5559004c16a5cbb256a52155c48d61c42117c1164cae9397454467a4f6e76a6a3 SHA512 157fd91974350adc89ca2a08561bb40d01d7a615e94b82e1f002f10d479138e311f6b653e7026182514f52706319269996c3c37054ccf4c73a89e2ef7870146e
-AUX libcap-ng-0.8.4-swig.patch 873 BLAKE2B 8ec0c99cfaef7885ece5cb11a17ee09bf3903f3bf9ba99f507c2f93f39fd27d5bd497fe967acc735c012ad2a086913257cb0001971e9c86731c44184fa64ec01 SHA512 d68fe855d2c50ed8a46376c5b388b543658e2726e54c190098849b74f6993f1cf9f5d08505ece7ce44220547d6c42ee963cb67cf35be4998b2262069ce4fabd3
AUX libcap-ng-0.8.5-python.patch 861 BLAKE2B 748386a5d03adf88ceb84e6c866e46df1d7336d114ec01fe38f0f70e0670eca3ec5f43561b082fdaffbecf825fc093f28fb8665236c56738e0c0cec4889c49d7 SHA512 b51bdf7738a882373408fbdc9919b87791919082964af3e6c6a887577f46f76c7679fe1985fd0c3a2ca01b2573ad794a8a172f0b8533439d1522eecd4f5158e7
-DIST libcap-ng-0.8.4.tar.gz 453749 BLAKE2B 523480281cfa544e77e30932968b4b18424286dbced06bb4645d536cf19d4cc0f7c73de82006ffc329aa7ef208e0cf8e3379f1b20e1e8e4e90e422ed736f6c44 SHA512 f4f3499d592e8583c2bdb8d700981a7930bd545f0889bc02f49acecf17e3bc600b100cd4f64e9326e5bac0a07a02a1ac4b7e83e919563066665a3d67cbe6871e
DIST libcap-ng-0.8.5.tar.gz 460149 BLAKE2B ce0fc4ebceaa66d6f888f8b752e501bed7513d45231425054340016a6215ce52f0cd81b3a4a54c7c9ec0b623965002d66316c6c37844f0bd132b186ff7c6a41f SHA512 89fb86454847f354c012411ecdc7e17f07bb40d7e9719ca0b93ea81c436113685bbbb5c1b9cb1b7ac92d216c105c687285304135beb156aedd55ab1c61e4f269
-EBUILD libcap-ng-0.8.4-r1.ebuild 2296 BLAKE2B b58854b194564e036c2839df96ddc5b420d986a95fb529d2f0f526c18cd68fe6e982d50d49484fd6f57dfb21d6606175c962c0f561c7bdd05e492ea770bf6370 SHA512 2d4519e6c9ee83593e8f05a7e54a8726ad44e6804f38c9c4e54f540ecea8dd7d7918e651a54e4bb94ba1a32aafeea55f1e252b39df1d140bf89257c9922b6c52
EBUILD libcap-ng-0.8.5.ebuild 2229 BLAKE2B 81d612c107cda6a2dddc6a115b28e0297306e9e98ecfbf753c156f4749811ea91a29930bdcb1134d34b71fde70d5dd039daadd1344bc5d2bb7e07eb0c5695c12 SHA512 a35eb050d7b78f2d8a7eb12649283478a9b5eedec13cf19d005815dcda012a4649f9c641ab9fc58f28ac9c742faa043a1afff35f87e9a977e28522319bb21ad4
MISC metadata.xml 743 BLAKE2B 76f6f5e1f041c4609c640c0ad15363124e7e4adcf013180aa965a2b45da54de2d9574b21c8d1c7c1504c06df1bd7c34c765a44261da99e3080f0f92d89584e33 SHA512 c674b44010c80273ca64554911408e9533a29152d8cff2dcee7a5554c8269e32214e406d04082b267f9d958a53f3bd7f653af7a004a487aa6dd2d253314c2f25
diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.8.4-slibtool.patch b/sys-libs/libcap-ng/files/libcap-ng-0.8.4-slibtool.patch
deleted file mode 100644
index d69f986875e3..000000000000
--- a/sys-libs/libcap-ng/files/libcap-ng-0.8.4-slibtool.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-https://github.com/stevegrubb/libcap-ng/commit/75fe3714a8da28f0e2939c4402527782014401dd
-https://github.com/stevegrubb/libcap-ng/pull/52
-
-From b7d21b473badb349bc0d6246b3804a8a2d329f36 Mon Sep 17 00:00:00 2001
-From: orbea <orbea@riseup.net>
-Date: Wed, 3 Apr 2024 17:32:04 -0700
-Subject: [PATCH] utils: link using libcap-ng.la
-
-When linking internal dependencies that were linked using $(LIBTOOL) the
-ideal method is to use the generated libtool archive (.la) file. This
-fixes the build with slibtool which doesn't find -lcap-ng during the
-build and explicitly requires the .la file to be used.
-
-Gentoo Issue: https://bugs.gentoo.org/928450
-Signed-off-by: orbea <orbea@riseup.net>
----
- utils/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/utils/Makefile.am b/utils/Makefile.am
-index f430454..97aa021 100644
---- a/utils/Makefile.am
-+++ b/utils/Makefile.am
-@@ -25,7 +25,7 @@ CONFIG_CLEAN_FILES = *.loT *.rej *.orig
- AUTOMAKE_OPTIONS = no-dependencies
- EXTRA_DIST = $(man_MANS)
- AM_CPPFLAGS = -I${top_srcdir} -I${top_srcdir}/src
--LIBS = -L${top_builddir}/src -lcap-ng
-+LDADD = ${top_builddir}/src/libcap-ng.la
- AM_CFLAGS = -W -Wall -Wshadow ${WFLAGS} -Wundef -D_GNU_SOURCE
- bin_PROGRAMS = pscap netcap filecap captest
- man_MANS = pscap.8 netcap.8 filecap.8 captest.8
diff --git a/sys-libs/libcap-ng/files/libcap-ng-0.8.4-swig.patch b/sys-libs/libcap-ng/files/libcap-ng-0.8.4-swig.patch
deleted file mode 100644
index 4b3f41a580ab..000000000000
--- a/sys-libs/libcap-ng/files/libcap-ng-0.8.4-swig.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-https://bugs.gentoo.org/921305
-https://github.com/stevegrubb/libcap-ng/issues/48
-https://github.com/stevegrubb/libcap-ng/commit/30453b6553948cd05c438f9f509013e3bb84f25b
-
-From 30453b6553948cd05c438f9f509013e3bb84f25b Mon Sep 17 00:00:00 2001
-From: Steve Grubb <ausearch.1@gmail.com>
-Date: Thu, 4 Jan 2024 15:06:29 -0500
-Subject: [PATCH] Remove python global exception handler since its deprecated
-
----
- bindings/src/capng_swig.i | 7 -------
- 2 files changed, 1 insertion(+), 7 deletions(-)
-
-diff --git a/bindings/src/capng_swig.i b/bindings/src/capng_swig.i
-index fcdaf18..fa85e13 100644
---- a/bindings/src/capng_swig.i
-+++ b/bindings/src/capng_swig.i
-@@ -30,13 +30,6 @@
-
- %varargs(16, signed capability = 0) capng_updatev;
-
--%except(python) {
-- $action
-- if (result < 0) {
-- PyErr_SetFromErrno(PyExc_OSError);
-- return NULL;
-- }
--}
- #endif
-
- %define __signed__
diff --git a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild b/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
deleted file mode 100644
index 228d595f6de9..000000000000
--- a/sys-libs/libcap-ng/libcap-ng-0.8.4-r1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-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_{10..12} )
-inherit autotools flag-o-matic 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"
-
-LICENSE="GPL-2+ LGPL-2.1+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x86-linux"
-IUSE="python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="python? ( ${PYTHON_DEPS} )"
-DEPEND="
- ${RDEPEND}
- sys-kernel/linux-headers
-"
-BDEPEND="python? ( >=dev-lang/swig-2 )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-swig.patch
- # https://bugs.gentoo.org/928450
- "${FILESDIR}"/${P}-slibtool.patch
-)
-
-src_prepare() {
- default
-
- eautoreconf
-}
-
-src_configure() {
- use sparc && replace-flags -O? -O0
-
- local ECONF_SOURCE="${S}"
-
- local myconf=(
- $(use_enable static-libs static)
- --with-capability_header="${ESYSROOT}"/usr/include/linux/capability.h
- )
-
- local pythonconf=(
- --without-python3
- )
-
- # Set up python bindings build(s)
- if use python ; then
- setup_python_flags_configure() {
- pythonconf=(
- --with-python3
- )
-
- run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
- }
-
- python_foreach_impl setup_python_flags_configure
- else
- local BUILD_DIR="${WORKDIR}"/build
- run_in_build_dir econf "${pythonconf[@]}" "${myconf[@]}"
- fi
-}
-
-src_compile() {
- if use python ; then
- python_foreach_impl run_in_build_dir emake
- else
- local BUILD_DIR="${WORKDIR}"/build
- emake -C "${BUILD_DIR}"
- fi
-}
-
-src_test() {
- if [[ "${EUID}" -eq 0 ]] ; then
- ewarn "Skipping tests due to root permissions."
- return
- fi
-
- if use python ; then
- python_foreach_impl run_in_build_dir emake check
- else
- local BUILD_DIR="${WORKDIR}"/build
- emake -C "${BUILD_DIR}" check
- fi
-}
-
-src_install() {
- if use python ; then
- python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install
- else
- local BUILD_DIR="${WORKDIR}"/build
- emake -C "${BUILD_DIR}" DESTDIR="${D}" install
- fi
-
- find "${ED}" -name '*.la' -delete || die
-}