mirai-server-git

LOW
maintainer zhaobin 0 votes scanned 2026-10-06 00:13:36.889724
View on AUR
Why flagged

The package builds from a public Git repository with a SKIP'd checksum, but it is a recent, low-vote AUR package building its own source via standard Rust tooling without executing untrusted remote code or installing prebuilt binaries.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a public Git repository with a SKIP'd checksum, but it is a recent, low-vote AUR package building its own source via standard Rust tooling without executing untrusted remote code or installing prebuilt binaries.

PKGBUILD

1# Maintainer: Huang Zhaobin <zhaob1n@foxmail.com>
2# SPDX-License-Identifier: 0BSD
3
4pkgname=mirai-server-git
5_repo=mirai
6pkgver=r390.37c474e
7pkgrel=1
8pkgdesc='Headless host sharing KataGo with mirai clients over the network'
9arch=('x86_64' 'aarch64')
10url='https://github.com/zhaob1n/mirai'
11license=('GPL-3.0-or-later')
12depends=('glibc' 'libgcc')
13makedepends=('cargo' 'git' 'just')
14optdepends=('katago: the engine it serves (katago-opencl, katago-cuda, ...)')
15provides=('mirai-server')
16conflicts=('mirai-server')
17# makepkg's LTO turns the C that ring and zstd-sys build into GCC bitcode, which rust-lld,
18# rustc's default linker, cannot read: every C symbol is then undefined at link time.
19options=('!lto')
20source=("$_repo::git+$url.git")
21sha256sums=('SKIP')
22
23pkgver() {
24 cd "$_repo"
25 printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
26}
27
28prepare() {
29 cd "$_repo"
30 export RUSTUP_TOOLCHAIN=stable
31 cargo fetch --locked --target "$(rustc --print host-tuple)"
32}
33
34build() {
35 cd "$_repo"
36 export RUSTUP_TOOLCHAIN=stable
37 export CARGO_TARGET_DIR=target
38 cargo build --frozen --release -p mirai-server
39}
40
41package() {
42 cd "$_repo"
43 DESTDIR="$pkgdir" PREFIX=/usr just install mirai-server
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 00:13:36 Low 2
2026-10-05 23:40:58 Low 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion