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

Felix Yan felixonmars at archlinux.org
Mon Jan 4 01:58:20 UTC 2021


    Date: Monday, January 4, 2021 @ 01:58:20
  Author: felixonmars
Revision: 806253

archrelease: copy trunk to community-x86_64

Added:
  kcptun/repos/community-x86_64/PKGBUILD
    (from rev 806252, kcptun/trunk/PKGBUILD)
  kcptun/repos/community-x86_64/kcptun-server at .service
    (from rev 806252, kcptun/trunk/kcptun-server at .service)
  kcptun/repos/community-x86_64/kcptun at .service
    (from rev 806252, 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               |  104 +++++++++++++++++++++++------------------------
 kcptun-server at .service |   22 ++++-----
 kcptun at .service        |   26 +++++------
 3 files changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-04 01:57:58 UTC (rev 806252)
+++ PKGBUILD	2021-01-04 01:58:20 UTC (rev 806253)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kasei Wang <cnsdwpc at gmail.com>
-
-pkgname=kcptun
-pkgver=20201126
-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' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/xtaci/kcptun/archive/v$pkgver.tar.gz"
-        'kcptun at .service' 'kcptun-server at .service')
-sha512sums=('ab672e2be5eab6b88abf7d6cbaef68abc0b0748640a1a8519613f81a71bb0a148807737d9e09c3daaaeb5846e1eb6b8656e420ecd61133b2aac8e5b44aa135bd'
-            'f6041eae26db4f11bf6dc22443548354114b8b5a2a436949513a168d5b271707e680dd1d6bdcfc4385945ae2cb1bc82736e605ca49c6c94904922b43d1917a5c'
-            '88607e7c6cba7628bf2c9229396fcf285227c56d2fd208f3d0200fb670f8919939ef05aa5e87fc3aceedb4f41e5bca597138c88930a23dbe4b03e22b42d64cec')
-
-prepare() {
-  cd kcptun-$pkgver
-
-  mkdir -p .gopath/src/github.com/xtaci
-  ln -sf "$PWD" .gopath/src/github.com/xtaci/kcptun
-  export GOPATH="$PWD/.gopath:/usr/share/gocode"
-}
-
-build() {
-  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 "$srcdir"/kcptun-$pkgver/client
-  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver -extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
-
-  cd "$srcdir"/kcptun-$pkgver/server
-  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver -extldflags=${LDFLAGS}" # -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 806252, kcptun/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-04 01:58:20 UTC (rev 806253)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kasei Wang <cnsdwpc at gmail.com>
+
+pkgname=kcptun
+pkgver=20210103
+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' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/xtaci/kcptun/archive/v$pkgver.tar.gz"
+        'kcptun at .service' 'kcptun-server at .service')
+sha512sums=('e7e4225db184dd46ec179d4ad892b4732e2c79cf7056be39a591ea8b8f343db336b0dc47ae715499c502cfb2ae4f42015873ba651b215c715c77aa24f89cb992'
+            'f6041eae26db4f11bf6dc22443548354114b8b5a2a436949513a168d5b271707e680dd1d6bdcfc4385945ae2cb1bc82736e605ca49c6c94904922b43d1917a5c'
+            '88607e7c6cba7628bf2c9229396fcf285227c56d2fd208f3d0200fb670f8919939ef05aa5e87fc3aceedb4f41e5bca597138c88930a23dbe4b03e22b42d64cec')
+
+prepare() {
+  cd kcptun-$pkgver
+
+  mkdir -p .gopath/src/github.com/xtaci
+  ln -sf "$PWD" .gopath/src/github.com/xtaci/kcptun
+  export GOPATH="$PWD/.gopath:/usr/share/gocode"
+}
+
+build() {
+  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 "$srcdir"/kcptun-$pkgver/client
+  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver -extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
+
+  cd "$srcdir"/kcptun-$pkgver/server
+  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver -extldflags=${LDFLAGS}" # -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	2021-01-04 01:57:58 UTC (rev 806252)
+++ kcptun-server at .service	2021-01-04 01:58:20 UTC (rev 806253)
@@ -1,11 +0,0 @@
-[Unit]
-Description=Kcptun Server Service
-After=network.target
-
-[Service]
-Type=exec
-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 806252, kcptun/trunk/kcptun-server at .service)
===================================================================
--- kcptun-server at .service	                        (rev 0)
+++ kcptun-server at .service	2021-01-04 01:58:20 UTC (rev 806253)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Kcptun Server Service
+After=network.target
+
+[Service]
+Type=exec
+User=nobody
+ExecStart=/usr/bin/kcptun-server -c /etc/kcptun/%i.json
+
+[Install]
+WantedBy=multi-user.target

Deleted: kcptun at .service
===================================================================
--- kcptun at .service	2021-01-04 01:57:58 UTC (rev 806252)
+++ kcptun at .service	2021-01-04 01:58:20 UTC (rev 806253)
@@ -1,13 +0,0 @@
-[Unit]
-Description=Kcptun Client Service
-After=network.target
-
-[Service]
-Type=exec
-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 806252, kcptun/trunk/kcptun at .service)
===================================================================
--- kcptun at .service	                        (rev 0)
+++ kcptun at .service	2021-01-04 01:58:20 UTC (rev 806253)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Kcptun Client Service
+After=network.target
+
+[Service]
+Type=exec
+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