perl-travel-routing-de-dbris-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:43 "${_perlmod}::git+https://git.finalrewind.org/${_perlmod}"

PKGBUILD

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

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.07+r67.20250928.g8a3a147
+pkgver=0.13.2+r108.20260821.g60deca1
pkgrel=1
pkgdesc='dbris provides a commandline client and Perl module for the bahn.de public transit routing interface. It requests connections between two stops and prints the results as text or JSON.'
url='https://finalrewind.org/projects/Travel-Routing-DE-DBRIS/'

Scan history

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

Report a package

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

0 / 4000
Your suggestion