hostapd-git

MEDIUM
maintainer Chocobo1 2 votes scanned 2026-09-23 15:40:39.984319
View on AUR
Why flagged

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

Triggered rules

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:17 source=("git+https://w1.fi/hostap.git"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
2# Previous maintainer: Gaetan Bisson <bisson@archlinux.org>
3# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
4
5pkgname=hostapd-git
6pkgver=2.12.r513.gb879cafb2
7pkgrel=1
8pkgdesc="User space daemon for access point and authentication servers"
9arch=('i686' 'x86_64')
10url="https://w1.fi/hostapd/"
11license=('BSD-3-Clause')
12depends=('glibc' 'libnl' 'openssl' 'sqlite')
13makedepends=('git')
14provides=("hostapd=$pkgver")
15conflicts=('hostapd')
16backup=(etc/hostapd/hostapd.{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk})
17source=("git+https://w1.fi/hostap.git"
18 "config::https://gitlab.archlinux.org/archlinux/packaging/packages/hostapd/-/raw/main/config?ref_type=heads"
19 "hostapd.service::https://gitlab.archlinux.org/archlinux/packaging/packages/hostapd/-/raw/main/hostapd.service?ref_type=heads"
20 "hostapd@.service::https://gitlab.archlinux.org/archlinux/packaging/packages/hostapd/-/raw/main/hostapd@.service?ref_type=heads")
21sha256sums=('SKIP'
22 'SKIP'
23 'SKIP'
24 'SKIP')
25
26
27prepare() {
28 cd "hostap"
29
30 # fix include locations in main configuration file
31 sed -e 's|/etc/hostapd|/etc/hostapd/hostapd|g' \
32 -e 's|/var/run|/run|g' \
33 -e 's|radius_attr.sqlite|/var/lib/hostapd/radius_attr.sqlite|g' \
34 -e 's|hostapd.cred|/var/lib/hostapd/hostapd.cred|g' \
35 -e 's|hostapd.ap_settings|/var/lib/hostapd/hostapd.ap_settings|g' \
36 -e 's|hostapd_wps_pin_requests|hostapd/wps_pin_requests|g' \
37 -i "hostapd/hostapd.conf"
38
39 # link build configuration into place:
40 # an up-to-date version of the build configuration can be found in
41 # hostapd/defconfig and should be diffed with the packaged one before every
42 # build
43 ln -svf "$srcdir/config" "hostapd/.config"
44}
45
46pkgver() {
47 cd "hostap"
48
49 _tag=$(git tag -l --sort -v:refname | grep -E '^hostap_[0-9_\.]+$' | head -n1)
50 _rev=$(git rev-list --count "$_tag"..HEAD)
51 _hash=$(git rev-parse --short HEAD)
52 printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^hostap_//;s/_/./g'
53}
54
55build() {
56 cd "hostap"
57
58 make -C "hostapd"
59}
60
61package() {
62 cd "hostap"
63
64 make \
65 -C "hostapd" \
66 DESTDIR="$pkgdir" \
67 BINDIR="/usr/bin" \
68 install
69
70 # systemd service
71 install -Dm644 "$srcdir"/hostapd{,@}.service -t "$pkgdir/usr/lib/systemd/system"
72 # license
73 install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/hostapd"
74 # config
75 install -Dm640 hostapd/hostapd.{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk} -t "$pkgdir/etc/hostapd"
76 # docs
77 install -Dm644 hostapd/{hostapd.sim_db,wired.conf,hlr_auc_gw.{txt,milenage_db}} hostapd/{README*,ChangeLog} -t "$pkgdir/usr/share/doc/hostapd"
78 # man pages
79 install -Dm644 "hostapd/hostapd.8" -t "$pkgdir/usr/share/man/man8"
80 install -Dm644 "hostapd/hostapd_cli.1" -t "$pkgdir/usr/share/man/man1"
81 # state dir
82 install -dm750 "$pkgdir/var/lib/hostapd"
83}
84

Changes since previous scan

--- PKGBUILD @ 2026-06-20 00:18
+++ PKGBUILD @ 2026-09-23 15:40
@@ -3,7 +3,7 @@
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=hostapd-git
-pkgver=2.11.r1437.g59ac3016a
+pkgver=2.12.r513.gb879cafb2
pkgrel=1
pkgdesc="User space daemon for access point and authentication servers"
arch=('i686' 'x86_64')
@@ -14,7 +14,6 @@
provides=("hostapd=$pkgver")
conflicts=('hostapd')
backup=(etc/hostapd/hostapd.{accept,conf,deny,eap_user,radius_clients,vlan,wpa_psk})
-options=('!lto')
source=("git+https://w1.fi/hostap.git"
"config::https://gitlab.archlinux.org/archlinux/packaging/packages/hostapd/-/raw/main/config?ref_type=heads"
"hostapd.service::https://gitlab.archlinux.org/archlinux/packaging/packages/hostapd/-/raw/main/hostapd.service?ref_type=heads"

Scan history

Scanned at (UTC)SeverityRules
2026-09-23 15:40:39 Medium 1
2026-06-20 00:18:46 Medium 1
2026-06-19 23:51:18 Clean 2
2026-06-19 19:07:35 Low 2
2026-06-18 16:11:54 Medium 1

Report a package

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

0 / 4000
Your suggestion