lib32-libcap

MEDIUM
maintainer Orion-zhen 5 votes scanned 2026-08-31 09:44:49.557175
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer: Orion-zhen <https://github.com/Orion-zhen>
2# Contributor: David Runge <dvzrv@archlinux.org>
3# Contributor: Florian Pritz <bluewind@xinu.at>
4# Contributor: Hugo Doria <hugo@archlinux.org>
5
6pkgname=lib32-libcap
7_name=${pkgname#lib32-}
8pkgver=2.78
9pkgrel=1
10pkgdesc="POSIX 1003.1e capabilities (32-bit)"
11arch=(x86_64)
12url="https://sites.google.com/site/fullycapable/"
13_url=https://git.kernel.org/pub/scm/libs/libcap/libcap.git
14license=('BSD-3-Clause OR GPL-2.0-only')
15depends=(
16 lib32-glibc
17 lib32-pam
18)
19makedepends=(
20 git
21 linux-api-headers
22)
23provides=(
24 libcap.so
25 libpsx.so
26)
27# NOTE: we rely on a specific tagging scheme to verify with the latest signing key: https://bugzilla.kernel.org/show_bug.cgi?id=218860#c3
28source=(git+$_url?signed#tag=sig-$_name-$pkgver)
29sha512sums=('82313d64eff6f06cba7cf137c88192b58d4c7a96344f8f280a1d2ca6df668019e32e96452b3f353618e8a05f7f90339ff2a600c02368f2fac86fc12c238c1903')
30b2sums=('238e4e5758dc4030624850533c6891c9402b6bb62cadbe389c6ea9016db4b80b624a0b2c55510f5a1423b71fd924c560ce7e609fca0bcacbc04b631b43d8dc23')
31validpgpkeys=(
32 38A644698C69787344E954CE29EE848AE2CCF3F4 # Andrew G. Morgan <morgan@kernel.org>
33 0D23D34C577B08C4082CFD76430C5CFF993116B1 # Andrew G. Morgan (2024+ libcap signing key) <morgan@kernel.org>
34)
35
36build() {
37 local make_options=(
38 CC="gcc -m32"
39 DYNAMIC=yes
40 KERNEL_HEADERS=/usr/include
41 lib=lib32
42 prefix=/usr
43 sbindir=bin
44 -C $_name
45 )
46
47 make "${make_options[@]}"
48}
49
50check() {
51 make test CC="gcc -m32" -k -C $_name
52}
53
54package() {
55 local make_options=(
56 DESTDIR="$pkgdir"
57 RAISE_SETFCAP=no
58 lib=lib32
59 prefix=/usr
60 sbindir=bin
61 install
62 -C $_name
63 )
64
65 # NOTE: we add a specific libcap dependency here, because top-level it would not work as libcap is pulled in transitively via base
66 depends+=(
67 $_name=$pkgver
68 )
69
70 make "${make_options[@]}"
71 install -vDm 644 $_name/{CHANGELOG,README} -t "$pkgdir/usr/share/doc/$pkgname/"
72 install -vDm 644 $_name/License -t "$pkgdir/usr/share/licenses/$pkgname/"
73 # remove files provided by libcap
74 rm -rv "$pkgdir/usr/"{include,share/man,bin}
75}
76

Changes since previous scan

--- PKGBUILD @ 2026-08-31 00:19
+++ PKGBUILD @ 2026-08-31 09:44
@@ -1,4 +1,5 @@
-# Maintainer: David Runge <dvzrv@archlinux.org>
+# Maintainer: Orion-zhen <https://github.com/Orion-zhen>
+# Contributor: David Runge <dvzrv@archlinux.org>
# Contributor: Florian Pritz <bluewind@xinu.at>
# Contributor: Hugo Doria <hugo@archlinux.org>

Scan history

Scanned at (UTC)SeverityRules
2026-08-31 09:44:49 Medium 1
2026-08-31 00:19:57 Clean 2
2026-08-30 23:44:22 Medium 1
2026-08-17 00:18:29 Clean 2
2026-08-16 21:33:47 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion