moc-pulse-svn
The source is a Subversion checkout from the project's own domain (daper.net), which hosts the official MOC repository; building from a non-whitelisted but project-owned host is normal for AUR packages and poses low risk.
Triggered rules
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 Subversion checkout from the project's own domain (daper.net), which hosts the official MOC repository; building from a non-whitelisted but project-owned host is normal for AUR packages and poses low risk.
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:30
source=("${pkgname}::svn://daper.net/moc/trunk"
PKGBUILD
1 offending line(s) highlighted#Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
#Contributor: Øyvind 'MrElendig' Heggstad <mrelendig@har-ikkje.net>
#Contributor: jsteel <mail at jsteel dot org>
_pkgname=moc
pkgname="${_pkgname}-pulse-svn"
pkgver=r3005
pkgrel=7
pkgdesc='An ncurses console audio player with support for pulseaudio (SVN)'
url='http://moc.daper.net'
arch=('x86_64')
license=('GPL-2.0-or-later')
depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file' 'sndio' 'popt')
makedepends=('speex' 'ffmpeg4.4' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug' 'faad2' 'subversion'
# 'sidplay2-libs' # uncomment to compile libsidplay2/SID file support
# 'pulse-native-provider' # uncomment to compile pulseaudio support
)
optdepends=('speex: for using the speex plugin'
'ffmpeg4.4: for using the ffmpeg plugin'
'taglib: for using the musepack plugin'
'libmpcdec: for using the musepack plugin'
'wavpack: for using the wavpack plugin'
'libmodplug: for using the modplug plugin'
'faad2: for use the aac plugin'
'sidplay2-libs: for use the SID plugin'
'pulse-native-provider: for using the pulseaudio plugin')
provides=('moc=2.6_alpha3')
conflicts=('moc')
options=('!libtool')
source=("${pkgname}::svn://daper.net/moc/trunk"
'0001-Pulseaudio-backend.patch'
'moc-https.patch'
'moc-headers.patch')
sha1sums=('SKIP'
'd86a04606eaa0960f3b59626070cd231d37b6430'
'e3362ddd41126e2be874cd372a053fdaccf0f616'
'52787869fe57fc17f10c3cdd7b496153c0d5f085')
pkgver() {
cd "$srcdir/$pkgname"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
}
prepare() {
cd "$srcdir/$pkgname"
# Allow https for urls https://moc.daper.net/node/1872 (taken from official release on ArchLinux)
patch -p0 -i ../moc-https.patch
# Add header files to install needed for plugin development
patch -p0 -i ../moc-headers.patch
# Add pulseaudio backend
patch -p1 -i ../0001-Pulseaudio-backend.patch
# re-configure
autoreconf -i -f -I /usr/share/gettext/m4
}
build() {
cd "$srcdir/$pkgname"
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
./configure --prefix=/usr --without-rcc --with-pulse \
--with-alsa --with-oss --with-jack --with-aac --with-mp3 \
--with-musepack --with-vorbis --with-flac --with-wavpack \
--with-sndfile --with-modplug --with-ffmpeg --with-speex \
--with-samplerate --with-curl --with-sidplay2 \
--disable-cache --disable-debug
make
}
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir" install
}
# vim: ts=2 sw=2
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |