neatroff-git
LOW
maintainer aksr
0 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The non-standard host hosts a PDF documentation file, which is non-executable data; the actual code is built from GitHub, making the worst-case impact limited to documentation tampering.
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 non-standard host hosts a PDF documentation file, which is non-executable data; the actual code is built from GitHub, making the worst-case impact limited to documentation tampering.
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:21
'http://dev.rudi.ir/neatroff.pdf')
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: aksr <aksr at t-com dot me>
2
pkgname=neatroff-git
3
pkgver=r568.5494bf1
4
pkgrel=1
5
pkgdesc='An implementation of troff typesetting system in C programming language.'
6
arch=('i686' 'x86_64')
7
url='http://dev.rudi.ir/'
8
license=('ISC' 'LPL-1.0')
9
depends=('neatmkfn-git')
10
makedepends=('git')
11
optdepends=('neatpost-git: Postscript postprocessor for neatroff.'
12
'neateqn-git: An eqn preprocessor for neatroff.'
13
'neatroff-hyph: Hyphenation files (patterns, exceptions and mappings).'
14
'neatrefer-git: A small refer clone for managing bibliographic references.'
15
'neatshape: A farsi/arabic shaping preprocessor for troff.')
16
checkdepends=()
17
provides=("${pkgname%-*}")
18
conflicts=("${pkgname%-*}")
19
source=("$pkgname::git+https://github.com/aligrudi/neatroff"
20
'git+https://github.com/aligrudi/neatroff_make'
21
'http://dev.rudi.ir/neatroff.pdf')
22
md5sums=('SKIP'
23
'SKIP'
24
'1e0c494991fcaa6a9acb74297d5cb526')
25
26
## FONTS directory
27
FDIR=/usr/share/neatroff/font
28
29
## MACROS directory
30
MDIR=/usr/share/neatroff/tmac
31
32
pkgver() {
33
cd $srcdir/$pkgname
34
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
35
}
36
37
build() {
38
cd "$srcdir/$pkgname"
39
make all FDIR=$FDIR MDIR=$MDIR
40
}
41
42
package() {
43
cd "$srcdir/$pkgname"
44
install -D -m755 roff $pkgdir/usr/bin/neatroff
45
install -D -m644 README $pkgdir/usr/share/doc/${pkgname%-*}/README
46
install -D -m644 ../neatroff.pdf $pkgdir/usr/share/doc/${pkgname%-*}/neatroff.pdf
47
install -D -m644 ../neatroff_make/tmac/NOTICE $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE
48
install -D -m644 ../neatroff_make/man/neatroff.1 $pkgdir/usr/share/man/man1/neatroff.1
49
## copy neatroff macros
50
mkdir -p $pkgdir/usr/share/neatroff/tmac/
51
cp -r ../neatroff_make/tmac/* $pkgdir/usr/share/neatroff/tmac/
52
rm -f $pkgdir/usr/share/neatroff/tmac/NOTICE
53
}
54
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |