rpcemu
The source is a tarball from the project's official host (marutan.net), used to build the software from source; the host is not whitelisted but is plausibly the project's own, and no untrusted executable is run.
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 source is a tarball from the project's official host (marutan.net), used to build the software from source; the host is not whitelisted but is plausibly the project's own, and no untrusted executable is run.
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:15
source=("http://www.marutan.net/rpcemu/cgi/download.php?sFName=${pkgver}/rpcemu-${pkgver}.tar.gz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Paul Bell <linux "at" dpb "dot" org "dot" uk>
# Contributor: Natalia Portillo <claunia@clania.com>
pkgname=rpcemu
pkgver=0.9.5
pkgrel=2
pkgdesc="An Emulator of classic Acorn computer systems, such as the Risc PC and A7000"
url="http://www.marutan.net/rpcemu/"
arch=('x86_64' 'i686')
license=('GPL-2.0-only')
makedepends=('qt5-base' 'qt5-multimedia')
optdepends=('apulse: PulseAudio emulation for ALSA'
'lib32-apulse: PulseAudio emulation for ALSA (32-bit)')
backup=('usr/share/rpcemu/rpc.cfg')
install="$pkgname.install"
source=("http://www.marutan.net/rpcemu/cgi/download.php?sFName=${pkgver}/rpcemu-${pkgver}.tar.gz")
sha256sums=('4e4624641cd1a83af275bd6da8765d4a0e5e0c83f008f059014cc24c5c33d59e')
_pkgnames=("rpcemu-recompiler" "rpcemu-interpreter")
# set the _bool variable for whether you want rpcemu-recompiler (_bool=0)
# or rpcemu-interpreter (_bool=1) to be used in the run script
_bool=0
# set _apulse to anything (e.g. "1") for non-pulseaudio users using apulse to
# be able to use ALSA for audio in the emulator
_apulse=
build() {
# need to add "-fcommon". GCC 10 has apparently changed how multiple symbols
# defined in different sources are dealt with by default
export CFLAGS="$CFLAGS -fcommon -std=gnu17"
# build rpcemu-interpreter first...
cd "$srcdir/${pkgname}-${pkgver}/src/qt5"
qmake-qt5
make
# now build rpcemu-recompiler
sed -e "s/CONFIG += debug_and_release/CONFIG += debug_and_release dynarec/" \
-i "$srcdir/${pkgname}-${pkgver}/src/qt5/rpcemu.pro"
qmake-qt5
make
}
package() {
local _systdir="/usr/share"
local _basedir="$pkgdir/$_systdir/$pkgname"
cd "$srcdir/${pkgname}-${pkgver}"
install -dm755 "$pkgdir/usr/bin"
# must be writable (group) for rpcemu to function
install -dm775 "$_basedir"
# install as provided
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
install -Dm644 {cmos.ram,readme.txt,rpc.cfg} -t "$_basedir"
install -Dm755 "${_pkgnames[@]}" "$_basedir"
cp -R "hostfs" "netroms" "poduleroms" "riscos-progs" "roms" "$_basedir"
# create a script to set working directory (to find rom) and run ${_pkgnames[$_bool]}
# and apply optional use of apulse. Note: dirname and readlink are used for
# portability (i.e. relocating install for using multiple RISCOS versions)
echo -e '#!/bin/sh'"\n"'cd "$(dirname "$(readlink -f "$0")")"'"\n${_apulse:+apulse }./${_pkgnames[$_bool]}" >"$_basedir/$pkgname"
chmod 755 "$_basedir/$pkgname"
ln -s "$_systdir/$pkgname/$pkgname" "$pkgdir/usr/bin/$pkgname"
# these must be writable (group) for rpcemu to function
# make sure you're in the "users" group!
chown -R root:users "$_basedir"
chmod -R g+w "$_basedir"/{cmos.ram,rpc.cfg,roms,hostfs}
}
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 |