lib32-libcanberra
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): The package clones libcanberra from git.0pointer.net, which is the project's own official hosting (Lennart Poettering's server, the original author of libcanberra); this is a legitimate upstream source, not a suspicious third-party host. The SKIP checksum on the git source is normal for VCS sources. The bundled patch has a proper checksum. No obfuscation, no remote code execution, no exfiltration — this is a standard 32-bit library build.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:20
source=("git+https://git.0pointer.net/clone/libcanberra.git#commit=$_commit"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Florian Pritz <flo@xssn.at>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=lib32-libcanberra
pkgver=0.30+r2+gc0620e4
pkgrel=4
epoch=1
pkgdesc="A small and lightweight implementation of the XDG Sound Theme Specification (32-bit)"
url="https://0pointer.net/lennart/projects/libcanberra/"
arch=(x86_64)
license=(LGPL-2.1-or-later)
depends=(lib32-libvorbis lib32-libltdl lib32-alsa-lib lib32-libpulse lib32-tdb
libcanberra)
makedepends=(gtk-doc lib32-gtk3 git)
provides=(lib32-libcanberra-pulse libcanberra{,-gtk3}.so)
replaces=("lib32-libcanberra-pulse<0.30+2+gc0620e4-4")
options=(libtool)
_commit=c0620e432650e81062c1967cc669829dbd29b310 # master
source=("git+https://git.0pointer.net/clone/libcanberra.git#commit=$_commit"
libcanberra-multi-backend.patch)
sha256sums=('SKIP'
'de146cae3e40a16b38c8edb4f1a3a423c64eb9c5000e36c316b677e9909c9b06')
pkgver() {
cd libcanberra
git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd libcanberra
# https://bugs.archlinux.org/task/71341
# https://bugs.freedesktop.org/show_bug.cgi?id=51662
git apply -3 ../libcanberra-multi-backend.patch
./autogen.sh
}
build() {
cd libcanberra
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG=i686-pc-linux-gnu-pkg-config
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libdir=/usr/lib32 \
--disable-static --with-builtin=dso --enable-null --disable-oss \
--enable-alsa --enable-pulse \
--with-systemdsystemunitdir=/usr/lib/systemd/system --enable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd libcanberra
make -j1 DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib32/*.la
rm "$pkgdir"/usr/lib32/gtk-3.0/modules/*.la
rm -r "$pkgdir"/usr/{include,share,bin,lib,lib32/gnome-settings-daemon-3.0}
}
# vim:set sw=2 sts=-1 et:
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 00:03:42 | LOW | 3 |
| 2026-08-17 00:18:29 | LOW | 3 |
| 2026-08-16 19:35:37 | LOW | 3 |
| 2026-08-16 19:33:38 | MEDIUM | 2 |