perl-travel-routing-de-efa-git
MEDIUM
maintainer dreieck
1 votes
scanned 2026-09-05 16:00:23.828148
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: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
6
pkgname="${_pkgname}-git"
7
_pkgver='latest'
8
epoch=1
9
pkgver=2.24+r415.20260426.g80c2c9d
10
pkgrel=1
11
pkgdesc='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.'
12
url='http://finalrewind.org/projects/Travel-Routing-DE-VRR/'
13
license=(
14
'Artistic-1.0-Perl'
15
)
16
arch=('any')
17
depends=(
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
)
25
makedepends=(
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
)
34
checkdepends=(
35
'perl-file-slurp'
36
'perl-test-compile'
37
'perl-test-fatal'
38
'perl-test-pod'
39
)
40
provides=(
41
"${_pkgname}=${pkgver}"
42
"perl-travel-routing-de-vrr-git=${pkgver}"
43
"perl-travel-routing-de-vrr=${pkgver}"
44
"${_pkgname}-zsh-completion=${pkgver}"
45
)
46
conflicts=(
47
"${_pkgname}"
48
"perl-travel-routing-de-vrr"
49
"${_pkgname}-zsh-completion"
50
)
51
replaces=(
52
"perl-travel-routing-de-vrr"
53
)
54
options=('!emptydirs')
55
source=(
56
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
57
)
58
sha256sums=(
59
'SKIP'
60
)
61
62
pkgver() {
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
72
build() {
73
cd "${srcdir}/${_perlmod}"
74
perl Build.PL installdirs=vendor destdir="${pkgdir}"
75
./Build
76
}
77
78
check() {
79
cd "${srcdir}/${_perlmod}"
80
./Build test
81
}
82
83
package() {
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
Changes since previous scan
--- PKGBUILD @ 2026-06-19 19:07+++ PKGBUILD @ 2026-09-05 16:00@@ -6,7 +6,7 @@ pkgname="${_pkgname}-git" _pkgver='latest' epoch=1-pkgver=2.24+r410.20240921.gf67c404+pkgver=2.24+r415.20260426.g80c2c9d pkgrel=1 pkgdesc='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.' url='http://finalrewind.org/projects/Travel-Routing-DE-VRR/'Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 16:00:23 | Medium | 1 |
| 2026-06-19 19:07:35 | Clean | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |