tailcat-git
LOW
maintainer barbuk
0 votes
scanned 2026-08-27 09:31:53.985574
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: Julien Virey <julien.virey+aur@gmail.com>
2
3
pkgname=tailcat-git
4
pkgver=c04c5afee
5
pkgrel=1
6
pkgdesc="like netcat, but over Tailscale's data plane, without Tailscale's control plane"
7
url='https://github.com/tailscale/tailcat'
8
arch=(aarch64 x86_64)
9
license=(BSD-3-Clause)
10
depends=(glibc)
11
makedepends=(git go)
12
provides=("${pkgname%-git}")
13
conflicts=("${pkgname%-git}")
14
source=("$pkgname::git+$url.git")
15
sha256sums=('SKIP')
16
17
pkgver() {
18
cd "$pkgname"
19
git describe --long --always | sed 's/^v//; s/-/.r/; s/-/./'
20
}
21
22
prepare() {
23
cd "$pkgname"
24
export GOMODCACHE="${GOMODCACHE:-$srcdir/gomod}"
25
go mod download -modcacherw
26
}
27
28
build() {
29
cd "$pkgname/cmd/${pkgname%-git}"
30
export CGO_CPPFLAGS="${CPPFLAGS}"
31
export CGO_CFLAGS="${CFLAGS}"
32
export CGO_CXXFLAGS="${CXXFLAGS}"
33
export CGO_LDFLAGS="${LDFLAGS}"
34
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
35
36
go build -o "${pkgname%-git}" .
37
}
38
39
package() {
40
cd "$pkgname"
41
install -Dm755 "cmd/${pkgname%-git}/${pkgname%-git}" "$pkgdir/usr/bin/${pkgname%-git}"
42
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
43
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
44
45
go clean -modcache
46
}
47
48
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-27 09:31:53 | Low | 1 |