coot
The package downloads source code and data files from the project maintainer's official academic host; the non-whitelisted domain is plausibly project-owned, and the installed content consists of buildable source and non-executable data, posing minimal supply-chain risk.
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 package downloads source code and data files from the project maintainer's official academic host; the non-whitelisted domain is plausibly project-owned, and the installed content consists of buildable source and non-executable data, posing minimal supply-chain risk.
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
https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/$pkgname/dependencies/refmac-monomer-library.tar.gz
PKGBUILD
1 offending line(s) highlighted# Maintainer: Jakub Smulski <hgonomeg@gmail.com>
# Maintainer: Alexander Minges <alexander.minges@gmail.com>
pkgname=coot
pkgver=1.3.1
pkgrel=1
pkgdesc="Crystallographic Object-Oriented Toolkit for model building, completion and validation"
arch=('i686' 'x86_64')
url="https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/coot/"
license=('GPL')
replaces=('coot-data')
makedepends=('autoconf' 'automake' 'libtool' 'eigen' 'boost' 'bc' 'which')
depends=('eigen' 'openal' 'coordgen' 'maeparser' 'boost-libs' 'guile' 'gemmi' 'libccp4>=6.5.1-2' 'libclipper>=2.1.20170202-3' 'libvorbis' 'fftw2-float' 'gsl' 'swig'
'libgl' 'gtk4' 'glib2' 'glm' 'cairo' 'libssm>=1.4' 'zlib' 'curl' 'python' 'python-gobject' 'sqlite' 'rdkit' 'mmdb2>=2.0.12-4')
source=($pkgname-$pkgver.tar.gz::https://github.com/pemsley/$pkgname/archive/refs/tags/Release-$pkgver.tar.gz
https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/$pkgname/dependencies/refmac-monomer-library.tar.gz
https://www2.mrc-lmb.cam.ac.uk/personal/pemsley/$pkgname/dependencies/reference-structures.tar.gz
)
sha256sums=('39069510b2bd499a407d5cc9202d4df591b353c344dd21aaf30e2ceab8260025'
'03562eec612103a48bd114cfe0d171943e88f94b84610d16d542cda138e5f36b'
'44db38506f0f90c097d4855ad81a82a36b49cd1e3ffe7d6ee4728b15109e281a'
)
prepare() {
cd "$srcdir/$pkgname-Release-$pkgver"
#patch -Np1 -i "$srcdir/glm_nopkgconfig.patch"
}
build() {
cd "$srcdir/$pkgname-Release-$pkgver"
aclocal -I macros
libtoolize --automake --copy
autoconf
automake --copy --add-missing --gnu
#CXXFLAGS="${CXXFLAGS} -fpermissive"
CXXFLAGS="-Wreturn-type -Wl,--as-needed -Wno-sequence-point -Wsign-compare -Wno-unknown-pragmas -Wno-template-id-cdtor -Wno-deprecated-declarations"
PYTHON=python3
./configure --prefix=/usr \
--disable-static \
--with-enhanced-ligand-tools \
--with-gemmi=/usr \
--with-sound
make
}
package() {
cd "$srcdir/$pkgname-Release-$pkgver"
make DESTDIR="$pkgdir/" install
#sed -i 's|COOT_PYTHON_DIR=|COOT_PYTHON_DIR=/usr/lib/python2.7/site-packages/coot|' src/$pkgname
sed -i 's|COOT_REFMAC_LIB_DIR=|COOT_REFMAC_LIB_DIR=/usr/share/coot/lib/|' src/$pkgname
install -p -m 755 src/$pkgname $pkgdir/usr/bin
# remove shebang from python scripts
# for lib in $(find $pkgdir/usr/lib/python2.7/site-packages/$pkgname/ -name "*.py"); do
# sed '/\/usr\/bin\/env/d' $lib > $lib.new &&
# touch -r $lib $lib.new &&
# mv $lib.new $lib
# done
# chmod 644 $pkgdir/usr/lib/python2.7/site-packages/$pkgname/$pkgname.py
install -d $pkgdir/usr/share/$pkgname/reference-structures
install -Dm644 $srcdir/reference-structures/*.pdb $pkgdir/usr/share/$pkgname/reference-structures/
install -d $pkgdir/usr/share/$pkgname/lib/data/monomers
cp -r $srcdir/monomers/* $pkgdir/usr/share/$pkgname/lib/data/monomers/
}
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 |