lame-altivec
maintainer Chocobo1
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads the main source from SourceForge (standard host) and a patch from a personal domain; the patch is checksummed and applied locally, but the personal host is not inherently malicious and the patch is for optimization, not code execution.
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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads the main source from SourceForge (standard host) and a patch from a personal domain; the patch is checksummed and applied locally, but the personal host is not inherently malicious and the patch is for optimization, not code execution.
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:16
"https://tmkk.undo.jp/lame/lame-4.0-sse-20260715.diff")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3
pkgname=lame-altivec
4
pkgver=4.0
5
pkgrel=1
6
pkgdesc="AltiVec/SSE optimized LAME encoder"
7
arch=('i686' 'x86_64')
8
url="https://tmkk.undo.jp/lame/index_e.html"
9
license=('LGPL-2.0-or-later')
10
depends=('glibc' 'mpg123' 'ncurses')
11
makedepends=('nasm')
12
provides=("lame=$pkgver" 'libmp3lame.so')
13
conflicts=('lame')
14
options=('staticlibs')
15
source=("https://downloads.sourceforge.net/project/lame/lame/$pkgver/lame-$pkgver.tar.gz"
16
"https://tmkk.undo.jp/lame/lame-4.0-sse-20260715.diff")
17
sha256sums=('3df5124d5ad3a98312ffd7ba6a9b36230e4f8a3e66d3ce0f425e336c32d216eb'
18
'dc4d853217b25d08360a46bd883109310ee1f6a7c08af26395fe682c471f6f56')
19
20
21
prepare() {
22
cd "lame-$pkgver"
23
24
patch -Np0 -i "$srcdir/lame-4.0-sse-20260715.diff"
25
}
26
27
build() {
28
cd "lame-$pkgver"
29
30
CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" \
31
./configure \
32
--prefix="/usr" \
33
--enable-mp3rtp \
34
--enable-nasm
35
make
36
}
37
38
check() {
39
cd "lame-$pkgver"
40
41
#make test
42
}
43
44
package() {
45
cd "lame-$pkgver"
46
47
make DESTDIR="$pkgdir" install
48
}
49
Changes since previous scan
--- PKGBUILD @ 2026-07-16 00:05+++ PKGBUILD @ 2026-08-03 00:08@@ -1,35 +1,33 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=lame-altivec-pkgver=3.100-pkgrel=6+pkgver=4.0+pkgrel=1 pkgdesc="AltiVec/SSE optimized LAME encoder" arch=('i686' 'x86_64') url="https://tmkk.undo.jp/lame/index_e.html"-license=('LGPL')-depends=('glibc' 'ncurses')+license=('LGPL-2.0-or-later')+depends=('glibc' 'mpg123' 'ncurses') makedepends=('nasm') provides=("lame=$pkgver" 'libmp3lame.so') conflicts=('lame') options=('staticlibs') source=("https://downloads.sourceforge.net/project/lame/lame/$pkgver/lame-$pkgver.tar.gz"- "https://tmkk.undo.jp/lame/lame-3.100-sse-20171014.diff"- "lame.pc.in::https://gitlab.archlinux.org/archlinux/packaging/packages/lame/-/raw/main/lame.pc.in")-sha256sums=('ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e'- '8c32c706f7fce0da8150a5fa0a4e7efadc77cc39e0375c05dc2737331a584662'- 'SKIP')+ "https://tmkk.undo.jp/lame/lame-4.0-sse-20260715.diff")+sha256sums=('3df5124d5ad3a98312ffd7ba6a9b36230e4f8a3e66d3ce0f425e336c32d216eb'+ 'dc4d853217b25d08360a46bd883109310ee1f6a7c08af26395fe682c471f6f56') prepare() { cd "lame-$pkgver" - sed -e "s/VERSION/$pkgver/" "$srcdir/lame.pc.in" > "$srcdir/lame.pc"- patch -Np0 -i "$srcdir/lame-3.100-sse-20171014.diff"+ patch -Np0 -i "$srcdir/lame-4.0-sse-20260715.diff" } build() { cd "lame-$pkgver" + CFLAGS="$CFLAGS -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types" \ ./configure \ --prefix="/usr" \ --enable-mp3rtp \@@ -47,6 +45,5 @@ cd "lame-$pkgver" make DESTDIR="$pkgdir" install- install -Dm644 "$srcdir/lame.pc" -t "$pkgdir/usr/lib/pkgconfig" } 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 17:52:43 | MEDIUM | 1 |
| 2026-07-16 00:05:41 | LOW | 2 |