dina-font
maintainer ParaSait
· 7 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a font source archive from a non-whitelisted but plausibly project-owned host; the build process converts BDF font files to PCF format, which is normal for font packages, and installs only font and config files—non-executable data with no code execution risk.
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 font source archive from a non-whitelisted but plausibly project-owned host; the build process converts BDF font files to PCF format, which is normal for font packages, and installs only font and config files—non-executable data with no code execution risk.
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:14
source=("dina-$pkgver-new.zip::https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Kyle Keen <keenerd@gmail.com>
2
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
3
# Contributor: Xilon <xilonmu@gmail.com>
4
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5
6
pkgname=dina-font
7
pkgver=2.92
8
pkgrel=10
9
pkgdesc="A monospace bitmap font, primarily aimed at programmers"
10
arch=('any')
11
url="https://www.dcmembers.com/jibsen/download/61/"
12
license=('custom')
13
makedepends=('xorg-bdftopcf')
14
source=("dina-$pkgver-new.zip::https://www.dcmembers.com/jibsen/download/61/?wpdmdl=61"
15
75-yes-dina.conf)
16
sha256sums=('1f51bba53f75a64d2d8bd037e8e0f84b6f8064e50a72ee954033bede173508cf'
17
'2596b25f3e20936dbe189f8574a55950b5ee2605bfdeaaac1ec47d0ff14855b6')
18
19
_ex_pt() {
20
_pt=${1%.bdf}
21
_pt=${_pt#*-}
22
echo $_pt
23
}
24
25
build() {
26
cd "$srcdir/BDF"
27
28
sed -i 's/microsoft-cp1252/ISO8859-1/' *.bdf
29
30
for i in Dina_i400-*.bdf; do
31
bdftopcf -t -o DinaItalic$(_ex_pt $i).pcf $i
32
done
33
for i in Dina_i700-*.bdf; do
34
bdftopcf -t -o DinaBoldItalic$(_ex_pt $i).pcf $i
35
done
36
for i in Dina_r400-*.bdf; do
37
bdftopcf -t -o DinaMedium$(_ex_pt $i).pcf $i
38
done
39
for i in Dina_r700-*.bdf; do
40
bdftopcf -t -o DinaBold$(_ex_pt $i).pcf $i
41
done
42
gzip -n *.pcf
43
}
44
45
package() {
46
cd "$srcdir/BDF"
47
for i in *.gz; do
48
install -Dm 644 $i "$pkgdir/usr/share/fonts/misc/$i"
49
done
50
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
51
install -Dm644 "$srcdir/75-yes-dina.conf" "$pkgdir/usr/share/fontconfig/conf.avail/75-yes-dina.conf"
52
install -d "$pkgdir/usr/share/fontconfig/conf.default"
53
ln -s ../conf.avail/75-yes-dina.conf "$pkgdir/usr/share/fontconfig/conf.default/75-yes-dina.conf"
54
}
55
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 |