orthanc

maintainer christoslongros · 7 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 (orthanc.uclouvain.be), which is plausibly project-owned; building from official source is normal AUR practice, 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 (orthanc.uclouvain.be), which is plausibly project-owned; building from official source is normal AUR practice, 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:23 "https://orthanc.uclouvain.be/downloads/sources/orthanc/Orthanc-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Christos Longros <chris.longros@gmail.com>
2# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
3# Contributor: William Gathoye <william + aur at gathoye dot be>
4# Contributor: Michal Malek <michalm@fastmail.fm>
5# Contributor: Sharif Olorin <sio@tesser.org>
6
7pkgname=orthanc
8pkgver=1.12.11
9pkgrel=2
10pkgdesc='Open-source, lightweight DICOM server'
11arch=('x86_64' 'i686')
12url='https://www.orthanc-server.com/'
13license=('GPL3')
14
15depends=(
16 'boost-libs' 'curl' 'dcmtk' 'jsoncpp' 'libjpeg-turbo' 'lua' 'protobuf' 'pugixml' 'sqlite'
17)
18makedepends=(
19 'boost' 'cmake' 'doxygen' 'gtest' 'make' 'python' 'unzip'
20)
21backup=("etc/webapps/${pkgname}/config.json")
22source=(
23 "https://orthanc.uclouvain.be/downloads/sources/orthanc/Orthanc-${pkgver}.tar.gz"
24 "${pkgname}.service"
25 "${pkgname}.sysusers"
26 "${pkgname}.tmpfiles"
27)
28sha512sums=('7e900cc0519b3552be2834b49faa26860d727d634dc24a0b63edae59142f0e82685e1f6f6615049ca8ac517c816bf691d8d601169ebdafcaae5822a0b7730d58'
29 'cd69b74eff5eea43191341ec35cef53d026a1939bb6fdc6a71734c0f9339ff47effc0eb611c16fd609d6ffcf1e332f48cfaa533ccf8d7f71ce7e61f04b4fabca'
30 '30d63bafdcfff751e12f6187115bac5d1630eb31848eab6d06d10359118e3a3c404a845ef14852ee578df0b25f622f2195d0b0546fe62cdc8a2702f2ffb59634'
31 '2dffd683e6c9bd0e495a1478bf2c6f90833a5c260c7619828136804d410da1d38b385db5db094a065352e21c54c0da1b5dcdd83bce129bd4bcba9c4a11361d18')
32
33build() {
34 # dcmtk needs to be rebuilt each time there is a new libicu release.
35 # After that, make sure the package builds from a fresh env.
36 # src.: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
37 #
38 # mkdir chroot
39 # CHROOT=${PWD}/chroot
40 # mkarchroot $CHROOT/root base-devel
41 # makechrootpkg -c -r $CHROOT -I /home/wget/.cache/yay/dcmtk/dcmtk-3.6.6-3-x86_64.pkg.tar
42 cd Orthanc-"${pkgver}"/OrthancServer
43 cmake \
44 -DSTATIC_BUILD=OFF \
45 -DALLOW_DOWNLOADS=ON \
46 -DUSE_SYSTEM_CIVETWEB=OFF \
47 -DUSE_SYSTEM_BOOST=ON \
48 -DUSE_SYSTEM_LIBICU=OFF \
49 -DCMAKE_BUILD_TYPE=Release \
50 -DCMAKE_INSTALL_PREFIX=/usr \
51 -B"${srcdir}"/build \
52 ../OrthancServer/
53
54 cd "${srcdir}"/build
55 make
56 make doc
57}
58
59_check() {
60 cd "${srcdir}"/build
61 ./UnitTests
62}
63
64package() {
65 cd Orthanc-"${pkgver}"/OrthancServer
66 cmake --build "${srcdir}"/build --target install -- DESTDIR="${pkgdir}"
67 mkdir -p ${pkgdir}/usr/bin
68 mv "${pkgdir}"/usr/sbin/* ${pkgdir}/usr/bin
69 rmdir "${pkgdir}"/usr/sbin
70
71 # Systemd
72 install -Dm644 "${srcdir}/${pkgname}".service -t "${pkgdir}"/usr/lib/systemd/system/
73 install -Dm644 "${srcdir}/${pkgname}".sysusers "${pkgdir}"/usr/lib/sysusers.d/"${pkgname}".conf
74 install -Dm644 "${srcdir}/${pkgname}".tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/"${pkgname}".conf
75
76 # Orthanc config file
77 install -dm755 "${pkgdir}"/etc/webapps/"${pkgname}"
78 install -m644 "${srcdir}"/Orthanc-"${pkgver}"/OrthancServer/Resources/Configuration.json "${pkgdir}"/etc/webapps/"${pkgname}"/config.json
79
80 sed -e 's@"StorageDirectory" : ".*"@"StorageDirectory" : "/var/lib/orthanc/"@g' \
81 -e 's@"IndexDirectory" : ".*"@"IndexDirectory" : "/var/lib/orthanc/"@g' \
82 -i "${pkgdir}"/etc/webapps/"${pkgname}"/config.json
83}
84

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