thruk

maintainer andreas_baumann · 1 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 download host (download.thruk.org), which is plausibly project-owned despite not being on a whitelist; building from official project source is normal AUR practice and not inherently dangerous.

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 download host (download.thruk.org), which is plausibly project-owned despite not being on a whitelist; building from official project source is normal AUR practice and not inherently dangerous.

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 source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jonathan Steel <jsteel at archlinux.org>
2# Maintainer: Andreas Baumann <mail at andreasbaumann dot cc>
3
4pkgname=thruk
5pkgver=3.28
6pkgrel=1
7pkgdesc="Multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken"
8arch=('any')
9url="http://thruk.org"
10license=('GPL2')
11depends=('perl' 'apache' 'mod_fcgid' 'perl-plack' 'perl-json-xs'
12 'perl-date-calc' 'perl-file-slurp' 'perl-log-log4perl'
13 'perl-log-dispatch' 'perl-fcgi' 'perl-uri' 'perl-html-parser'
14 'perl-template-toolkit' 'perl-mime-lite' 'perl-gd'
15 'perl-lwp-protocol-https' 'perl-cpanel-json-xs'
16 'perl-crypt-rijndael' 'perl-module-install')
17conflicts=('naemon-thruk')
18replaces=('naemon-thruk')
19backup=('etc/thruk/cgi.cfg' 'etc/thruk/htpasswd'
20 'etc/thruk/log4perl.conf' 'etc/thruk/menu_local.conf'
21 'etc/thruk/naglint.conf' 'etc/httpd/conf/extra/thruk.conf'
22 'etc/thruk/thruk_local.conf' 'etc/logrotate.d/thruk-base')
23source=(http://download.thruk.org/pkg/v$pkgver/src/$pkgname-$pkgver.tar.gz)
24md5sums=('8a0598194377803455838f86dd13fac4')
25install="thruk.install"
26
27build() {
28 cd $pkgname-$pkgver
29
30 # ArchlinuxARM and other distros might not be recognized
31 sed -i 's/\(die(sprintf("Unable to detect distribution and version\)/#\1/g' configure
32
33 ./configure --prefix=/usr \
34 --exec-prefix=/bin \
35 --bindir=/usr/bin \
36 --sysconfdir=/etc/thruk \
37 --localstatedir=/var/lib/thruk \
38 --libdir=/var/lib \
39 --datadir=/usr/share/thruk \
40 --mandir=/usr/share/man \
41 --with-initdir=/etc/thruk \
42 --with-logdir=/var/log/thruk \
43 --with-checkresultdir=/var/cache/naemon/checkresults \
44 --with-tempdir=/var/lib/thruk \
45 --with-logrotatedir=/etc/logrotate.d
46
47 make
48}
49
50package() {
51 cd $pkgname-$pkgver
52
53 make DESTDIR="$pkgdir"/ install
54
55 install -Dm644 support/apache_fcgid.conf "$pkgdir"/etc/httpd/conf/extra/$pkgname.conf
56 install -dm755 "$pkgdir"/etc/thruk/panorama
57
58 chown -R 33:33 "$pkgdir"/var/{lib,log}/thruk/ "$pkgdir"/etc/thruk/panorama/
59 chmod 770 "$pkgdir"/var/lib/thruk/
60
61 # Exclude /var/lib/thruk as logrotate doesn't like the permissions there
62 # and there are no logs
63 sed -i 's_^/.* _/var/log/thruk/*.log _' "$pkgdir"/etc/logrotate.d/thruk-base
64 # Set log owner to http rather than build user
65 sed -i 's/644.*/644 http http/' "$pkgdir"/etc/logrotate.d/thruk-base
66}
67

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