[arch-commits] Commit in meshbird/repos (8 files)

Felix Yan felixonmars at archlinux.org
Thu Jul 20 15:16:08 UTC 2017


    Date: Thursday, July 20, 2017 @ 15:16:08
  Author: felixonmars
Revision: 245823

archrelease: copy trunk to community-i686, community-x86_64

Added:
  meshbird/repos/community-i686/
  meshbird/repos/community-i686/PKGBUILD
    (from rev 245822, meshbird/trunk/PKGBUILD)
  meshbird/repos/community-i686/meshbird.conf
    (from rev 245822, meshbird/trunk/meshbird.conf)
  meshbird/repos/community-i686/meshbird.service
    (from rev 245822, meshbird/trunk/meshbird.service)
  meshbird/repos/community-x86_64/
  meshbird/repos/community-x86_64/PKGBUILD
    (from rev 245822, meshbird/trunk/PKGBUILD)
  meshbird/repos/community-x86_64/meshbird.conf
    (from rev 245822, meshbird/trunk/meshbird.conf)
  meshbird/repos/community-x86_64/meshbird.service
    (from rev 245822, meshbird/trunk/meshbird.service)

-----------------------------------+
 community-i686/PKGBUILD           |   37 ++++++++++++++++++++++++++++++++++++
 community-i686/meshbird.conf      |    1 
 community-i686/meshbird.service   |   11 ++++++++++
 community-x86_64/PKGBUILD         |   37 ++++++++++++++++++++++++++++++++++++
 community-x86_64/meshbird.conf    |    1 
 community-x86_64/meshbird.service |   11 ++++++++++
 6 files changed, 98 insertions(+)

Copied: meshbird/repos/community-i686/PKGBUILD (from rev 245822, meshbird/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-07-20 15:16:08 UTC (rev 245823)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=meshbird
+pkgver=0.2
+pkgrel=1
+pkgdesc="GO Simple Tunnel"
+arch=('i686' 'x86_64')
+url="https://github.com/meshbird/meshbird"
+license=('Apache')
+depends=('glibc')
+makedepends=('git' 'go')
+backup=(etc/meshbird.conf)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/meshbird/meshbird/archive/v$pkgver.tar.gz"
+        meshbird.service meshbird.conf)
+md5sums=('989a59013a4bb0da94e31ea08fe6e8ba'
+         'c8947f4684023c7e9eb2a9f6634ed5a9'
+         '4e7d7a2569f88a8eecda6cddac939d4a')
+
+prepare() {
+  mkdir .gopath
+  export GOPATH="$srcdir"/.gopath
+
+  go get github.com/codegangsta/cli github.com/meshbird/meshbird
+}
+
+build() {
+  cd meshbird-$pkgver
+  go build # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd meshbird-$pkgver
+  install -Dm755 meshbird-$pkgver "$pkgdir"/usr/bin/meshbird
+  install -Dm644 "$srcdir"/meshbird.service "$pkgdir"/usr/lib/systemd/system/meshbird.service
+  install -Dm644 "$srcdir"/meshbird.conf "$pkgdir"/etc/meshbird.conf
+}

Copied: meshbird/repos/community-i686/meshbird.conf (from rev 245822, meshbird/trunk/meshbird.conf)
===================================================================
--- community-i686/meshbird.conf	                        (rev 0)
+++ community-i686/meshbird.conf	2017-07-20 15:16:08 UTC (rev 245823)
@@ -0,0 +1 @@
+MESHBIRD_KEY="CHANGE_THIS"

Copied: meshbird/repos/community-i686/meshbird.service (from rev 245822, meshbird/trunk/meshbird.service)
===================================================================
--- community-i686/meshbird.service	                        (rev 0)
+++ community-i686/meshbird.service	2017-07-20 15:16:08 UTC (rev 245823)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Meshbird Service
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/meshbird.conf
+ExecStart=/usr/bin/meshbird join
+
+[Install]
+WantedBy=multi-user.target

Copied: meshbird/repos/community-x86_64/PKGBUILD (from rev 245822, meshbird/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-07-20 15:16:08 UTC (rev 245823)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=meshbird
+pkgver=0.2
+pkgrel=1
+pkgdesc="GO Simple Tunnel"
+arch=('i686' 'x86_64')
+url="https://github.com/meshbird/meshbird"
+license=('Apache')
+depends=('glibc')
+makedepends=('git' 'go')
+backup=(etc/meshbird.conf)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/meshbird/meshbird/archive/v$pkgver.tar.gz"
+        meshbird.service meshbird.conf)
+md5sums=('989a59013a4bb0da94e31ea08fe6e8ba'
+         'c8947f4684023c7e9eb2a9f6634ed5a9'
+         '4e7d7a2569f88a8eecda6cddac939d4a')
+
+prepare() {
+  mkdir .gopath
+  export GOPATH="$srcdir"/.gopath
+
+  go get github.com/codegangsta/cli github.com/meshbird/meshbird
+}
+
+build() {
+  cd meshbird-$pkgver
+  go build # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd meshbird-$pkgver
+  install -Dm755 meshbird-$pkgver "$pkgdir"/usr/bin/meshbird
+  install -Dm644 "$srcdir"/meshbird.service "$pkgdir"/usr/lib/systemd/system/meshbird.service
+  install -Dm644 "$srcdir"/meshbird.conf "$pkgdir"/etc/meshbird.conf
+}

Copied: meshbird/repos/community-x86_64/meshbird.conf (from rev 245822, meshbird/trunk/meshbird.conf)
===================================================================
--- community-x86_64/meshbird.conf	                        (rev 0)
+++ community-x86_64/meshbird.conf	2017-07-20 15:16:08 UTC (rev 245823)
@@ -0,0 +1 @@
+MESHBIRD_KEY="CHANGE_THIS"

Copied: meshbird/repos/community-x86_64/meshbird.service (from rev 245822, meshbird/trunk/meshbird.service)
===================================================================
--- community-x86_64/meshbird.service	                        (rev 0)
+++ community-x86_64/meshbird.service	2017-07-20 15:16:08 UTC (rev 245823)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Meshbird Service
+After=network.target
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/meshbird.conf
+ExecStart=/usr/bin/meshbird join
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list