lib32-audit-git

LOW
maintainer Orion-zhen 0 votes scanned 2026-09-06 15:12:20.220602
View on AUR
Why flagged

The package builds from a legitimate project Git repository (linux-audit/audit-userspace), uses SKIP for checksums due to the git source, and compiles 32-bit audit libraries; the low severity is due to the flagged 'few votes, recently uploaded' pattern, but the source and build process are trustworthy and standard for AUR.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a legitimate project Git repository (linux-audit/audit-userspace), uses SKIP for checksums due to the git source, and compiles 32-bit audit libraries; the low severity is due to the flagged 'few votes, recently uploaded' pattern, but the source and build process are trustworthy and standard for AUR.

PKGBUILD

1# Maintainer: Orion-zhen <https://github.com/Orion-zhen>
2# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
3# Contributor: David Runge <dvzrv@archlinux.org>
4# Contributor: Christian Rebischke <Chris.Rebischke@archlinux.org>
5# Contributor: Daniel Micay <danielmicay@gmail.com>
6# Contributor: <kang@insecure.ws>
7# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
8# Contributor: Connor Behan <connor.behan@gmail.com>
9# Contributor: henning mueller <henning@orgizm.net>
10
11pkgname=lib32-audit-git
12_name=audit-userspace
13pkgver=4.2.1.r13.g669bc32
14pkgrel=1
15pkgdesc='Userspace components of the audit framework'
16url="https://github.com/linux-audit/audit-userspace"
17arch=(x86_64)
18license=(
19 GPL-2.0-or-later
20 LGPL-2.0-or-later
21)
22depends=(
23 audit
24 lib32-glibc
25)
26makedepends=(git)
27provides=(
28 libaudit.so
29 lib32-audit
30)
31conflicts=(lib32-audit)
32source=("git+$url.git")
33sha512sums=('SKIP')
34b2sums=('SKIP')
35
36pkgver() {
37 cd $_name
38 git describe --long --tags --match='v[0-9]*' --abbrev=7 |
39 sed -E 's/^v//; s/([^-]+)-([0-9]+)-g([0-9a-f]+)$/\1.r\2.g\3/'
40}
41
42prepare() {
43 cd $_name
44 autoreconf -fiv
45}
46
47build() {
48 export CC='gcc -m32'
49 export CXX='g++ -m32'
50 export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
51
52 local configure_options=(
53 --disable-zos-remote
54 --libdir=/usr/lib32
55 --libexecdir=/usr/lib32/audit
56 --prefix=/usr
57 --runstatedir=/run
58 --sbindir=/usr/bin
59 --sysconfdir=/etc
60 --with-python3=no
61 )
62
63 cd $_name
64 ./configure "${configure_options[@]}"
65 # prevent excessive overlinking due to libtool
66 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
67 make -C common
68 make -C lib
69}
70
71package() {
72 make DESTDIR="$pkgdir" install -C $_name/lib
73 install -vDm 644 $_name/{{README,SECURITY}.md,ChangeLog} -t "$pkgdir/usr/share/doc/$pkgname/"
74
75 rm -r "$pkgdir"/usr/{include,share}
76}
77

Scan history

Scanned at (UTC)SeverityRules
2026-09-06 15:12:20 Low 2

Report a package

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

0 / 4000
Your suggestion