perl-travel-status-motis-git

MEDIUM
maintainer dreieck 0 votes scanned 2026-09-05 16:00:23.828148
View on AUR
Why flagged

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

Triggered rules

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

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: dreieck
2
3_perlmod=Travel-Status-MOTIS
4_pkgname=perl-travel-status-motis
5pkgname="${_pkgname}-git"
6_pkgver='latest'
7epoch=0
8pkgver=0.04+r30.20260812.gd4fc321
9pkgrel=1
10pkgdesc='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.'
11url='https://finalrewind.org/projects/Travel-Status-MOTIS/'
12license=(
13 'Artistic-1.0-Perl'
14 'CC0-1.0'
15)
16arch=('any')
17depends=(
18 'perl>=5.20.0'
19 'perl-class-accessor>=0.16'
20 'perl-datetime'
21 'perl-datetime-format-iso8601'
22 'perl-getopt-long'
23 'perl-json'
24 'perl-list-moreutils'
25 'perl-lwp-protocol-https'
26 'perl-uri'
27)
28makedepends=(
29 'curl>8.7.1' # Because of https://bugs.gentoo.org/930633 / https://github.com/curl/curl/issues/13474
30 'git'
31 'perl-class-accessor>=0.16'
32 'perl-module-build'
33)
34checkdepends=(
35 'perl-file-slurp'
36 'perl-test-compile'
37 'perl-test-pod'
38)
39provides=(
40 "${_pkgname}=${pkgver}"
41)
42conflicts=(
43 "${_pkgname}"
44)
45replaces=()
46options=('!emptydirs')
47source=(
48 "${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
49 "transport-apis::git+https://github.com/public-transport/transport-apis.git"
50)
51sha256sums=(
52 'SKIP'
53 'SKIP'
54)
55
56prepare() {
57 cd "${srcdir}/${_perlmod}"
58
59 git submodule init
60 git config submodule.ext/transport-apis.url "${srcdir}/transport-apis"
61 git -c protocol.file.allow=always submodule update
62
63 git log > git.log
64}
65
66pkgver() {
67 cd "${srcdir}/${_perlmod}"
68 _descr="$(git describe --tags --long)"
69 _ver="$(printf '%s' "${_descr}" | awk -F '-' '{print $1}')"
70 _rev="r$(git rev-list --count HEAD)"
71 _hash="$(printf '%s' "${_descr}" | awk -F '-' '{print $3}')"
72 _date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
73 printf '%s\n' "${_ver}+${_rev}.${_date}.${_hash}"
74}
75
76build() {
77 cd "${srcdir}/${_perlmod}"
78 perl Build.PL installdirs=vendor destdir="${pkgdir}"
79 ./Build
80}
81
82check() {
83 cd "${srcdir}/${_perlmod}"
84 ./Build test
85}
86
87package() {
88 cd "${srcdir}/${_perlmod}"
89 ./Build install
90
91 install -D -v -m644 -t "${pkgdir}/usr/share/doc/${_pkgname}" git.log README.md Changelog
92 install -D -v -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING
93 install -D -v -m644 ext/transport-apis/license "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.git_submodule_transport-apis.CC0.txt"
94
95}
96

Changes since previous scan

--- PKGBUILD @ 2026-06-19 19:07
+++ PKGBUILD @ 2026-09-05 16:00
@@ -5,7 +5,7 @@
pkgname="${_pkgname}-git"
_pkgver='latest'
epoch=0
-pkgver=0.03+r21.20260419.gee32b1e
+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/'

Scan history

Scanned at (UTC)SeverityRules
2026-09-05 16:00:23 Medium 1
2026-06-19 19:07:35 Clean 3
2026-06-18 18:55:24 Clean 3
2026-06-18 16:11:54 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion