idos-timetable-additionalinfo-chaps-trains-2022
maintainer dreieck
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads archived data files from web.archive.org, which are used as static data for a timetable application; the worst case of a swapped source would be incorrect data, not code execution, and the primary source is an official project domain archived for availability.
Triggered rules
LOW
AI review downgraded a static finding
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads archived data files from web.archive.org, which are used as static data for a timetable application; the worst case of a swapped source would be incorrect data, not code execution, and the primary source is an official project domain archived for availability.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:51
"${_target}::http://web.archive.org/web/20220405204613/http://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: dreieck
2
3
## `PKGBUILD` last updated: >= 2023-11-20.
4
5
url="https://chaps.cz/eng/download/idos/zip#kotvainf"
6
_zipfile="C1.ZIP"
7
_pkgname=idos-timetable-additionalinfo-chaps-trains
8
pkgname="${_pkgname}-2022"
9
epoch=0
10
_pkgver='2022_04_05'
11
pkgver="${_pkgver}"
12
pkgrel=3
13
pkgdesc="Links for additional information on Czech trains and railway stations, to be used with the timetable search engines by CHAPS. Data from 2022."
14
arch=('any')
15
license=('custom')
16
17
groups=(
18
"idos-timetable"
19
)
20
depends=(
21
"idos-timetable-data-trains-cz"
22
)
23
24
makedepends=(
25
"wget"
26
)
27
28
optdepends=()
29
30
replaces=(
31
"${_pkgname}-latest<2023" # In 2023, this data seems to have vanished from `https://chaps.cz/eng/download/idos/zip#kotvainf`. So this package here is to replace the `-latest` package which is deprecated and is about to be deleted.
32
)
33
34
options+=('!strip')
35
36
provides=(
37
"${_pkgname}=${pkgver}"
38
39
"idos-timetable-additionalinfo-trains=${pkgver}"
40
41
"idos-timetable-additionalinfo-trains-cz=${pkgver}"
42
)
43
44
conflicts=(
45
"${_pkgname}"
46
)
47
48
_target="c1-${_pkgver}.zip"
49
50
source=(
51
"${_target}::http://web.archive.org/web/20220405204613/http://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}"
52
"IDOS-Licence.pdf::http://web.archive.org/web/20210904102649/http://www.chaps.cz/files/idos/IDOS-Licence.pdf"
53
"license-dummy.txt"
54
)
55
56
sha256sums=(
57
'1fe20538307d911d6edcec6590da51bf782cda64877f7dfabe742f11f618a657'
58
"SKIP"
59
"c6bb216055d3670d3100b7a74e04ce0644030f365f4349a09e630ef60fbcb9a4"
60
)
61
62
63
package() {
64
_instdirbase='/opt/idos-timetable'
65
_instdir="${pkgdir}/${_instdirbase}"
66
install -d -m755 "${_instdir}"
67
68
cp -r "${srcdir}"/Data* "${_instdir}/"
69
chmod 755 "${_instdir}"/Data*
70
chmod 755 "${_instdir}"/Data*/*
71
chmod 644 "${_instdir}"/Data*/*/*
72
73
install -d -m755 "${pkgdir}/usr/share/doc/${_pkgname}"
74
echo "${url}" > "${pkgdir}/usr/share/doc/${_pkgname}/info.url"
75
chmod 644 "${pkgdir}/usr/share/doc/${_pkgname}/info.url"
76
77
install -D -m644 "${srcdir}/license-dummy.txt" "${pkgdir}/usr/share/licenses/${pkgname}/copying.txt"
78
install -D -m644 "${srcdir}/IDOS-Licence.pdf" "${pkgdir}/usr/share/licenses/${pkgname}/IDOS-Licence.pdf"
79
}
80
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |