x86_64-apple-darwin-binutils

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

The source is a standard GNU binutils tarball downloaded via rsync from a university mirror; building from official project sources is normal for AUR packages, and the host, while not whitelisted, is a legitimate academic mirror.

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 downloaded via rsync from a university mirror; building from official project sources is normal for AUR packages, and the host, while not whitelisted, is a legitimate academic mirror.

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:14 source=("rsync://mirrors.ocf.berkeley.edu/gnu/binutils/binutils-${pkgver}.tar.xz"{,.sig})

PKGBUILD

1 offending line(s) highlighted
1_targets="x86_64-apple-darwin"
2
3pkgname="${_targets}"-binutils
4pkgver=2.39
5pkgrel=2
6pkgdesc="Cross binutils for the Apple Darwin cross-compiler"
7arch=('x86_64')
8url="http://www.gnu.org/software/binutils"
9license=('GPL')
10#groups=
11depends=('zlib')
12makedepends=(rsync)
13options=('!libtool' '!emptydirs')
14source=("rsync://mirrors.ocf.berkeley.edu/gnu/binutils/binutils-${pkgver}.tar.xz"{,.sig})
15validpgpkeys=('3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F')
16sha512sums=('68e038f339a8c21faa19a57bbc447a51c817f47c2e06d740847c6e9cc3396c025d35d5369fa8c3f8b70414757c89f0e577939ddc0d70f283182504920f53b0a3'
17 'SKIP')
18
19prepare() {
20 cd ${srcdir}/binutils-${pkgver}
21 #do not install libiberty
22 sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
23 # hack! - libiberty configure tests for header files using "$CPP $CPPFLAGS"
24 sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
25}
26
27build() {
28 for _target in $_targets; do
29 msg "Building ${_target} cross binutils"
30 mkdir -p ${srcdir}/binutils-${_target} && cd "${srcdir}/binutils-${_target}"
31 $srcdir/binutils-${pkgver}/configure --prefix=/usr \
32 --target=${_target} \
33 --infodir=/usr/share/info/${_target} \
34 --enable-lto --enable-plugins \
35 --enable-64-bit-bfd \
36 --disable-multilib --disable-nls \
37 --disable-werror
38 make
39 done
40}
41
42package() {
43 for _target in ${_targets}; do
44 msg "Installing ${_target} cross binutils"
45 cd ${srcdir}/binutils-${_target}
46 make DESTDIR=${pkgdir} install
47 done
48}
49

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