mingw-w64-libopenmpt

LOW
maintainer kfg 2 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is downloaded from the project's official domain (lib.openmpt.org) which is not on the whitelist but plausibly legitimate; it is a source tarball for building the library, not an unverifiable prebuilt binary, so the risk is low.

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 source is downloaded from the project's official domain (lib.openmpt.org) which is not on the whitelist but plausibly legitimate; it is a source tarball for building the library, not an unverifiable prebuilt binary, so the risk is low.

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:24 source=($_pkgname-$pkgver.tar.gz::https://lib.openmpt.org/files/libopenmpt/src/$_pkgname-$pkgver+release.autotools.tar.gz

PKGBUILD

1 offending line(s) highlighted
1# Maintainer : Karl-Felix Glatzer <karl[dot]glatzer[at]gmx[dot]de>
2# Contributor: David Runge <dvzrv@archlinux.org>
3
4pkgname=mingw-w64-libopenmpt
5_pkgname=libopenmpt
6pkgver=0.8.8
7pkgrel=1
8pkgdesc="A library to render tracker music to a PCM audio stream (mingw-w64)"
9arch=(any)
10url="https://lib.openmpt.org/libopenmpt/"
11license=(BSD-3-Clause)
12depends=(
13 mingw-w64-flac
14 mingw-w64-crt
15 mingw-w64-libogg
16 mingw-w64-libsndfile
17 mingw-w64-libvorbis
18 mingw-w64-mpg123
19 mingw-w64-portaudio
20 mingw-w64-zlib
21)
22options=(!strip !buildflags staticlibs !debug)
23makedepends=(autoconf-archive mingw-w64-configure mingw-w64-gcc mingw-w64-wine)
24source=($_pkgname-$pkgver.tar.gz::https://lib.openmpt.org/files/libopenmpt/src/$_pkgname-$pkgver+release.autotools.tar.gz
25 sf_wchar_open.patch)
26sha512sums=('10f84c68a02ab3ad292bce4ceef4d8c0afc5127e52164ebe9f96c26d3b4833e9fe25370341f98de6682053624a957a3e8d874a34d16b246cef6ba12d225c61a6'
27 '3db33e13e383420ae09e189462ac1b57fe8f49d3a6bdd365bda7ae47f549567b86cc25e497935ec516a919ab4447db3b76ab21fc943b51cd9bcf9da247601c7e')
28b2sums=('0690b10136155d25966796a0d9dbdc11b566ae212a98eb7e65b302a4b269340816c567b3df69f8a964e4aa2df651b59522d72012dfcaf101cbb7d62cc114c6e6'
29 '24c7f85efd34243c6730d563a0f4910e9fd5b26ff44700ba56df90a054ffaea932829986f96a75e2a67244829fb46526c36eb0959b047e6430f063fd3032399a')
30
31_architectures="${MINGW_W64_ARCHS:-x86_64-w64-mingw32}"
32
33prepare() {
34 cd $_pkgname-$pkgver+release.autotools
35 autoreconf -fiv
36
37 patch -Np1 -i "${srcdir}/sf_wchar_open.patch"
38}
39
40build() {
41 cd $_pkgname-$pkgver+release.autotools
42 for _arch in ${_architectures}; do
43 mkdir -p build-${_arch} && pushd build-${_arch}
44 CFLAGS="-lssp" CXXFLAGS="-lssp" ${_arch}-configure
45 # prevent excessive overlinking due to libtool
46 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
47 make
48 popd
49 done
50}
51
52check() {
53 cd $_pkgname-$pkgver+release.autotools
54 for _arch in ${_architectures}; do
55 pushd build-${_arch}
56 make -k check
57 popd
58 done
59}
60
61package() {
62 cd $_pkgname-$pkgver+release.autotools
63 for _arch in ${_architectures}; do
64 pushd build-${_arch}
65 make DESTDIR="$pkgdir" install
66 popd
67
68 rm -r "$pkgdir/usr/${_arch}/share/"
69 done
70
71 install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
72}
73

Scan history

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

Report a package

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

0 / 4000
Your suggestion