Github messages for voidlinux
 help / color / mirror / Atom feed
* [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

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).