[arch-commits] Commit in gost/repos (6 files)

Felix Yan fyan at archlinux.org
Mon May 2 15:01:21 UTC 2016


    Date: Monday, May 2, 2016 @ 17:01:21
  Author: fyan
Revision: 173380

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

Added:
  gost/repos/community-staging-i686/
  gost/repos/community-staging-i686/LICENSE
    (from rev 173379, gost/trunk/LICENSE)
  gost/repos/community-staging-i686/PKGBUILD
    (from rev 173379, gost/trunk/PKGBUILD)
  gost/repos/community-staging-x86_64/
  gost/repos/community-staging-x86_64/LICENSE
    (from rev 173379, gost/trunk/LICENSE)
  gost/repos/community-staging-x86_64/PKGBUILD
    (from rev 173379, gost/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/LICENSE    |   22 +++++++++++++++++++
 community-staging-i686/PKGBUILD   |   40 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/LICENSE  |   22 +++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++
 4 files changed, 124 insertions(+)

Copied: gost/repos/community-staging-i686/LICENSE (from rev 173379, gost/trunk/LICENSE)
===================================================================
--- community-staging-i686/LICENSE	                        (rev 0)
+++ community-staging-i686/LICENSE	2016-05-02 15:01:21 UTC (rev 173380)
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 郑锐
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+

Copied: gost/repos/community-staging-i686/PKGBUILD (from rev 173379, gost/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-02 15:01:21 UTC (rev 173380)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=gost
+pkgver=2.0rc3
+_tag=2.0-rc3
+pkgrel=1
+pkgdesc="GO Simple Tunnel"
+arch=('i686' 'x86_64')
+url="https://github.com/ginuerzh/gost"
+license=('MIT')
+depends=('gcc-libs>=5.3.0-3')
+makedepends=('git' 'mercurial' 'gcc-go')
+source=("git+https://github.com/ginuerzh/gost.git#tag=$_tag"
+        LICENSE)
+md5sums=('SKIP'
+         '24a6686f7498d7af0b51690f712dd618')
+
+prepare() {
+  cd gost
+
+  mkdir -p .gopath/src/github.com/ginuerzh
+  ln -sf "$PWD" .gopath/src/github.com/ginuerzh/gost
+  export GOPATH="$PWD/.gopath"
+
+  go get github.com/ginuerzh/gosocks5 github.com/gorilla/websocket github.com/shadowsocks/shadowsocks-go/shadowsocks github.com/golang/glog
+}
+
+build() {
+  cd gost
+  export GOPATH="$PWD/.gopath"
+
+  go build -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd gost
+  install -Dm755 gost "$pkgdir/usr/bin/gost"
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: gost/repos/community-staging-x86_64/LICENSE (from rev 173379, gost/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE	                        (rev 0)
+++ community-staging-x86_64/LICENSE	2016-05-02 15:01:21 UTC (rev 173380)
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 郑锐
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+

Copied: gost/repos/community-staging-x86_64/PKGBUILD (from rev 173379, gost/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-02 15:01:21 UTC (rev 173380)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=gost
+pkgver=2.0rc3
+_tag=2.0-rc3
+pkgrel=1
+pkgdesc="GO Simple Tunnel"
+arch=('i686' 'x86_64')
+url="https://github.com/ginuerzh/gost"
+license=('MIT')
+depends=('gcc-libs>=5.3.0-3')
+makedepends=('git' 'mercurial' 'gcc-go')
+source=("git+https://github.com/ginuerzh/gost.git#tag=$_tag"
+        LICENSE)
+md5sums=('SKIP'
+         '24a6686f7498d7af0b51690f712dd618')
+
+prepare() {
+  cd gost
+
+  mkdir -p .gopath/src/github.com/ginuerzh
+  ln -sf "$PWD" .gopath/src/github.com/ginuerzh/gost
+  export GOPATH="$PWD/.gopath"
+
+  go get github.com/ginuerzh/gosocks5 github.com/gorilla/websocket github.com/shadowsocks/shadowsocks-go/shadowsocks github.com/golang/glog
+}
+
+build() {
+  cd gost
+  export GOPATH="$PWD/.gopath"
+
+  go build -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd gost
+  install -Dm755 gost "$pkgdir/usr/bin/gost"
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list