endlessh-go

LOW
maintainer SteamedFish 0 votes scanned 2026-10-17 15:18:35.857371
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: SteamedFish <steamedfish@hotmail.com>
2
3pkgname=endlessh-go
4pkgver=2026.0730.0
5pkgrel=2
6pkgdesc='SSH tarpit that slowly sends an endless banner, with Prometheus metrics (Go implementation)'
7arch=('x86_64' 'aarch64')
8url='https://github.com/shizunge/endlessh-go'
9license=('GPL-3.0-only')
10depends=('glibc')
11makedepends=('go')
12source=("$pkgname-$pkgver.tar.gz::https://github.com/shizunge/endlessh-go/archive/refs/tags/$pkgver.tar.gz"
13 'endlessh-go.service')
14sha256sums=('77a401ce3fdfb70e76312e5f1d57de877eb23ccfa58c8e2320b8da6d1b716f2c'
15 'f011c5c6955ebc74a3acf6a89c2bfff31af83da2b99f28290f7032d4471db0ca')
16
17build() {
18 cd "$pkgname-$pkgver"
19 export CGO_CPPFLAGS="$CPPFLAGS"
20 export CGO_CFLAGS="$CFLAGS"
21 export CGO_CXXFLAGS="$CXXFLAGS"
22 export CGO_LDFLAGS="$LDFLAGS"
23 export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
24 go build -o endlessh-go .
25}
26
27check() {
28 cd "$pkgname-$pkgver"
29 go test ./...
30}
31
32package() {
33 cd "$pkgname-$pkgver"
34 install -Dm755 endlessh-go "$pkgdir/usr/bin/endlessh-go"
35 install -Dm644 "$srcdir/endlessh-go.service" "$pkgdir/usr/lib/systemd/system/endlessh-go.service"
36 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
37 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
38}
39

Scan history

Scanned at (UTC)SeverityRules
2026-10-17 15:18:35 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