mstflint3

maintainer grawity · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the official project domain openfabrics.org, which is plausibly the project's own release infrastructure; building from official source, even on a non-whitelisted host, is normal AUR packaging practice and poses low 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 90%): The source is a tarball from the official project domain openfabrics.org, which is plausibly the project's own release infrastructure; building from official source, even on a non-whitelisted host, is normal AUR packaging practice and poses low 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:13 source=("https://www.openfabrics.org/downloads/mstflint/mstflint-$_pkgver.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Contributor: James P. Harvey <jamespharvey20 at gmail dot com>
2# Contributor: Konstantin Shalygin <k0ste@k0ste.ru>
3
4pkgname=mstflint3
5pkgver=3.8.0.27
6_pkgver=3.8.0-1.27.gf3d39b6
7pkgrel=2
8pkgdesc='OpenFabrics Alliance firmware burning application (old version) for Mellanox ConnectX-2'
9arch=('x86_64' 'i686')
10url='https://www.openfabrics.org/index.php/overview.html'
11license=('GPL2' 'custom:"OpenIB.org BSD"')
12depends=('python' 'sqlite')
13source=("https://www.openfabrics.org/downloads/mstflint/mstflint-$_pkgver.tar.gz")
14sha256sums=('SKIP')
15
16prepare() {
17 cd mstflint-3.8.0
18 sed -i '/^CFLAGS=/ s/-Werror//' configure.ac
19 sed -i '/^CXXFLAGS=/ s/-Werror/-std=gnu++98 -Wno-c++11-compat/' configure.ac
20 ./autogen.sh
21}
22
23build() {
24 cd mstflint-3.8.0
25 ./configure \
26 --prefix=/usr \
27 --sbindir=/usr/bin \
28 --libexecdir=/usr/lib \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --mandir=/usr/share/man \
32 --disable-inband
33 make
34}
35
36package() {
37 cd mstflint-3.8.0
38 make DESTDIR="${pkgdir}" install
39 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
40 install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
41
42 # Remove files that might conflict with latest mstflint
43 rm -rvf "${pkgdir}/usr/bin/hca_self_test.ofed"
44 rm -rvf "${pkgdir}/usr/include"
45 rm -rvf "${pkgdir}/usr/lib"
46 rm -rvf "${pkgdir}/usr/share/mstflint"
47
48 # Rename all mst* binaries to mst*3
49 for bin in mst{config,flint,mcra,mread,mtserver,mwrite,regdump,vpd}; do
50 mv -v "${pkgdir}/usr/bin/${bin}" \
51 "${pkgdir}/usr/bin/${bin}3"
52 done
53 mv -v "${pkgdir}/usr/share/man/man1/mstflint.1" \
54 "${pkgdir}/usr/share/man/man1/mstflint3.1"
55}
56

Scan history

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

Report a package

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

0 / 4000
Your suggestion