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

Felix Yan felixonmars at archlinux.org
Sat Oct 6 22:50:53 UTC 2018


    Date: Saturday, October 6, 2018 @ 22:50:52
  Author: felixonmars
Revision: 390926

archrelease: copy trunk to community-x86_64

Added:
  v2ray/repos/community-x86_64/PKGBUILD
    (from rev 390925, v2ray/trunk/PKGBUILD)
  v2ray/repos/community-x86_64/v2ray.service
    (from rev 390925, v2ray/trunk/v2ray.service)
Deleted:
  v2ray/repos/community-x86_64/PKGBUILD
  v2ray/repos/community-x86_64/v2ray.service

---------------+
 PKGBUILD      |  108 ++++++++++++++++++++++++++++----------------------------
 v2ray.service |   26 ++++++-------
 2 files changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-06 22:50:41 UTC (rev 390925)
+++ PKGBUILD	2018-10-06 22:50:52 UTC (rev 390926)
@@ -1,54 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: pandada8 <pandada8 at gmail.com>
-
-pkgname=v2ray
-pkgver=3.46.2
-pkgrel=1
-pkgdesc="A platform for building proxies to bypass network restrictions"
-arch=('x86_64')
-url="https://github.com/v2ray/v2ray-core"
-license=('MIT')
-makedepends=('go' 'git')
-backup=(etc/v2ray/config.json)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz"
-        "v2ray-ext-$pkgver.tar.gz::https://github.com/v2ray/ext/archive/v$pkgver.tar.gz"
-        'v2ray.service')
-sha512sums=('fbdacc404638a5e98febc4a3298c1f1b1035763ef05c48be8355bd3958b333417f5398d5abf0b8fbe7158d57101de326c4a3a840e09833d473895debd0108a06'
-            '54fc837380503e657c6a14c3fa3623c74c5343db20c7dd5435b1ccf2a0445114f1278fe17f3bfbd0a6443b476fbfadf311f433eb99fb727596288d3c055526bb'
-            'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
-
-prepare() {
-  sed -i 's/h12.me/h12.io/' v2ray-core-$pkgver/testing/scenarios/socks_test.go
-
-  export GOPATH="$srcdir/build"
-  mkdir -p "$GOPATH"/src/v2ray.com
-  cp -a "$srcdir"/v2ray-core-$pkgver "$GOPATH"/src/v2ray.com/core
-  cp -a "$srcdir"/ext-$pkgver "$GOPATH"/src/v2ray.com/ext
-
-  go get github.com/miekg/dns golang.org/x/sys/unix h12.io/socks \
-         github.com/gorilla/websocket golang.org/x/crypto/chacha20poly1305 golang.org/x/crypto/sha3 \
-         golang.org/x/net/proxy github.com/google/go-github/github golang.org/x/oauth2 \
-         github.com/gogo/protobuf/proto google.golang.org/grpc
-}
-
-build() {
-  go build -o v2ray v2ray.com/core/main
-  go build -o v2ctl v2ray.com/ext/tools/control/main
-}
-
-check() {
-  cd v2ray-core-$pkgver
-  go test -p 1 -tags json -v v2ray.com/core/...
-}
-
-package() {
-  cd v2ray-core-$pkgver
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/v2ray/LICENSE
-  install -Dm644 release/config/systemd/v2ray.service ${pkgdir}/usr/lib/systemd/system/v2ray.service
-  sed -i '/ExecStart/c\ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/config.json' "$pkgdir"/usr/lib/systemd/system/v2ray.service
-  install -Dm644 release/config/geoip.dat release/config/geosite.dat release/config/*.json -t "$pkgdir"/etc/v2ray/
-  install -Dm755 ../v2ray -t "$pkgdir"/usr/bin/
-  install -Dm755 ../v2ctl -t "$pkgdir"/usr/bin/
-
-  install -Dm644 ../v2ray.service "$pkgdir"/usr/lib/systemd/system/v2ray at .service
-}

Copied: v2ray/repos/community-x86_64/PKGBUILD (from rev 390925, v2ray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-06 22:50:52 UTC (rev 390926)
@@ -0,0 +1,54 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: pandada8 <pandada8 at gmail.com>
+
+pkgname=v2ray
+pkgver=3.46.4
+pkgrel=1
+pkgdesc="A platform for building proxies to bypass network restrictions"
+arch=('x86_64')
+url="https://github.com/v2ray/v2ray-core"
+license=('MIT')
+makedepends=('go' 'git')
+backup=(etc/v2ray/config.json)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/v2ray/v2ray-core/archive/v$pkgver.tar.gz"
+        "v2ray-ext-$pkgver.tar.gz::https://github.com/v2ray/ext/archive/v$pkgver.tar.gz"
+        'v2ray.service')
+sha512sums=('4f329fb755c1fdc7c440d9fdee01cc8b0f04d92045de4a836dae09f9c837f7dc0757490ccc890b5fb0402ae84a2d0f2b5c4656704d1299c58e7337d9f2eecfba'
+            '20b66f2fe0b6aa23255aebdb7e1f8f660a987afd005435a5d2204201acccf4d5265465766228297fe89ad881a066f53422785246798428fdec5eeeafcb103416'
+            'bebb87f43b3920be8efde9aece9c4305323cd7d3a65a3b2441f0dbd0098c02a18ca89a5b08833eee70482cffae2c8e7b7237bb5a4d1076e3c30d273898e2bedb')
+
+prepare() {
+  sed -i 's/h12.me/h12.io/' v2ray-core-$pkgver/testing/scenarios/socks_test.go
+
+  export GOPATH="$srcdir/build"
+  mkdir -p "$GOPATH"/src/v2ray.com
+  cp -a "$srcdir"/v2ray-core-$pkgver "$GOPATH"/src/v2ray.com/core
+  cp -a "$srcdir"/ext-$pkgver "$GOPATH"/src/v2ray.com/ext
+
+  go get github.com/miekg/dns golang.org/x/sys/unix h12.io/socks \
+         github.com/gorilla/websocket golang.org/x/crypto/chacha20poly1305 golang.org/x/crypto/sha3 \
+         golang.org/x/net/proxy github.com/google/go-github/github golang.org/x/oauth2 \
+         github.com/gogo/protobuf/proto google.golang.org/grpc
+}
+
+build() {
+  go build -o v2ray v2ray.com/core/main
+  go build -o v2ctl v2ray.com/ext/tools/control/main
+}
+
+check() {
+  cd v2ray-core-$pkgver
+  go test -p 1 -tags json -v v2ray.com/core/...
+}
+
+package() {
+  cd v2ray-core-$pkgver
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/v2ray/LICENSE
+  install -Dm644 release/config/systemd/v2ray.service ${pkgdir}/usr/lib/systemd/system/v2ray.service
+  sed -i '/ExecStart/c\ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/config.json' "$pkgdir"/usr/lib/systemd/system/v2ray.service
+  install -Dm644 release/config/geoip.dat release/config/geosite.dat release/config/*.json -t "$pkgdir"/etc/v2ray/
+  install -Dm755 ../v2ray -t "$pkgdir"/usr/bin/
+  install -Dm755 ../v2ctl -t "$pkgdir"/usr/bin/
+
+  install -Dm644 ../v2ray.service "$pkgdir"/usr/lib/systemd/system/v2ray at .service
+}

Deleted: v2ray.service
===================================================================
--- v2ray.service	2018-10-06 22:50:41 UTC (rev 390925)
+++ v2ray.service	2018-10-06 22:50:52 UTC (rev 390926)
@@ -1,13 +0,0 @@
-[Unit]
-Description=V2Ray Service
-After=network.target
-Wants=network.target
-
-[Service]
-Type=simple
-PIDFile=/var/run/v2ray-%i.pid
-ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/%i.json
-Restart=on-failure
-
-[Install]
-WantedBy=multi-user.target

Copied: v2ray/repos/community-x86_64/v2ray.service (from rev 390925, v2ray/trunk/v2ray.service)
===================================================================
--- v2ray.service	                        (rev 0)
+++ v2ray.service	2018-10-06 22:50:52 UTC (rev 390926)
@@ -0,0 +1,13 @@
+[Unit]
+Description=V2Ray Service
+After=network.target
+Wants=network.target
+
+[Service]
+Type=simple
+PIDFile=/var/run/v2ray-%i.pid
+ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/%i.json
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list