openafs-modules-dkms

LOW
maintainer Bevan 17 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is downloaded from the official project domain openafs.org, which is the legitimate and expected source for OpenAFS; the non-whitelisted host is the project's own official site, making this a normal and safe AUR package build.

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 downloaded from the official project domain openafs.org, which is the legitimate and expected source for OpenAFS; the non-whitelisted host is the project's own official site, making this a normal and safe AUR package build.

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:19 source=(http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Michael Lass <bevan@bi-co.net>
2# Contributor: Konstantin Gizdov <arch at kge dot pw>
3
4# This PKGBUILD is maintained on github:
5# https://github.com/michaellass/AUR
6
7pkgname=openafs-modules-dkms
8_srcname=openafs
9pkgver=1.8.16.1
10pkgrel=2
11pkgdesc="Kernel module for OpenAFS (dkms)"
12arch=('i686' 'x86_64' 'armv7h')
13url="http://www.openafs.org"
14license=(IPL-1.0)
15depends=('dkms' 'libelf' 'openafs>=1.8.12.1-2')
16provides=("openafs-modules=$pkgver")
17conflicts=('openafs-features-libafs' 'openafs-modules' 'openafs<1.6.6-2')
18options=(!emptydirs)
19source=(http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
20 dkms.conf
21 0001-cf-Ensure-BTF-info-is-created-in-tests-for-Linux.patch
22 0002-linux-replace-strncpy-with-strscpy.patch)
23sha256sums=('cf59067589a295471e3f10f644f0f2165113347cc8b0ad0fbb4123259a2af0a2'
24 '306408d644e8781f13e09021449cb1ccbba60f69d1d24eca5f8138e9b3e47d8e'
25 'cce37a4d4da631d3e58d547268e1663640d820c69e3b652d9691b44bcbcbb37b'
26 '655b91807f6eefe28a6e7fe101baf337d5cc6cd5e6a7eb714ce638920a413fa2')
27
28prepare() {
29 cd "${srcdir}/${_srcname}-${pkgver}"
30
31 # Fix configure checks on Arch Linux
32 patch -p1 < "${srcdir}"/0001-cf-Ensure-BTF-info-is-created-in-tests-for-Linux.patch
33
34 # Add patch for Linux 7.2
35 patch -p1 < "${srcdir}"/0002-linux-replace-strncpy-with-strscpy.patch
36
37 # Only needed when changes to configure were made
38 ./regen.sh -q
39}
40
41build() {
42 cd "${srcdir}/${_srcname}-${pkgver}"
43
44 case "$CARCH" in
45 "i686") sysname=i386_linux26 ;;
46 "x86_64") sysname=amd64_linux26 ;;
47 "armv7h") sysname=arm_linux26 ;;
48 *) error "Unknown architecture '$CARCH'" && false
49 esac
50
51 ./configure --prefix=/usr \
52 --sysconfdir=/etc \
53 --sbindir=/usr/bin \
54 --libexecdir=/usr/lib \
55 --disable-fuse-client \
56 --disable-kernel-module \
57 --without-swig \
58 --with-afs-sysname=$sysname
59
60 make only_libafs_tree
61}
62
63package() {
64
65 # install license
66 install -Dm644 "${srcdir}/${_srcname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
67
68 # install sources
69 install -dm755 "${pkgdir}/usr/src/${_srcname}-${pkgver}"
70 mv "${srcdir}/${_srcname}-${pkgver}/libafs_tree/"* "${pkgdir}/usr/src/${_srcname}-${pkgver}"
71 sed "s/__VERSION__/$pkgver/" "${srcdir}/dkms.conf" > "${pkgdir}/usr/src/${_srcname}-${pkgver}/dkms.conf"
72
73}
74

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion