[arch-commits] Commit in kcptun/repos/community-x86_64 (6 files)

Felix Yan felixonmars at archlinux.org
Fri Dec 1 13:56:43 UTC 2017


    Date: Friday, December 1, 2017 @ 13:56:43
  Author: felixonmars
Revision: 271014

archrelease: copy trunk to community-x86_64

Added:
  kcptun/repos/community-x86_64/PKGBUILD
    (from rev 271013, kcptun/trunk/PKGBUILD)
  kcptun/repos/community-x86_64/kcptun-server at .service
    (from rev 271013, kcptun/trunk/kcptun-server at .service)
  kcptun/repos/community-x86_64/kcptun at .service
    (from rev 271013, kcptun/trunk/kcptun at .service)
Deleted:
  kcptun/repos/community-x86_64/PKGBUILD
  kcptun/repos/community-x86_64/kcptun-server at .service
  kcptun/repos/community-x86_64/kcptun at .service

------------------------+
 PKGBUILD               |  102 +++++++++++++++++++++++------------------------
 kcptun-server at .service |   22 +++++-----
 kcptun at .service        |   26 +++++------
 3 files changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-01 13:56:15 UTC (rev 271013)
+++ PKGBUILD	2017-12-01 13:56:43 UTC (rev 271014)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kasei Wang <cnsdwpc at gmail.com>
-
-pkgname=kcptun
-pkgver=20171129
-pkgrel=1
-pkgdesc="A Secure Tunnel Based On KCP with N:M Multiplexing"
-arch=('x86_64')
-url="https://github.com/xtaci/kcptun"
-license=('MIT')
-depends=('glibc')
-makedepends=('go-pie' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/xtaci/kcptun/archive/v$pkgver.tar.gz"
-        'kcptun at .service' 'kcptun-server at .service')
-sha512sums=('6f6b9a2b5f7aa4a8581d97533e3993b8dc198515ffb3b50101e46e41827f3b91459a45b718f634bf48a191a12828054b1acb3475d7f0918e6bac09064d70ac15'
-            '6fbe0bd687ec9927fe46484f97a0e1a7605c74af673d2a2257a41819bcbf8b704c1ab8b063993251fc3803fa3caf38b7bfc3cededbd7fe1b57c5e2d234c2e6f6'
-            '5526608f2f5056462813812436605d537a5da950d7d2b5b93dab1da443b25ebf15f69609d18ba1c318b0cc75fcc2a8e14f0d33ff7765035063dd89c041b1bd11')
-
-prepare() {
-  cd kcptun-$pkgver
-
-  mkdir build
-  mkdir -p .gopath/src/github.com/xtaci
-  ln -sf "$PWD" .gopath/src/github.com/xtaci/kcptun
-  export GOPATH="$PWD/.gopath"
-
-  go get golang.org/x/crypto/pbkdf2 github.com/xtaci/smux github.com/xtaci/kcp-go \
-         github.com/urfave/cli github.com/pkg/errors github.com/golang/snappy
-}
-
-build() {
-  cd "$srcdir"/kcptun-$pkgver/client
-  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver" # -gccgoflags "$CFLAGS $LDFLAGS"
-
-  cd "$srcdir"/kcptun-$pkgver/server
-  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver" # -gccgoflags "$CFLAGS $LDFLAGS"
-}
-
-package() {
-  cd kcptun-$pkgver
-
-  install -Dm755 client/build/kcptun-client "$pkgdir"/usr/bin/kcptun-client
-  install -Dm755 server/build/kcptun-server "$pkgdir"/usr/bin/kcptun-server
-
-  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-
-  install -dm755 "$pkgdir"/etc/kcptun
-  install -Dm644 "$srcdir/kcptun at .service" "$pkgdir"/usr/lib/systemd/system/kcptun at .service
-  install -Dm644 "$srcdir/kcptun-server at .service" "$pkgdir"/usr/lib/systemd/system/kcptun-server at .service
-}

Copied: kcptun/repos/community-x86_64/PKGBUILD (from rev 271013, kcptun/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-01 13:56:43 UTC (rev 271014)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kasei Wang <cnsdwpc at gmail.com>
+
+pkgname=kcptun
+pkgver=20171201
+pkgrel=1
+pkgdesc="A Secure Tunnel Based On KCP with N:M Multiplexing"
+arch=('x86_64')
+url="https://github.com/xtaci/kcptun"
+license=('MIT')
+depends=('glibc')
+makedepends=('go-pie' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/xtaci/kcptun/archive/v$pkgver.tar.gz"
+        'kcptun at .service' 'kcptun-server at .service')
+sha512sums=('376f38efe1146f1fdb6f457fb8bffc0492812415a73f4ed1c65c1efd67df8cd4c8569e333b12511bbda39e65d78255e052bfb5efa9e529f351f7478c1a3c4a08'
+            '6fbe0bd687ec9927fe46484f97a0e1a7605c74af673d2a2257a41819bcbf8b704c1ab8b063993251fc3803fa3caf38b7bfc3cededbd7fe1b57c5e2d234c2e6f6'
+            '5526608f2f5056462813812436605d537a5da950d7d2b5b93dab1da443b25ebf15f69609d18ba1c318b0cc75fcc2a8e14f0d33ff7765035063dd89c041b1bd11')
+
+prepare() {
+  cd kcptun-$pkgver
+
+  mkdir build
+  mkdir -p .gopath/src/github.com/xtaci
+  ln -sf "$PWD" .gopath/src/github.com/xtaci/kcptun
+  export GOPATH="$PWD/.gopath"
+
+  go get golang.org/x/crypto/pbkdf2 github.com/xtaci/smux github.com/xtaci/kcp-go \
+         github.com/urfave/cli github.com/pkg/errors github.com/golang/snappy
+}
+
+build() {
+  cd "$srcdir"/kcptun-$pkgver/client
+  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver" # -gccgoflags "$CFLAGS $LDFLAGS"
+
+  cd "$srcdir"/kcptun-$pkgver/server
+  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver" # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd kcptun-$pkgver
+
+  install -Dm755 client/build/kcptun-client "$pkgdir"/usr/bin/kcptun-client
+  install -Dm755 server/build/kcptun-server "$pkgdir"/usr/bin/kcptun-server
+
+  install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+
+  install -dm755 "$pkgdir"/etc/kcptun
+  install -Dm644 "$srcdir/kcptun at .service" "$pkgdir"/usr/lib/systemd/system/kcptun at .service
+  install -Dm644 "$srcdir/kcptun-server at .service" "$pkgdir"/usr/lib/systemd/system/kcptun-server at .service
+}

Deleted: kcptun-server at .service
===================================================================
--- kcptun-server at .service	2017-12-01 13:56:15 UTC (rev 271013)
+++ kcptun-server at .service	2017-12-01 13:56:43 UTC (rev 271014)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Kcptun Server Service
-After=network.target
-
-[Service]
-Type=simple
-User=nobody
-ExecStart=/usr/bin/kcptun-server -c /etc/kcptun/%i.json
-
-[Install]
-WantedBy=multi-user.target

Copied: kcptun/repos/community-x86_64/kcptun-server at .service (from rev 271013, kcptun/trunk/kcptun-server at .service)
===================================================================
--- kcptun-server at .service	                        (rev 0)
+++ kcptun-server at .service	2017-12-01 13:56:43 UTC (rev 271014)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Kcptun Server Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/kcptun-server -c /etc/kcptun/%i.json
+
+[Install]
+WantedBy=multi-user.target

Deleted: kcptun at .service
===================================================================
--- kcptun at .service	2017-12-01 13:56:15 UTC (rev 271013)
+++ kcptun at .service	2017-12-01 13:56:43 UTC (rev 271014)
@@ -1,13 +0,0 @@
-[Unit]
-Description=Kcptun Client Service
-After=network.target
-
-[Service]
-Type=simple
-User=nobody
-ExecStart=/usr/bin/kcptun-client -c /etc/kcptun/%i.json
-Restart=always
-RestartSec=5
-
-[Install]
-WantedBy=multi-user.target

Copied: kcptun/repos/community-x86_64/kcptun at .service (from rev 271013, kcptun/trunk/kcptun at .service)
===================================================================
--- kcptun at .service	                        (rev 0)
+++ kcptun at .service	2017-12-01 13:56:43 UTC (rev 271014)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kcptun Client Service
+After=network.target
+
+[Service]
+Type=simple
+User=nobody
+ExecStart=/usr/bin/kcptun-client -c /etc/kcptun/%i.json
+Restart=always
+RestartSec=5
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list