android-x86-64-npth
maintainer hipersayan_x
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a standard upstream tarball from the official project's domain (gnupg.org), which is a trusted host for this software; building from official source is normal for AUR packages.
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 standard upstream tarball from the official project's domain (gnupg.org), which is a trusted host for this software; building from official source is normal for AUR packages.
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:18
source=("https://gnupg.org/ftp/gcrypt/npth/npth-${pkgver}.tar.bz2")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
2
# Contributor: David Runge <dvzrv@archlinux.org>
3
# Contributor: Gaetan Bisson <bisson@archlinux.org>
4
5
_android_arch=x86-64
6
7
pkgname=android-${_android_arch}-npth
8
pkgver=1.8
9
pkgrel=1
10
arch=('any')
11
pkgdesc="The new GNU portable threads library (Android ${_android_arch})"
12
url="https://www.gnupg.org/software/npth/index.html"
13
license=('LGPL-2.1-or-later')
14
groups=('android-npth')
15
depends=('android-ndk')
16
makedepends=('android-configure')
17
options=(!strip !buildflags staticlibs !emptydirs)
18
source=("https://gnupg.org/ftp/gcrypt/npth/npth-${pkgver}.tar.bz2")
19
md5sums=('cb4fc0402be5ba67544e499cb2c1a74d')
20
21
prepare() {
22
cd "${srcdir}/npth-${pkgver}"
23
source android-env ${_android_arch}
24
25
autoreconf -fiv
26
sed -i 's|have_ld_version_script=yes|have_ld_version_script=no|g' configure
27
sed -i '/config_libs \$LIB_CLOCK_GETTIME/d' configure
28
sed -i 's|@NPTH_CONFIG_LIBS@|-lnpth|g' npth.pc.in
29
sed -i 's|@INSERT_EXPOSE_RWLOCK_API@|1|g' src/npth.h.in
30
}
31
32
build() {
33
cd "${srcdir}/npth-${pkgver}"
34
source android-env ${_android_arch}
35
36
export ac_cv_search_pthread_cancel=yes
37
export ac_cv_type_pthread_rwlock_t=yes
38
export ac_cv_search_clock_gettime=yes
39
android-${_android_arch}-configure \
40
--disable-tests
41
make $MAKEFLAGS
42
}
43
44
package() {
45
cd "${srcdir}/npth-${pkgver}"
46
source android-env ${_android_arch}
47
48
make DESTDIR="${pkgdir}" install
49
rm -rf "${pkgdir}/${ANDROID_PREFIX_SHARE}"
50
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
51
${ANDROID_STRIP} -g "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.a
52
}
53
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |