aacgain-cvs

maintainer oliver.anhuth · 64 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads source code from archived or standard developer hosts (Google Code archive, SourceForge, GitHub) to build a legitimate audio utility; no remote code execution or malicious payload is present, and the software is compiled from its own declared sources.

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 package downloads source code from archived or standard developer hosts (Google Code archive, SourceForge, GitHub) to build a legitimate audio utility; no remote code execution or malicious payload is present, and the software is compiled from its own declared sources.

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:15 source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/mp4v2-1.9.1.tar.bz2

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Evilandi666 <evilandi.aur(at)googlemail.com>
2# Contributor: Chase <sky[no_spam]<AT>[no_spam]skystrife<DOT>com>
3
4arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'armv8h' 'armv6l' 'armv7l' 'armv8l')
5pkgname=aacgain-cvs
6pkgver=20130814
7pkgrel=7
8conflicts=('aacgain')
9provides=('aacgain')
10makedepends=('git')
11depends=('gcc-libs')
12pkgdesc="Adjusts the volume of music files (mp4/m4a/QT/mp3) using ReplayGain algorithm."
13url="http://altosdesign.com/aacgain"
14license=('GPL')
15source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/mp4v2-1.9.1.tar.bz2
16 http://downloads.sourceforge.net/sourceforge/faac/faad2-2.7.tar.bz2
17 git+https://github.com/elfchief/mp3gain
18 git+https://aur.archlinux.org/aacgain-cvs.git)
19
20sha256sums=('5c381caeab2326fc48cfda0fe202bdb8ba0ae624d9c97ad7680a2b07e2c2e3b4'
21 '14561b5d6bc457e825bfd3921ae50a6648f377a9396eaf16d4b057b39a3f63b5'
22 'SKIP'
23 'SKIP')
24
25build() {
26 msg "Starting builds..."
27 cd $srcdir
28 rm -rf mp4v2 faad2
29 mv mp4v2-1.9.1 mp4v2
30 mv faad2-2.7 faad2
31 mv mp3gain mp3gain-tree
32 mv mp3gain-tree/aacgain ./
33 mv mp3gain-tree/mp3gain ./
34 cd aacgain
35
36 msg "Building mp4v2..."
37 patch -d ../ -p1 <mp4v2.patch
38 cd ../mp4v2
39 patch -p0 <$srcdir/aacgain-cvs/fix_missing_ptr_deref.patch
40 sed -i 's/CXXFLAGS = .*/& -Wno-narrowing/' GNUmakefile.in
41 sed -i 's/CXXFLAGS = .*/& -Wno-format-security/' GNUmakefile.in
42 ./configure
43 make libmp4v2.la
44
45 msg "Building faad2..."
46 cd ../faad2
47 ./configure
48 cd libfaad
49 make
50
51 msg "Building aacgain..."
52 cd ../../aacgain/linux
53 sed "s/patch -p0 -N <mp3gain.patch/patch -d ..\/..\/ -p2 -N <mp3gain.patch/" -i prepare.sh
54 chmod +x prepare.sh
55 ./prepare.sh
56 rm -rf build
57 mkdir build
58 cd build
59 ../../../configure --prefix=/usr
60 make || return 1
61}
62
63package() {
64 cd "${srcdir}/aacgain/linux/build/"
65 make prefix="$pkgdir/usr" install aacgain || return 1
66}
67

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion