kcxy-wifi

LOW
maintainer orphaned 0 votes scanned 2026-10-22 05:34:05.500565
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: illusory <becomeillusory@gmail.com>
2pkgname=kcxy-wifi
3pkgver=1.0.1
4pkgrel=1
5pkgdesc="河南开封科技传媒学院校园网(锐捷 RG-SAM+ eportal)自动认证与掉线重连"
6arch=('x86_64' 'aarch64' 'armv7h')
7url="https://github.com/Become-ILLUSORY/kcxy-wifi"
8license=('MIT')
9depends=('glibc')
10makedepends=('go')
11backup=('etc/kcxy-wifi/config.ini' 'etc/kcxy-wifi/accounts.json')
12source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
13 "$url/raw/v$pkgver/kcxy-wifi.service"
14 "$url/raw/v$pkgver/kcxy-wifi@.service"
15 "$url/raw/v$pkgver/LICENSE")
16sha256sums=('ed9646478faa81c251d003fb0263ed7fbfe49824ac098cb67cefa8356122c3e1'
17 '6c31aca36f7aad6d69965089494187b15136effe227d50f987443e52b02b5210'
18 '6b685e40746940d434b516da0567878b0e046e8b35dddf65ac90316e17966089'
19 'ebd433f2a76a203420f6d8608bce6b9acdd72b780309ed9f1e180686a3ad6fd5')
20
21build() {
22 cd "$pkgname-$pkgver"
23 export CGO_ENABLED=0
24 go build -trimpath \
25 -ldflags "-s -w -X main.version=$pkgver" \
26 -o kcxy-wifi .
27}
28
29check() {
30 cd "$pkgname-$pkgver"
31 go test ./...
32}
33
34package() {
35 cd "$pkgname-$pkgver"
36
37 install -Dm755 kcxy-wifi "$pkgdir/usr/bin/kcxy-wifi"
38 install -Dm644 "$srcdir/kcxy-wifi.service" "$pkgdir/usr/lib/systemd/system/kcxy-wifi.service"
39 install -Dm644 "$srcdir/kcxy-wifi@.service" "$pkgdir/usr/lib/systemd/system/kcxy-wifi@.service"
40 install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
41
42 # 配置文件放 /etc 并列入 backup,升级时保留用户修改
43 install -Dm644 config.example.ini "$pkgdir/etc/kcxy-wifi/config.ini"
44 install -Dm644 accounts.example.json "$pkgdir/etc/kcxy-wifi/accounts.json"
45 chmod 600 "$pkgdir/etc/kcxy-wifi/accounts.json"
46}
47

Scan history

Scanned at (UTC)SeverityRules
2026-10-22 05:34:05 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