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

Jelle van der Waa jelle at archlinux.org
Sun Oct 20 15:47:53 UTC 2019


    Date: Sunday, October 20, 2019 @ 15:47:52
  Author: jelle
Revision: 517787

archrelease: copy trunk to community-x86_64

Added:
  gost/repos/community-x86_64/LICENSE
    (from rev 517786, gost/trunk/LICENSE)
  gost/repos/community-x86_64/PKGBUILD
    (from rev 517786, gost/trunk/PKGBUILD)
Deleted:
  gost/repos/community-x86_64/LICENSE
  gost/repos/community-x86_64/PKGBUILD

----------+
 LICENSE  |   44 ++++++++++++++++++++--------------------
 PKGBUILD |   66 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 55 insertions(+), 55 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2019-10-20 15:47:38 UTC (rev 517786)
+++ LICENSE	2019-10-20 15:47:52 UTC (rev 517787)
@@ -1,22 +0,0 @@
-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-x86_64/LICENSE (from rev 517786, gost/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2019-10-20 15:47:52 UTC (rev 517787)
@@ -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.
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-20 15:47:38 UTC (rev 517786)
+++ PKGBUILD	2019-10-20 15:47:52 UTC (rev 517787)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=gost
-pkgver=2.8.1
-pkgrel=2
-pkgdesc="GO Simple Tunnel"
-arch=('x86_64')
-url="https://github.com/ginuerzh/gost"
-license=('MIT')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ginuerzh/gost/archive/v$pkgver.tar.gz"
-        LICENSE)
-sha512sums=('13f5bf502c5cdf94678fa9e7b4ecf8026370644fe500d8e117b4d56416a57f7eab48369c210762ac9a48ed229d52ec26e954241d526cc1e653e496bd8aa09fff'
-            '8815c27a49d747e90fbcbf03c6011a76b95bc72a6c963ee8df9490e6aba9a3f4f9895e6a7759988aef123160ef8a6d2de85e8fce01c5980f8744e212792ad07c')
-
-prepare() {
-  mkdir .gopath
-  ln -sf "$PWD/gost-$pkgver/vendor" .gopath/src
-  ln -s "$PWD/gost-$pkgver" .gopath/src/github.com/ginuerzh/gost
-}
-
-build() {
-  export GOPATH="$srcdir/.gopath"
-  cd gost-$pkgver/cmd/gost
-  go build # -gccgoflags "$CFLAGS $LDFLAGS"
-}
-
-package() {
-  cd gost-$pkgver
-  install -Dm755 cmd/gost/gost "$pkgdir/usr/bin/gost"
-  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: gost/repos/community-x86_64/PKGBUILD (from rev 517786, gost/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-20 15:47:52 UTC (rev 517787)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=gost
+pkgver=2.8.1
+pkgrel=3
+pkgdesc="GO Simple Tunnel"
+arch=('x86_64')
+url="https://github.com/ginuerzh/gost"
+license=('MIT')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ginuerzh/gost/archive/v$pkgver.tar.gz"
+        LICENSE)
+sha512sums=('13f5bf502c5cdf94678fa9e7b4ecf8026370644fe500d8e117b4d56416a57f7eab48369c210762ac9a48ed229d52ec26e954241d526cc1e653e496bd8aa09fff'
+            '8815c27a49d747e90fbcbf03c6011a76b95bc72a6c963ee8df9490e6aba9a3f4f9895e6a7759988aef123160ef8a6d2de85e8fce01c5980f8744e212792ad07c')
+
+prepare() {
+  mkdir .gopath
+  ln -sf "$PWD/gost-$pkgver/vendor" .gopath/src
+  ln -s "$PWD/gost-$pkgver" .gopath/src/github.com/ginuerzh/gost
+}
+
+build() {
+  export GOPATH="$srcdir/.gopath"
+  cd gost-$pkgver/cmd/gost
+  go build -ldflags "-extldflags ${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd gost-$pkgver
+  install -Dm755 cmd/gost/gost "$pkgdir/usr/bin/gost"
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list