openafs-modules-dkms
maintainer Bevan
· 17 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a legitimate OpenAFS upstream tarball from the project's official domain (openafs.org), which is not on the analyzer's whitelist but is the project's canonical host; downloading and building source code from the official project site is standard and safe for AUR packages.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a legitimate OpenAFS upstream tarball from the project's official domain (openafs.org), which is not on the analyzer's whitelist but is the project's canonical host; downloading and building source code from the official project site is standard and safe for AUR packages.
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
7
pkgname=openafs-modules-dkms
8
_srcname=openafs
9
pkgver=1.8.16.1
10
pkgrel=1
11
pkgdesc="Kernel module for OpenAFS (dkms)"
12
arch=('i686' 'x86_64' 'armv7h')
13
url="http://www.openafs.org"
14
license=(IPL-1.0)
15
depends=('dkms' 'libelf' 'openafs>=1.8.12.1-2')
16
provides=("openafs-modules=$pkgver")
17
conflicts=('openafs-features-libafs' 'openafs-modules' 'openafs<1.6.6-2')
18
options=(!emptydirs)
19
source=(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
sha256sums=('cf59067589a295471e3f10f644f0f2165113347cc8b0ad0fbb4123259a2af0a2'
23
'306408d644e8781f13e09021449cb1ccbba60f69d1d24eca5f8138e9b3e47d8e'
24
'bcd276a3e41d5c5a7eb437718c4143b63ac36ed851df9db091653754d4b294d3')
25
26
prepare() {
27
cd "${srcdir}/${_srcname}-${pkgver}"
28
29
# Fix configure checks on Arch Linux
30
patch -p1 < "${srcdir}"/0001-cf-Ensure-BTF-info-is-created-in-tests-for-Linux.patch
31
32
# Only needed when changes to configure were made
33
./regen.sh -q
34
}
35
36
build() {
37
cd "${srcdir}/${_srcname}-${pkgver}"
38
39
case "$CARCH" in
40
"i686") sysname=i386_linux26 ;;
41
"x86_64") sysname=amd64_linux26 ;;
42
"armv7h") sysname=arm_linux26 ;;
43
*) error "Unknown architecture '$CARCH'" && false
44
esac
45
46
./configure --prefix=/usr \
47
--sysconfdir=/etc \
48
--sbindir=/usr/bin \
49
--libexecdir=/usr/lib \
50
--disable-fuse-client \
51
--disable-kernel-module \
52
--without-swig \
53
--with-afs-sysname=$sysname
54
55
make only_libafs_tree
56
}
57
58
package() {
59
60
# install license
61
install -Dm644 "${srcdir}/${_srcname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
62
63
# install sources
64
install -dm755 "${pkgdir}/usr/src/${_srcname}-${pkgver}"
65
mv "${srcdir}/${_srcname}-${pkgver}/libafs_tree/"* "${pkgdir}/usr/src/${_srcname}-${pkgver}"
66
sed "s/__VERSION__/$pkgver/" "${srcdir}/dkms.conf" > "${pkgdir}/usr/src/${_srcname}-${pkgver}/dkms.conf"
67
68
}
69
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |