x86_64-pc-freebsd13-binutils

LOW
maintainer qspqww 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a standard GNU binutils tarball hosted on a reputable university mirror (USTC), building the project's own source; SKIP'd checksums are a packaging flaw but do not imply malicious intent or risk of remote code execution.

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 GNU binutils tarball hosted on a reputable university mirror (USTC), building the project's own source; SKIP'd checksums are a packaging flaw but do not imply malicious intent or risk of remote code execution.

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:12 source=(https://mirrors.ustc.edu.cn/gnu/binutils/binutils-$pkgver.tar.bz2)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Qian Yicheng <qsp2020@outlook.com>
2
3_target=x86_64-pc-freebsd13
4pkgname=x86_64-pc-freebsd13-binutils
5pkgver=2.40
6pkgrel=2
7pkgdesc='A set of programs to assemble and manipulate binary and object files for the FreeBSD target'
8arch=(x86_64)
9url='https://www.gnu.org/software/binutils/'
10license=(GPL)
11depends=(zlib libelf)
12source=(https://mirrors.ustc.edu.cn/gnu/binutils/binutils-$pkgver.tar.bz2)
13sha1sums=('SKIP')
14sha256sums=('SKIP')
15#validpgpkeys=('3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F') # Nick Clifton (Chief Binutils Maintainer) <nickc@redhat.com>
16
17prepare() {
18 cd binutils-$pkgver
19# sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
20}
21
22build() {
23 cd binutils-$pkgver
24
25 if [ "${CARCH}" != "i686" ];
26 then
27 # enabling gold linker at i686 makes the install fail
28 enable_gold=''
29 fi
30
31 ./configure --target=$_target \
32 --with-sysroot=/usr/$_target \
33 --prefix=/usr \
34 --disable-multilib \
35 --with-gnu-as \
36 --with-gnu-ld \
37 --disable-nls \
38 --enable-ld=default \
39 $enable_gold \
40 --enable-plugins \
41 --enable-deterministic-archives
42
43 make -j$(nproc)
44}
45
46check() {
47 cd binutils-$pkgver
48
49 # unset LDFLAGS as testsuite makes assumptions about which ones are active
50 # do not abort on errors - manually check log files
51 make -k LDFLAGS="" check || true
52}
53
54package() {
55 cd binutils-$pkgver
56
57 make DESTDIR="$pkgdir" install
58
59 # Remove file conflicting with host binutils and manpages for MS Windows tools
60 rm "$pkgdir"/usr/share/man/man1/$_target-{dlltool,windres,windmc}*
61 rm "$pkgdir"/usr/lib/bfd-plugins/libdep.so
62 #rm "$pkgdir"/usr/etc/gprofng.rc
63 #rm -r "$pkgdir"/usr/include
64 #rm -r "$pkgdir"/usr/lib/gprofng/
65
66 # Remove info documents that conflict with host version
67 rm -r "$pkgdir"/usr/share/info
68}
69

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