mingw-w64-popt
maintainer blinry
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a standard tarball from the project's official host (rpm5.org) used to build the software; downloading and building source from a non-whitelisted but project-owned domain is normal AUR packaging behavior and poses minimal 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 standard tarball from the project's official host (rpm5.org) used to build the software; downloading and building source from a non-whitelisted but project-owned domain is normal AUR packaging behavior and poses minimal 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:14
source=("http://rpm5.org/files/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Sebastian Morr <sebastian@morr.cc>
2
# Modified by Pinczakko for Mingw-w64 cross compilation to 64-bit Windows
3
4
pkgname=mingw-w64-popt
5
_pkgname=popt
6
pkgver=1.16
7
pkgrel=1
8
arch=('any')
9
pkgdesc="A commandline option parser (mingw-w64)"
10
makedepends=('mingw-w64-configure')
11
license=('custom')
12
url="http://rpm5.org"
13
options=(!strip !buildflags staticlibs)
14
source=("http://rpm5.org/files/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
15
"0001-nl_langinfo.mingw32.patch"
16
"197416.all.patch"
17
"217602.all.patch"
18
"278402-manpage.all.patch"
19
"318833.all.patch"
20
"356669.all.patch"
21
"367153-manpage.all.patch"
22
"get-w32-console-maxcols.mingw32.patch"
23
"no-uid-stuff-on.mingw32.patch"
24
)
25
sha1sums=('cfe94a15a2404db85858a81ff8de27c8ff3e235e'
26
'62640c0a0845cea5f3cd5646d26fd681ea36cadf'
27
'bd7c8872f0bb80ec2a8b78596eb3ba5706795133'
28
'977fbbe108cf817103f706dd314236e6bace7557'
29
'18d169ff43b6ef4ee613272fdb2bbdc01df1f166'
30
'a446c763439fe97459c6ea9bea22054a69ea9cc6'
31
'2664b32cd6882e3c7da2d1ed3d40b14807a2c604'
32
'63e5fdae8160445794458b03fc5a61e7354efada'
33
'6599adf3797d7bfb4534bc910372c431fc0efced'
34
'4c3b7b302044bd45decec78f7f7d4ece15d9f3f7')
35
36
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
37
38
prepare() {
39
cd "$srcdir/${_pkgname}-$pkgver"
40
patch -p1 -i ../0001-nl_langinfo.mingw32.patch
41
patch -p1 -i ../197416.all.patch
42
patch -p1 -i ../217602.all.patch
43
patch -p1 -i ../278402-manpage.all.patch
44
patch -p1 -i ../318833.all.patch
45
patch -p1 -i ../356669.all.patch
46
patch -p1 -i ../367153-manpage.all.patch
47
patch -p1 -i ../get-w32-console-maxcols.mingw32.patch
48
patch -p1 -i ../no-uid-stuff-on.mingw32.patch
49
}
50
51
build() {
52
# We assume that libtool check on 64-bit Windows DLL is broken
53
# in mingw-w64 Linux cross compiler. So, force it to pass all checks
54
export lt_cv_deplibs_check_method='pass_all'
55
56
cd "$srcdir/${_pkgname}-$pkgver"
57
for _arch in ${_architectures}; do
58
mkdir -p build-${_arch} && pushd build-${_arch}
59
${_arch}-configure --enable-shared --enable-static
60
make
61
popd
62
done
63
}
64
65
package () {
66
for _arch in ${_architectures}; do
67
cd "${srcdir}/${_pkgname}-${pkgver}/build-${_arch}"
68
make install DESTDIR="${pkgdir}"
69
rm -rf "${pkgdir}/usr/${_arch}/share/man"
70
${_arch}-strip -x -g "${pkgdir}/usr/${_arch}/bin/"*.dll
71
${_arch}-strip -g "${pkgdir}/usr/${_arch}/lib/"*.a
72
done
73
74
install -D -m644 "${srcdir}/${_pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
75
}
76
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 |