endlessh-go
LOW
maintainer SteamedFish
0 votes
scanned 2026-10-17 15:18:35.857371
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
3
pkgname=endlessh-go
4
pkgver=2026.0730.0
5
pkgrel=2
6
pkgdesc='SSH tarpit that slowly sends an endless banner, with Prometheus metrics (Go implementation)'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/shizunge/endlessh-go'
9
license=('GPL-3.0-only')
10
depends=('glibc')
11
makedepends=('go')
12
source=("$pkgname-$pkgver.tar.gz::https://github.com/shizunge/endlessh-go/archive/refs/tags/$pkgver.tar.gz"
13
'endlessh-go.service')
14
sha256sums=('77a401ce3fdfb70e76312e5f1d57de877eb23ccfa58c8e2320b8da6d1b716f2c'
15
'f011c5c6955ebc74a3acf6a89c2bfff31af83da2b99f28290f7032d4471db0ca')
16
17
build() {
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
27
check() {
28
cd "$pkgname-$pkgver"
29
go test ./...
30
}
31
32
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-17 15:18:35 | Low | 1 |