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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 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 |