previous-svn
LOW
maintainer Refutationalist
0 votes
scanned 2026-09-17 00:27:14.276658
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-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 |