mtdev-git
maintainer Chocobo1
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a git repository from the project's own domain (bitmath.org), which is plausibly the official upstream; building from a non-whitelisted host is normal for AUR packages and the source is not an unverifiable prebuilt binary.
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 source is a git repository from the project's own domain (bitmath.org), which is plausibly the official upstream; building from a non-whitelisted host is normal for AUR packages and the source is not an unverifiable prebuilt binary.
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:15
source=("git+https://bitmath.org/git/mtdev.git")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3
pkgname=mtdev-git
4
pkgver=1.1.6.r1.g2ed588e
5
pkgrel=1
6
pkgdesc="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol"
7
arch=('i686' 'x86_64')
8
url="https://bitmath.org/code/mtdev/"
9
license=('MIT')
10
depends=('glibc')
11
makedepends=('git')
12
provides=("mtdev=$pkgver")
13
conflicts=('mtdev')
14
options=('staticlibs')
15
source=("git+https://bitmath.org/git/mtdev.git")
16
sha256sums=('SKIP')
17
18
19
pkgver() {
20
cd "mtdev"
21
22
_tag=$(git tag -l --sort -v:refname | grep -E '^v?[0-9\.]+$' | head -n1)
23
_rev=$(git rev-list --count $_tag..HEAD)
24
_hash=$(git rev-parse --short HEAD)
25
printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//'
26
}
27
28
build() {
29
cd "mtdev"
30
31
./autogen.sh
32
./configure \
33
--prefix="/usr"
34
make
35
}
36
37
check() {
38
cd "mtdev"
39
40
make check
41
}
42
43
package() {
44
cd "mtdev"
45
46
make DESTDIR="$pkgdir" install
47
install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/mtdev"
48
}
49
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 |