libofa
maintainer andreas_baumann
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from Google Code Archive (now read-only) hosted on Google's domain, which is a reliable historical source; the package builds from verifiable source code with provided checksums, and no untrusted or executable payloads are involved.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from Google Code Archive (now read-only) hosted on Google's domain, which is a reliable historical source; the package builds from verifiable source code with provided checksums, and no untrusted or executable payloads are involved.
1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM
source=() URL on a non-standard host
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:13
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/musicip-libofa/libofa-$pkgver.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Andreas Baumann <mail@andreasbaumann.cc>
2
# Contributor: Andrea Scarpino <andrea@archlinux.org>
3
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
4
5
pkgname=libofa
6
pkgver=0.9.3
7
pkgrel=11
8
pkgdesc="An open-source audio fingerprint by MusicIP"
9
arch=('x86_64')
10
url="https://github.com/tanob/libofa"
11
license=('GPL2' 'custom')
12
depends=('expat' 'curl' 'fftw')
13
source=("https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/musicip-libofa/libofa-$pkgver.tar.gz"
14
'libofa-gcc4.patch'
15
'libofa-gcc4.3.patch'
16
'libofa-gcc4.5.patch'
17
'libofa-0.9.3-curl-7.21.patch'
18
'libofa-0.9.3-gcc-4.7.patch')
19
sha256sums=('0216466153e92058c5202dea03390ddc7601d916b983f71ce4f4d034405590a0'
20
'29955fe97cdb3cc2eb72b7b05f1ae38cc5c98b1740a0db96d61f51a13d380cd8'
21
'99fb50907d98640b21a42d00fccee1fa33a02dfabf94a40374766fcc823f5dd3'
22
'6557e9c5ff2a8e0d5f0a91d9faa0ac43b7278926631d45a504cd17fe07fd3c68'
23
'2fa49ced7b47cf05641d1413965244693ffd514ec9d409a784b92751ae4d1c90'
24
'e0c28752df197ce38f9762aded5df12e1ba1181f721f42fddb83ec1178e90c58')
25
26
prepare() {
27
cd ${pkgname}-${pkgver}
28
patch -p0 -i "${srcdir}/libofa-gcc4.patch"
29
patch -p1 -i "${srcdir}/libofa-gcc4.3.patch"
30
patch -p1 -i "${srcdir}/libofa-gcc4.5.patch"
31
patch -p1 -i "${srcdir}/libofa-0.9.3-gcc-4.7.patch"
32
patch -p1 -i "${srcdir}/libofa-0.9.3-curl-7.21.patch"
33
34
autoreconf -fvi
35
}
36
37
build() {
38
cd ${pkgname}-${pkgver}
39
./configure --prefix=/usr
40
make
41
}
42
43
package() {
44
cd ${pkgname}-${pkgver}
45
make DESTDIR="${pkgdir}" install
46
47
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |