neatroff-git
maintainer aksr
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
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-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 |