vantage-browser
LOW
maintainer chen-shuhan
0 votes
scanned 2026-09-11 15:22:58.728112
Why flagged
The package builds from source via a git checkout of the project's own GitHub repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious behavior.
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 source via a git checkout of the project's own GitHub repository, which is normal for AUR packages; the low severity is due to few votes and recent upload, not malicious behavior.
PKGBUILD
1
# Maintainer: chen-shuhan <2502820816@qq.com>
2
# Maintainer: asystech-chen <https://github.com/asystech-chen/Vantage>
3
# 非官方社区打包
4
pkgname=vantage-browser
5
pkgver=153.2.0
6
pkgrel=1
7
pkgdesc="Vantage 浏览器 - 基于 Firefox ESR 的隐私/快速/易用定制版 (编译安装) - 非官方社区打包"
8
arch=('x86_64' 'aarch64')
9
url="https://github.com/asystech-chen/Vantage"
10
license=('MPL-2.0')
11
depends=(
12
dbus
13
alsa-lib
14
at-spi2-core
15
cairo
16
ffmpeg
17
fontconfig
18
freetype2
19
gdk-pixbuf2
20
glib2
21
gtk3
22
hicolor-icon-theme
23
libpulse
24
libx11
25
libxcb
26
libxcomposite
27
libxdamage
28
libxext
29
libxfixes
30
libxrandr
31
libxss
32
libxt
33
mime-types
34
nspr
35
nss
36
pango
37
ttf-font
38
)
39
makedepends=(
40
git
41
cbindgen
42
clang
43
diffutils
44
imake
45
inetutils
46
jack
47
lld
48
llvm
49
mesa
50
nasm
51
nodejs
52
python
53
python-setuptools
54
rust
55
unzip
56
wasi-compiler-rt
57
wasi-libc
58
wasi-libc++
59
wasi-libc++abi
60
yasm
61
zip
62
binutils
63
)
64
optdepends=(
65
'hunspell-dictionary: Spell checking'
66
'libnotify: Notification integration'
67
'networkmanager: Location detection via WiFi'
68
'speech-dispatcher: Text-to-Speech'
69
'xdg-desktop-portal: Screensharing with Wayland'
70
)
71
provides=('vantage-browser')
72
conflicts=('vantage-browser' 'vantage-browser-bin' 'vantage-browser-appimage')
73
source=("git+https://github.com/asystech-chen/Vantage.git#tag=v${pkgver}-${pkgrel}")
74
sha256sums=('SKIP')
75
76
build() {
77
cd Vantage
78
# 与上游 build.sh 等效的本地编译流程,默认仅编译当前架构
79
# 使用系统 mozconfig,自动选择 linux-x64 / linux-arm64
80
if [ "$CARCH" = "aarch64" ]; then
81
_target="linux-arm64"
82
_mozconfig="assets/mozconfig.linux-arm64"
83
else
84
_target="linux-x64"
85
_mozconfig="assets/mozconfig.new"
86
fi
87
# 1. 拉取 Firefox 源码并打补丁
88
make dir
89
# 2. 编译(需要较长时间,约 1-3 小时)
90
MOZCONFIG="$PWD/$_mozconfig" make build
91
# 3. 打包
92
make package
93
}
94
95
package() {
96
cd Vantage
97
# 上游 make package 会在根目录生成 dist 产物,取其打包结果安装
98
# 查找生成的 tar.xz(linux 打包)
99
_pkg=$(ls vantage-*.linux-*.tar.xz 2>/dev/null | head -1)
100
if [ -z "$_pkg" ]; then
101
# 回退:直接从 librewolf-* 目录安装
102
_pkgdir=$(find . -maxdepth 1 -type d -name "librewolf-*" | head -1)
103
if [ -n "$_pkgdir" ] && [ -d "$_pkgdir/dist" ]; then
104
_pkgdir="$_pkgdir/dist"
105
else
106
_pkgdir="Vantage/dist"
107
fi
108
mkdir -p "$pkgdir/usr/lib"
109
cp -a "$_pkgdir" "$pkgdir/usr/lib/vantage" 2>/dev/null || cp -a librewolf-*/dist/* "$pkgdir/usr/lib/vantage/" 2>/dev/null || true
110
else
111
mkdir -p "$pkgdir/usr/lib"
112
bsdtar -xf "$_pkg" -C "$pkgdir/usr/lib"
113
# 解压后通常为 vantage 目录,重命名
114
if [ -d "$pkgdir/usr/lib/vantage" ]; then
115
:
116
else
117
_extracted=$(ls "$pkgdir/usr/lib" | head -1)
118
mv "$pkgdir/usr/lib/$_extracted" "$pkgdir/usr/lib/vantage" 2>/dev/null || true
119
fi
120
fi
121
122
# 安装桌面文件与图标(若源码中存在)
123
if [ -f "browser/branding/vantage/default16.png" ]; then
124
install -Dm644 browser/branding/vantage/default16.png "$pkgdir/usr/share/pixmaps/vantage.png"
125
fi
126
install -Dm644 /dev/stdin "$pkgdir/usr/share/applications/vantage.desktop" <<'DESKTOP'
127
[Desktop Entry]
128
Name=Vantage
129
GenericName=Web Browser
130
Comment=Vantage Browser - Privacy, Fast, Easy
131
Exec=/usr/lib/vantage/vantage %u
132
Icon=vantage
133
Terminal=false
134
Type=Application
135
Categories=Network;WebBrowser;
136
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
137
StartupNotify=true
138
DESKTOP
139
140
# 符号链接
141
mkdir -p "$pkgdir/usr/bin"
142
ln -s /usr/lib/vantage/vantage "$pkgdir/usr/bin/vantage"
143
144
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
145
}
146
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-11 15:22:58 | Low | 2 |