[arch-commits] Commit in tailscale/repos/community-x86_64 (4 files)
Morten Linderud
foxboron at archlinux.org
Thu Jan 28 23:02:27 UTC 2021
Date: Thursday, January 28, 2021 @ 23:02:26
Author: foxboron
Revision: 833551
archrelease: copy trunk to community-x86_64
Added:
tailscale/repos/community-x86_64/PKGBUILD
(from rev 833550, tailscale/trunk/PKGBUILD)
tailscale/repos/community-x86_64/tailscale.install
(from rev 833550, 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-01-28 23:02:18 UTC (rev 833550)
+++ PKGBUILD 2021-01-28 23:02:26 UTC (rev 833551)
@@ -1,59 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: David Anderson <dave at natulte.net>
-
-pkgname=tailscale
-pkgver=1.4.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=3d7cff91b36ceeba4f3457ccef006fe75f4d42c4 #refs/tags/v1.4.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 833550, tailscale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-28 23:02:26 UTC (rev 833551)
@@ -0,0 +1,59 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: David Anderson <dave at natulte.net>
+
+pkgname=tailscale
+pkgver=1.4.1
+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=dde7ba4ecfa6dd044255047c9e8157448d6eba4a #refs/tags/v1.4.1^{}
+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-01-28 23:02:18 UTC (rev 833550)
+++ tailscale.install 2021-01-28 23:02:26 UTC (rev 833551)
@@ -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 833550, tailscale/trunk/tailscale.install)
===================================================================
--- tailscale.install (rev 0)
+++ tailscale.install 2021-01-28 23:02:26 UTC (rev 833551)
@@ -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