previous-svn
maintainer Refutationalist
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a zip file containing icons (non-executable data) from a personal domain; the worst case of a swapped source is cosmetic tampering, not 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 package downloads a zip file containing icons (non-executable data) from a personal domain; the worst case of a swapped source is cosmetic tampering, not 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:17
source=("$_pkgname::svn://svn.code.sf.net/p/previous/code/trunk" -
PKGBUILD:18
'http://galgot.free.fr/transit/PReV-icons-WOshad.zip'
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: Lili1228 <aur at lili dot lgbt>
2
# Contributor: orumin <dev@orum.in>
3
4
_pkgname=previous
5
pkgname="${_pkgname}"-svn
6
pkgver=r1466
7
pkgrel=1
8
pkgdesc='NeXTSTEP Emulator'
9
arch=('i686' 'x86_64' 'aarch64')
10
url='https://previous.unixdude.net/about.html'
11
license=('GPL-2.0-or-later')
12
depends=('hicolor-icon-theme' 'libpcap' 'libpng' 'sdl2' 'zlib' # explicit
13
'gcc-libs' 'glibc' 'readline') # implicit
14
makedepends=('subversion' 'cmake>=3.5')
15
conflicts=("$_pkgname")
16
provides=("$_pkgname")
17
source=("$_pkgname::svn://svn.code.sf.net/p/previous/code/trunk"
18
'http://galgot.free.fr/transit/PReV-icons-WOshad.zip'
19
'previous-r1466-fix-build.patch'
20
'previous.desktop')
21
sha512sums=('SKIP'
22
'8fcb45edec5e186fc7c85a6c25f2ada11511403f3e173e04bba1e796978e2ecda6db56737f6e889ca05708a36e3626a6458e6cc57a0d6f8e98e2dfa3e2558469'
23
'edc6364bb138dff502a7635f590e636289ccc1b507fd3b9b17771f34c6e4fe107ea027ebf9ed1cd5bd166c6210ad1341c23fd2682c4619a424ad3e0ab4d282f8'
24
'92c166e19c9c6cb9a2560198879c3bcbc8b794760c801dbe375cd7990e372811daddd04e462e296e7b93c0e424c36fec05c020f6dc47c716f76535beab2fbbc7')
25
26
pkgver() {
27
cd "$srcdir"/$_pkgname
28
local ver
29
ver="$(svnversion)"
30
printf "r%s" "${ver//[[:alpha:]]}"
31
}
32
33
prepare() {
34
cd $_pkgname
35
sed -i '/Previous-icon\.bmp/d' src/CMakeLists.txt
36
patch -p1 < ../previous-r1466-fix-build.patch
37
}
38
39
build() {
40
cmake -S$_pkgname -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_RENDERING_THREAD=off
41
cmake --build build
42
}
43
44
package() {
45
DESTDIR="${pkgdir}" cmake --build "${srcdir}"/build --target install
46
install -Dm644 previous.desktop -t "${pkgdir}"/usr/share/applications
47
for icon in "${srcdir}"/HighResOSX-WOshadow.iconset/*.png; do
48
local size
49
size="$(basename "${icon}" | sed -e 's/icon_//' -e 's/.png//')"
50
mkdir -p "${pkgdir}"/usr/share/icons/hicolor/"${size}"/apps
51
install -Dm644 "$icon" "${pkgdir}"/usr/share/icons/hicolor/"${size}"/apps/"${_pkgname}".png
52
done
53
}
54
55
# vim:set ts=2 sw=2 et:
56
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 |