tailcat-git

LOW
maintainer barbuk 0 votes scanned 2026-08-27 09:31:53.985574
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: Julien Virey <julien.virey+aur@gmail.com>
2
3pkgname=tailcat-git
4pkgver=c04c5afee
5pkgrel=1
6pkgdesc="like netcat, but over Tailscale's data plane, without Tailscale's control plane"
7url='https://github.com/tailscale/tailcat'
8arch=(aarch64 x86_64)
9license=(BSD-3-Clause)
10depends=(glibc)
11makedepends=(git go)
12provides=("${pkgname%-git}")
13conflicts=("${pkgname%-git}")
14source=("$pkgname::git+$url.git")
15sha256sums=('SKIP')
16
17pkgver() {
18 cd "$pkgname"
19 git describe --long --always | sed 's/^v//; s/-/.r/; s/-/./'
20}
21
22prepare() {
23 cd "$pkgname"
24 export GOMODCACHE="${GOMODCACHE:-$srcdir/gomod}"
25 go mod download -modcacherw
26}
27
28build() {
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
39package() {
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)SeverityRules
2026-08-27 09:31:53 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