[arch-commits] Commit in tailscale/repos/community-x86_64 (4 files)

Morten Linderud foxboron at archlinux.org
Tue May 11 15:08:52 UTC 2021


    Date: Tuesday, May 11, 2021 @ 15:08:52
  Author: foxboron
Revision: 930192

archrelease: copy trunk to community-x86_64

Added:
  tailscale/repos/community-x86_64/PKGBUILD
    (from rev 930191, tailscale/trunk/PKGBUILD)
  tailscale/repos/community-x86_64/tailscale.install
    (from rev 930191, 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-11 15:08:42 UTC (rev 930191)
+++ PKGBUILD	2021-05-11 15:08:52 UTC (rev 930192)
@@ -1,59 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: David Anderson <dave at natulte.net>
-
-pkgname=tailscale
-pkgver=1.8.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=fbfdcc56edb92066ef6dbaa1ae9d9bffa5455757	#refs/tags/v1.8.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"
-}

Copied: tailscale/repos/community-x86_64/PKGBUILD (from rev 930191, tailscale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-11 15:08:52 UTC (rev 930192)
@@ -0,0 +1,59 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: David Anderson <dave at natulte.net>
+
+pkgname=tailscale
+pkgver=1.8.3
+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=d0e86b08c99d23686e2c2416f1e3c93d5c00863a    #refs/tags/v1.8.3^{}
+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-11 15:08:42 UTC (rev 930191)
+++ tailscale.install	2021-05-11 15:08:52 UTC (rev 930192)
@@ -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 930191, tailscale/trunk/tailscale.install)
===================================================================
--- tailscale.install	                        (rev 0)
+++ tailscale.install	2021-05-11 15:08:52 UTC (rev 930192)
@@ -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