collectd
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
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)
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# Maintainer: lilydjwg <lilydjwg@gmail.com>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
pkgname=collectd
pkgver=5.12.0
pkgrel=24
pkgdesc='Daemon which collects system performance statistics periodically'
url='https://collectd.org/'
arch=('x86_64' 'aarch64')
license=('MIT AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-only AND ISC AND MIT-0')
optdepends=('curl: apache, ascent, curl, nginx, and write_http plugins'
'libdbi: dbi plugin'
'libesmtp: notify_email plugin'
'libgcrypt: encryption and authentication for network plugin'
'libmemcached: memcachec plugin'
'mariadb-libs: mysql plugin'
'systemd-libs: UdevNameAttr option'
'iproute2: netlink plugin'
'net-snmp: snmp plugin'
'libnotify: notify_desktop plugin'
'openipmi: ipmi plugin'
'liboping: ping plugin'
'libpcap: dns plugin'
'perl: perl plugin'
'postgresql-libs: postgresql plugin'
'python: python plugin'
'rrdtool: rrdtool and rrdcached plugins'
'hiredis: redis plugin'
'lm_sensors: lm_sensors and sensors plugins'
'libvirt: libvirt plugin'
'libxml2: ascent and libvirt plugins'
'yajl: curl_json plugin'
'libatasmart: smart plugin'
'lvm2: lvm plugin'
'protobuf-c: write_riemann plugin'
'mosquitto: MQTT plugin'
'libmicrohttpd: prometheus plugin'
'librabbitmq-c: amqp plugin'
'nut: nut plugin')
makedepends=(${optdepends[@]%:*})
depends=('libltdl' 'iptables' 'libnsl')
source=("https://storage.googleapis.com/collectd-tarballs/${pkgname}-${pkgver}.tar.bz2"
https://github.com/collectd/collectd/commit/623e95394e0e62e7f9ced2104b786d21e9c0bf53.patch
https://github.com/collectd/collectd/commit/da62d300a1b9e3b8f3690a388105678a3a4620ea.patch
ansidecl.patch
'service')
sha256sums=('5bae043042c19c31f77eb8464e56a01a5454e0b39fa07cf7ad0f1bfc9c3a09d6'
'777544cbf803af4d08ea228b29619f8f6e7a4777a85e0fb30693d8240db7246b'
'5eec73b5a10070baf86e7529c1e2e632a1140560c2aaf67bd8b7aedbb652ebda'
'74088adbd378fd2942ab3b9a959fae110a38b9c411b82557df2b4d1276b61d20'
'83957b0b2cc7fa05a4d5f22e6c913ae2b0a4d7821f7b4e2d2e763054cc8c6c21')
backup=('etc/collectd.conf')
prepare() {
cd ${pkgname}-${pkgver}
sed -i '/sys\/mount.h/d' src/utils/mount/mount.h
patch -Np1 < ../623e95394e0e62e7f9ced2104b786d21e9c0bf53.patch
patch -Np0 < ../ansidecl.patch
patch -Np1 < ../da62d300a1b9e3b8f3690a388105678a3a4620ea.patch
}
build() {
cd ${pkgname}-${pkgver}
# fix nut plugin build
export CFLAGS="$CFLAGS -Wno-incompatible-pointer-types"
# quick fix for https://github.com/collectd/collectd/issues/4310
# libgcrypt-config is gone
export GCRYPT_CPPFLAGS="$(pkg-config libgcrypt --cflags)"
export GCRYPT_LIBS="$(pkg-config libgcrypt --libs)"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
--enable-redis \
--disable-werror \
--with-perl-bindings='INSTALLDIRS=vendor' \
make all V=1
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
rmdir "${pkgdir}/var/run" # FS#30201
install -Dm644 ../service "${pkgdir}"/usr/lib/systemd/system/collectd.service
install -Dm644 contrib/collectd2html.pl "${pkgdir}"/usr/share/collectd/collectd2html.pl
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |