pcw-backend

LOW
maintainer n1ret 0 votes scanned 2026-10-17 13:18:05.291310
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

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