mingw-w64-resource

LOW
maintainer xantares 0 votes scanned 2026-09-17 00:27:14.276658
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
3pkgname=mingw-w64-resource
4pkgver=0
5pkgrel=2
6pkgdesc='support for getrusage (mingw-w64)'
7url='http://sourceforge.net/p/mingw-w64/code/HEAD/tree/experimental/getrusage'
8arch=('any')
9license=('custom')
10depends=('mingw-w64-crt')
11makedepends=('mingw-w64-gcc' 'subversion')
12options=('staticlibs' '!buildflags' '!strip')
13source=("sys::svn+https://svn.code.sf.net/p/mingw-w64/code/experimental/getrusage" unmaintained_fields.patch)
14md5sums=('SKIP' SKIP)
15
16_architectures="i686-w64-mingw32 x86_64-w64-mingw32"
17
18prepare () {
19 cd sys
20 # http://man7.org/linux/man-pages/man2/getrusage.2.html
21 patch -p0 -i "${srcdir}"/unmaintained_fields.patch
22}
23
24build() {
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
36package() {
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)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