openafs-modules

maintainer Bevan · 10 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a legitimate OpenAFS project tarball from the official openafs.org domain, which is plausibly the project's own infrastructure; building from official project sources is normal AUR packaging practice.

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 project tarball from the official openafs.org domain, which is plausibly the project's own infrastructure; building from official project sources is normal AUR packaging practice.

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
3# This PKGBUILD is maintained on github:
4# https://github.com/michaellass/AUR
5
6pkgname=openafs-modules
7_srcname=openafs
8pkgver=1.8.16.1
9pkgrel=1
10pkgdesc="Kernel module for OpenAFS"
11arch=('i686' 'x86_64' 'armv7h')
12url="http://www.openafs.org"
13license=(IPL-1.0)
14depends=('openafs')
15makedepends=('libelf' 'linux-headers' 'openafs>=1.8.12.1-2')
16conflicts=('openafs-features-libafs' 'openafs<1.6.6-2')
17options=(!emptydirs)
18install=openafs-modules.install
19source=(http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
20 0001-cf-Ensure-BTF-info-is-created-in-tests-for-Linux.patch)
21sha256sums=('cf59067589a295471e3f10f644f0f2165113347cc8b0ad0fbb4123259a2af0a2'
22 'bcd276a3e41d5c5a7eb437718c4143b63ac36ed851df9db091653754d4b294d3')
23
24# Heuristic to determine version of installed kernel
25# You can modify this if the heuristic fails
26if uname -r | grep -q lts; then
27 # if you are currently running an lts kernel, only consider lts versions
28 _kernelver=$(ls -dt /usr/lib/modules/*lts* | head -n1 | cut -d/ -f5)
29else
30 _kernelver=$(ls -dt /usr/lib/modules/* | head -n1 | cut -d/ -f5)
31fi
32_extramodules="/usr/lib/modules/${_kernelver}/extramodules"
33
34prepare() {
35 cd "${srcdir}/${_srcname}-${pkgver}"
36
37 # Fix configure checks on Arch Linux
38 patch -p1 < "${srcdir}"/0001-cf-Ensure-BTF-info-is-created-in-tests-for-Linux.patch
39
40 # Only needed when changes to configure were made
41 ./regen.sh -q
42}
43
44build() {
45 cd "${srcdir}/${_srcname}-${pkgver}"
46
47 echo "Building against kernel ${_kernelver}"
48
49 ./configure --prefix=/usr \
50 --sysconfdir=/etc \
51 --sbindir=/usr/bin \
52 --libexecdir=/usr/lib \
53 --disable-fuse-client \
54 --without-swig \
55 --with-linux-kernel-packaging \
56 --with-linux-kernel-headers="/usr/lib/modules/${_kernelver}/build"
57
58 make only_libafs
59}
60
61
62package() {
63 cd "${srcdir}/${_srcname}-${pkgver}"
64
65 make DESTDIR="${pkgdir}" install_only_libafs
66
67 # install kernel module
68 install -dm755 "${pkgdir}${_extramodules}"
69 mv "${pkgdir}/lib/modules/${_kernelver}/extra/openafs/openafs.ko" "${pkgdir}${_extramodules}/openafs.ko"
70 gzip -9 "${pkgdir}${_extramodules}/openafs.ko"
71
72 # install license
73 install -Dm644 "${srcdir}/${_srcname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
74
75 # remove files already included in openafs package
76 find "${pkgdir}/usr" -maxdepth 3 -type f -delete
77 find "${pkgdir}/usr" -maxdepth 3 -type l -delete
78
79 # update major kernel version in install file
80 sed -i "s/depmod .*/depmod ${_kernelver}/g" "${startdir}/openafs-modules.install"
81}
82

Scan history

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

Report a package

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

0 / 4000
Your suggestion