p4vasp

maintainer karamaz0v · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official domain (p4vasp.at), which is not on the whitelist but is plausibly the project's own; building from official project sources is normal AUR packaging, and the tarball has a matching md5sum, reducing risk.

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 tarball from the project's official domain (p4vasp.at), which is not on the whitelist but is plausibly the project's own; building from official project sources is normal AUR packaging, and the tarball has a matching md5sum, reducing risk.

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=("http://www.p4vasp.at/files/${pkgname}-${pkgver}.tgz"

PKGBUILD

1 offending line(s) highlighted
1# Contributor: karamaz0v <nihilum at gmail.com>
2# purge-ext and swig patch from Graham Inggs https://launchpad.net/~ginggs/+archive/ppa
3# Maintainer : karamaz0v
4
5pkgname=p4vasp
6pkgver=0.3.30
7pkgrel=2
8pkgdesc="A visualization suite for the Vienna Ab-initio Simulation Package (VASP)"
9url="http://www.p4vasp.at/"
10license=('GPL2')
11arch=("x86_64")
12depends=('python2' 'mesa' 'fltk' 'glu' 'swig')
13options=(!strip staticlibs)
14source=("http://www.p4vasp.at/files/${pkgname}-${pkgver}.tgz"
15 "${pkgname}.desktop"
16 "${pkgname}.png"
17 'fix-glade-typo.patch'
18 'fix-swig-len.patch'
19 'sort-applet-list.patch'
20 'python2-call.patch'
21 'purge-ext.patch'
22 'swig.patch'
23 'p4vasp_home.patch'
24 'pass-hardening-flags.patch'
25 'set-title-and-icon.patch')
26md5sums=('3af30cc650cf4623b145138f92436b23'
27 'f6cd7d2771e3e8cb83238542b486471b'
28 '071dea8ea3223048466933a6e175a262'
29 'c5389531b9c747eda241c16641928827'
30 'c614721ae39e1eb5b18ec8f215f2fd6a'
31 '6934484e7d8c28a178b37c9cba4924d4'
32 '1009761795bdc56979e261abf339d70f'
33 'ce1d2c9fa5d3b1361e3e466374f92995'
34 '33d9191f7a2e46ae9a292f07d67720a0'
35 'bcdb6b0204ec2134ae5582051587f9a4'
36 '50d2eebce743fa82462748e57cc3b397'
37 'e853d1c9b9ac3e75811f4ea48858009d')
38
39prepare() {
40 cd "$srcdir/$pkgname-$pkgver"
41 patch -p0 -i "$srcdir/fix-glade-typo.patch"
42 patch -p0 -i "$srcdir/fix-swig-len.patch"
43 patch -p0 -i "$srcdir/sort-applet-list.patch"
44 patch -p0 -i "$srcdir/python2-call.patch"
45 patch -p0 -i "$srcdir/purge-ext.patch"
46 patch -p0 -i "$srcdir/swig.patch"
47 patch -p0 -i "$srcdir/p4vasp_home.patch"
48 patch -p0 -i "$srcdir/pass-hardening-flags.patch"
49 patch -p0 -i "$srcdir/set-title-and-icon.patch"
50}
51
52build() {
53 cd "$srcdir/$pkgname-$pkgver"
54 make P4VASP_HOME=/usr/share/$pkgname \
55 PYTHON_HOME=/usr/lib/python2.7 \
56 PYINCLUDE=/usr/include/python2.7
57}
58
59
60package() {
61 cd "$srcdir/$pkgname-$pkgver"
62 #install
63 make P4VASP_HOME="$pkgdir"/usr/share/"$pkgname" \
64 PYTHON_HOME=/usr/lib/python2.7 \
65 PYINCLUDE=/usr/include/python2.7 \
66 SITE_PACKAGES="$pkgdir"/usr/lib/python2.7/site-packages \
67 INCLUDEDIR="$pkgdir"/usr/include \
68 LIBDIR="$pkgdir"/usr/lib \
69 BINDIR="$pkgdir"/usr/bin install
70 # Install Desktop File and Icon
71 install -D -m644 "$srcdir"/"$pkgname".desktop \
72 "$pkgdir"/usr/share/applications/"$pkgname".desktop
73 install -D -m644 "$srcdir"/"$pkgname".png \
74 "$pkgdir"/usr/share/icons/"$pkgname"-icon.png
75 rm -v "$pkgdir"/usr/share/"$pkgname"/uninstall.sh
76}
77

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion