cling-dev

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package builds from source hosted on the project's official domain (root.cern.ch), which is normal for AUR packages; skipped checksums are a quality issue but do not imply code execution risk since the sources are from a legitimate project host.

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 builds from source hosted on the project's official domain (root.cern.ch), which is normal for AUR packages; skipped checksums are a quality issue but do not imply code execution risk since the sources are from a legitimate project host.

2 higher static findings 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 "llvm::git+http://root.cern.ch/git/llvm.git#branch=cling-patches"
MEDIUM Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Sebastian Gsänger <sebastian_gsaenger@web.de>
2# derived from cling-git
3pkgname=(cling-dev cling-jupyter-dev)
4pkgver=v0.7
5pkgrel=2
6pkgdesc="Interactive C++ interpreter (includes custom clang and llvm for dev)."
7arch=('i686' 'x86_64')
8url="https://root.cern.ch/cling"
9license=('custom:Cling Release License')
10makedepends=('cmake' 'libffi' 'git' 'python' 'python2' 'jupyter')
11source=(
12 "llvm::git+http://root.cern.ch/git/llvm.git#branch=cling-patches"
13 "clang::git+http://root.cern.ch/git/clang.git#tag=cling-v0.7"
14 "cling::git+http://root.cern.ch/git/cling.git#tag=v0.7"
15)
16sha256sums=(
17 'SKIP'
18 'SKIP'
19 'SKIP'
20)
21
22prepare() {
23 if [ ! -h "$srcdir/llvm/tools/clang" ]; then
24 ln -s "$srcdir/clang" "$srcdir/llvm/tools/clang"
25 fi
26
27 if [ ! -h "$srcdir/llvm/tools/cling" ]; then
28 ln -s "$srcdir/cling" "$srcdir/llvm/tools/cling"
29 fi
30}
31
32build() {
33 mkdir -p "$srcdir/cling-build"
34 cd "$srcdir/cling-build"
35
36 cmake \
37 -DCMAKE_BUILD_TYPE=Release \
38 -DCMAKE_INSTALL_PREFIX="/opt/cling" \
39 -DLLVM_TARGETS_TO_BUILD="host;NVPTX" \
40 -DLLVM_BUILD_LLVM_DYLIB=OFF \
41 -DLLVM_ENABLE_RTTI=ON \
42 -DLLVM_ENABLE_FFI=ON \
43 -DLLVM_BUILD_DOCS=OFF \
44 -DLLVM_BUILD_TOOLS=OFF \
45 -DLLVM_ENABLE_SPHINX=OFF \
46 -DLLVM_ENABLE_DOXYGEN=OFF \
47 -DFFI_INCLUDE_DIR=$(pkg-config --cflags-only-I libffi | cut -c3-) \
48 "$srcdir/llvm"
49
50 cmake --build .
51}
52
53package_cling-dev() {
54 provides=('cling')
55 conflicts=('cling')
56 depends=('libffi')
57
58 cd "$srcdir/cling-build"
59 DESTDIR="$pkgdir" cmake --build . -t install
60
61 install -d "$pkgdir/usr/bin"
62 ln -s "/opt/cling/bin/cling" "$pkgdir/usr/bin/cling"
63 install -d "$pkgdir/usr/include"
64 ln -s "/opt/cling/include/cling" "$pkgdir/usr/include/cling"
65
66 install -Dm644 "$srcdir/llvm/tools/cling/LICENSE.TXT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
67}
68
69package_cling-jupyter-dev() {
70 depends=('cling-dev' 'jupyter')
71
72 cd "$srcdir/cling/tools/Jupyter/kernel"
73 python3 setup.py install --prefix=/usr --root="$pkgdir"
74 jupyter-kernelspec install --prefix="$pkgdir/usr" .
75}
76

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 3
2026-08-02 00:16:08 LOW 3
2026-08-01 00:11:18 LOW 3
2026-07-31 00:14:10 LOW 3
2026-07-30 00:17:23 LOW 3
2026-07-29 00:25:53 LOW 3
2026-07-28 00:07:28 LOW 3
2026-07-27 00:24:32 LOW 3
2026-07-26 00:07:32 LOW 3
2026-07-25 00:13:44 LOW 3
2026-07-24 00:02:28 LOW 3
2026-07-23 00:14:47 LOW 3
2026-07-22 00:29:32 LOW 3
2026-07-21 00:24:15 LOW 3
2026-07-20 00:19:49 LOW 3
2026-07-19 00:17:08 LOW 3
2026-07-18 00:14:48 LOW 3
2026-07-17 00:06:16 LOW 3
2026-07-16 00:05:41 LOW 3
2026-07-15 00:09:25 LOW 3

Report a package

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

0 / 4000
Your suggestion