mingw-w64-boost
The source is a tarball from the official boost.org domain, which is the project's legitimate release infrastructure; building from this source is standard practice and the non-whitelisted host is actually the project's own, making it low risk despite the static analyzer flag.
Triggered rules
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 a tarball from the official boost.org domain, which is the project's legitimate release infrastructure; building from this source is standard practice and the non-whitelisted host is actually the project's own, making it low risk despite the static analyzer flag.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:12
source=("https://archives.boost.io/release/${pkgver}/source/boost_${_boostver}.tar.bz2")
PKGBUILD
1 offending line(s) highlightedpkgname=mingw-w64-boost
pkgver=1.92.0
_boostver=${pkgver//./_}
pkgrel=1
pkgdesc="Free peer-reviewed portable C++ source libraries (mingw-w64)"
arch=('any')
url="http://www.boost.org/"
license=('BSL-1.0')
depends=('mingw-w64-zlib' 'mingw-w64-zstd' 'mingw-w64-bzip2' 'mingw-w64-dlfcn')
makedepends=('mingw-w64-gcc' 'mingw-w64-wine' 'mingw-w64-environment')
options=('!strip' '!buildflags' 'staticlibs')
source=("https://archives.boost.io/release/${pkgver}/source/boost_${_boostver}.tar.bz2")
sha256sums=('5c1d40cb8e19adbf740a4ec2da35b3e58f3f5804b1dce44deb53df72193cbc6c')
_architectures="32:i686-w64-mingw32 64:x86_64-w64-mingw32"
prepare() {
# https://github.com/boostorg/cobalt/commit/cba276884d3fc5509475910283091a0031970f1f
curl -L https://github.com/boostorg/cobalt/commit/cba2768.patch | patch -p1 -d boost_${_boostver}/libs/cobalt
for _arch in ${_architectures}; do
source mingw-env "${_arch:3}"
rm -rf build-${_arch:3}
cp -r boost_${_boostver} build-${_arch:3}
pushd build-${_arch:3}
cat > user-config.jam << EOF
using gcc : mingw64 : ${CXX}
:
<rc>${_arch:3}-windres
<archiver>${_arch:3}-ar
;
EOF
./bootstrap.sh --with-toolset=gcc
popd
done
}
package() {
cd "${srcdir}"
for _arch in ${_architectures}; do
source mingw-env "${_arch:3}"
pushd "build-${_arch:3}"
LD_PRELOAD="" ./b2 -d2 -q ${MAKEFLAGS} \
target-os=windows \
variant=release \
threading=multi \
threadapi=win32 \
link=shared,static \
runtime-link=shared \
--prefix=${pkgdir}/usr/${_arch:3} \
--user-config=user-config.jam \
--without-python --without-mpi --without-graph_parallel \
cxxflags="${CXXFLAGS}" \
linkflags="${LDFLAGS}" \
address-model=${_arch:0:2} \
architecture=x86 \
binary-format=pe \
abi=ms \
-l0 ${MAKEFLAGS} \
--layout=system install
install -d $pkgdir/usr/${_arch:3}/bin
${_arch:3}-strip --strip-unneeded "$pkgdir"/usr/${_arch:3}/bin/*.dll
${_arch:3}-strip -g "$pkgdir"/usr/${_arch:3}/lib/*.a
popd
done
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |
| 2026-09-27 00:07:07 | Low | 2 |
| 2026-09-26 00:12:15 | Low | 2 |
| 2026-09-25 00:03:36 | Low | 2 |
| 2026-09-24 00:24:14 | Low | 2 |
| 2026-09-23 00:28:13 | Low | 2 |
| 2026-09-22 00:15:14 | Low | 2 |
| 2026-09-21 00:26:32 | Low | 2 |
| 2026-09-20 00:25:31 | Low | 2 |
| 2026-09-19 00:25:36 | Low | 2 |
| 2026-09-18 00:17:11 | Low | 2 |
| 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 |