tg-ws-proxy-rs

LOW
maintainer Emilia228x 1 votes scanned 2026-09-18 15:28:46.039977
View on AUR
Why flagged

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

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.

PKGBUILD

1# Maintainer: Em Ayupov <gasd228337@gmail.com>
2pkgname=tg-ws-proxy-rs
3pkgver=2.3.3
4pkgrel=1
5pkgdesc="Telegram MTProto WebSocket Bridge Proxy in Rust"
6arch=('x86_64')
7url="https://github.com/valnesfjord/tg-ws-proxy-rs"
8license=('MIT')
9depends=('gcc-libs' 'glibc')
10makedepends=('cargo' 'git' 'perl')
11provides=('tg-ws-proxy')
12conflicts=('tg-ws-proxy' 'tg-ws-proxy-bin' 'tg-ws-proxy-cli' 'tg-ws-proxy-git')
13source=("git+https://github.com/valnesfjord/tg-ws-proxy-rs.git#tag=v${pkgver}")
14sha256sums=('SKIP')
15options=('!lto')
16
17_target="${CARCH}-unknown-linux-gnu"
18
19prepare() {
20 cd "$pkgname"
21 export CARGO_HOME="${srcdir}/cargo-home"
22 cargo fetch --locked --target "$_target"
23}
24
25build() {
26 cd "$pkgname"
27 export CARGO_HOME="${srcdir}/cargo-home"
28 export CC="gcc"
29 export AR="ar"
30 rm -rf target/
31 cargo build --frozen --release --target "$_target"
32}
33
34check() {
35 cd "$pkgname"
36 export CARGO_HOME="${srcdir}/cargo-home"
37 export CC="gcc"
38 export AR="ar"
39 cargo test --frozen --target "$_target"
40}
41
42package() {
43 cd "$pkgname"
44 install -Dm755 "target/${_target}/release/tg-ws-proxy" "$pkgdir/usr/bin/tg-ws-proxy"
45 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
46}
47

Scan history

Scanned at (UTC)SeverityRules
2026-09-18 15:28:46 Low 1

Report a package

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

0 / 4000
Your suggestion