terrafs-git

LOW
maintainer dreieck 0 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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