wanpipe
The source is a tarball from the official project's domain (sangoma.com), which is a standard and trusted host for this software; building from project-owned infrastructure is normal AUR practice even if not on a whitelist.
Triggered rules
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 a tarball from the official project's domain (sangoma.com), which is a standard and trusted host for this software; building from project-owned infrastructure is normal AUR practice even if not on a whitelist.
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:19
"https://ftp.sangoma.com/linux/current_wanpipe/${pkgname}-${pkgver}.tgz"
PKGBUILD
1 offending line(s) highlightedpkgname=wanpipe
pkgver=7.0.38
pkgrel=10
pkgdesc='Sangoma WANPIPE drivers and utilities for DAHDI'
arch=(x86_64)
url=https://ftp.sangoma.com/linux/current_wanpipe/
license=(GPL-2.0-or-later)
makedepends=(
autoconf
automake
bison
dahdi-linux
flex
libtool
linux-headers
)
backup=(etc/wanpipe/wanrouter.rc)
source=(
"https://ftp.sangoma.com/linux/current_wanpipe/${pkgname}-${pkgver}.tgz"
arch-kernel-compat.patch
wanpipe.service
)
sha256sums=(
95266edd83bd8bb427f47f7a39365795936acc0d6e2e3a1e482bd015bba90fa2
4b1fabab743cd59a60f4dd8bca1a8dc36264c875ed9090515594281187cb1588
59b6f271556eadc0a4f71454ab3ec015478cbf3b81cf0446d9bb9cba62d2e0d6
)
_kernelver() {
pacman -Q linux-headers | cut -f2 -d ' ' | sed 's/\.arch/-arch/'
}
_linuxpkgver() {
pacman -Q linux-headers | cut -f2 -d ' '
}
prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/arch-kernel-compat.patch"
}
build() {
cd "${pkgname}-${pkgver}"
local kernelver="$(_kernelver)"
[[ -e /usr/include/dahdi/kernel.h ]]
make dahdi DAHDI_DIR=/usr KVER="${kernelver}" KDIR="/usr/lib/modules/${kernelver}/build"
}
package() {
depends=(
dahdi-linux
glibc
"linux=$(_linuxpkgver)"
ncurses
net-tools
)
cd "${pkgname}-${pkgver}"
local kernelver="$(_kernelver)"
make DESTDIR="${pkgdir}" install_etc
make DESTDIR="${pkgdir}" install_util
make DESTDIR="${pkgdir}" install_inc
make DESTDIR="${pkgdir}" install_lib
rm -f "${pkgdir}"/etc/wanpipe/api/{libsangoma,libstelephony}/{config.log,config.status,Makefile}
if [[ -d "${pkgdir}/usr/sbin" ]]; then
install -d "${pkgdir}/usr/bin"
mv "${pkgdir}"/usr/sbin/* "${pkgdir}/usr/bin/"
rm -rf "${pkgdir}/usr/sbin"
fi
if [[ -d "${pkgdir}/usr/local/sbin" ]]; then
install -d "${pkgdir}/usr/bin"
mv "${pkgdir}"/usr/local/sbin/* "${pkgdir}/usr/bin/"
rm -rf "${pkgdir}/usr/local"
fi
install -Dm0644 patches/kdrivers/src/net/sdladrv.ko \
"${pkgdir}/usr/lib/modules/${kernelver}/kernel/drivers/net/wan/sdladrv.ko"
install -Dm0644 patches/kdrivers/src/net/wanpipe.ko \
"${pkgdir}/usr/lib/modules/${kernelver}/kernel/drivers/net/wan/wanpipe.ko"
install -Dm0644 patches/kdrivers/src/net/wanrouter.ko \
"${pkgdir}/usr/lib/modules/${kernelver}/kernel/net/wanrouter/wanrouter.ko"
install -Dm0644 patches/kdrivers/src/net/wanec.ko \
"${pkgdir}/usr/lib/modules/${kernelver}/kernel/net/wanrouter/wanec.ko"
install -Dm0644 patches/kdrivers/src/net/wan_aften.ko \
"${pkgdir}/usr/lib/modules/${kernelver}/kernel/net/wanrouter/wan_aften.ko"
install -Dm0644 "${srcdir}/wanpipe.service" \
"${pkgdir}/usr/lib/systemd/system/wanpipe.service"
rm -f "${pkgdir}"/usr/lib/*.la
}
Changes since previous scan
--- PKGBUILD @ 2026-06-19 23:51+++ PKGBUILD @ 2026-10-07 00:21@@ -1,6 +1,6 @@ pkgname=wanpipe pkgver=7.0.38-pkgrel=9+pkgrel=10 pkgdesc='Sangoma WANPIPE drivers and utilities for DAHDI' arch=(x86_64) url=https://ftp.sangoma.com/linux/current_wanpipe/@@ -22,7 +22,7 @@ ) sha256sums=( 95266edd83bd8bb427f47f7a39365795936acc0d6e2e3a1e482bd015bba90fa2- 57390f6d7991614af7671297ecc4bd062889d4f51403e7c99353658d8cc61e0f+ 4b1fabab743cd59a60f4dd8bca1a8dc36264c875ed9090515594281187cb1588 59b6f271556eadc0a4f71454ab3ec015478cbf3b81cf0446d9bb9cba62d2e0d6 ) @@ -36,7 +36,7 @@ prepare() { cd "${pkgname}-${pkgver}"- patch -Np5 -i "${srcdir}/arch-kernel-compat.patch"+ patch -Np1 -i "${srcdir}/arch-kernel-compat.patch" } build() {Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-07 00:04:18 | Medium | 1 |
| 2026-06-19 23:51:18 | Clean | 2 |
| 2026-06-19 19:07:35 | Low | 2 |
| 2026-06-19 18:54:17 | Low | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |