moc-pulse-svn
maintainer hv15
· 1 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
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 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)
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:30
source=("${pkgname}::svn://daper.net/moc/trunk"
PKGBUILD
1 offending line(s) highlighted
1
#Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
2
#Contributor: Øyvind 'MrElendig' Heggstad <mrelendig@har-ikkje.net>
3
#Contributor: jsteel <mail at jsteel dot org>
4
5
_pkgname=moc
6
pkgname="${_pkgname}-pulse-svn"
7
pkgver=r3005
8
pkgrel=7
9
pkgdesc='An ncurses console audio player with support for pulseaudio (SVN)'
10
url='http://moc.daper.net'
11
arch=('x86_64')
12
license=('GPL-2.0-or-later')
13
depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file' 'sndio' 'popt')
14
makedepends=('speex' 'ffmpeg4.4' 'taglib' 'libmpcdec' 'wavpack' 'libmodplug' 'faad2' 'subversion'
15
# 'sidplay2-libs' # uncomment to compile libsidplay2/SID file support
16
# 'pulse-native-provider' # uncomment to compile pulseaudio support
17
)
18
optdepends=('speex: for using the speex plugin'
19
'ffmpeg4.4: for using the ffmpeg plugin'
20
'taglib: for using the musepack plugin'
21
'libmpcdec: for using the musepack plugin'
22
'wavpack: for using the wavpack plugin'
23
'libmodplug: for using the modplug plugin'
24
'faad2: for use the aac plugin'
25
'sidplay2-libs: for use the SID plugin'
26
'pulse-native-provider: for using the pulseaudio plugin')
27
provides=('moc=2.6_alpha3')
28
conflicts=('moc')
29
options=('!libtool')
30
source=("${pkgname}::svn://daper.net/moc/trunk"
31
'0001-Pulseaudio-backend.patch'
32
'moc-https.patch'
33
'moc-headers.patch')
34
sha1sums=('SKIP'
35
'd86a04606eaa0960f3b59626070cd231d37b6430'
36
'e3362ddd41126e2be874cd372a053fdaccf0f616'
37
'52787869fe57fc17f10c3cdd7b496153c0d5f085')
38
39
pkgver() {
40
cd "$srcdir/$pkgname"
41
local ver="$(svnversion)"
42
printf "r%s" "${ver//[[:alpha:]]}"
43
}
44
45
prepare() {
46
cd "$srcdir/$pkgname"
47
48
# Allow https for urls https://moc.daper.net/node/1872 (taken from official release on ArchLinux)
49
patch -p0 -i ../moc-https.patch
50
# Add header files to install needed for plugin development
51
patch -p0 -i ../moc-headers.patch
52
# Add pulseaudio backend
53
patch -p1 -i ../0001-Pulseaudio-backend.patch
54
55
# re-configure
56
autoreconf -i -f -I /usr/share/gettext/m4
57
}
58
59
build() {
60
cd "$srcdir/$pkgname"
61
62
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
63
64
./configure --prefix=/usr --without-rcc --with-pulse \
65
--with-alsa --with-oss --with-jack --with-aac --with-mp3 \
66
--with-musepack --with-vorbis --with-flac --with-wavpack \
67
--with-sndfile --with-modplug --with-ffmpeg --with-speex \
68
--with-samplerate --with-curl --with-sidplay2 \
69
--disable-cache --disable-debug
70
make
71
}
72
73
package() {
74
cd "$srcdir/$pkgname"
75
make DESTDIR="$pkgdir" install
76
}
77
78
# vim: ts=2 sw=2
79
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 |