tg-ws-proxy-rs
LOW
maintainer Emilia228x
1 votes
scanned 2026-09-18 15:28:46.039977
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>
2
pkgname=tg-ws-proxy-rs
3
pkgver=2.3.3
4
pkgrel=1
5
pkgdesc="Telegram MTProto WebSocket Bridge Proxy in Rust"
6
arch=('x86_64')
7
url="https://github.com/valnesfjord/tg-ws-proxy-rs"
8
license=('MIT')
9
depends=('gcc-libs' 'glibc')
10
makedepends=('cargo' 'git' 'perl')
11
provides=('tg-ws-proxy')
12
conflicts=('tg-ws-proxy' 'tg-ws-proxy-bin' 'tg-ws-proxy-cli' 'tg-ws-proxy-git')
13
source=("git+https://github.com/valnesfjord/tg-ws-proxy-rs.git#tag=v${pkgver}")
14
sha256sums=('SKIP')
15
options=('!lto')
16
17
_target="${CARCH}-unknown-linux-gnu"
18
19
prepare() {
20
cd "$pkgname"
21
export CARGO_HOME="${srcdir}/cargo-home"
22
cargo fetch --locked --target "$_target"
23
}
24
25
build() {
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
34
check() {
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
42
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-09-18 15:28:46 | Low | 1 |