perl-travel-routing-de-efa-git

LOW
maintainer dreieck 1 votes scanned 2026-10-21 00:12:50.227280
View on AUR
Why flagged

The source is a git repository from the project's own domain, which is plausibly official; building from a non-whitelisted host is normal for AUR packages and the code is transparently built, not executed remotely.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a git repository from the project's own domain, which is plausibly official; building from a non-whitelisted host is normal for AUR packages and the code is transparently built, not executed remotely.

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:56 "${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck
2# Contributor: Jens Adam <jra@byte.cx>
3
4_perlmod=Travel-Routing-DE-VRR
5_pkgname=perl-travel-routing-de-efa
6pkgname="${_pkgname}-git"
7_pkgver='latest'
8epoch=1
9pkgver=2.24+r416.20260913.gc574aea
10pkgrel=1
11pkgdesc='Commandline client and Perl module for EFA-based public transit routing interfaces provided by e.g. VRR or VVO. It can request itineraries for train/tram/bus/ferry connections throughout most of Germany, as well as parts of Austria, Switzerland and UK.'
12url='http://finalrewind.org/projects/Travel-Routing-DE-VRR/'
13license=(
14 'Artistic-1.0-Perl'
15)
16arch=('any')
17depends=(
18 'perl>=5.10.1'
19 'perl-class-accessor'
20 'perl-exception-class'
21 'perl-getopt-long'
22 'perl-lwp-protocol-https'
23 'perl-xml-libxml'
24)
25makedepends=(
26 'curl>8.7.1' # Because of https://bugs.gentoo.org/930633 / https://github.com/curl/curl/issues/13474
27 'git'
28 'perl-module-build'
29 'perl-file-slurp'
30 'perl-test-compile'
31 'perl-test-fatal'
32 'perl-test-pod'
33)
34checkdepends=(
35 'perl-file-slurp'
36 'perl-test-compile'
37 'perl-test-fatal'
38 'perl-test-pod'
39)
40provides=(
41 "${_pkgname}=${pkgver}"
42 "perl-travel-routing-de-vrr-git=${pkgver}"
43 "perl-travel-routing-de-vrr=${pkgver}"
44 "${_pkgname}-zsh-completion=${pkgver}"
45)
46conflicts=(
47 "${_pkgname}"
48 "perl-travel-routing-de-vrr"
49 "${_pkgname}-zsh-completion"
50)
51replaces=(
52 "perl-travel-routing-de-vrr"
53)
54options=('!emptydirs')
55source=(
56 "${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
57)
58sha256sums=(
59 'SKIP'
60)
61
62pkgver() {
63 cd "${srcdir}/${_perlmod}"
64 _descr="$(git describe --tags --long)"
65 _ver="$(printf '%s' "${_descr}" | awk -F '-' '{print $1}')"
66 _rev="r$(git rev-list --count HEAD)"
67 _hash="$(printf '%s' "${_descr}" | awk -F '-' '{print $3}')"
68 _date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
69 printf '%s\n' "${_ver}+${_rev}.${_date}.${_hash}"
70}
71
72build() {
73 cd "${srcdir}/${_perlmod}"
74 perl Build.PL installdirs=vendor destdir="${pkgdir}"
75 ./Build
76}
77
78check() {
79 cd "${srcdir}/${_perlmod}"
80 ./Build test
81}
82
83package() {
84 cd "${srcdir}/${_perlmod}"
85 ./Build install
86
87 install -D -v -m644 provides/zsh/completions/_efa "${pkgdir}/usr/share/zsh/site-functions/_efa"
88 install -D -v -m644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md"
89 install -D -v -m644 Changelog "${pkgdir}/usr/share/doc/${_pkgname}/Changelog"
90
91}
92

Scan history

Scanned at (UTC)SeverityRules
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 Low 2
2026-10-12 00:18:51 Low 2
2026-10-11 00:26:05 Low 2
2026-10-10 00:11:52 Low 2
2026-10-09 00:05:33 Low 2
2026-10-08 00:28:03 Low 2
2026-10-07 00:21:34 Low 2
2026-10-06 00:13:36 Low 2
2026-10-05 00:08:03 Low 2
2026-10-04 00:18:08 Low 2
2026-10-03 00:23:04 Low 2
2026-10-02 00:00:32 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