geobug-git

maintainer dreieck · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a Git repository from Codeberg, a legitimate forge, used to build the package from its own source; the non-whitelisted host is not a supply-chain risk as Codeberg is a trusted development platform.

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 Git repository from Codeberg, a legitimate forge, used to build the package from its own source; the non-whitelisted host is not a supply-chain risk as Codeberg is a trusted development platform.

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:50 "${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
2# Contributor: VxlerieUwU (https://aur.archlinux.org/account/VxlerieUwU) ('geobug' PKGBUILD)
3
4_pyname="geobug"
5_pkgname="${_pyname}"
6pkgname="${_pkgname}-git"
7pkgver=0.9.0+6.r165.20250603.31c6bb5
8pkgrel=1
9pkgdesc="Client for GeoClue. It can display your location information and save a track of your movements to a GPX-file."
10arch=(
11 'any'
12)
13_githost='codeberg.org'
14_gituser='tpikonen'
15url="https://${_githost}/${_gituser}/${_pyname}"
16license=("GPL-3.0-or-later")
17depends=(
18 'geoclue'
19 'gtk4'
20 'libadwaita'
21 'libhandy'
22 'python>=3.6'
23 'python-gobject'
24 'python-pydbus'
25 'python-gpxpy'
26)
27makedepends=(
28 'git'
29 'libhandy'
30 'python-build'
31 'python-installer'
32 'python-setuptools'
33 'python-wheel'
34)
35optdepends=(
36 'python-pysimplegui'
37)
38checkdepends=()
39provides=(
40 "${_pkgname}=${pkgver}"
41 "python-${_pkgname}=${pkgver}"
42 "python-${_pkgname}-git=${pkgver}"
43)
44conflicts=(
45 "${_pkgname}"
46 "python-${_pkgname}"
47)
48
49source=(
50 "${_pkgname}::git+https://${_githost}/${_gituser}/${_pyname}.git"
51)
52sha256sums=(
53 'SKIP'
54)
55
56prepare() {
57 cd "${srcdir}/${_pkgname}"
58 git log > "${srcdir}/git.log"
59}
60
61pkgver() {
62 cd "${srcdir}/${_pkgname}"
63
64 _ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
65 _rev="$(git rev-list --count HEAD)"
66 _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
67 _hash="$(git rev-parse --short HEAD)"
68
69 if [ -z "${_ver}" ]; then
70 error "Version could not be determined."
71 return 1
72 else
73 printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
74 fi
75}
76
77build() {
78 cd "${srcdir}/${_pkgname}"
79 printf '%s\n' " --> building ..."
80 python -m build --wheel --no-isolation
81}
82
83package() {
84 cd "${srcdir}/${_pkgname}"
85 printf '%s\n' " --> installing ..."
86 python -m installer --destdir="$pkgdir" --compile-bytecode=2 dist/*.whl
87
88 _docfiles=(
89 "${srcdir}/git.log"
90 README.md
91 )
92 _docdirs=()
93 _manfiles=()
94 _infofiles=()
95 _licensefiles=()
96 printf '%s\n' " --> installing documentation ..."
97 for _docfile in "${_docfiles[@]}"; do
98 install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
99 done
100 for _docdir in "${_docdirs[@]}"; do
101 cp -rv "${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
102 done
103 for _manfile in "${_manfiles[@]}"; do
104 _section="$(basename "${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
105 install -D -v -m644 "docs/build/man/${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
106 done
107 for _infofile in "${_infofiles[@]}"; do
108 install -D -v -m644 "${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
109 done
110 #printf '%s\n' " --> installing license ..."
111 for _licensefile in "${_licensefiles[@]}"; do
112 install -D -v -m644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
113 ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
114 done
115}
116

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