pcw-backend
LOW
maintainer n1ret
0 votes
scanned 2026-10-17 13:18:05.291310
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
pkgname=pcw-backend
2
pkgver=0.1.0
3
pkgrel=1
4
pkgdesc="Backend for ProxyCoreWrapper"
5
url='https://github.com/ProxyCoreWrapper/backend'
6
arch=('x86_64')
7
license=('MIT OR Apache-2.0')
8
9
depends=('glibc' 'systemd')
10
makedepends=('git' 'rust')
11
12
source=("git+https://github.com/ProxyCoreWrapper/backend.git")
13
sha256sums=('SKIP')
14
15
prepare() {
16
cd "$srcdir/backend"
17
git submodule update --init --recursive
18
}
19
20
build() {
21
cd backend
22
cargo build --frozen --release
23
}
24
25
package() {
26
install -Dm755 "$srcdir/backend/target/release/pcw-backend" \
27
"$pkgdir/usr/bin/pcw-backend"
28
29
install -Dm644 /dev/stdin "$pkgdir/usr/lib/systemd/system/pcw-backend.service" <<EOF
30
[Unit]
31
Description=ProxyCoreWrapper backend
32
After=network.target
33
34
[Service]
35
Type=simple
36
User=root
37
Group=pcw
38
ConfigurationDirectory=PCW
39
RuntimeDirectory=PCW
40
StateDirectory=pcw-backend
41
ExecStart=/usr/bin/pcw-backend
42
Restart=on-failure
43
UMask=007
44
45
[Install]
46
WantedBy=multi-user.target
47
EOF
48
49
install -Dm644 /dev/stdin \
50
"$pkgdir/usr/lib/sysusers.d/pcw-backend.conf" <<EOF
51
g pcw
52
EOF
53
54
install -Dm644 "$srcdir/backend/LICENSE-MIT" "$srcdir/backend/LICENSE-APACHE" -t "$pkgdir/usr/share/licenses/$pkgname/"
55
}
56
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-17 13:18:05 | Low | 1 |
| 2026-10-17 00:21:55 | Clean | 2 |
| 2026-10-16 19:16:12 | Low | 1 |