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
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-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

Report a package

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

0 / 4000
Your suggestion