libfprint-adst-2009-git

LOW
maintainer arqueon 0 votes scanned 2026-10-31 00:07:41.364992
View on AUR
Why flagged

The package builds from two public Git repositories, both plausibly related to the project, with unverifiable sources due to SKIP'd checksums, but no evidence of malicious intent; it compiles driver support for a specific fingerprint sensor, which is normal for AUR packages, and installs only compiled binaries and configuration files.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 90%): The package builds from two public Git repositories, both plausibly related to the project, with unverifiable sources due to SKIP'd checksums, but no evidence of malicious intent; it compiles driver support for a specific fingerprint sensor, which is normal for AUR packages, and installs only compiled binaries and configuration files.

PKGBUILD

1# Maintainer: arqueon <66568719+arqueon@users.noreply.github.com>
2pkgname=libfprint-adst-2009-git
3pkgver=1.94.10.r1.g29cec34
4pkgrel=1
5pkgdesc="libfprint-2 with native ADST / BYD BF5325 (2009:7638) Match-On-Chip USB fingerprint sensor support"
6arch=('x86_64' 'aarch64')
7url="https://github.com/arqueon/adst-2009-libfprint"
8license=('LGPL-2.1-or-later')
9groups=('fprint')
10depends=(
11 'glib2'
12 'glibc'
13 'libgcc'
14 'libgudev'
15 'libgusb'
16 'libusb'
17 'opencv'
18 'openssl'
19 'pixman'
20)
21optdepends=(
22 'fprintd: D-Bus daemon and PAM module for fingerprint authentication'
23 'python-gobject: for adst-fprintd multi-reader enrollment and PAM status CLI'
24)
25makedepends=(
26 'cmake'
27 'git'
28 'glib2-devel'
29 'meson'
30 'ninja'
31 'pkgconf'
32)
33provides=(
34 "libfprint=${pkgver}"
35 'libfprint-2.so'
36 'libfprint-adst-2009'
37 'libfprint-cs9711'
38)
39conflicts=(
40 'libfprint'
41 'libfprint-cs9711-rebase-git'
42)
43source=(
44 'libfprint-CS9711::git+https://github.com/archeYR/libfprint-CS9711.git#branch=cs9711-rebase'
45 'adst-2009-libfprint::git+https://github.com/arqueon/adst-2009-libfprint.git'
46)
47sha256sums=(
48 'SKIP'
49 'SKIP'
50)
51
52pkgver() {
53 cd "${srcdir}/libfprint-CS9711"
54 local _base _rev _hash
55 _base="$(meson introspect --projectinfo meson.build 2>/dev/null | sed -n 's/.*"version": *"\([^"]*\)".*/\1/p')"
56 [[ -z "${_base}" ]] && _base="1.94.10"
57 cd "${srcdir}/adst-2009-libfprint"
58 _rev="$(git rev-list --count HEAD)"
59 _hash="$(git rev-parse --short=7 HEAD)"
60 printf '%s.r%s.g%s' "${_base}" "${_rev}" "${_hash}"
61}
62
63prepare() {
64 cd "${srcdir}/libfprint-CS9711"
65 git checkout -- .
66 patch -Np1 -i "${srcdir}/adst-2009-libfprint/patches/0001-adst2009-cs9711.patch"
67 for _f in adst2009.c adst2009-proto.h; do
68 install -Dm644 "${srcdir}/adst-2009-libfprint/drivers/adst2009/${_f}" \
69 "libfprint/drivers/adst2009/${_f}"
70 done
71}
72
73build() {
74 local _gir_opt="-Dintrospection=false"
75 if [[ -x /usr/bin/g-ir-scanner ]]; then
76 _gir_opt="-Dintrospection=true"
77 fi
78
79 arch-meson "${srcdir}/libfprint-CS9711" build \
80 "${_gir_opt}" \
81 -Dudev_hwdb=enabled \
82 -Dinstalled-tests=false \
83 -Ddoc=false \
84 -Dgtk-examples=false
85
86 meson compile -C build
87
88 local _drvdir="${srcdir}/adst-2009-libfprint/drivers/adst2009"
89 # shellcheck disable=SC2046,SC2086
90 cc ${CFLAGS} ${CPPFLAGS} -O2 -Wall -Wextra -I"${_drvdir}" \
91 "${srcdir}/adst-2009-libfprint/tools/adst2009-probe.c" \
92 -o "${srcdir}/adst2009-probe" \
93 $(pkg-config --cflags --libs libusb-1.0) ${LDFLAGS}
94
95 # shellcheck disable=SC2046,SC2086
96 cc ${CFLAGS} ${CPPFLAGS} -O2 -Wall -Wextra -I"${_drvdir}" \
97 "${srcdir}/adst-2009-libfprint/tests/adst2009-unit-test.c" \
98 -o "${srcdir}/adst2009-unit-test" ${LDFLAGS}
99}
100
101check() {
102 "${srcdir}/adst2009-unit-test"
103 meson test -C build --suite unit-tests --print-errorlogs
104 ./build/libfprint/fprint-list-supported-devices | grep -q "2009:7638"
105}
106
107package() {
108 meson install -C build --destdir "${pkgdir}"
109 install -Dm755 "${srcdir}/adst2009-probe" \
110 "${pkgdir}/usr/bin/adst2009-probe"
111 install -Dm755 "${srcdir}/adst-2009-libfprint/tools/fprintd-multi" \
112 "${pkgdir}/usr/bin/fprintd-multi"
113 ln -s fprintd-multi "${pkgdir}/usr/bin/adst-fprintd"
114 install -Dm644 "${srcdir}/adst-2009-libfprint/udev/70-adst-2009-libfprint.rules" \
115 "${pkgdir}/usr/lib/udev/rules.d/70-adst-2009-libfprint.rules"
116}
117

Scan history

Scanned at (UTC)SeverityRules
2026-10-31 00:07:41 Low 2
2026-10-30 23:57:35 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