Date: Wednesday, February 15, 2023 @ 23:13:25
  Author: felixonmars
Revision: 1400730

archrelease: copy trunk to community-x86_64

Added:
  kcptun/repos/community-x86_64/PKGBUILD
    (from rev 1400729, kcptun/trunk/PKGBUILD)
  kcptun/repos/community-x86_64/[email protected]
    (from rev 1400729, kcptun/trunk/[email protected])
  kcptun/repos/community-x86_64/[email protected]
    (from rev 1400729, kcptun/trunk/[email protected])
Deleted:
  kcptun/repos/community-x86_64/PKGBUILD
  kcptun/repos/community-x86_64/[email protected]
  kcptun/repos/community-x86_64/[email protected]

------------------------+
 PKGBUILD               |  108 +++++++++++++++++++++++------------------------
 [email protected] |   22 ++++-----
 [email protected]        |   26 +++++------
 3 files changed, 78 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-15 23:13:03 UTC (rev 1400729)
+++ PKGBUILD    2023-02-15 23:13:25 UTC (rev 1400730)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Kasei Wang <cnsdwpc at gmail.com>
-
-pkgname=kcptun
-pkgver=20230207
-_commit=86f2e5b066adec276e4bd72257b581ca95d64202
-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')
-options=('!lto')
-source=("git+https://github.com/xtaci/kcptun.git#commit=$_commit";
-        '[email protected]' '[email protected]')
-sha512sums=('SKIP'
-            
'f6041eae26db4f11bf6dc22443548354114b8b5a2a436949513a168d5b271707e680dd1d6bdcfc4385945ae2cb1bc82736e605ca49c6c94904922b43d1917a5c'
-            
'88607e7c6cba7628bf2c9229396fcf285227c56d2fd208f3d0200fb670f8919939ef05aa5e87fc3aceedb4f41e5bca597138c88930a23dbe4b03e22b42d64cec')
-
-prepare() {
-  cd kcptun
-
-  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/client
-  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver 
-extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
-
-  cd "$srcdir"/kcptun/server
-  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver 
-extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
-}
-
-package() {
-  cd kcptun
-
-  install -Dm755 client/build/kcptun-client -t "$pkgdir"/usr/bin/
-  install -Dm755 server/build/kcptun-server -t "$pkgdir"/usr/bin/
-
-  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
-
-  install -dm755 "$pkgdir"/etc/kcptun
-  install -Dm644 "$srcdir"/[email protected] -t "$pkgdir"/usr/lib/systemd/system/
-  install -Dm644 "$srcdir"/[email protected] -t 
"$pkgdir"/usr/lib/systemd/system/
-}

Copied: kcptun/repos/community-x86_64/PKGBUILD (from rev 1400729, 
kcptun/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-15 23:13:25 UTC (rev 1400730)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Kasei Wang <cnsdwpc at gmail.com>
+
+pkgname=kcptun
+pkgver=20230214
+_commit=f7d957fc352c088d34a789df0770228b33401a1b
+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')
+options=('!lto')
+source=("git+https://github.com/xtaci/kcptun.git#commit=$_commit";
+        '[email protected]' '[email protected]')
+sha512sums=('SKIP'
+            
'f6041eae26db4f11bf6dc22443548354114b8b5a2a436949513a168d5b271707e680dd1d6bdcfc4385945ae2cb1bc82736e605ca49c6c94904922b43d1917a5c'
+            
'88607e7c6cba7628bf2c9229396fcf285227c56d2fd208f3d0200fb670f8919939ef05aa5e87fc3aceedb4f41e5bca597138c88930a23dbe4b03e22b42d64cec')
+
+prepare() {
+  cd kcptun
+
+  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/client
+  go build -o build/kcptun-client -ldflags "-X main.VERSION=$pkgver 
-extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
+
+  cd "$srcdir"/kcptun/server
+  go build -o build/kcptun-server -ldflags "-X main.VERSION=$pkgver 
-extldflags=${LDFLAGS}" # -gccgoflags "$CFLAGS $LDFLAGS"
+}
+
+package() {
+  cd kcptun
+
+  install -Dm755 client/build/kcptun-client -t "$pkgdir"/usr/bin/
+  install -Dm755 server/build/kcptun-server -t "$pkgdir"/usr/bin/
+
+  install -Dm644 LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
+
+  install -dm755 "$pkgdir"/etc/kcptun
+  install -Dm644 "$srcdir"/[email protected] -t "$pkgdir"/usr/lib/systemd/system/
+  install -Dm644 "$srcdir"/[email protected] -t 
"$pkgdir"/usr/lib/systemd/system/
+}

Deleted: [email protected]
===================================================================
--- [email protected]      2023-02-15 23:13:03 UTC (rev 1400729)
+++ [email protected]      2023-02-15 23:13:25 UTC (rev 1400730)
@@ -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/[email protected] (from rev 1400729, 
kcptun/trunk/[email protected])
===================================================================
--- [email protected]                              (rev 0)
+++ [email protected]      2023-02-15 23:13:25 UTC (rev 1400730)
@@ -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: [email protected]
===================================================================
--- [email protected]     2023-02-15 23:13:03 UTC (rev 1400729)
+++ [email protected]     2023-02-15 23:13:25 UTC (rev 1400730)
@@ -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/[email protected] (from rev 1400729, 
kcptun/trunk/[email protected])
===================================================================
--- [email protected]                             (rev 0)
+++ [email protected]     2023-02-15 23:13:25 UTC (rev 1400730)
@@ -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

Reply via email to