mingw-w64-resource
maintainer xantares
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is pulled from a legitimate project's official SVN repository on SourceForge, which is plausibly the project's own infrastructure; building from source is normal AUR practice, even if the host is not whitelisted.
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 90%): The source is pulled from a legitimate project's official SVN repository on SourceForge, which is plausibly the project's own infrastructure; building from source is normal AUR practice, even if the host is not whitelisted.
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:13
source=("sys::svn+https://svn.code.sf.net/p/mingw-w64/code/experimental/getrusage" unmaintained_fields.patch)
PKGBUILD
1 offending line(s) highlighted
1
2
3
pkgname=mingw-w64-resource
4
pkgver=0
5
pkgrel=2
6
pkgdesc='support for getrusage (mingw-w64)'
7
url='http://sourceforge.net/p/mingw-w64/code/HEAD/tree/experimental/getrusage'
8
arch=('any')
9
license=('custom')
10
depends=('mingw-w64-crt')
11
makedepends=('mingw-w64-gcc' 'subversion')
12
options=('staticlibs' '!buildflags' '!strip')
13
source=("sys::svn+https://svn.code.sf.net/p/mingw-w64/code/experimental/getrusage" unmaintained_fields.patch)
14
md5sums=('SKIP' SKIP)
15
16
_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
17
18
prepare () {
19
cd sys
20
# http://man7.org/linux/man-pages/man2/getrusage.2.html
21
patch -p0 -i "${srcdir}"/unmaintained_fields.patch
22
}
23
24
build() {
25
cd "${srcdir}"
26
for _arch in ${_architectures}; do
27
mkdir -p build-${_arch} && pushd build-${_arch}
28
${_arch}-gcc -I.. -D_FORTIFY_SOURCE=2 -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -c ../sys/getrusage.c -o getrusage.o
29
${_arch}-gcc -shared -o libgetrusage.dll getrusage.o -Wl,--out-implib,libgetrusage.dll.a -Wl,-O1,--sort-common,--as-needed -fstack-protector
30
${_arch}-ar cr libgetrusage.a getrusage.o
31
${_arch}-ranlib libgetrusage.a
32
popd
33
done
34
}
35
36
package() {
37
for _arch in ${_architectures}; do
38
cd "$srcdir"/build-${_arch}
39
install -D -m 644 "${srcdir}"/sys/resource.h "$pkgdir"/usr/${_arch}/include/sys/resource.h
40
install -D -m 644 libgetrusage.a "$pkgdir"/usr/${_arch}/lib/libgetrusage.a
41
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
42
done
43
}
44
45
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 |