* [PR PATCH] New package: v2raya-1.5.9.1698.1
@ 2022-08-08 2:28 ketlrznt
2022-08-08 2:37 ` [PR PATCH] [Updated] " ketlrznt
` (62 more replies)
0 siblings, 63 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 2:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
There is a new pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2315 bytes --]
From 13b9bd0cd9c284399c184fbf4cb923fcfa670b20 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 10 ++++++++
srcpkgs/v2raya/template | 42 +++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..ebcc4dcb1a5f
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
\ No newline at end of file
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..4db75af5eb17
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,42 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # configurationo dir
+ vmkdir etc/$pkgname 0750
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
@ 2022-08-08 2:37 ` ketlrznt
2022-08-08 2:41 ` ketlrznt
` (61 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 2:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2290 bytes --]
From 1f69d231d5410a40e71d9a4e29888161b2c450a9 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 11 +++++++++
srcpkgs/v2raya/template | 42 +++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..e38fc08ec0c6
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..4db75af5eb17
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,42 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # configurationo dir
+ vmkdir etc/$pkgname 0750
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
2022-08-08 2:37 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 2:41 ` ketlrznt
2022-08-08 2:56 ` ketlrznt
` (60 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 2:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2290 bytes --]
From c6e9a82917e7906d3056196e10d22d82f76568d4 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 11 +++++++++
srcpkgs/v2raya/template | 42 +++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..e38fc08ec0c6
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..4db75af5eb17
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,42 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # configurationo dir
+ vmkdir etc/$pkgname 0750
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
2022-08-08 2:37 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 2:41 ` ketlrznt
@ 2022-08-08 2:56 ` ketlrznt
2022-08-08 4:53 ` ketlrznt
` (59 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 2:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2294 bytes --]
From faf0bf207b45656a4c92fd2ae8d85fc0b9bc491e Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 11 +++++++++
srcpkgs/v2raya/template | 43 +++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..7f53fbe90cdb
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..171caba94fa6
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,43 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # configurationo dir
+ vmkdir etc/$pkgname 0750
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
+
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (2 preceding siblings ...)
2022-08-08 2:56 ` ketlrznt
@ 2022-08-08 4:53 ` ketlrznt
2022-08-08 5:04 ` [PR REVIEW] " classabbyamp
` (58 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 4:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2294 bytes --]
From faf0bf207b45656a4c92fd2ae8d85fc0b9bc491e Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 11 +++++++++
srcpkgs/v2raya/template | 43 +++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..7f53fbe90cdb
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..171caba94fa6
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,43 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # configurationo dir
+ vmkdir etc/$pkgname 0750
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
+
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (3 preceding siblings ...)
2022-08-08 4:53 ` ketlrznt
@ 2022-08-08 5:04 ` classabbyamp
2022-08-08 5:04 ` classabbyamp
` (57 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 5:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939825508
Comment:
use the make_dirs and conf_files for this, empty dirs are not included in the pkg automatically
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (4 preceding siblings ...)
2022-08-08 5:04 ` [PR REVIEW] " classabbyamp
@ 2022-08-08 5:04 ` classabbyamp
2022-08-08 5:12 ` [PR PATCH] [Updated] " ketlrznt
` (56 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 5:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939825708
Comment:
```suggestion
depends="v2ray>=4.37.0_1"
```
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (5 preceding siblings ...)
2022-08-08 5:04 ` classabbyamp
@ 2022-08-08 5:12 ` ketlrznt
2022-08-08 5:22 ` ketlrznt
` (55 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 5:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 13100 bytes --]
From faf0bf207b45656a4c92fd2ae8d85fc0b9bc491e Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH 1/2] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 11 +++++++++
srcpkgs/v2raya/template | 43 +++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..7f53fbe90cdb
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..171caba94fa6
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,43 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # configurationo dir
+ vmkdir etc/$pkgname 0750
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
+
From 6e401ed433619ffd3d5681caf39b381f0c90f70e Mon Sep 17 00:00:00 2001
From: Subhaditya Nath <sn03.general@gmail.com>
Date: Sat, 6 Aug 2022 15:12:02 +0530
Subject: [PATCH 2/2] go: update to 1.19, add tests
---
srcpkgs/go/patches/fix-32bit-tests.patch | 13 ++
srcpkgs/go/patches/fix-musl-tests.patch | 29 +++++
srcpkgs/go/patches/fix-tests.patch | 150 +++++++++++++++++++++++
srcpkgs/go/template | 29 ++++-
4 files changed, 218 insertions(+), 3 deletions(-)
create mode 100644 srcpkgs/go/patches/fix-32bit-tests.patch
create mode 100644 srcpkgs/go/patches/fix-musl-tests.patch
create mode 100644 srcpkgs/go/patches/fix-tests.patch
diff --git a/srcpkgs/go/patches/fix-32bit-tests.patch b/srcpkgs/go/patches/fix-32bit-tests.patch
new file mode 100644
index 000000000000..f5d8083b19f0
--- /dev/null
+++ b/srcpkgs/go/patches/fix-32bit-tests.patch
@@ -0,0 +1,13 @@
+Fixes go1.19 error on i686 -
+ runtime/cgo(.text): unknown symbol __stack_chk_fail_local in pcrel
+
+--- a/go/src/cmd/go/script_test.go
++++ b/go/src/cmd/go/script_test.go
+@@ -148,6 +148,7 @@ var extraEnvKeys = []string{
+ "GO_TESTING_GOTOOLS", // for gccgo testing
+ "GCCGO", // for gccgo testing
+ "GCCGOTOOLDIR", // for gccgo testing
++ "CGO_CFLAGS", // for working around go1.19 "unknown symbol __stack_chk_fail_local" error on x86
+ }
+
+ // setup sets up the test execution temporary directory and environment.
diff --git a/srcpkgs/go/patches/fix-musl-tests.patch b/srcpkgs/go/patches/fix-musl-tests.patch
new file mode 100644
index 000000000000..f70cb456857b
--- /dev/null
+++ b/srcpkgs/go/patches/fix-musl-tests.patch
@@ -0,0 +1,29 @@
+These tests fail on musl because /proc/../status doesn't contain the "Groups"
+field, because musl lacks the getgroups() syscall.
+
+--- a/go/src/syscall/syscall_linux_test.go
++++ b/go/src/syscall/syscall_linux_test.go
+@@ -530,10 +530,6 @@ func TestSetuidEtc(t *testing.T) {
+ {call: "Setgid(1)", fn: func() error { return syscall.Setgid(1) }, filter: "Gid:", expect: "\t1\t1\t1\t1"},
+ {call: "Setgid(0)", fn: func() error { return syscall.Setgid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
+
+- {call: "Setgroups([]int{0,1,2,3})", fn: func() error { return syscall.Setgroups([]int{0, 1, 2, 3}) }, filter: "Groups:", expect: "\t0 1 2 3"},
+- {call: "Setgroups(nil)", fn: func() error { return syscall.Setgroups(nil) }, filter: "Groups:", expect: ""},
+- {call: "Setgroups([]int{0})", fn: func() error { return syscall.Setgroups([]int{0}) }, filter: "Groups:", expect: "\t0"},
+-
+ {call: "Setregid(101,0)", fn: func() error { return syscall.Setregid(101, 0) }, filter: "Gid:", expect: "\t101\t0\t0\t0"},
+ {call: "Setregid(0,102)", fn: func() error { return syscall.Setregid(0, 102) }, filter: "Gid:", expect: "\t0\t102\t102\t102"},
+ {call: "Setregid(0,0)", fn: func() error { return syscall.Setregid(0, 0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
+--- a/go/misc/cgo/test/issue1435.go
++++ b/go/misc/cgo/test/issue1435.go
+@@ -165,10 +165,6 @@ func test1435(t *testing.T) {
+ {call: "Setgid(1)", fn: func() error { return syscall.Setgid(1) }, filter: "Gid:", expect: "\t1\t1\t1\t1"},
+ {call: "Setgid(0)", fn: func() error { return syscall.Setgid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
+
+- {call: "Setgroups([]int{0,1,2,3})", fn: func() error { return syscall.Setgroups([]int{0, 1, 2, 3}) }, filter: "Groups:", expect: "\t0 1 2 3"},
+- {call: "Setgroups(nil)", fn: func() error { return syscall.Setgroups(nil) }, filter: "Groups:", expect: ""},
+- {call: "Setgroups([]int{0})", fn: func() error { return syscall.Setgroups([]int{0}) }, filter: "Groups:", expect: "\t0"},
+-
+ {call: "Setregid(101,0)", fn: func() error { return syscall.Setregid(101, 0) }, filter: "Gid:", expect: "\t101\t0\t0\t0"},
+ {call: "Setregid(0,102)", fn: func() error { return syscall.Setregid(0, 102) }, filter: "Gid:", expect: "\t0\t102\t102\t102"},
+ {call: "Setregid(0,0)", fn: func() error { return syscall.Setregid(0, 0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
diff --git a/srcpkgs/go/patches/fix-tests.patch b/srcpkgs/go/patches/fix-tests.patch
new file mode 100644
index 000000000000..c93415611413
--- /dev/null
+++ b/srcpkgs/go/patches/fix-tests.patch
@@ -0,0 +1,150 @@
+Inside user namespaces, if GID == OVERFLOWGID (65534), then chown won't work.
+https://github.com/golang/go/issues/42525
+
+--- a/go/src/os/os_unix_test.go
++++ b/go/src/os/os_unix_test.go
+@@ -39,144 +39,6 @@ func checkUidGid(t *testing.T, path string, uid, gid int) {
+ }
+ }
+
+-func TestChown(t *testing.T) {
+- // Use TempDir() to make sure we're on a local file system,
+- // so that the group ids returned by Getgroups will be allowed
+- // on the file. On NFS, the Getgroups groups are
+- // basically useless.
+- f := newFile("TestChown", t)
+- defer Remove(f.Name())
+- defer f.Close()
+- dir, err := f.Stat()
+- if err != nil {
+- t.Fatalf("stat %s: %s", f.Name(), err)
+- }
+-
+- // Can't change uid unless root, but can try
+- // changing the group id. First try our current group.
+- gid := Getgid()
+- t.Log("gid:", gid)
+- if err = Chown(f.Name(), -1, gid); err != nil {
+- t.Fatalf("chown %s -1 %d: %s", f.Name(), gid, err)
+- }
+- sys := dir.Sys().(*syscall.Stat_t)
+- checkUidGid(t, f.Name(), int(sys.Uid), gid)
+-
+- // Then try all the auxiliary groups.
+- groups, err := Getgroups()
+- if err != nil {
+- t.Fatalf("getgroups: %s", err)
+- }
+- t.Log("groups: ", groups)
+- for _, g := range groups {
+- if err = Chown(f.Name(), -1, g); err != nil {
+- t.Fatalf("chown %s -1 %d: %s", f.Name(), g, err)
+- }
+- checkUidGid(t, f.Name(), int(sys.Uid), g)
+-
+- // change back to gid to test fd.Chown
+- if err = f.Chown(-1, gid); err != nil {
+- t.Fatalf("fchown %s -1 %d: %s", f.Name(), gid, err)
+- }
+- checkUidGid(t, f.Name(), int(sys.Uid), gid)
+- }
+-}
+-
+-func TestFileChown(t *testing.T) {
+- // Use TempDir() to make sure we're on a local file system,
+- // so that the group ids returned by Getgroups will be allowed
+- // on the file. On NFS, the Getgroups groups are
+- // basically useless.
+- f := newFile("TestFileChown", t)
+- defer Remove(f.Name())
+- defer f.Close()
+- dir, err := f.Stat()
+- if err != nil {
+- t.Fatalf("stat %s: %s", f.Name(), err)
+- }
+-
+- // Can't change uid unless root, but can try
+- // changing the group id. First try our current group.
+- gid := Getgid()
+- t.Log("gid:", gid)
+- if err = f.Chown(-1, gid); err != nil {
+- t.Fatalf("fchown %s -1 %d: %s", f.Name(), gid, err)
+- }
+- sys := dir.Sys().(*syscall.Stat_t)
+- checkUidGid(t, f.Name(), int(sys.Uid), gid)
+-
+- // Then try all the auxiliary groups.
+- groups, err := Getgroups()
+- if err != nil {
+- t.Fatalf("getgroups: %s", err)
+- }
+- t.Log("groups: ", groups)
+- for _, g := range groups {
+- if err = f.Chown(-1, g); err != nil {
+- t.Fatalf("fchown %s -1 %d: %s", f.Name(), g, err)
+- }
+- checkUidGid(t, f.Name(), int(sys.Uid), g)
+-
+- // change back to gid to test fd.Chown
+- if err = f.Chown(-1, gid); err != nil {
+- t.Fatalf("fchown %s -1 %d: %s", f.Name(), gid, err)
+- }
+- checkUidGid(t, f.Name(), int(sys.Uid), gid)
+- }
+-}
+-
+-func TestLchown(t *testing.T) {
+- // Use TempDir() to make sure we're on a local file system,
+- // so that the group ids returned by Getgroups will be allowed
+- // on the file. On NFS, the Getgroups groups are
+- // basically useless.
+- f := newFile("TestLchown", t)
+- defer Remove(f.Name())
+- defer f.Close()
+- dir, err := f.Stat()
+- if err != nil {
+- t.Fatalf("stat %s: %s", f.Name(), err)
+- }
+-
+- linkname := f.Name() + "2"
+- if err := Symlink(f.Name(), linkname); err != nil {
+- if runtime.GOOS == "android" && IsPermission(err) {
+- t.Skip("skipping test on Android; permission error creating symlink")
+- }
+- t.Fatalf("link %s -> %s: %v", f.Name(), linkname, err)
+- }
+- defer Remove(linkname)
+-
+- // Can't change uid unless root, but can try
+- // changing the group id. First try our current group.
+- gid := Getgid()
+- t.Log("gid:", gid)
+- if err = Lchown(linkname, -1, gid); err != nil {
+- if err, ok := err.(*PathError); ok && err.Err == syscall.ENOSYS {
+- t.Skip("lchown is unavailable")
+- }
+- t.Fatalf("lchown %s -1 %d: %s", linkname, gid, err)
+- }
+- sys := dir.Sys().(*syscall.Stat_t)
+- checkUidGid(t, linkname, int(sys.Uid), gid)
+-
+- // Then try all the auxiliary groups.
+- groups, err := Getgroups()
+- if err != nil {
+- t.Fatalf("getgroups: %s", err)
+- }
+- t.Log("groups: ", groups)
+- for _, g := range groups {
+- if err = Lchown(linkname, -1, g); err != nil {
+- t.Fatalf("lchown %s -1 %d: %s", linkname, g, err)
+- }
+- checkUidGid(t, linkname, int(sys.Uid), g)
+-
+- // Check that link target's gid is unchanged.
+- checkUidGid(t, f.Name(), int(sys.Uid), int(sys.Gid))
+- }
+-}
+-
+ // Issue 16919: Readdir must return a non-empty slice or an error.
+ func TestReaddirRemoveRace(t *testing.T) {
+ oldStat := *LstatP
diff --git a/srcpkgs/go/template b/srcpkgs/go/template
index 2db64b795ed8..a5fce0f153b6 100644
--- a/srcpkgs/go/template
+++ b/srcpkgs/go/template
@@ -1,17 +1,18 @@
# Template file for 'go'
pkgname=go
-version=1.18.3
+version=1.19
revision=1
create_wrksrc=yes
build_wrksrc=go
hostmakedepends="go1.12-bootstrap"
+checkdepends="iana-etc clang gcc-fortran"
short_desc="Go Programming Language"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://go.dev/"
changelog="https://go.dev/doc/devel/release.html"
distfiles="https://go.dev/dl/go${version}.src.tar.gz"
-checksum=0012386ddcbb5f3350e407c679923811dbd283fcdc421724931614a842ecbc2d
+checksum=9419cc70dc5a2523f29a77053cafff658ed21ef3561d9b6b020280ebceab28b9
nostrip=yes
noverifyrdeps=yes
@@ -31,11 +32,24 @@ if [ "$CROSS_BUILD" ]; then
fi
fi
+# Workaround for go-1.19 compilation error on i686
+# runtime/cgo(.text): unknown symbol __stack_chk_fail_local in pcrel
+if [ "$XBPS_MACHINE" = i686 ]; then
+ export CGO_CFLAGS="-fno-stack-protector"
+fi
+
+post_extract() {
+ if [ "$(df . --output=fstype | tail -1)" = zfs ]; then
+ # https://github.com/golang/go/issues/39905
+ rm -v go/src/cmd/link/internal/ld/fallocate_test.go
+ fi
+}
+
do_build() {
unset GCC CC CXX LD CFLAGS
# FIXME: work around leaking go build-style vars when built as a
# dependency
- unset CGO_CXXFLAGS CGO_CFLAGS CGO_ENABLED
+ unset CGO_CXXFLAGS CGO_ENABLED # CGO_CFLAGS
export GOROOT_BOOTSTRAP="/usr/lib/go1.12"
export GOROOT=$PWD
@@ -47,6 +61,15 @@ do_build() {
bash make.bash -v
}
+do_check() {
+ if [ "$XBPS_LIBC" = musl ]; then
+ # https://github.com/golang/go/issues/39857
+ ./bin/go tool dist test -v -run "!^cgo_test$"
+ else
+ ./bin/go tool dist test -v
+ fi
+}
+
do_install() {
local bindir
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (6 preceding siblings ...)
2022-08-08 5:12 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 5:22 ` ketlrznt
2022-08-08 5:46 ` [PR REVIEW] " ketlrznt
` (54 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 5:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2294 bytes --]
From faf0bf207b45656a4c92fd2ae8d85fc0b9bc491e Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 11 +++++++++
srcpkgs/v2raya/template | 43 +++++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..7f53fbe90cdb
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..171caba94fa6
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,43 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0-1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # configurationo dir
+ vmkdir etc/$pkgname 0750
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
+
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (7 preceding siblings ...)
2022-08-08 5:22 ` ketlrznt
@ 2022-08-08 5:46 ` ketlrznt
2022-08-08 5:46 ` ketlrznt
` (53 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 5:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 247 bytes --]
New review comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939843309
Comment:
Thanks. I would like to remove this as v2raya configuration file location is set in v2raya service.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (8 preceding siblings ...)
2022-08-08 5:46 ` [PR REVIEW] " ketlrznt
@ 2022-08-08 5:46 ` ketlrznt
2022-08-08 5:48 ` [PR PATCH] [Updated] " ketlrznt
` (52 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 5:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
New review comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939843337
Comment:
Thanks! I will fix it.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (9 preceding siblings ...)
2022-08-08 5:46 ` ketlrznt
@ 2022-08-08 5:48 ` ketlrznt
2022-08-08 5:50 ` [PR REVIEW] " ketlrznt
` (51 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 5:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2244 bytes --]
From 6dd82a9a7a3de3cdb778e8ec2136444261e9ceb7 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 11 +++++++++
srcpkgs/v2raya/template | 41 +++++++++++++++++++++++++++++++++
2 files changed, 52 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..7f53fbe90cdb
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,11 @@
+#! /bin/bash
+
+# v2raya config
+export V2RAYA_CONFIG=/etc/v2raya
+# v2raya log
+export V2RAYA_LOG_FILE=/var/log/v2raya/v2raya.log
+# v2ray router data
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..b02dc9140c5c
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,41 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags='-X github.com/v2rayA/v2rayA/conf.Version=unstable-'"$version"' -s -w'
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+export GO11MODULE=on
+
+do_build() {
+ cd gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+ cd ../service
+ go build -ldflags="$go_ldflags" -o "${GOPATH}/bin/v2raya"
+}
+
+do_install() {
+ # binary
+ vbin ${GOPATH}/bin/v2raya
+ # desktop entry
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ # service
+ vsv v2raya
+ # icon
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ # license
+ vlicense LICENSE
+}
+
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (10 preceding siblings ...)
2022-08-08 5:48 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 5:50 ` ketlrznt
2022-08-08 5:50 ` ketlrznt
` (50 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 5:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
New review comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939845054
Comment:
done.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (11 preceding siblings ...)
2022-08-08 5:50 ` [PR REVIEW] " ketlrznt
@ 2022-08-08 5:50 ` ketlrznt
2022-08-08 6:16 ` classabbyamp
` (49 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 5:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
New review comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939845109
Comment:
done.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (15 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (45 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939854413
Comment:
```suggestion
post_install() {
```
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (16 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (44 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 275 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939852624
Comment:
```suggestion
go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version} -s -w"
```
why add unstable to the version?
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (20 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (40 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 330 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939853715
Comment:
```suggestion
pre_build() {
cd gui
yarn --check-files
OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
```
there's no reason to override the go build style, i think
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (18 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (42 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 225 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939857002
Comment:
the comments in this file aren't giving any more info than variable names
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (14 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (46 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939855712
Comment:
```suggestion
wrksrc="v2rayA-${version}"
build_wrksrc=service
```
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (12 preceding siblings ...)
2022-08-08 5:50 ` ketlrznt
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (48 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939857443
Comment:
what does this do?
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (13 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (47 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939856396
Comment:
```suggestion
#!/bin/sh
```
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (17 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (43 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939855238
Comment:
the comments in this function don't really say anything that isn't obvious
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (21 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 8:04 ` cubercsl
` (39 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 205 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939854704
Comment:
also it seems the yarn build output isn't installed?
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (19 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
` (41 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 6:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939857309
Comment:
does this really need to be set? that should be the default
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (22 preceding siblings ...)
2022-08-08 6:16 ` classabbyamp
@ 2022-08-08 8:04 ` cubercsl
2022-08-08 9:07 ` [PR PATCH] [Updated] " ketlrznt
` (38 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: cubercsl @ 2022-08-08 8:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New review comment by cubercsl on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r939945624
Comment:
https://github.com/v2rayA/v2rayA/blob/v1.5.9.1698.1/service/server/router/index.go#L27-L28
yarn build output is embed in `v2raya` with `go:embed` feature.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (23 preceding siblings ...)
2022-08-08 8:04 ` cubercsl
@ 2022-08-08 9:07 ` ketlrznt
2022-08-08 11:45 ` ketlrznt
` (37 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 9:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2132 bytes --]
From 2d72f8781442687a8d9298199f0b044acd154e3c Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 6 ++++++
srcpkgs/v2raya/template | 36 +++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..6528a00ccfc8
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..85859a4995f5
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,36 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version} -s -w"
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ # default go build style generates `v2rayA` file,
+ # change it to `v2raya` to keep lowercase consistent
+ vbin ${DESTDIR}/usr/bin/v2rayA v2raya
+ rm ${DESTDIR}/usr/bin/v2rayA
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2raya
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (24 preceding siblings ...)
2022-08-08 9:07 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 11:45 ` ketlrznt
2022-08-08 11:54 ` [PR PATCH] [Updated] " ketlrznt
` (36 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 11:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208021692
Comment:
i686 build failed may due to this [issue](https://github.com/golang/go/issues/52919). Gonna to upload a fix.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (25 preceding siblings ...)
2022-08-08 11:45 ` ketlrznt
@ 2022-08-08 11:54 ` ketlrznt
2022-08-08 11:58 ` ketlrznt
` (35 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 11:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2288 bytes --]
From 4c5f367f41fa26adb6d61f5af71157c488b7c762 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 6 +++++
srcpkgs/v2raya/template | 41 +++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..6528a00ccfc8
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..439dcba44da9
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,41 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version} -s -w"
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+# build for i686
+# issue: https://go.dev/issue/52919
+# fix: https://go-review.googlesource.com/c/go/+/421935/
+export CGO_CFLAGS="-fno-stack-protector"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ # default go build style generates `v2rayA` file,
+ # change it to `v2raya` to keep lowercase consistent
+ vbin ${DESTDIR}/usr/bin/v2rayA v2raya
+ rm ${DESTDIR}/usr/bin/v2rayA
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2raya
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (26 preceding siblings ...)
2022-08-08 11:54 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 11:58 ` ketlrznt
2022-08-08 11:59 ` ketlrznt
` (34 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 11:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208021692
Comment:
i686 build failed may due to this [issue](https://github.com/golang/go/issues/52919). Gonna to upload a fix.
add: fixed #4c5f367
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (27 preceding siblings ...)
2022-08-08 11:58 ` ketlrznt
@ 2022-08-08 11:59 ` ketlrznt
2022-08-08 14:11 ` [PR REVIEW] " classabbyamp
` (33 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 11:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 251 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208021692
Comment:
i686 build failed may due to this [issue](https://github.com/golang/go/issues/52919). Gonna to upload a fix.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (29 preceding siblings ...)
2022-08-08 14:11 ` [PR REVIEW] " classabbyamp
@ 2022-08-08 14:11 ` classabbyamp
2022-08-08 14:27 ` [PR PATCH] [Updated] " ketlrznt
` (31 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 14:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r940288667
Comment:
it would make more sense to make the pkgname v2rayA
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (28 preceding siblings ...)
2022-08-08 11:59 ` ketlrznt
@ 2022-08-08 14:11 ` classabbyamp
2022-08-08 14:11 ` classabbyamp
` (32 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 14:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 196 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r940289494
Comment:
go is not needed here (build style adds it)
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (30 preceding siblings ...)
2022-08-08 14:11 ` classabbyamp
@ 2022-08-08 14:27 ` ketlrznt
2022-08-08 14:31 ` ketlrznt
` (30 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 14:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2288 bytes --]
From 8265e4d18fdce970bbe5304988167438f531893c Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 6 +++++
srcpkgs/v2raya/template | 41 +++++++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..6528a00ccfc8
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2raya
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..439dcba44da9
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,41 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version} -s -w"
+hostmakedepends="go nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+# build for i686
+# issue: https://go.dev/issue/52919
+# fix: https://go-review.googlesource.com/c/go/+/421935/
+export CGO_CFLAGS="-fno-stack-protector"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ # default go build style generates `v2rayA` file,
+ # change it to `v2raya` to keep lowercase consistent
+ vbin ${DESTDIR}/usr/bin/v2rayA v2raya
+ rm ${DESTDIR}/usr/bin/v2rayA
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2raya
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (31 preceding siblings ...)
2022-08-08 14:27 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 14:31 ` ketlrznt
2022-08-08 15:10 ` [PR REVIEW] " classabbyamp
` (29 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 14:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2108 bytes --]
From 2773dd291eef9014573f1f544a34006da70e5042 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2raya
---
srcpkgs/v2raya/files/v2raya/run | 6 ++++++
srcpkgs/v2raya/template | 37 +++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/v2raya/files/v2raya/run
create mode 100644 srcpkgs/v2raya/template
diff --git a/srcpkgs/v2raya/files/v2raya/run b/srcpkgs/v2raya/files/v2raya/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2raya/files/v2raya/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2raya/template b/srcpkgs/v2raya/template
new file mode 100644
index 000000000000..c974d5067b2b
--- /dev/null
+++ b/srcpkgs/v2raya/template
@@ -0,0 +1,37 @@
+# Template file for 'v2raya'
+pkgname=v2raya
+version=1.5.9.1698.1
+revision=1
+wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version} -s -w"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+# build for i686
+# issue: https://go.dev/issue/52919
+# fix: https://go-review.googlesource.com/c/go/+/421935/
+export CGO_CFLAGS="-fno-stack-protector"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2raya
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (32 preceding siblings ...)
2022-08-08 14:31 ` ketlrznt
@ 2022-08-08 15:10 ` classabbyamp
2022-08-08 15:34 ` [PR PATCH] [Updated] " ketlrznt
` (28 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 15:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r940355740
Comment:
post_install should already be there by default
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2raya-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (33 preceding siblings ...)
2022-08-08 15:10 ` [PR REVIEW] " classabbyamp
@ 2022-08-08 15:34 ` ketlrznt
2022-08-08 15:39 ` [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1 ketlrznt
` (27 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 15:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2raya-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2110 bytes --]
From 95621fad10da095fe7e2eb93bc22486831488f28 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 37 +++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..358626b039cc
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,37 @@
+# Template file for 'v2raya'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+# wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version} -s -w"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+# build for i686
+# issue: https://go.dev/issue/52919
+# fix: https://go-review.googlesource.com/c/go/+/421935/
+export CGO_CFLAGS="-fno-stack-protector"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2rayA.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (34 preceding siblings ...)
2022-08-08 15:34 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 15:39 ` ketlrznt
2022-08-08 15:40 ` ketlrznt
` (26 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 15:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2110 bytes --]
From 91d641aa7e3a995a8bb594108829b18428ba617d Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 37 +++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..5e846112da5c
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,37 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+# wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version} -s -w"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+# build for i686
+# issue: https://go.dev/issue/52919
+# fix: https://go-review.googlesource.com/c/go/+/421935/
+export CGO_CFLAGS="-fno-stack-protector"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2rayA.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (35 preceding siblings ...)
2022-08-08 15:39 ` [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1 ketlrznt
@ 2022-08-08 15:40 ` ketlrznt
2022-08-08 15:41 ` ketlrznt
` (25 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 15:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208291361
Comment:
@classabbyamp Thank you for your patience. I changed pkgname and other related information to v2rayA. But I have no idea about i686 build failure. I tested cross compile on my own PC, i686 package is built normally. More investigation is needed on this problem.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (36 preceding siblings ...)
2022-08-08 15:40 ` ketlrznt
@ 2022-08-08 15:41 ` ketlrznt
2022-08-08 15:47 ` [PR REVIEW] " classabbyamp
` (24 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 15:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 406 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208291361
Comment:
@classabbyamp Thank you for your patience. I changed pkgname and other related information to v2rayA. But I have no idea about i686 build failure. I tested cross compile on my own PC, i686 package is built normally. More investigations are needed on this problem.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (37 preceding siblings ...)
2022-08-08 15:41 ` ketlrznt
@ 2022-08-08 15:47 ` classabbyamp
2022-08-08 15:54 ` [PR PATCH] [Updated] " ketlrznt
` (23 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 15:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r940394916
Comment:
```suggestion
go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
```
don't set `-s -w`, xbps-src will strip it for you
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (38 preceding siblings ...)
2022-08-08 15:47 ` [PR REVIEW] " classabbyamp
@ 2022-08-08 15:54 ` ketlrznt
2022-08-08 15:57 ` classabbyamp
` (22 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 15:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2104 bytes --]
From 13e5044a0295c5ba1a8c5e2718ba0f885a5f5249 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 37 +++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..edea4c9e2b2d
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,37 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+# wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+# build for i686
+# issue: https://go.dev/issue/52919
+# fix: https://go-review.googlesource.com/c/go/+/421935/
+export CGO_CFLAGS="-fno-stack-protector"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2rayA.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (39 preceding siblings ...)
2022-08-08 15:54 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-08 15:57 ` classabbyamp
2022-08-08 16:03 ` ketlrznt
` (21 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-08 15:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208308965
Comment:
> I tested cross compile on my own PC, i686 package is built normally
CI doesn't do a cross build for i686, it uses a [native 32bit masterdir](https://github.com/void-linux/void-packages#building-32bit). can you try building locally with that?
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (40 preceding siblings ...)
2022-08-08 15:57 ` classabbyamp
@ 2022-08-08 16:03 ` ketlrznt
2022-08-09 0:58 ` ketlrznt
` (20 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-08 16:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208315759
Comment:
> > I tested cross compile on my own PC, i686 package is built normally
>
> CI doesn't do a cross build for i686, it uses a [native 32bit masterdir](https://github.com/void-linux/void-packages#building-32bit). can you try building locally with that?
I will try it later. Thanks! After I finished it I will update my commit.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (41 preceding siblings ...)
2022-08-08 16:03 ` ketlrznt
@ 2022-08-09 0:58 ` ketlrznt
2022-08-09 1:23 ` ketlrznt
` (19 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-09 0:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208771832
Comment:
> > I tested cross compile on my own PC, i686 package is built normally
>
> CI doesn't do a cross build for i686, it uses a [native 32bit masterdir](https://github.com/void-linux/void-packages#building-32bit). can you try building locally with that?
I tried build on native 32bit masterdir, the package builds normally. Still need more works to figure out what happened.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (42 preceding siblings ...)
2022-08-09 0:58 ` ketlrznt
@ 2022-08-09 1:23 ` ketlrznt
2022-08-09 2:24 ` [PR PATCH] [Updated] " ketlrznt
` (18 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-09 1:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208786194
Comment:
Well, I tried to print `CGO_CFLAGS` variable during `i686` build, which is `-mtune=i686 -O2 -pipe`. Seems `CGO_CFLAGS="-fno-stack-protector"` is not respected. I am going to do more local tests and update my commit.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (43 preceding siblings ...)
2022-08-09 1:23 ` ketlrznt
@ 2022-08-09 2:24 ` ketlrznt
2022-08-09 2:27 ` ketlrznt
` (17 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-09 2:24 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2167 bytes --]
From 21aebbba102c0e164ddb442bed6381171eaad5e8 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 38 +++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..7c936568f199
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,38 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+# wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ # build for i686
+ # issue: https://go.dev/issue/52919
+ # fix: https://go-review.googlesource.com/c/go/+/421935/
+ if [ "$XBPS_MACHINE" = "i686" ]; then
+ CGO_CFLAGS="-mtune=i686 -O2 -pipe -fno-stack-protector"
+ fi
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (44 preceding siblings ...)
2022-08-09 2:24 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-09 2:27 ` ketlrznt
2022-08-09 2:29 ` [PR REVIEW] " classabbyamp
` (16 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-09 2:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 368 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1208840784
Comment:
@classabbyamp fixed. add `CGO_CFLAGS` when build in i686 native `masterdir`. also fixed icon `.png` file name which was modified incorrectly before to match Icon location defined in desktop entry.
Wish next try successful.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (45 preceding siblings ...)
2022-08-09 2:27 ` ketlrznt
@ 2022-08-09 2:29 ` classabbyamp
2022-08-09 2:33 ` [PR PATCH] [Updated] " ketlrznt
` (15 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-09 2:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r940828393
Comment:
```suggestion
CGO_CFLAGS+=" -fno-stack-protector"
```
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (46 preceding siblings ...)
2022-08-09 2:29 ` [PR REVIEW] " classabbyamp
@ 2022-08-09 2:33 ` ketlrznt
2022-08-09 2:34 ` ketlrznt
` (14 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-09 2:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2146 bytes --]
From 3d9b9febf1d52f1f062ee6d67b06769ef617e727 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 38 +++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..f6ae1824a0e4
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,38 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+# wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ # build for i686
+ # issue: https://go.dev/issue/52919
+ # fix: https://go-review.googlesource.com/c/go/+/421935/
+ if [ "$XBPS_MACHINE" = "i686" ]; then
+ CGO_CFLAGS+="-fno-stack-protector"
+ fi
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (47 preceding siblings ...)
2022-08-09 2:33 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-09 2:34 ` ketlrznt
2022-08-09 3:06 ` ketlrznt
` (13 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-09 2:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2147 bytes --]
From e7d3ffd9701fa950191133af5468beec6e996478 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 38 +++++++++++++++++++++++++++++++++
2 files changed, 44 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..303070904766
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,38 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+# wrksrc="v2rayA-${version}"
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ # build for i686
+ # issue: https://go.dev/issue/52919
+ # fix: https://go-review.googlesource.com/c/go/+/421935/
+ if [ "$XBPS_MACHINE" = "i686" ]; then
+ CGO_CFLAGS+=" -fno-stack-protector"
+ fi
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (48 preceding siblings ...)
2022-08-09 2:34 ` ketlrznt
@ 2022-08-09 3:06 ` ketlrznt
2022-08-10 19:23 ` [PR REVIEW] " classabbyamp
` (12 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-09 3:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 2117 bytes --]
From 0c26e7ca62d33cd9c4af618c214f10e82806f962 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 37 +++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..f10a9f39db34
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,37 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ # build for i686
+ # issue: https://go.dev/issue/52919
+ # fix: https://go-review.googlesource.com/c/go/+/421935/
+ if [ "$XBPS_MACHINE" = "i686" ]; then
+ CGO_CFLAGS+=" -fno-stack-protector"
+ fi
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (49 preceding siblings ...)
2022-08-09 3:06 ` ketlrznt
@ 2022-08-10 19:23 ` classabbyamp
2022-08-10 23:25 ` [PR PATCH] [Updated] " ketlrznt
` (11 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-10 19:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 229 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r942741542
Comment:
this is part of the build_style now, you can rebase on master and remove this
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (50 preceding siblings ...)
2022-08-10 19:23 ` [PR REVIEW] " classabbyamp
@ 2022-08-10 23:25 ` ketlrznt
2022-08-10 23:26 ` classabbyamp
` (10 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-10 23:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 1915 bytes --]
From 46bf6c09b60b8f096923e3ced2c6130c8d2b893b Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] add package: v2rayA
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 31 +++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..88d9e8978ae3
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,31 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (51 preceding siblings ...)
2022-08-10 23:25 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-10 23:26 ` classabbyamp
2022-08-10 23:29 ` [PR REVIEW] " classabbyamp
` (9 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-10 23:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1211397888
Comment:
btw, the commit message should be `New package: v2rayA-1.5.9.1698.1`
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR REVIEW] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (52 preceding siblings ...)
2022-08-10 23:26 ` classabbyamp
@ 2022-08-10 23:29 ` classabbyamp
2022-08-11 0:39 ` [PR PATCH] [Updated] " ketlrznt
` (8 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: classabbyamp @ 2022-08-10 23:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#discussion_r940355740
Comment:
post_install should already be there by default
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (53 preceding siblings ...)
2022-08-10 23:29 ` [PR REVIEW] " classabbyamp
@ 2022-08-11 0:39 ` ketlrznt
2022-08-11 0:39 ` ketlrznt
` (7 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-11 0:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 1928 bytes --]
From 6f93c22c9dbb4d79c01fce2b13b49b8592b0385b Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] New package: v2rayA-1.5.9.1698.1
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 31 +++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..88d9e8978ae3
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,31 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (54 preceding siblings ...)
2022-08-11 0:39 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-11 0:39 ` ketlrznt
2022-08-28 13:11 ` [PR PATCH] [Updated] " ketlrznt
` (6 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-11 0:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 222 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1211440722
Comment:
> btw, the commit message should be `New package: v2rayA-1.5.9.1698.1`
Done.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (55 preceding siblings ...)
2022-08-11 0:39 ` ketlrznt
@ 2022-08-28 13:11 ` ketlrznt
2022-08-28 13:19 ` ketlrznt
` (5 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-28 13:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 672 bytes --]
There is an updated pull request by ketlrznt against master on the void-packages repository
https://github.com/ketlrznt/void-packages master
https://github.com/void-linux/void-packages/pull/38528
New package: v2rayA-1.5.9.1698.1
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
A patch file from https://github.com/void-linux/void-packages/pull/38528.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38528.patch --]
[-- Type: text/x-diff, Size: 1938 bytes --]
From c37f00495d5656f496c9f00dfbb248df15ebda64 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Mon, 8 Aug 2022 10:19:39 +0800
Subject: [PATCH] New package: v2rayA-1.5.9.1698.1
---
srcpkgs/v2rayA/files/v2rayA/run | 6 ++++++
srcpkgs/v2rayA/template | 31 +++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/v2rayA/files/v2rayA/run
create mode 100644 srcpkgs/v2rayA/template
diff --git a/srcpkgs/v2rayA/files/v2rayA/run b/srcpkgs/v2rayA/files/v2rayA/run
new file mode 100644
index 000000000000..fd6527ed7096
--- /dev/null
+++ b/srcpkgs/v2rayA/files/v2rayA/run
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+export XDG_DATA_HOME="/usr/share"
+
+exec /usr/bin/v2rayA
+
diff --git a/srcpkgs/v2rayA/template b/srcpkgs/v2rayA/template
new file mode 100644
index 000000000000..1b3380e6bda0
--- /dev/null
+++ b/srcpkgs/v2rayA/template
@@ -0,0 +1,31 @@
+# Template file for 'v2rayA'
+pkgname=v2rayA
+version=1.5.9.1698.1
+revision=1
+build_wrksrc="service"
+build_style="go"
+go_import_path="github.com/v2rayA/v2rayA"
+go_ldflags="-X github.com/v2rayA/v2rayA/conf.Version=${version}"
+hostmakedepends="nodejs yarn"
+depends="v2ray>=4.37.0_1 xdg-utils"
+short_desc="Web GUI client of Project V which supports various protocals"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="AGPL-3.0-only"
+homepage="https://github.com/v2rayA/v2rayA"
+distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
+checksum="247a357230c616bf48309c61d119686e4ad56939c05afef584c45051e9dc6220"
+
+pre_build() {
+ cd ${wrksrc}/gui
+ yarn --check-files
+ OUTPUT_DIR="${wrksrc}/service/server/router/web" yarn build
+}
+
+post_install() {
+ cd ${wrksrc}
+ vinstall install/universal/v2raya.desktop 0644 usr/share/applications
+ vsv v2rayA
+ vinstall gui/public/img/icons/android-chrome-512x512.png \
+ 0644 usr/share/icons/hicolor/512x512/apps/ v2raya.png
+ vlicense LICENSE
+}
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (56 preceding siblings ...)
2022-08-28 13:11 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-28 13:19 ` ketlrznt
2022-08-28 13:20 ` ketlrznt
` (4 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-28 13:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1229455846
Comment:
In c37f004 I add `xdg-utils` to depends, as v2rayA desktop file need `xdg-open` to open v2rayA program in browser. In case that someone don't have `xdg-utils`, v2rayA desktop file won't be shown in application menu and it can not work as expected.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (57 preceding siblings ...)
2022-08-28 13:19 ` ketlrznt
@ 2022-08-28 13:20 ` ketlrznt
2022-08-28 13:26 ` ketlrznt
` (3 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-28 13:20 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1229455846
Comment:
In c37f004 I add `xdg-utils` to depends, as v2rayA desktop file need `xdg-open` to open v2rayA program in browser. In case that someone don't have `xdg-utils`, v2rayA `.desktop` file won't be shown in application menu and it can not work as expected.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (58 preceding siblings ...)
2022-08-28 13:20 ` ketlrznt
@ 2022-08-28 13:26 ` ketlrznt
2022-09-11 1:41 ` [WIP for Update] " ketlrznt
` (2 subsequent siblings)
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-08-28 13:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1229455846
Comment:
In c37f004 I add `xdg-utils` to depends, as v2rayA desktop file need `xdg-open` to open v2rayA program in browser. In case that someone don't have `xdg-utils` installed, v2rayA `.desktop` file won't be shown in application menu and it can not work as expected.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [WIP for Update] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (59 preceding siblings ...)
2022-08-28 13:26 ` ketlrznt
@ 2022-09-11 1:41 ` ketlrznt
2022-09-11 1:44 ` ketlrznt
2022-10-19 8:53 ` [PR PATCH] [Closed]: " ketlrznt
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-09-11 1:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1242840439
Comment:
v2ray has been updated to `5.1.0` whereas `v2rayA` for `v2ray: v5` is still **under development** and not yet release. I mark this pr as **[WIP]** and will hold it until the next update.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [WIP for Update] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (60 preceding siblings ...)
2022-09-11 1:41 ` [WIP for Update] " ketlrznt
@ 2022-09-11 1:44 ` ketlrznt
2022-10-19 8:53 ` [PR PATCH] [Closed]: " ketlrznt
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-09-11 1:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
New comment by ketlrznt on void-packages repository
https://github.com/void-linux/void-packages/pull/38528#issuecomment-1242840439
Comment:
v2ray has been updated to `5.1.0` (#39179) whereas [v2rayA](https://github.com/v2rayA/v2rayA/tree/feat_v5) for `v2ray: v5` is still **under development** and not yet release. I mark this pr as **[WIP]** and will hold it until the next update.
^ permalink raw reply [flat|nested] 64+ messages in thread
* Re: [PR PATCH] [Closed]: [WIP for Update] New package: v2rayA-1.5.9.1698.1
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
` (61 preceding siblings ...)
2022-09-11 1:44 ` ketlrznt
@ 2022-10-19 8:53 ` ketlrznt
62 siblings, 0 replies; 64+ messages in thread
From: ketlrznt @ 2022-10-19 8:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
There's a closed pull request on the void-packages repository
[WIP for Update] New package: v2rayA-1.5.9.1698.1
https://github.com/void-linux/void-packages/pull/38528
Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-LIBC)
^ permalink raw reply [flat|nested] 64+ messages in thread
end of thread, other threads:[~2022-10-19 8:53 UTC | newest]
Thread overview: 64+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08 2:28 [PR PATCH] New package: v2raya-1.5.9.1698.1 ketlrznt
2022-08-08 2:37 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 2:41 ` ketlrznt
2022-08-08 2:56 ` ketlrznt
2022-08-08 4:53 ` ketlrznt
2022-08-08 5:04 ` [PR REVIEW] " classabbyamp
2022-08-08 5:04 ` classabbyamp
2022-08-08 5:12 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 5:22 ` ketlrznt
2022-08-08 5:46 ` [PR REVIEW] " ketlrznt
2022-08-08 5:46 ` ketlrznt
2022-08-08 5:48 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 5:50 ` [PR REVIEW] " ketlrznt
2022-08-08 5:50 ` ketlrznt
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 6:16 ` classabbyamp
2022-08-08 8:04 ` cubercsl
2022-08-08 9:07 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 11:45 ` ketlrznt
2022-08-08 11:54 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 11:58 ` ketlrznt
2022-08-08 11:59 ` ketlrznt
2022-08-08 14:11 ` [PR REVIEW] " classabbyamp
2022-08-08 14:11 ` classabbyamp
2022-08-08 14:27 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 14:31 ` ketlrznt
2022-08-08 15:10 ` [PR REVIEW] " classabbyamp
2022-08-08 15:34 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 15:39 ` [PR PATCH] [Updated] New package: v2rayA-1.5.9.1698.1 ketlrznt
2022-08-08 15:40 ` ketlrznt
2022-08-08 15:41 ` ketlrznt
2022-08-08 15:47 ` [PR REVIEW] " classabbyamp
2022-08-08 15:54 ` [PR PATCH] [Updated] " ketlrznt
2022-08-08 15:57 ` classabbyamp
2022-08-08 16:03 ` ketlrznt
2022-08-09 0:58 ` ketlrznt
2022-08-09 1:23 ` ketlrznt
2022-08-09 2:24 ` [PR PATCH] [Updated] " ketlrznt
2022-08-09 2:27 ` ketlrznt
2022-08-09 2:29 ` [PR REVIEW] " classabbyamp
2022-08-09 2:33 ` [PR PATCH] [Updated] " ketlrznt
2022-08-09 2:34 ` ketlrznt
2022-08-09 3:06 ` ketlrznt
2022-08-10 19:23 ` [PR REVIEW] " classabbyamp
2022-08-10 23:25 ` [PR PATCH] [Updated] " ketlrznt
2022-08-10 23:26 ` classabbyamp
2022-08-10 23:29 ` [PR REVIEW] " classabbyamp
2022-08-11 0:39 ` [PR PATCH] [Updated] " ketlrznt
2022-08-11 0:39 ` ketlrznt
2022-08-28 13:11 ` [PR PATCH] [Updated] " ketlrznt
2022-08-28 13:19 ` ketlrznt
2022-08-28 13:20 ` ketlrznt
2022-08-28 13:26 ` ketlrznt
2022-09-11 1:41 ` [WIP for Update] " ketlrznt
2022-09-11 1:44 ` ketlrznt
2022-10-19 8:53 ` [PR PATCH] [Closed]: " ketlrznt
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).