terrafs-git

maintainer dreieck · 0 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a git checkout from the project's official SourceForge repository, which is a normal and expected source for this project; building from a non-whitelisted host is not inherently dangerous when it is the project's own forge.

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 checkout from the project's official SourceForge repository, which is a normal and expected source for this project; building from a non-whitelisted host is not inherently dangerous when it is the project's own forge.

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:45 "flightgear-${_pkgname}::git+https://git.code.sf.net/p/flightgear/${_pkgname}"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck
2
3_pkgname="terrafs"
4pkgname="${_pkgname}-git"
5pkgdesc="A fuse base file system for FlightGear scenery."
6url="https://sourceforge.net/p/flightgear/terrafs/ci/master/tree/"
7license=("GPL2")
8epoch=0
9pkgver=r4.20240923.aa2bdaa
10pkgrel=1
11arch=(
12 'i686'
13 'x86_64'
14)
15depends=(
16 'curl'
17 'fuse'
18)
19makedepends=(
20 'git'
21)
22provides=(
23 "${_pkgname}=${pkgver}"
24 "${_pkgname}-fuse=${pkgver}"
25 "${_pkgname}-fuse-git=${pkgver}"
26 "flightgear-${_pkgname}=${pkgver}"
27 "flightgear-${_pkgname}-fuse=${pkgver}"
28 "flightgear-${_pkgname}-git=${pkgver}"
29 "flightgear-${_pkgname}-fuse-git=${pkgver}"
30)
31conflicts=(
32 "${_pkgname}"
33 "${_pkgname}-fuse"
34 "${_pkgname}-fuse-git"
35 "flightgear-${_pkgname}"
36 "flightgear-${_pkgname}-fuse"
37 "flightgear-${_pkgname}-git"
38 "flightgear-${_pkgname}-fuse-git"
39)
40optdepends=(
41 "flightgear: To make use of the scenery in flight simulator."
42)
43
44source=(
45 "flightgear-${_pkgname}::git+https://git.code.sf.net/p/flightgear/${_pkgname}"
46)
47
48sha256sums=(
49 'SKIP'
50)
51
52pkgver() {
53 cd "${srcdir}/flightgear-${_pkgname}"
54 _rev="$(git rev-list HEAD --count)"
55 _date="$(git log -1 --format=%cd --date=format:%Y%m%d)"
56 _hash="$(git rev-parse --short HEAD)"
57 printf '%s' "r${_rev}.${_date}.${_hash}"
58}
59
60build() {
61 cd "${srcdir}/flightgear-${_pkgname}"
62 printf '%s\n' "${url}" > "upstream.url"
63 cd src
64 g++ -std=c++0x $(pkg-config --cflags libcurl fuse) -c terrafs.cpp
65 g++ $(pkg-config --libs libcurl fuse) -o terrafs terrafs.o
66}
67
68package() {
69 cd "${srcdir}/flightgear-${_pkgname}"
70 install -D -m755 -v src/terrafs "${pkgdir}/usr/bin/terrafs"
71 install -D -m644 -v README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
72 install -D -m644 -v upstream.url "${pkgdir}/usr/share/doc/${_pkgname}/upstream.url"
73}
74

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