perl-travel-status-de-iris-git
The source uses a git repository from a non-whitelisted host, but it is the project's own source code being built, which is normal for AUR packages, and no unverified prebuilt binaries or malicious payloads are involved.
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 90%): The source uses a git repository from a non-whitelisted host, but it is the project's own source code being built, which is normal for AUR packages, and no unverified prebuilt binaries or malicious payloads are involved.
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:50
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
PKGBUILD
1 offending line(s) highlighted# Maintainer: dreieck
# Contributor: Jens Adam <jra@byte.cx>
_perlmod=Travel-Status-DE-IRIS
_pkgname=perl-travel-status-de-iris
pkgname="${_pkgname}-git"
_pkgver="latest"
epoch=1
pkgver=2.05+r837.20260704.gee093d8
pkgrel=1
pkgdesc='Interface to IRIS-based web departure monitors (as used by DeutscheBahn)'
url='http://finalrewind.org/projects/Travel-Status-DE-IRIS/'
license=('PerlArtistic')
arch=('any')
depends=(
'perl-cache'
'perl-class-accessor'
'perl-datetime'
'perl-datetime-format-strptime'
# 'perl-geo-distance'
'perl-gis-distance' # This one is problematic, since it depends on 'perl-geo-point' which in turn depends on 'perl-geo-proj' which cannot be maintained anymore due to changes in 'proj4'. Upstream should switch to 'perl-geo-distance' instead.
'perl-list-compare'
'perl-list-moreutils'
'perl-list-utilsby'
'perl-libwww'
'perl-lwp-protocol-https'
'perl-package-deprecationmanager'
'perl-strictures'
'perl-text-levenshtein'
'perl-xml-libxml'
)
makedepends=(
'curl>8.7.1' # Because of https://bugs.gentoo.org/930633 / https://github.com/curl/curl/issues/13474
'git'
'perl-file-slurp'
'perl-module-build'
'perl-test-compile'
'perl-test-fatal'
'perl-test-pod'
'perl-text-csv'
)
checkdepends=(
'perl-test-number-delta'
)
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
options=('!emptydirs')
# source=("http://finalrewind.org/projects/${_perlmod}/${_perlmod}-${pkgver}.tar.gz"{,.asc})
source=(
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
'LICENSE.PerlArtistic.txt'
)
sha256sums=(
'SKIP'
'916a330e64df209a924120bfddea0373db385eb3854e96d1a3dda6e0ea130c80'
)
pkgver() {
cd "${srcdir}/${_perlmod}"
# {
# grep -e '\$VERSION[[:space:]]*=[[:space:]]*' './bin/db-iris' | head -n 1; echo 'print $VERSION'
# } | perl
_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}"
sed -i 's/Text::LevenshteinXS/Text::Levenshtein/' Build.PL lib/Travel/Status/DE/IRIS/Stations.pm.PL # Don't know what this is for, it was here when I adopted this package.
# sed -i 's/GIS::Distance/Geo::Distance/' Build.PL # Patch to use Geo::Distance instead of GIS::Distance.
# export DB_IRIS_DEB_BUILD=1 # Also needed in order to use Geo::Distance instead of GIS::Distance.
perl Build.PL installdirs=vendor destdir="${pkgdir}"
./Build
}
# check() {
# ### 2022-01-25: `./Build test` fails, most probably due to the fact that GEO::Proj4 upstream can no longer be maintained due to changes in proj library.
# cd "${srcdir}/${_perlmod}"
# ./Build test
# }
package() {
cd "${srcdir}/${_perlmod}"
# export DB_IRIS_DEB_BUILD=1 # Also needed in order to use Geo::Distance instead of GIS::Distance.
./Build install
for _docfile in README.md Changelog; do
install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/${_docfile}"
done
install -D -v -m644 "${srcdir}/LICENSE.PerlArtistic.txt" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.PerlArtistic.txt"
}
Changes since previous scan
--- PKGBUILD @ 2026-09-05 00:16+++ PKGBUILD @ 2026-09-17 00:27@@ -6,7 +6,7 @@ pkgname="${_pkgname}-git" _pkgver="latest" epoch=1-pkgver=2.01+r811.20251228.g80f193c+pkgver=2.05+r837.20260704.gee093d8 pkgrel=1 pkgdesc='Interface to IRIS-based web departure monitors (as used by DeutscheBahn)' url='http://finalrewind.org/projects/Travel-Status-DE-IRIS/'Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 16:00:23 | Medium | 1 |
| 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 |