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

Morten Linderud foxboron at gemini.archlinux.org
Sat Jul 17 08:32:27 UTC 2021


    Date: Saturday, July 17, 2021 @ 08:32:27
  Author: foxboron
Revision: 978002

archrelease: copy trunk to community-x86_64

Added:
  tailscale/repos/community-x86_64/PKGBUILD
    (from rev 978001, tailscale/trunk/PKGBUILD)
  tailscale/repos/community-x86_64/tailscale.install
    (from rev 978001, 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-07-17 08:32:18 UTC (rev 978001)
+++ PKGBUILD	2021-07-17 08:32:27 UTC (rev 978002)
@@ -1,59 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: David Anderson <dave at natulte.net>
-
-pkgname=tailscale
-pkgver=1.10.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=cd3fd076cc7952724f38fb4af24b349879d7145d	#refs/tags/v1.10.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 978001, tailscale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-17 08:32:27 UTC (rev 978002)
@@ -0,0 +1,59 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: David Anderson <dave at natulte.net>
+
+pkgname=tailscale
+pkgver=1.10.2
+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=36fe8addc39281423576c9011e81ce714b6f8e44	#refs/tags/v1.10.2^{}
+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-07-17 08:32:18 UTC (rev 978001)
+++ tailscale.install	2021-07-17 08:32:27 UTC (rev 978002)
@@ -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 978001, tailscale/trunk/tailscale.install)
===================================================================
--- tailscale.install	                        (rev 0)
+++ tailscale.install	2021-07-17 08:32:27 UTC (rev 978002)
@@ -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