cuda-z-svn
The package builds from a source code repository on a non-whitelisted host (SourceForge SVN), which is the project's own official source, and installs only compiled binaries and documentation; the SKIP'd checksum is a concern but does not elevate to medium risk as the source is not a prebuilt executable from a swappable host.
Triggered rules
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 a source code repository on a non-whitelisted host (SourceForge SVN), which is the project's own official source, and installs only compiled binaries and documentation; the SKIP'd checksum is a concern but does not elevate to medium risk as the source is not a prebuilt executable from a swappable host.
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:28
"${_pkgname}::svn://svn.code.sf.net/p/cuda-z/code/trunk"
PKGBUILD
1 offending line(s) highlighted# Maintainer: dreieck
# Contributor: Artem Vorotnikov <artem@vorotnikov.me>
_pkgname=cuda-z
pkgname=cuda-z-svn
epoch=1
pkgver=0.11.r291.20180317
pkgrel=1
pkgdesc="CUDA Information Utility."
url="http://cuda-z.sourceforge.net/"
license=("GPL3")
arch=("x86_64")
depends=(
"cuda"
"qt5-base"
)
makedepends=(
"svn"
)
optdepends=()
provides=(
"${_pkgname}=${pkgver}"
)
conflicts=(
"${_pkgname}"
)
source=(
"${_pkgname}::svn://svn.code.sf.net/p/cuda-z/code/trunk"
)
sha256sums=(
'SKIP'
)
#_svntrunk="http://${_pkgname}.svn.sourceforge.net/svnroot/${_pkgname}/trunk"
#_svnmod="${_pkgname}"
prepare() {
cd "${srcdir}/${_pkgname}/"
sed -i 's/+= sm_10/+=/g' cuda-z.pro
sed -i 's/+= sm_11/+=/g' cuda-z.pro
sed -i 's/+= sm_13/+=/g' cuda-z.pro
sed -i 's/\/usr\/local\/cuda/\/opt\/cuda/g' cuda-z.pro
sed -i 's/\/usr\/local\/cuda/\/opt\/cuda/g' cuda.pri
sed -i 's/\/usr\/local\/cuda/\/opt\/cuda/g' ./bld/bin/pkg-linux.sh
sed -i 's/\/opt\/cuda-toolkit\/lib/\/opt\/cuda\/lib\
unix:LIBPATH += \/opt\/cuda\/lib64/' cuda-z.pro
svn log > svn.log
}
pkgver() {
cd "${srcdir}/${_pkgname}/"
_ver_major="$(grep -E '^[[:space:]]*#define[[:space:]]+CZ_VER_MAJOR[[:space:]]+' src/version.h | awk '{print $3}' | tr -d \'\")"
_ver_minor="$(grep -E '^[[:space:]]*#define[[:space:]]+CZ_VER_MINOR[[:space:]]+' src/version.h | awk '{print $3}' | tr -d \'\")"
_ver_string="$(grep -E '^[[:space:]]*#define[[:space:]]+CZ_VER_STRING[[:space:]]+' src/version.h | awk '{print $3}' | tr -d \'\")"
_ver="${_ver_string}"
_rev="$(svn info | grep '^Revision' | cut -d' ' -f2)"
_date="$(svn info | grep -E '^Last Changed Date:' | cut -d' ' -f4 | tr -d '-')"
printf '%s\n' "${_ver}.r${_rev}.${_date}"
}
build() {
cd "${srcdir}/${_pkgname}/"
PATH+=":/opt/cuda/bin"
export PATH
qmake && make || return 1
}
package() {
cd "${srcdir}/${_pkgname}/"
install -Dvm755 "bin/cuda-z" "${pkgdir}/usr/bin/cuda-z"
for _docfile in svn.log doc/*; do
install -Dvm644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/${_docfile}"
done
for _licensefile in LICENSE.GPL3; do
install -Dvm644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/${_licensefile}"
ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/${_licensefile}" "${pkgdir}/usr/share/doc/${_pkgname}/${_licensefile}"
done
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |