[arch-commits] Commit in gost/repos/community-x86_64 (4 files)
Morten Linderud
foxboron at archlinux.org
Sat Apr 17 21:50:09 UTC 2021
Date: Saturday, April 17, 2021 @ 21:50:09
Author: foxboron
Revision: 919847
archrelease: copy trunk to community-x86_64
Added:
gost/repos/community-x86_64/LICENSE
(from rev 919846, gost/trunk/LICENSE)
gost/repos/community-x86_64/PKGBUILD
(from rev 919846, gost/trunk/PKGBUILD)
Deleted:
gost/repos/community-x86_64/LICENSE
gost/repos/community-x86_64/PKGBUILD
----------+
LICENSE | 44 +++++++++++++++++------------------
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
2 files changed, 60 insertions(+), 60 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2021-04-17 21:49:58 UTC (rev 919846)
+++ LICENSE 2021-04-17 21:50:09 UTC (rev 919847)
@@ -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 919846, gost/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2021-04-17 21:50:09 UTC (rev 919847)
@@ -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 2021-04-17 21:49:58 UTC (rev 919846)
+++ PKGBUILD 2021-04-17 21:50:09 UTC (rev 919847)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=gost
-pkgver=2.11.1
-pkgrel=2
-pkgdesc="GO Simple Tunnel"
-arch=('x86_64')
-url="https://github.com/ginuerzh/gost"
-license=('MIT')
-depends=('glibc')
-makedepends=('go' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ginuerzh/gost/archive/v$pkgver.tar.gz"
- LICENSE)
-sha512sums=('99223207c84f3ba899d0682e4a6f1c50a810b0fe08c60e11fda9b3f2adda136f67a84f93112d51e13f7928a0d8a42ef8ec7994b816ec4045ad5e7123df997811'
- '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"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
- 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 919846, gost/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-17 21:50:09 UTC (rev 919847)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=gost
+pkgver=2.11.1
+pkgrel=3
+pkgdesc="GO Simple Tunnel"
+arch=('x86_64')
+url="https://github.com/ginuerzh/gost"
+license=('MIT')
+depends=('glibc')
+makedepends=('go' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ginuerzh/gost/archive/v$pkgver.tar.gz"
+ LICENSE)
+sha512sums=('99223207c84f3ba899d0682e4a6f1c50a810b0fe08c60e11fda9b3f2adda136f67a84f93112d51e13f7928a0d8a42ef8ec7994b816ec4045ad5e7123df997811'
+ '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"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+ 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