rasmol-gtk

maintainer orphaned · 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 rasmol.org, which is plausibly the project's own; building from project-owned source is normal AUR packaging, even if the host is not on a standard whitelist.

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 rasmol.org, which is plausibly the project's own; building from project-owned source is normal AUR packaging, even if the host is not on a standard whitelist.

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:12 source=(http://www.rasmol.org/software/RasMol_${pkgver}.tar.gz

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: leepesjee <lpeschier at xs4all dot nl>
2# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
3pkgname=rasmol-gtk
4pkgver=2.7.5.2
5pkgrel=2
6pkgdesc="A program for molecular graphics visualisation (aka openrasmol)"
7arch=('i686' 'x86_64')
8license=('GPL2')
9url="http://www.openrasmol.org/"
10depends=('cvector' 'neartree' 'cqrlib' 'cbflib' 'vte' 'gtk2')
11makedepends=('imake')
12source=(http://www.rasmol.org/software/RasMol_${pkgver}.tar.gz
13 rasmol.png
14 rasmol.desktop)
15md5sums=('d075ba3eb81604ccf7c0bea2a0039b7b'
16 '9eadcb6677c3b600a98e4a251612af15'
17 '8ae57862f7b03007778e2be49f84ff03')
18
19prepare () {
20
21 cd ${srcdir}/RasMol-${pkgver}/src
22# apply check for 64 bit long data type snippet from build_all.sh script
23# set #define _LONGLONG in rasmol.h if present
24 gcc checklong.c -o checklong
25 VAL=`(./checklong; echo $1)`
26 if [ $VAL -gt 4 ]; then
27 mv rasmol.h rasmol_amd64_save.h
28 echo "#define _LONGLONG"|cat - rasmol_amd64_save.h > rasmol.h
29 fi;
30
31# use rasmol_build_options.sh to set Imakefile options
32 ./rasmol_build_options.sh --use_gtk
33
34# set PKGDIR in Imakefile
35 sed -i "s|PKGDIR = \$(HOME)|PKGDIR = /usr|" ./Imakefile
36}
37
38build() {
39 cd ${srcdir}/RasMol-${pkgver}/src
40# build and install rasmol-gtk
41 xmkmf
42 mv Makefile Makefile-gtk
43 make -f Makefile-gtk clean
44 echo " starting build gtk-version"
45 make -f Makefile-gtk rasmol
46}
47
48package() {
49
50 cd ${srcdir}/RasMol-${pkgver}/src
51 make -f Makefile-gtk DESTDIR=$pkgdir install
52 mv $pkgdir/usr/bin/{rasmol,rasmol-gtk}
53
54# cleanup
55 rm -rf ${pkgdir}/usr/lib64
56
57# install docs
58 install -m755 -d ${pkgdir}/usr/share/man/man1
59 install -m644 ../doc/rasmol.1.gz ${pkgdir}/usr/share/man/man1
60 install -m755 -d ${pkgdir}/usr/share/doc/rasmol
61 install -m644 ../doc/{{manual,refcard}*.pdf,rasmol.{doc,hlp,html}}.gz ${pkgdir}/usr/share/doc/rasmol
62 gunzip -f ${pkgdir}/usr/share/doc/rasmol/*.gz
63
64# install data
65 install -m755 -d ${pkgdir}/usr/share/rasmol/data
66 install -m644 ../data/* ${pkgdir}/usr/share/rasmol/data
67
68# install icon
69 install -m755 -d ${pkgdir}/usr/share/pixmaps
70 install -m644 ${srcdir}/rasmol.png ${pkgdir}/usr/share/pixmaps/
71 install -m755 -d ${pkgdir}/usr/share/applications
72 install -m644 ${srcdir}/rasmol.desktop ${pkgdir}/usr/share/applications/
73}
74

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