idos-timetable-browser-bin-latest

maintainer dreieck · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads a versioned ZIP file from the project's official domain (chaps.cz and ttakt.chaps.cz) which is plausibly the project's own release infrastructure; the source is a prebuilt Windows executable meant to be run under Wine, but from an official vendor host, so the supply-chain risk is low despite SKIP'd checksums.

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 a versioned ZIP file from the project's official domain (chaps.cz and ttakt.chaps.cz) which is plausibly the project's own release infrastructure; the source is a prebuilt Windows executable meant to be run under Wine, but from an official vendor host, so the supply-chain risk is low despite SKIP'd checksums.

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:60 "${_target}::https://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}"
  • PKGBUILD:62 "IDOS-Licence.pdf::https://chaps.cz/files/idos/IDOS-Licence.pdf"

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: dreieck
2
3# PKGBUILD last time manually edited: At least on 2025-12-10.
4
5url="https://chaps.cz/eng/download/idos/zip#kotvaprg"
6_zipfile="TTAKT.ZIP"
7_pkgver() {
8 # Reason for a _pkgver(): Have something to run before source download so that we can have version aware source downloads.
9 _ver="$(wget -nv -O- "${url}" | grep 'Timetable browser, version' | head -n 1 | sed -r 's|^.*Timetable browser, version ([0-9\.]+),.*library version ([0-9\.]+).*$|\1_lib\2|g')"
10 _date="$(wget -nv -O- "${url}" | tr -d '\a' | tr '\n' '\a' | sed 's|^.*File '"${_zipfile}"'\(.*\)Zip/'"${_zipfile}"'.*$|\1\n|g' | tr '\a' '\n' | grep 'Update date:' | cut -d, -f1 | sed -r 's|([0-9]+)\.([0-9]+)\.([0-9]+).|\n\3_\2_\1\n|g' | grep -E '^[0-9]+_[0-9]+_[0-9]+' | sed -E -e 's|_([0-9])_|_0\1_|g' -e 's|_([0-9])$|_0\1|g')"
11 printf '%s\n' "${_ver}_date${_date}"
12}
13
14_pkgname=idos-timetable-browser
15pkgname="${_pkgname}-bin-latest"
16epoch=0
17_pkgver="$(_pkgver)" # This should be set _before_ sources get downloaded.
18pkgver="${_pkgver}"
19pkgrel=1
20pkgdesc="Offline railway and other public transport timetable search engine by CHAPS. (Czech language by default.)"
21arch=('i686' 'x86_64')
22license=('LicenseRef-restricted')
23
24groups=(
25 "idos-timetable"
26)
27
28depends=(
29 "ttf-timetable"
30 "wine"
31)
32
33makedepends=(
34 "unzip"
35)
36
37optdepends=(
38 "idos-timetable-data: For timetable data. (You need at least one to use the software.)"
39 # "idos-timetable-lang: For translations in other languages."
40 "idos-timetable-lang-de: For German translation."
41 "idos-timetable-lang-en: For English translation."
42 "idos-timetable-browser-license: For the license in order to use restricted data like Czech/ Slovak bus, flight, Czech public transport."
43)
44
45provides=(
46 "${_pkgname}=${pkgver}"
47 "idos-timetable-lang-cz=${pkgver}"
48)
49
50conflicts=("${_pkgname}")
51
52replaces=(
53 "${_pkgname}<=1.30_lib2.16.0.1_date2025_12_03-6"
54 "${_pkgname}-latest<=1.30_lib2.16.0.1_date2025_12_03-6"
55)
56
57_target="ttakt-${_pkgver}.zip"
58
59source=(
60 "${_target}::https://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}"
61 "idos-timetable-browser.sh"
62 "IDOS-Licence.pdf::https://chaps.cz/files/idos/IDOS-Licence.pdf"
63 "license-dummy.txt"
64 "README.datafiles.txt"
65 "ReadMe.cz.txt"
66 "ReadMe.en.txt"
67 "idos-timetable-browser.install"
68)
69
70sha256sums=(
71 "SKIP"
72 "013fa1d41b6c13fd079c16578390d5b75ad3f1228fd38a7ac17756bd74ace94e"
73 "SKIP"
74 "c6bb216055d3670d3100b7a74e04ce0644030f365f4349a09e630ef60fbcb9a4"
75 "45bf7c462d7154360d0007a6d7c00c6aa6b49339b6f178cf24e5b1a40ca702d7"
76 "0ea6e9a36d54a7b9de5b87e9182b40fad0a9f673ae2195c29f32bf4538fa2f76"
77 "3a99d362a56fb52d5259549bf932df184e227fae79ed46be60f5b80e5d95c492"
78 "297e0326240e7d61b9c9f5a8f8313ce18fde2a14af9ad1f8c1ec03b67729ab57"
79)
80
81pkgver() {
82 printf '%s' "${_pkgver}"
83}
84
85
86package() {
87 _instdirbase='/opt/idos-timetable'
88 _instdir="${pkgdir}/${_instdirbase}"
89 _execdir="${pkgdir}/usr/bin"
90 install -d -m755 "${_instdir}"
91
92 cd "${_instdir}" && {
93 unzip "${srcdir}/${_target}"
94 mv App/* .
95 rmdir App
96 chmod 644 *
97 chmod 755 TT.exe
98 }
99
100 install -d -m755 "${pkgdir}/usr/share/doc/${_pkgname}"
101 echo "${url}" > "${pkgdir}/usr/share/doc/${_pkgname}/info.url"
102 chmod 644 "${pkgdir}/usr/share/doc/${_pkgname}/info.url"
103 install -D -m644 "${srcdir}/README.datafiles.txt" "${pkgdir}/usr/share/doc/${_pkgname}/README.datafiles.txt"
104 install -D -m644 "${srcdir}/ReadMe.cz.txt" "${pkgdir}/usr/share/doc/${_pkgname}/ReadMe.cz.txt"
105 install -D -m644 "${srcdir}/ReadMe.en.txt" "${pkgdir}/usr/share/doc/${_pkgname}/ReadMe.en.txt"
106
107 ln -s "/usr/share/doc/${_pkgname}/README.datafiles.txt" "${_instdir}/README.datafiles.txt"
108 ln -s "/usr/share/doc/${_pkgname}/ReadMe.cz.txt" "${_instdir}/ReadMe.cz.txt"
109 ln -s "/usr/share/doc/${_pkgname}/ReadMe.en.txt" "${_instdir}/ReadMe.en.txt"
110
111 install -D -m644 "${srcdir}/license-dummy.txt" "${pkgdir}/usr/share/licenses/${pkgname}/copying.txt"
112 install -D -m644 "${srcdir}/IDOS-Licence.pdf" "${pkgdir}/usr/share/licenses/${pkgname}/IDOS-Licence.pdf"
113
114 install -D -m755 "${srcdir}/idos-timetable-browser.sh" "${_execdir}/idos-timetable-browser"
115
116 cd ${_instdir}
117 ln -s ReadMe.en.txt ReadMe.txt
118}
119

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion