moc-pulse

maintainer hv15 · 14 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a legitimate project tarball from the official project's own domain (daper.net), which hosts MOC; 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 legitimate project tarball from the official project's own domain (daper.net), which hosts MOC; 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:31 source=("https://ftp.daper.net/pub/soft/${_pkgname}/stable/${_pkgname}-${pkgver}.tar.bz2"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Hans-Nikolai Viessmann <hans AT viess DOT mn>
2# Contributor: Vladimir Protasov <eoranged@ya.ru>
3# Contributor: Eric Bélanger <eric@archlinux.org>
4
5pkgname='moc-pulse'
6_pkgname='moc'
7pkgver=2.5.2
8pkgrel=17
9pkgdesc='An ncurses console audio player with support for pulseaudio'
10arch=('x86_64')
11url="https://moc.daper.net/"
12license=('GPL-2.0-or-later')
13depends=('libmad' 'libid3tag' 'jack' 'curl' 'libltdl' 'file' 'sndio')
14makedepends=('speex' 'ffmpeg4.4' 'taglib' 'libmpcdec' 'wavpack'
15 'libmodplug' 'faad2' 'libsamplerate'
16 # 'sidplay2-libs' # uncomment to compile libsidplay2/SID file support
17 # 'pulse-native-provider' # uncomment to compile pulseaudio support
18 )
19optdepends=('speex: for using the speex plugin'
20 'ffmpeg4.4: for using the ffmpeg plugin'
21 'taglib: for using the musepack plugin'
22 'libmpcdec: for using the musepack plugin'
23 'wavpack: for using the wavpack plugin'
24 'faad2: for using the aac plugin'
25 'libmodplug: for using the modplug plugin'
26 'libsamplerate: for resampling audio'
27 'sidplay2-libs: for use the SID plugin'
28 'pulse-native-provider: for using the pulseaudio plugin')
29provides=("moc=${pkgver}")
30conflicts=('moc')
31source=("https://ftp.daper.net/pub/soft/${_pkgname}/stable/${_pkgname}-${pkgver}.tar.bz2"
32 'pulseaudio.patch'
33 'moc-ffmpeg4.patch'
34 'moc-https.patch'
35 'moc-headers.patch')
36sha1sums=('9d27a929b63099416263471c16367997c0ae6dba'
37 '5c6385760ba40ee8a330d28d520c44eac2cbbae1'
38 '007a0580ac754e1c318a0d0b6f0d403883797eaf'
39 'e3362ddd41126e2be874cd372a053fdaccf0f616'
40 'a2626b184437750f33ba019b02bd68a27c268708')
41# validpgpkeys=('59359B80406D9E73E80599BEF3121E4F2885A7AA')
42
43prepare() {
44 cd "${_pkgname}-${pkgver}"
45
46 # Fix build with ffmpeg 4 (taken from official release on ArchLinux)
47 patch -p0 -i ../moc-ffmpeg4.patch
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 ../pulseaudio.patch
54
55 # reconfigure the build system
56 autoreconf -i -f -I /usr/share/gettext/m4
57}
58
59build() {
60 cd "${_pkgname}-${pkgver}"
61
62 export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
63
64 ./configure --prefix=/usr --without-rcc \
65 --with-pulse --with-oss --with-alsa --with-jack --with-aac \
66 --with-mp3 --with-sidplay2 --with-musepack --with-vorbis --with-flac \
67 --with-wavpack --with-sndfile --with-modplug --with-ffmpeg \
68 --with-speex --with-samplerate --with-curl --disable-cache \
69 --disable-debug
70 make
71}
72
73package() {
74 cd ${_pkgname}-${pkgver}
75 make DESTDIR="${pkgdir}" install
76}
77
78# vim: ts=2 sw=2
79

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