android-aarch64-libasyncns
The source is a standard upstream tarball from the project's official domain (0pointer.de), building a library from source; the non-whitelisted host is the actual project site, not a risky third-party host.
Triggered rules
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 standard upstream tarball from the project's official domain (0pointer.de), building a library from source; the non-whitelisted host is the actual project site, not a risky third-party host.
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:21
source=("http://0pointer.de/lennart/projects/libasyncns/libasyncns-${pkgver}.tar.gz"
PKGBUILD
1 offending line(s) highlighted# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: Eric Belanger <belanger@astro.umontreal.ca>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
_android_arch=aarch64
pkgname=android-${_android_arch}-libasyncns
pkgver=0.8
pkgrel=2
arch=('any')
pkgdesc="A C library for executing name service queries asynchronously (Android ${_android_arch})"
url="https://0pointer.net/lennart/projects/libasyncns/"
license=('LGPL')
groups=('android-libasyncns')
depends=('android-ndk')
makedepends=('android-configure')
options=(!strip !buildflags staticlibs !emptydirs)
source=("http://0pointer.de/lennart/projects/libasyncns/libasyncns-${pkgver}.tar.gz"
'0001-Use-unversioned-libs.patch')
md5sums=('1f553d6ce1ad255bc83b3d8e9384f515'
'4c5ee80adf19451f731c10af7da61617')
prepare() {
cd "${srcdir}/libasyncns-${pkgver}"
source android-env ${_android_arch}
patch -Np1 -i ../0001-Use-unversioned-libs.patch
NOCONFIGURE=1 ./bootstrap.sh
}
build() {
cd "${srcdir}/libasyncns-${pkgver}"
source android-env ${_android_arch}
# Platform specific patches
case "${_android_arch}" in
aarch64)
host=armv8-unknown-linux
;;
armv7a-eabi)
host=armv7-unknown-linux
;;
riscv64)
host=riscv64-unknown-linux
;;
x86)
host=x86-unknown-linux
;;
x86-64)
host=x86_64-unknown-linux
;;
*)
;;
esac
android-${_android_arch}-configure \
--host=${host} \
--sysconfdir="${ANDROID_PREFIX_ETC}" \
--localstatedir="${ANDROID_PREFIX_VAR}"
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make $MAKEFLAGS
}
package() {
cd "${srcdir}/libasyncns-${pkgver}"
source android-env ${_android_arch}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/${ANDROID_PREFIX_SHARE}"
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a
rm -f "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so.*
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |