android-x86-64-npth

LOW
maintainer hipersayan_x 0 votes scanned 2026-09-17 00:27:14.276658
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
7pkgname=android-${_android_arch}-npth
8pkgver=1.8
9pkgrel=1
10arch=('any')
11pkgdesc="The new GNU portable threads library (Android ${_android_arch})"
12url="https://www.gnupg.org/software/npth/index.html"
13license=('LGPL-2.1-or-later')
14groups=('android-npth')
15depends=('android-ndk')
16makedepends=('android-configure')
17options=(!strip !buildflags staticlibs !emptydirs)
18source=("https://gnupg.org/ftp/gcrypt/npth/npth-${pkgver}.tar.bz2")
19md5sums=('cb4fc0402be5ba67544e499cb2c1a74d')
20
21prepare() {
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
32build() {
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
44package() {
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)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion