* [PR PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0
@ 2023-01-04 0:58 ipkalm
2023-01-16 4:19 ` kruceter
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ipkalm @ 2023-01-04 0:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]
There is a new pull request by ipkalm against master on the void-packages repository
https://github.com/ipkalm/void-packages v2ray-5.1.0-2
https://github.com/void-linux/void-packages/pull/41430
v2ray: add `run` to launch command for v2ray>=5.1.0
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- i686-musl
- aarch64
- aarch64-musl
- armv7l
- armv7l-musl
- armv6l
- armv6l-musl
- ppc64le
A patch file from https://github.com/void-linux/void-packages/pull/41430.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-v2ray-5.1.0-2-41430.patch --]
[-- Type: text/x-diff, Size: 1079 bytes --]
From f1024d2addc5bd7956fa1bc3d6a120eee745b8d0 Mon Sep 17 00:00:00 2001
From: ipkalm <ipkalm@outlook.com>
Date: Wed, 4 Jan 2023 07:49:13 +0700
Subject: [PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0
---
srcpkgs/v2ray/files/v2ray/run | 2 +-
srcpkgs/v2ray/template | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/v2ray/files/v2ray/run b/srcpkgs/v2ray/files/v2ray/run
index 3b1ac46ab240..cae39437dd15 100644
--- a/srcpkgs/v2ray/files/v2ray/run
+++ b/srcpkgs/v2ray/files/v2ray/run
@@ -1,3 +1,3 @@
#!/bin/sh
-exec chpst -u _v2ray v2ray -config=/etc/v2ray/config.json 2>&1
+exec chpst -u _v2ray v2ray run -config=/etc/v2ray/config.json 2>&1
diff --git a/srcpkgs/v2ray/template b/srcpkgs/v2ray/template
index 3f972e51e709..ba6fcb1bf11a 100644
--- a/srcpkgs/v2ray/template
+++ b/srcpkgs/v2ray/template
@@ -1,7 +1,7 @@
# Template file for 'v2ray'
pkgname=v2ray
version=5.1.0
-revision=1
+revision=2
build_style=go
go_import_path="github.com/v2fly/v2ray-core/v5"
go_ldflags="-X github.com/v2fly/v2ray-core/v5.codename=$pkgname
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v2ray: add `run` to launch command for v2ray>=5.1.0
2023-01-04 0:58 [PR PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0 ipkalm
@ 2023-01-16 4:19 ` kruceter
2023-01-16 5:54 ` ipkalm
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: kruceter @ 2023-01-16 4:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New comment by kruceter on void-packages repository
https://github.com/void-linux/void-packages/pull/41430#issuecomment-1383468359
Comment:
Where the `run` command came from?
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v2ray: add `run` to launch command for v2ray>=5.1.0
2023-01-04 0:58 [PR PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0 ipkalm
2023-01-16 4:19 ` kruceter
@ 2023-01-16 5:54 ` ipkalm
2023-01-16 5:56 ` ipkalm
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ipkalm @ 2023-01-16 5:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1332 bytes --]
New comment by ipkalm on void-packages repository
https://github.com/void-linux/void-packages/pull/41430#issuecomment-1383525940
Comment:
@kruceter it came from `help` command.
```
[root@void ~]# v2ray help
A unified platform for anti-censorship.
Usage:
v2ray <command> [arguments]
The commands are:
run run V2Ray with config
api call V2Ray API
convert convert config files
test test config files
tls TLS tools
uuid generate new UUID
verify verify if a binary is officially signed
version print V2Ray version
Use "v2ray help <command>" for more information about a command.
Additional help topics:
config-merge config merge logic
format-loader config formats and loading
Use "v2ray help <topic>" for more information about that topic.
```
If you try launch without `run` it will crash:
```
[root@void ~]# chpst -u _v2ray v2ray -config=/etc/v2ray/config.json
flag provided but not defined: -config
Usage of v2ray:
```
If add `run` all will be ok:
```
[root@void ~]# chpst -u _v2ray v2ray run -config=/etc/v2ray/config.json
V2Ray 5.1.0 (v2ray) 1672773149 (go1.19.4 linux/amd64)
A unified platform for anti-censorship.
```
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v2ray: add `run` to launch command for v2ray>=5.1.0
2023-01-04 0:58 [PR PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0 ipkalm
2023-01-16 4:19 ` kruceter
2023-01-16 5:54 ` ipkalm
@ 2023-01-16 5:56 ` ipkalm
2023-01-16 6:39 ` kruceter
2023-01-16 8:06 ` [PR PATCH] [Merged]: " sgn
4 siblings, 0 replies; 6+ messages in thread
From: ipkalm @ 2023-01-16 5:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]
New comment by ipkalm on void-packages repository
https://github.com/void-linux/void-packages/pull/41430#issuecomment-1383525940
Comment:
Hi, @kruceter, it came from `help` command.
```
[root@void ~]# v2ray help
A unified platform for anti-censorship.
Usage:
v2ray <command> [arguments]
The commands are:
run run V2Ray with config
api call V2Ray API
convert convert config files
test test config files
tls TLS tools
uuid generate new UUID
verify verify if a binary is officially signed
version print V2Ray version
Use "v2ray help <command>" for more information about a command.
Additional help topics:
config-merge config merge logic
format-loader config formats and loading
Use "v2ray help <topic>" for more information about that topic.
```
If you try launch without `run` it will crash:
```
[root@void ~]# chpst -u _v2ray v2ray -config=/etc/v2ray/config.json
flag provided but not defined: -config
Usage of v2ray:
```
If add `run` all will be ok:
```
[root@void ~]# chpst -u _v2ray v2ray run -config=/etc/v2ray/config.json
V2Ray 5.1.0 (v2ray) 1672773149 (go1.19.4 linux/amd64)
A unified platform for anti-censorship.
```
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: v2ray: add `run` to launch command for v2ray>=5.1.0
2023-01-04 0:58 [PR PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0 ipkalm
` (2 preceding siblings ...)
2023-01-16 5:56 ` ipkalm
@ 2023-01-16 6:39 ` kruceter
2023-01-16 8:06 ` [PR PATCH] [Merged]: " sgn
4 siblings, 0 replies; 6+ messages in thread
From: kruceter @ 2023-01-16 6:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 264 bytes --]
New comment by kruceter on void-packages repository
https://github.com/void-linux/void-packages/pull/41430#issuecomment-1383560736
Comment:
My goodness. I looked at their docs earlier and could not understand why `run` is not there.
Thank you for clarifying.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PR PATCH] [Merged]: v2ray: add `run` to launch command for v2ray>=5.1.0
2023-01-04 0:58 [PR PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0 ipkalm
` (3 preceding siblings ...)
2023-01-16 6:39 ` kruceter
@ 2023-01-16 8:06 ` sgn
4 siblings, 0 replies; 6+ messages in thread
From: sgn @ 2023-01-16 8:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]
There's a merged pull request on the void-packages repository
v2ray: add `run` to launch command for v2ray>=5.1.0
https://github.com/void-linux/void-packages/pull/41430
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- i686-musl
- aarch64
- aarch64-musl
- armv7l
- armv7l-musl
- armv6l
- armv6l-musl
- ppc64le
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-01-16 8:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-04 0:58 [PR PATCH] v2ray: add `run` to launch command for v2ray>=5.1.0 ipkalm
2023-01-16 4:19 ` kruceter
2023-01-16 5:54 ` ipkalm
2023-01-16 5:56 ` ipkalm
2023-01-16 6:39 ` kruceter
2023-01-16 8:06 ` [PR PATCH] [Merged]: " sgn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).