android-armv7a-eabi-bzip2

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 a plausible project archive (fossies.org), building a well-known compression library from source, with no execution of remote code or malicious payloads.

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 a plausible project archive (fossies.org), building a well-known compression library from source, with no execution of remote code or malicious payloads.

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:17 source=("https://fossies.org/linux/misc/bzip2-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
2
3_android_arch=armv7a-eabi
4
5pkgname=android-${_android_arch}-bzip2
6pkgver=1.0.8
7pkgrel=5
8pkgdesc="A high-quality data compression program (Android ${_android_arch})"
9arch=('any')
10url="http://sources.redhat.com/bzip2"
11license=("custom")
12groups=(android-bzip2)
13depends=('android-ndk')
14makedepends=('android-environment'
15 'android-pkg-config')
16options=(!strip !buildflags staticlibs !emptydirs)
17source=("https://fossies.org/linux/misc/bzip2-${pkgver}.tar.gz"
18 'bzip2.pc')
19md5sums=('67e051268d0c475ea773822f7500d0e5'
20 'e52e68e2d3fd3cb77fc1a80e28742938')
21
22prepare() {
23 cd "${srcdir}/bzip2-${pkgver}"
24 source android-env ${_android_arch}
25
26 cp ../bzip2.pc bzip2.pc
27 sed "s|@PREFIX@|${ANDROID_PREFIX}|" -i bzip2.pc
28 sed "s|@VERSION@|${pkgver}|" -i bzip2.pc
29}
30
31build() {
32 cd "${srcdir}/bzip2-${pkgver}"
33 source android-env ${_android_arch}
34
35 export CFLAGS="${CFLAGS} -g -fPIC -Wall -Winline -D_FILE_OFFSET_BITS=64"
36
37 make libbz2.a \
38 CC="${ANDROID_CC}" \
39 AR="${ANDROID_AR}" \
40 RANLIB="${ANDROID_RANLIB}" \
41 PREFIX="${ANDROID_PREFIX}" \
42 CFLAGS="${CFLAGS}" \
43 $MAKEFLAGS
44 cmd="${CC} ${LDFLAGS} -shared -o libbz2.so *.o"
45 echo "${cmd}"
46 ${cmd}
47}
48
49package() {
50 cd "${srcdir}/bzip2-${pkgver}"
51 source android-env ${_android_arch}
52
53 install -m755 -d "${pkgdir}/${ANDROID_PREFIX_INCLUDE}"
54 install -m644 bzlib.h "${pkgdir}/${ANDROID_PREFIX_INCLUDE}/"
55 install -m755 -d "${pkgdir}/${ANDROID_PREFIX_LIB}"
56 install -m644 libbz2.a "${pkgdir}/${ANDROID_PREFIX_LIB}/"
57 install -m644 libbz2.so "${pkgdir}/${ANDROID_PREFIX_LIB}/"
58 install -m755 -d "${pkgdir}/${ANDROID_PREFIX_LIB}/pkgconfig"
59 install -m644 bzip2.pc "${pkgdir}/${ANDROID_PREFIX_LIB}/pkgconfig/"
60 ${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}/${ANDROID_PREFIX_LIB}"/*.so
61 ${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a
62}
63

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