perl-travel-status-motis-git
The package builds from source using git repositories hosted on the project's own domain and GitHub; the non-standard host is the project's official site, and the sources are not executed remotely or unverifiable.
Triggered rules
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 package builds from source using git repositories hosted on the project's own domain and GitHub; the non-standard host is the project's official site, and the sources are not executed remotely or unverifiable.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:48
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
PKGBUILD
1 offending line(s) highlighted# Maintainer: dreieck
_perlmod=Travel-Status-MOTIS
_pkgname=perl-travel-status-motis
pkgname="${_pkgname}-git"
_pkgver='latest'
epoch=0
pkgver=0.04+r30.20260812.gd4fc321
pkgrel=1
pkgdesc='Commandline client + Perl module for arrival/departure of MOTIS routing interfaces. Can show the arrivals/departures at a specific public transit stop, give details on individual trips, and look up stops by name or geo coordinates.'
url='https://finalrewind.org/projects/Travel-Status-MOTIS/'
license=(
'Artistic-1.0-Perl'
'CC0-1.0'
)
arch=('any')
depends=(
'perl>=5.20.0'
'perl-class-accessor>=0.16'
'perl-datetime'
'perl-datetime-format-iso8601'
'perl-getopt-long'
'perl-json'
'perl-list-moreutils'
'perl-lwp-protocol-https'
'perl-uri'
)
makedepends=(
'curl>8.7.1' # Because of https://bugs.gentoo.org/930633 / https://github.com/curl/curl/issues/13474
'git'
'perl-class-accessor>=0.16'
'perl-module-build'
)
checkdepends=(
'perl-file-slurp'
'perl-test-compile'
'perl-test-pod'
)
provides=(
"${_pkgname}=${pkgver}"
)
conflicts=(
"${_pkgname}"
)
replaces=()
options=('!emptydirs')
source=(
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
"transport-apis::git+https://github.com/public-transport/transport-apis.git"
)
sha256sums=(
'SKIP'
'SKIP'
)
prepare() {
cd "${srcdir}/${_perlmod}"
git submodule init
git config submodule.ext/transport-apis.url "${srcdir}/transport-apis"
git -c protocol.file.allow=always submodule update
git log > git.log
}
pkgver() {
cd "${srcdir}/${_perlmod}"
_descr="$(git describe --tags --long)"
_ver="$(printf '%s' "${_descr}" | awk -F '-' '{print $1}')"
_rev="r$(git rev-list --count HEAD)"
_hash="$(printf '%s' "${_descr}" | awk -F '-' '{print $3}')"
_date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
printf '%s\n' "${_ver}+${_rev}.${_date}.${_hash}"
}
build() {
cd "${srcdir}/${_perlmod}"
perl Build.PL installdirs=vendor destdir="${pkgdir}"
./Build
}
check() {
cd "${srcdir}/${_perlmod}"
./Build test
}
package() {
cd "${srcdir}/${_perlmod}"
./Build install
install -D -v -m644 -t "${pkgdir}/usr/share/doc/${_pkgname}" git.log README.md Changelog
install -D -v -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING
install -D -v -m644 ext/transport-apis/license "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.git_submodule_transport-apis.CC0.txt"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |
| 2026-10-01 00:02:06 | Low | 2 |