collectd

LOW
maintainer lilydjwg 10 votes scanned 2026-10-26 00:12:40.318206
View on AUR
Why flagged

The source is a tarball from Google Cloud Storage, a non-standard but plausible host for project releases; the package builds from official source code with minor patches, and no unverifiable or executable payloads are involved.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from Google Cloud Storage, a non-standard but plausible host for project releases; the package builds from official source code with minor patches, and no unverifiable or executable payloads are involved.

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:46 source=("https://storage.googleapis.com/collectd-tarballs/${pkgname}-${pkgver}.tar.bz2"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: lilydjwg <lilydjwg@gmail.com>
2# Contributor: Gaetan Bisson <bisson@archlinux.org>
3# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
4
5pkgname=collectd
6pkgver=5.12.0
7pkgrel=24
8pkgdesc='Daemon which collects system performance statistics periodically'
9url='https://collectd.org/'
10arch=('x86_64' 'aarch64')
11license=('MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-only AND ISC AND MIT-0')
12
13optdepends=('curl: apache, ascent, curl, nginx, and write_http plugins'
14 'libdbi: dbi plugin'
15 'libesmtp: notify_email plugin'
16 'libgcrypt: encryption and authentication for network plugin'
17 'libmemcached: memcachec plugin'
18 'mariadb-libs: mysql plugin'
19 'systemd-libs: UdevNameAttr option'
20 'iproute2: netlink plugin'
21 'net-snmp: snmp plugin'
22 'libnotify: notify_desktop plugin'
23 'openipmi: ipmi plugin'
24 'liboping: ping plugin'
25 'libpcap: dns plugin'
26 'perl: perl plugin'
27 'postgresql-libs: postgresql plugin'
28 'python: python plugin'
29 'rrdtool: rrdtool and rrdcached plugins'
30 'hiredis: redis plugin'
31 'lm_sensors: lm_sensors and sensors plugins'
32 'libvirt: libvirt plugin'
33 'libxml2: ascent and libvirt plugins'
34 'yajl: curl_json plugin'
35 'libatasmart: smart plugin'
36 'lvm2: lvm plugin'
37 'protobuf-c: write_riemann plugin'
38 'mosquitto: MQTT plugin'
39 'libmicrohttpd: prometheus plugin'
40 'librabbitmq-c: amqp plugin'
41 'nut: nut plugin')
42
43makedepends=(${optdepends[@]%:*})
44depends=('libltdl' 'iptables' 'libnsl')
45
46source=("https://storage.googleapis.com/collectd-tarballs/${pkgname}-${pkgver}.tar.bz2"
47 https://github.com/collectd/collectd/commit/623e95394e0e62e7f9ced2104b786d21e9c0bf53.patch
48 https://github.com/collectd/collectd/commit/da62d300a1b9e3b8f3690a388105678a3a4620ea.patch
49 ansidecl.patch
50 'service')
51sha256sums=('5bae043042c19c31f77eb8464e56a01a5454e0b39fa07cf7ad0f1bfc9c3a09d6'
52 '777544cbf803af4d08ea228b29619f8f6e7a4777a85e0fb30693d8240db7246b'
53 '5eec73b5a10070baf86e7529c1e2e632a1140560c2aaf67bd8b7aedbb652ebda'
54 '74088adbd378fd2942ab3b9a959fae110a38b9c411b82557df2b4d1276b61d20'
55 '83957b0b2cc7fa05a4d5f22e6c913ae2b0a4d7821f7b4e2d2e763054cc8c6c21')
56
57backup=('etc/collectd.conf')
58
59prepare() {
60 cd ${pkgname}-${pkgver}
61 sed -i '/sys\/mount.h/d' src/utils/mount/mount.h
62 patch -Np1 < ../623e95394e0e62e7f9ced2104b786d21e9c0bf53.patch
63 patch -Np0 < ../ansidecl.patch
64 patch -Np1 < ../da62d300a1b9e3b8f3690a388105678a3a4620ea.patch
65}
66
67build() {
68 cd ${pkgname}-${pkgver}
69 # fix nut plugin build
70 export CFLAGS="$CFLAGS -Wno-incompatible-pointer-types"
71 # quick fix for https://github.com/collectd/collectd/issues/4310
72 # libgcrypt-config is gone
73 export GCRYPT_CPPFLAGS="$(pkg-config libgcrypt --cflags)"
74 export GCRYPT_LIBS="$(pkg-config libgcrypt --libs)"
75 ./configure \
76 --prefix=/usr \
77 --sysconfdir=/etc \
78 --localstatedir=/var \
79 --sbindir=/usr/bin \
80 --enable-redis \
81 --disable-werror \
82 --with-perl-bindings='INSTALLDIRS=vendor' \
83
84 make all V=1
85}
86
87package() {
88 cd ${pkgname}-${pkgver}
89 make DESTDIR="${pkgdir}" install
90 rmdir "${pkgdir}/var/run" # FS#30201
91 install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/collectd.service
92 install -Dm644 contrib/collectd2html.pl "${pkgdir}"/usr/share/collectd/collectd2html.pl
93}
94

Scan history

Scanned at (UTC)SeverityRules
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2
2026-10-12 00:18:51 Low 2
2026-10-11 00:26:05 Low 2
2026-10-10 00:11:52 Low 2
2026-10-09 00:05:33 Low 2
2026-10-08 00:28:03 Low 2
2026-10-07 00:21:34 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