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

Felix Yan felixonmars at archlinux.org
Wed Jan 29 11:33:11 UTC 2020


    Date: Wednesday, January 29, 2020 @ 11:33:10
  Author: felixonmars
Revision: 558664

archrelease: copy trunk to community-x86_64

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

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

Deleted: LICENSE
===================================================================
--- LICENSE	2020-01-29 11:33:06 UTC (rev 558663)
+++ LICENSE	2020-01-29 11:33:10 UTC (rev 558664)
@@ -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 558662, gost/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-01-29 11:33:10 UTC (rev 558664)
@@ -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	2020-01-29 11:33:06 UTC (rev 558663)
+++ PKGBUILD	2020-01-29 11:33:10 UTC (rev 558664)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=gost
-pkgver=2.8.2
-pkgrel=1
-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=('84c7d5c059a450dde70e7bb2c6a9075bebac06b4e02a53dd03959d902f44483884e3111e2aa48bcef1fd747edc279f4a2fde8af25aa6dd859e32ebdb215ba12a'
-            '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"
-}

Copied: gost/repos/community-x86_64/PKGBUILD (from rev 558662, gost/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-29 11:33:10 UTC (rev 558664)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=gost
+pkgver=2.9.0
+pkgrel=1
+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=('b76ab977d6d4e8ee38fdf493203624c155bbeee8fae2dd9781f46ae66d7c01545d0a56e06090c5b975a3101569ddf74ff8500391f73d296f0008274991a32c3d'
+            '8815c27a49d747e90fbcbf03c6011a76b95bc72a6c963ee8df9490e6aba9a3f4f9895e6a7759988aef123160ef8a6d2de85e8fce01c5980f8744e212792ad07c')
+
+prepare() {
+  mkdir -p .gopath/src/github.com/ginuerzh
+  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