neossh
LOW
maintainer pqatsi
0 votes
scanned 2026-09-21 13:34:51.671275
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
# Based on work of neossh maintainer: Andy Kelk <andy@andykelk.net>
2
# Maintainer: Leonardo Amaral <archlinux@leonardoamaral.com.br>
3
4
pkgname=neossh
5
pkgver=1.0.0
6
pkgrel=1
7
pkgdesc='An actively maintained fork and continuation of lazyssh'
8
arch=('x86_64' 'aarch64')
9
url='https://github.com/WhiteRoseLK/neossh'
10
license=('MIT')
11
makedepends=('go')
12
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
13
sha256sums=('6d96bef14e3269c33c59cc28b942a94bb0471e45a8752d5c853dae734f3a969d')
14
15
prepare() {
16
cd "$pkgname-$pkgver"
17
mkdir -p build/
18
}
19
20
build() {
21
cd "$pkgname-$pkgver"
22
export CGO_CPPFLAGS="${CPPFLAGS}"
23
export CGO_CFLAGS="${CFLAGS}"
24
export CGO_CXXFLAGS="${CXXFLAGS}"
25
export CGO_LDFLAGS="${LDFLAGS}"
26
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
27
28
go build -o build/$pkgname -ldflags "-X main.version=$pkgver" ./cmd/
29
}
30
31
check() {
32
cd "$pkgname-$pkgver"
33
go test ./...
34
}
35
36
package() {
37
cd "$pkgname-$pkgver"
38
install -Dm755 "build/$pkgname" "$pkgdir/usr/bin/$pkgname"
39
40
# Install license if it exists
41
if [ -f LICENSE ]; then
42
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43
fi
44
45
# Install documentation
46
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
47
}
48
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 13:34:51 | Low | 1 |