perl-travel-routing-de-hafas-git
MEDIUM
maintainer dreieck
0 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:44
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: dreieck
2
3
_perlmod=Travel-Routing-DE-HAFAS
4
_pkgname=perl-travel-routing-de-hafas
5
pkgname="${_pkgname}-git"
6
_pkgver='latest'
7
epoch=1
8
pkgver=0.11+r136.20260424.g302e1d3
9
pkgrel=1
10
pkgdesc='A commandline client and Perl module for HAFAS public transit routing interfaces such as the one operated by VRN or ÖBB.'
11
url='https://finalrewind.org/projects/Travel-Routing-DE-HAFAS/'
12
license=('Artistic-1.0-Perl')
13
arch=('any')
14
depends=(
15
'perl>=5.14.0'
16
'perl-datetime'
17
'perl-datetime-format-strptime'
18
'perl-getopt-long'
19
'perl-json'
20
'perl-list-moreutils'
21
'perl-lwp-protocol-https'
22
'perl-travel-status-de-hafas>=6.16'
23
)
24
makedepends=(
25
'curl>8.7.1' # Because of https://bugs.gentoo.org/930633 / https://github.com/curl/curl/issues/13474
26
'git'
27
'perl-class-accessor>=0.16'
28
'perl-module-build'
29
)
30
checkdepends=(
31
'perl-test-compile'
32
'perl-test-pod'
33
)
34
provides=(
35
"${_pkgname}=${pkgver}"
36
"${_pkgname}-zsh-completion=${pkgver}"
37
)
38
conflicts=(
39
"${_pkgname}"
40
"${_pkgname}-zsh-completion"
41
)
42
options=('!emptydirs')
43
source=(
44
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
45
)
46
sha256sums=(
47
'SKIP'
48
)
49
50
prepare() {
51
cd "${srcdir}/${_perlmod}"
52
53
git log > git.log
54
}
55
56
pkgver() {
57
cd "${srcdir}/${_perlmod}"
58
_descr="$(git describe --tags --long)"
59
_ver="$(printf '%s' "${_descr}" | awk -F '-' '{print $1}')"
60
_rev="r$(git rev-list --count HEAD)"
61
_hash="$(printf '%s' "${_descr}" | awk -F '-' '{print $3}')"
62
_date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
63
printf '%s\n' "${_ver}+${_rev}.${_date}.${_hash}"
64
}
65
66
build() {
67
cd "${srcdir}/${_perlmod}"
68
perl Build.PL installdirs=vendor destdir="${pkgdir}"
69
./Build
70
}
71
72
check() {
73
cd "${srcdir}/${_perlmod}"
74
./Build test
75
}
76
77
package() {
78
cd "${srcdir}/${_perlmod}"
79
./Build install
80
81
install -D -v -m644 -t "${pkgdir}/usr/share/doc/${_pkgname}" git.log README.md Changelog
82
install -D -v -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING
83
84
}
85
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=1-pkgver=0.10+r125.20250804.g6ceac16+pkgver=0.11+r136.20260424.g302e1d3 pkgrel=1 pkgdesc='A commandline client and Perl module for HAFAS public transit routing interfaces such as the one operated by VRN or ÖBB.' url='https://finalrewind.org/projects/Travel-Routing-DE-HAFAS/'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 |