[arch-commits] Commit in tailscale/repos/community-x86_64 (4 files)
Morten Linderud
foxboron at archlinux.org
Thu May 6 21:01:35 UTC 2021
Date: Thursday, May 6, 2021 @ 21:01:35
Author: foxboron
Revision: 928540
archrelease: copy trunk to community-x86_64
Added:
tailscale/repos/community-x86_64/PKGBUILD
(from rev 928539, tailscale/trunk/PKGBUILD)
tailscale/repos/community-x86_64/tailscale.install
(from rev 928539, tailscale/trunk/tailscale.install)
Deleted:
tailscale/repos/community-x86_64/PKGBUILD
tailscale/repos/community-x86_64/tailscale.install
-------------------+
PKGBUILD | 118 ++++++++++++++++++++++++++--------------------------
tailscale.install | 24 +++++-----
2 files changed, 71 insertions(+), 71 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-06 21:01:26 UTC (rev 928539)
+++ PKGBUILD 2021-05-06 21:01:35 UTC (rev 928540)
@@ -1,59 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: David Anderson <dave at natulte.net>
-
-pkgname=tailscale
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="A mesh VPN that makes it easy to connect your devices, wherever they are."
-arch=("x86_64")
-url="https://tailscale.com"
-license=("MIT")
-makedepends=("git" "go")
-depends=("glibc")
-backup=("etc/default/tailscaled")
-_commit=ddc975fcb268a06dc39923ec5db93f1c95b8cfc4 #refs/tags/v1.6.0^{}
-source=("git+https://github.com/tailscale/tailscale.git#commit=${_commit}")
-sha256sums=('SKIP')
-install="tailscale.install"
-
-pkgver() {
- cd "${pkgname}"
- git describe --tags | sed 's/^[vV]//;s/-/+/g'
-}
-
-prepare() {
- cd "${pkgname}"
- go mod vendor
-}
-
-build() {
- cd "${pkgname}"
- eval "$(./version/version.sh)"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
- GO_LDFLAGS="\
- -linkmode=external \
- -X tailscale.com/version.Long=${VERSION_LONG} \
- -X tailscale.com/version.Short=${VERSION_SHORT} \
- -X tailscale.com/version.GitCommit=${VERSION_GIT_HASH}"
- for cmd in ./cmd/tailscale ./cmd/tailscaled; do
- go build -v -tags xversion -ldflags "$GO_LDFLAGS" "$cmd"
- done
-}
-
-#TODO: Figure out why tests are failing
-# check() {
-# cd "${pkgname}"
-# go test $(go list ./... | grep -v tsdns_test)
-# }
-
-package() {
- cd "${pkgname}"
- install -Dm755 tailscale tailscaled -t "$pkgdir/usr/bin"
- install -Dm644 cmd/tailscaled/tailscaled.defaults "$pkgdir/etc/default/tailscaled"
- install -Dm644 cmd/tailscaled/tailscaled.service -t "$pkgdir/usr/lib/systemd/system"
- install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
-}
Copied: tailscale/repos/community-x86_64/PKGBUILD (from rev 928539, tailscale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-06 21:01:35 UTC (rev 928540)
@@ -0,0 +1,59 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: David Anderson <dave at natulte.net>
+
+pkgname=tailscale
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="A mesh VPN that makes it easy to connect your devices, wherever they are."
+arch=("x86_64")
+url="https://tailscale.com"
+license=("MIT")
+makedepends=("git" "go")
+depends=("glibc")
+backup=("etc/default/tailscaled")
+_commit=e7899afbf606a508750a22147177b7b62313751a #refs/tags/v1.8.0^{}
+source=("git+https://github.com/tailscale/tailscale.git#commit=${_commit}")
+sha256sums=('SKIP')
+install="tailscale.install"
+
+pkgver() {
+ cd "${pkgname}"
+ git describe --tags | sed 's/^[vV]//;s/-/+/g'
+}
+
+prepare() {
+ cd "${pkgname}"
+ go mod vendor
+}
+
+build() {
+ cd "${pkgname}"
+ eval "$(./version/version.sh)"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ GO_LDFLAGS="\
+ -linkmode=external \
+ -X tailscale.com/version.Long=${VERSION_LONG} \
+ -X tailscale.com/version.Short=${VERSION_SHORT} \
+ -X tailscale.com/version.GitCommit=${VERSION_GIT_HASH}"
+ for cmd in ./cmd/tailscale ./cmd/tailscaled; do
+ go build -v -tags xversion -ldflags "$GO_LDFLAGS" "$cmd"
+ done
+}
+
+#TODO: Figure out why tests are failing
+# check() {
+# cd "${pkgname}"
+# go test $(go list ./... | grep -v tsdns_test)
+# }
+
+package() {
+ cd "${pkgname}"
+ install -Dm755 tailscale tailscaled -t "$pkgdir/usr/bin"
+ install -Dm644 cmd/tailscaled/tailscaled.defaults "$pkgdir/etc/default/tailscaled"
+ install -Dm644 cmd/tailscaled/tailscaled.service -t "$pkgdir/usr/lib/systemd/system"
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}
Deleted: tailscale.install
===================================================================
--- tailscale.install 2021-05-06 21:01:26 UTC (rev 928539)
+++ tailscale.install 2021-05-06 21:01:35 UTC (rev 928540)
@@ -1,12 +0,0 @@
-# -*- mode: shell-script -*-
-
-post_install() {
- echo -e "\n\e[1m Tailscale $1\e[0m\n"
- cat <<EOF
-To start using Tailscale:
-
- sudo systemctl enable --now tailscaled.service
- sudo tailscale up
-
-EOF
-}
Copied: tailscale/repos/community-x86_64/tailscale.install (from rev 928539, tailscale/trunk/tailscale.install)
===================================================================
--- tailscale.install (rev 0)
+++ tailscale.install 2021-05-06 21:01:35 UTC (rev 928540)
@@ -0,0 +1,12 @@
+# -*- mode: shell-script -*-
+
+post_install() {
+ echo -e "\n\e[1m Tailscale $1\e[0m\n"
+ cat <<EOF
+To start using Tailscale:
+
+ sudo systemctl enable --now tailscaled.service
+ sudo tailscale up
+
+EOF
+}
More information about the arch-commits
mailing list