neatroff-git
LOW
maintainer aksr
0 votes
scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |