lsoff
maintainer Dominiquini
· 1 votes
· scanned 2026-08-18 05:38:33.671963
LOW
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: Rafael Dominiquini <rafaeldominiquini at gmail dot com>
2
3
_gitauthor=yutat23
4
_gitname=lsoff
5
_appname=${_gitname}
6
pkgname=${_appname}
7
pkgdesc="CLI / TUI that lists listening TCP/UDP ports"
8
9
pkgver=0.1.3
10
pkgrel=1
11
_gitversion=v${pkgver}
12
13
arch=('x86_64' 'aarch64')
14
_barch=('linux-amd64' 'linux-arm64')
15
16
_ghurl="https://github.com/${_gitauthor}/${_gitname}"
17
_ghurlraw="https://raw.githubusercontent.com/${_gitauthor}/${_gitname}/${_gitversion}"
18
url=${_ghurl}
19
20
license=('MIT')
21
22
makedepends=('go')
23
provides=("${_appname}")
24
25
options=('!strip')
26
27
source=("${pkgname}-${pkgver}.tgz::${_ghurl}/archive/${_gitversion}.tar.gz")
28
sha256sums=('f3fd70ef007e74ec954a1382c3a362355d1837a0d5537b0e2ca604fddcd399ef')
29
30
31
prepare() {
32
cd "${srcdir}/${pkgname}-${pkgver}"
33
34
go mod tidy
35
}
36
37
build() {
38
cd "${srcdir}/${pkgname}-${pkgver}"
39
40
export CGO_ENABLED=0
41
42
if [[ -f .ldflags ]]; then
43
ldflags=$(<.ldflags)
44
else
45
# interim until commit fix is released
46
ldflags="-checklinkname=0"
47
fi
48
49
go build -trimpath -ldflags "${ldflags}" -o "${pkgname}" ./
50
}
51
52
package() {
53
cd ${srcdir}/${pkgname}-${pkgver} || exit 1
54
55
install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
56
57
install -Dm644 "README.md" "${pkgdir}/usr/share/doc/${pkgname}/README.md"
58
59
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
60
}
61
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-18 05:38:33 | LOW | 1 |