main/libcap: security upgrade to 2.78 (CVE-2026-4878)

This commit is contained in:
bdprom 2026-04-09 14:57:47 +00:00 committed by Natanael Copa
parent 84120397d9
commit bbf8ac5c2e

View File

@ -1,7 +1,7 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.70
pkgver=2.78
pkgrel=0
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
@ -22,6 +22,18 @@ subpackages="
"
source="https://kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$pkgver.tar.xz"
case "$CARCH" in
armv7)
# psx_test fails in the armv7 CI environment
# possibly related to https://bugzilla.kernel.org/show_bug.cgi?id=219912
options="$options !check"
;;
esac
# secfixes:
# 2.78-r0:
# - CVE-2026-4878
build() {
make BUILD_CC=gcc CC="${CC:-gcc}" lib=lib prefix=/usr GOLANG=no \
DESTDIR="$pkgdir"
@ -64,5 +76,5 @@ libcap2() {
}
sha512sums="
4e0bf0efeccb654c409afe9727b2b53c1d4da8190d7a0a9848fc52550ff3e13502add3eacde04a68a5b7bec09e91df487f64c5746ba987f873236a9e53b3d4e8 libcap-2.70.tar.xz
a156a8708dd59f13400f701f4e1ddc81f915fe4e7b32f93a328f7d6f030b7a004fb985fa9ac60812dfffeb8ad860d2e1f59895485497350250efd9378682626b libcap-2.78.tar.xz
"