x86_64-apple-darwin-binutils
maintainer orphaned
· 2 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
pkgname="${_targets}"-binutils
4
pkgver=2.39
5
pkgrel=2
6
pkgdesc="Cross binutils for the Apple Darwin cross-compiler"
7
arch=('x86_64')
8
url="http://www.gnu.org/software/binutils"
9
license=('GPL')
10
#groups=
11
depends=('zlib')
12
makedepends=(rsync)
13
options=('!libtool' '!emptydirs')
14
source=("rsync://mirrors.ocf.berkeley.edu/gnu/binutils/binutils-${pkgver}.tar.xz"{,.sig})
15
validpgpkeys=('3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F')
16
sha512sums=('68e038f339a8c21faa19a57bbc447a51c817f47c2e06d740847c6e9cc3396c025d35d5369fa8c3f8b70414757c89f0e577939ddc0d70f283182504920f53b0a3'
17
'SKIP')
18
19
prepare() {
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
27
build() {
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
42
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |