android-x86-64-npth

LOW
maintainer hipersayan_x 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
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

Report a package

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

0 / 4000
Your suggestion