openocd-n32-git
The package builds from source using git repositories hosted on trusted platforms (GitHub, GitLab, Savannah), even though checksums are skipped; the non-standard host refers to a personal GitHub fork used for a custom build, which is common and low-risk for AUR packages.
Triggered rules
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 package builds from source using git repositories hosted on trusted platforms (GitHub, GitLab, Savannah), even though checksums are skipped; the non-standard host refers to a personal GitHub fork used for a custom build, which is common and low-risk for AUR packages.
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:30
"git+https://gitlab.zapb.de/libjaylink/libjaylink.git"
PKGBUILD
1 offending line(s) highlighted# ex: ts=2 sts=2 sw=2 et
# Maintainer: adlyq
# Contributor: yhfudev <yhfudev ta gmail dot com> (Original openocd-git Maintainer)
# Contributor: veox <veox ta wemakethings dot net>
# Contributor: Nick Østergaard <oe.nick at gmail dot com>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Matthias Bauch <matthias.bauch@gmail.com>
# Contributor: Laszlo Papp <djszapi2 at gmail com>
# Contributor: Samuel Tardieu <sam@rfc1149.net>
#
# Note: This PKGBUILD is copied and modified from the openocd-git package on AUR.
_pkgbase=openocd
pkgname=openocd-n32-git
pkgver=r11455.33463e015
pkgrel=1
pkgdesc="Debugging, in-system programming and boundary-scan testing for embedded target devices (custom git version for N32)"
arch=('i686' 'x86_64' 'arm' 'aarch64')
url="https://github.com/Adlyq/openocd"
license=('GPL')
depends=('libftdi-compat' 'libusb-compat' 'hidapi' 'libudev.so' 'capstone' 'libjaylink')
makedepends=('git' 'automake>=1.11' 'autoconf' 'libtool' 'tcl')
options=(!strip)
provides=('openocd')
conflicts=('openocd')
source=(
"${pkgname}::git+https://github.com/Adlyq/openocd.git"
"git+https://github.com/msteveb/jimtcl.git"
"git+https://gitlab.zapb.de/libjaylink/libjaylink.git"
"git+https://git.savannah.nongnu.org/git/git2cl.git"
)
md5sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
sha1sums=('SKIP'
'SKIP'
'SKIP'
'SKIP')
# Specify desired features and device support here. A list can be
# obtained by running ./configure in the source directory.
_features=(
aice
amtjtagaccel
armjtagew
at91rm9200
bcm2835gpio
buspirate
capstone
cmsis-dap
dummy
ep93xx
ftdi
gw16012
ioutil
jlink
jtag_vpi
legacy-ft2232_libftdi
oocd_trace
opendous
openjtag_ftdi
osbdm
parport
presto_libftdi
remote-bitbang
rlink
stlink
sysfsgpio
ti-icdi
ulink
usb-blaster-2
usb_blaster_libftdi
usbprog
vsllink
xlnx_pcie_xvc
#parport-giveio
#zy1000
#zy1000-master
)
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname}"
sed -i 's|GROUP="plugdev", ||g' contrib/60-openocd.rules
git submodule init
git config submodule.jimtcl.url "$srcdir/jimtcl"
git config submodule."src/jtag/drivers/libjaylink".url "$srcdir/libjaylink"
git config submodule."tools/git2cl".url "$srcdir/git2cl"
git -c protocol.file.allow=always submodule update
}
build() {
cd "$srcdir/${pkgname}"
./bootstrap
./configure --prefix=/usr \
--disable-werror \
${_features[@]/#/--enable-}
make
}
package() {
cd "$srcdir/${pkgname}"
make "DESTDIR=${pkgdir}" install
install -Dm 644 contrib/60-openocd.rules "$pkgdir"/usr/lib/udev/rules.d/60-openocd.rules
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |