cling-dev

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

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 "llvm::git+http://root.cern.ch/git/llvm.git#branch=cling-patches"

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-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

Report a package

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

0 / 4000
Your suggestion