perl-travel-status-de-dbris-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:48
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: dreieck
2
3
_perlmod=Travel-Status-DE-DBRIS
4
_pkgname=perl-travel-status-de-dbris
5
pkgname="${_pkgname}-git"
6
_pkgver='latest'
7
epoch=1
8
pkgver=0.32+r205.20260717.g057c7c2
9
pkgrel=1
10
pkgdesc='dbris-m is a commandline client and Perl module for bahn.de public transit interfaces. It can show the arrivals/departures at a specific public transit stop, give details on individual journeys, and look up stops by name or geo coordinates.'
11
url='https://finalrewind.org/projects/Travel-Status-DE-DBRIS'
12
license=(
13
'Artistic-1.0-Perl'
14
'CC0-1.0'
15
)
16
arch=('any')
17
depends=(
18
'perl>=5.20.0'
19
'perl-class-accessor>=0.16'
20
'perl-datetime'
21
'perl-datetime-format-strptime'
22
'perl-getopt-long'
23
'perl-json'
24
'perl-list-moreutils'
25
'perl-lwp-protocol-https'
26
)
27
makedepends=(
28
'curl>8.7.1' # Because of https://bugs.gentoo.org/930633 / https://github.com/curl/curl/issues/13474
29
'git'
30
'perl-module-build>=0.40'
31
'perl-test-compile'
32
'perl-test-pod'
33
)
34
checkdepends=(
35
'perl-file-slurp'
36
'perl-test-compile'
37
'perl-test-pod'
38
)
39
provides=(
40
"${_pkgname}=${pkgver}"
41
)
42
conflicts=(
43
"${_pkgname}"
44
)
45
replaces=()
46
options=('!emptydirs')
47
source=(
48
"${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"
49
)
50
sha256sums=(
51
'SKIP'
52
)
53
54
prepare() {
55
cd "${srcdir}/${_perlmod}"
56
57
git log > git.log
58
}
59
60
pkgver() {
61
cd "${srcdir}/${_perlmod}"
62
_descr="$(git describe --tags --long)"
63
_ver="$(printf '%s' "${_descr}" | awk -F '-' '{print $1}')"
64
_rev="r$(git rev-list --count HEAD)"
65
_hash="$(printf '%s' "${_descr}" | awk -F '-' '{print $3}')"
66
_date="$(git log -n 1 --format=tformat:%ci | awk '{print $1}' | tr -d '-')"
67
printf '%s\n' "${_ver}+${_rev}.${_date}.${_hash}"
68
}
69
70
build() {
71
cd "${srcdir}/${_perlmod}"
72
perl Build.PL installdirs=vendor destdir="${pkgdir}"
73
./Build
74
}
75
76
check() {
77
cd "${srcdir}/${_perlmod}"
78
./Build test
79
}
80
81
package() {
82
cd "${srcdir}/${_perlmod}"
83
./Build install
84
85
install -D -v -m644 -t "${pkgdir}/usr/share/doc/${_pkgname}" git.log README.md Changelog
86
install -D -v -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING
87
}
88
Changes since previous scan
--- PKGBUILD @ 2026-06-20 00:18+++ PKGBUILD @ 2026-09-05 16:00@@ -5,7 +5,7 @@ pkgname="${_pkgname}-git" _pkgver='latest' epoch=1-pkgver=0.20+r142.20251231.gc44a6af+pkgver=0.32+r205.20260717.g057c7c2 pkgrel=1 pkgdesc='dbris-m is a commandline client and Perl module for bahn.de public transit interfaces. It can show the arrivals/departures at a specific public transit stop, give details on individual journeys, and look up stops by name or geo coordinates.' url='https://finalrewind.org/projects/Travel-Status-DE-DBRIS'Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-05 16:00:23 | Medium | 1 |
| 2026-06-20 00:18:46 | Clean | 2 |
| 2026-06-19 23:51:18 | Clean | 2 |
| 2026-06-19 19:07:35 | Low | 2 |
| 2026-06-18 16:11:54 | Medium | 1 |