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

Morten Linderud foxboron at archlinux.org
Wed Feb 10 22:26:49 UTC 2021


    Date: Wednesday, February 10, 2021 @ 22:26:49
  Author: foxboron
Revision: 854446

archrelease: copy trunk to community-x86_64

Added:
  tailscale/repos/community-x86_64/PKGBUILD
    (from rev 854445, tailscale/trunk/PKGBUILD)
  tailscale/repos/community-x86_64/tailscale.install
    (from rev 854445, 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-02-10 22:26:39 UTC (rev 854445)
+++ PKGBUILD	2021-02-10 22:26:49 UTC (rev 854446)
@@ -1,59 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: David Anderson <dave at natulte.net>
-
-pkgname=tailscale
-pkgver=1.4.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=d2c1ae7ed4e3548a505e4e844f8a1a874633067f	#refs/tags/v1.4.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"
-}

Copied: tailscale/repos/community-x86_64/PKGBUILD (from rev 854445, tailscale/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-10 22:26:49 UTC (rev 854446)
@@ -0,0 +1,59 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: David Anderson <dave at natulte.net>
+
+pkgname=tailscale
+pkgver=1.4.4
+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=64a9656c01754b6652994cb3a8ef59bce1246cfc	#refs/tags/v1.4.4^{}
+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-02-10 22:26:39 UTC (rev 854445)
+++ tailscale.install	2021-02-10 22:26:49 UTC (rev 854446)
@@ -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 854445, tailscale/trunk/tailscale.install)
===================================================================
--- tailscale.install	                        (rev 0)
+++ tailscale.install	2021-02-10 22:26:49 UTC (rev 854446)
@@ -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