openvpn-auth-ldap
The source is a tarball from GitHub's official codeload service, which hosts the project's own tagged release; patches are from trusted project and distribution sources; the build process is standard and does not execute untrusted code.
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 GitHub's official codeload service, which hosts the project's own tagged release; patches are from trusted project and distribution sources; the build process is standard and does not execute untrusted code.
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:14
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/${_name}-${pkgver}"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
pkgname='openvpn-auth-ldap'
_name='auth-ldap'
pkgver='2.0.4'
pkgrel='6'
pkgdesc='OpenVPN Auth via LDAP/AD plugin. RFC2307 support'
arch=('x86_64' 'aarch64')
_uri="github.com/threerings/${pkgname}"
url="https://${_uri}"
license=('BSD')
depends=('openvpn' 'libldap' 'libsasl' 'openssl')
source=("${pkgname}-${pkgver}.tar.gz::https://codeload.${_uri}/tar.gz/refs/tags/${_name}-${pkgver}"
"${url}/pull/73.patch"
"${url}/pull/74.patch"
"${url}/pull/75.patch"
"${url}/pull/77.patch"
"${url}/pull/85.patch"
"${url}/pull/92.patch"
"${url}/pull/96.patch"
"https://salsa.debian.org/debian/${pkgname}/-/raw/master/debian/patches/gcc-14.patch")
makedepends=('gcc-objc' 're2c' 'doxygen')
sha256sums=('81f600cdc88adb2258f57df1ed2d87f0afa945f66cbf8897ad50e76f42509168'
'0d79951a8aaffc1588fdb5717f122dc79bb6ab107986b6d54e8a681754beaea9'
'51f9641afd9348eb06dfdae10073d43f2bb63358e4b8570caaf03c8a1b50ed44'
'29fe8fdae6d503a28befb4f97086d7779599471101da829d9e177bd75f5f12f9'
'003e5acefebc5cdbea5a9513ca8a27f624917a357e72f825dccf4294c375b4f5'
'6e076fd2f6b417e7282a5b885330a42b8a41cc4c0622801c75a9fc109b156c1f'
'dc6c47c743b8222ac412ee03ebfefa42363cfaade17f0184717347bf9fb61466'
'efe1a990a8ce3b11c781d5f54f47ae51a5be1f6840d90b3a4837f0baf701492a'
'75f5d5cfcb715acebf17d0a9610aae9920ff9f7e159e4c2dc9139be4351a27e3')
backup=("etc/openvpn/server/${_name}.conf")
prepare() {
cd "${pkgname}-${_name}-${pkgver}"
for e in "../"*".patch"
do
echo "Apply patch: ${e}"
patch -p1 -i "../${e}"
done
# Archlinux use gcc
sed --in-place \
--expression 's|AC_CONFIG_SRCDIR(${srcdir}/src/auth-ldap.m)|AC_CONFIG_SRCDIR(src/auth-ldap.m)|g' \
--expression 's|C_PROG_CC(clang gobjc gcc)|C_PROG_CC(gcc)|g' \
--expression 's|AC_PROG_OBJC(clang gobjc gcc)|AC_PROG_OBJC(gcc)|g' \
"configure.ac"
autoreconf -fvi
autoheader
CFLAGS="${CFLAGS} -std=gnu99" \
./configure \
--prefix="/usr" \
--with-openvpn="/usr/include" \
--with-openldap="/usr/include" \
--with-openssl="/usr/include" \
--with-objc-runtime="GNU"
}
build() {
cd "${pkgname}-${_name}-${pkgver}"
make
}
check() {
cd "${pkgname}-${_name}-${pkgver}"
make test
}
package() {
cd "${pkgname}-${_name}-${pkgver}"
install -Dm0775 "src/${pkgname}.so" -t "${pkgdir}/usr/lib/openvpn/plugins"
install -Dm0400 "${_name}.conf" -t "${pkgdir}/etc/openvpn/server"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |
| 2026-09-30 00:20:07 | Low | 2 |
| 2026-09-29 00:07:46 | Low | 2 |
| 2026-09-28 00:28:32 | Low | 2 |