Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: v2ray-domain-list-community
@ 2022-08-10 14:21 ketlrznt
  2022-08-10 14:21 ` ketlrznt
                   ` (35 more replies)
  0 siblings, 36 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 775 bytes --]

There is a new pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages pkg/v2ray-domain-list-community
https://github.com/void-linux/void-packages/pull/38582

New package: v2ray-domain-list-community
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)

A patch file from https://github.com/void-linux/void-packages/pull/38582.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/v2ray-domain-list-community-38582.patch --]
[-- Type: text/x-diff, Size: 1440 bytes --]

From 027c40ed6dc6031d048ad1d4f6af11f855a6280c Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Wed, 10 Aug 2022 20:47:22 +0800
Subject: [PATCH] add v2ray-domain-list-community

---
 srcpkgs/v2ray-domain-list-community/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/v2ray-domain-list-community/template

diff --git a/srcpkgs/v2ray-domain-list-community/template b/srcpkgs/v2ray-domain-list-community/template
new file mode 100644
index 000000000000..fb921c04ab56
--- /dev/null
+++ b/srcpkgs/v2ray-domain-list-community/template
@@ -0,0 +1,20 @@
+# Template file for 'v2ray-domain-list-community'
+pkgname=v2ray-domain-list-community
+version=20220809072217
+revision=1
+wrksrc="domain-list-community-${version}"
+build_style=go
+go_import_path="github.com/v2fly/domain-list-community"
+short_desc="Community managed domain list for Project V"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="MIT"
+homepage="https://github.com/v2fly/domain-list-community"
+distfiles="https://github.com/v2fly/domain-list-community/archive/refs/tags/${version}.tar.gz"
+checksum=3583a9dd91ee9d2f514e5ee49360c579ae52d2a3b1f4693ebd6bc0e819cabfe0
+
+post_install() {
+	${GOPATH}/bin/domain-list-community --datapath=${wrksrc}/data --outputname geosite.dat
+	vinstall geosite.dat 0644 usr/share/v2ray
+	rm ${DESTDIR}/usr/bin/domain-list-community
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
@ 2022-08-10 14:21 ` ketlrznt
  2022-08-10 14:22 ` ketlrznt
                   ` (34 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds additional geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- I haven't test for crossbuilds because [template #16](https://github.com/ketlrznt/void-packages/blob/027c40ed6dc6031d048ad1d4f6af11f855a6280c/srcpkgs/v2ray-domain-list-community/template#L16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can add to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
  2022-08-10 14:21 ` ketlrznt
@ 2022-08-10 14:22 ` ketlrznt
  2022-08-10 14:23 ` ketlrznt
                   ` (33 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds additional geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- I haven't tested for crossbuilds because [template #16](https://github.com/ketlrznt/void-packages/blob/027c40ed6dc6031d048ad1d4f6af11f855a6280c/srcpkgs/v2ray-domain-list-community/template#L16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can add to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
  2022-08-10 14:21 ` ketlrznt
  2022-08-10 14:22 ` ketlrznt
@ 2022-08-10 14:23 ` ketlrznt
  2022-08-10 14:26 ` [WIP] " ketlrznt
                   ` (32 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds additional geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- I haven't tested for crossbuilds because [template #16](https://github.com/void-linux/void-packages/pull/38582/files#diff-4b11503f4dbe4590d4f8b9e866a00a4de0aaa03b6fedd8cf6c30a81ed6828158R16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can add to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (2 preceding siblings ...)
  2022-08-10 14:23 ` ketlrznt
@ 2022-08-10 14:26 ` ketlrznt
  2022-08-10 14:27 ` ketlrznt
                   ` (31 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds additional geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- I haven't tested for crossbuilds because [template #16](https://github.com/void-linux/void-packages/pull/38582/files#diff-4b11503f4dbe4590d4f8b9e866a00a4de0aaa03b6fedd8cf6c30a81ed6828158R16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can be added to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (3 preceding siblings ...)
  2022-08-10 14:26 ` [WIP] " ketlrznt
@ 2022-08-10 14:27 ` ketlrznt
  2022-08-10 14:42 ` [WIP] New package: v2ray-domain-list-community-20220809072217 ketlrznt
                   ` (30 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 967 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds additional geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- **I haven't tested for crossbuilds** because [template #16](https://github.com/void-linux/void-packages/pull/38582/files#diff-4b11503f4dbe4590d4f8b9e866a00a4de0aaa03b6fedd8cf6c30a81ed6828158R16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can be added to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (4 preceding siblings ...)
  2022-08-10 14:27 ` ketlrznt
@ 2022-08-10 14:42 ` ketlrznt
  2022-08-10 14:45 ` ketlrznt
                   ` (29 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 956 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- **I haven't tested for crossbuilds** because [template #16](https://github.com/void-linux/void-packages/pull/38582/files#diff-4b11503f4dbe4590d4f8b9e866a00a4de0aaa03b6fedd8cf6c30a81ed6828158R16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can be added to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (5 preceding siblings ...)
  2022-08-10 14:42 ` [WIP] New package: v2ray-domain-list-community-20220809072217 ketlrznt
@ 2022-08-10 14:45 ` ketlrznt
  2022-08-10 14:46 ` ketlrznt
                   ` (28 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- **I haven't tested for crossbuilds** because [template #16](https://github.com/void-linux/void-packages/pull/38582/files#diff-4b11503f4dbe4590d4f8b9e866a00a4de0aaa03b6fedd8cf6c30a81ed6828158R16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir` on `x86_64`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can be added to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (6 preceding siblings ...)
  2022-08-10 14:45 ` ketlrznt
@ 2022-08-10 14:46 ` ketlrznt
  2022-08-10 14:52 ` ketlrznt
                   ` (27 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).
- **I haven't tested for crossbuilds** because [template #L16](https://github.com/void-linux/void-packages/pull/38582/files#diff-4b11503f4dbe4590d4f8b9e866a00a4de0aaa03b6fedd8cf6c30a81ed6828158R16) includes path which doesn't match `crossbuild` folder path on non-native machine. I tested build in `i686 native masterdir` on `x86_64`, seems everything goes fine.
- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can be added to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (7 preceding siblings ...)
  2022-08-10 14:46 ` ketlrznt
@ 2022-08-10 14:52 ` ketlrznt
  2022-08-10 19:54 ` classabbyamp
                   ` (26 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 14:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).

- **I haven't tested for crossbuilds** because [template #L16](https://github.com/void-linux/void-packages/pull/38582/files#diff-4b11503f4dbe4590d4f8b9e866a00a4de0aaa03b6fedd8cf6c30a81ed6828158R16) includes path (`${GOPATH}/bin/domain-list-community`) which doesn't match `crossbuild` folder path (e.g. for `armv7l` crossbuilds on `x86_64`, the right path is `${GOPATH}/bin/linux_arm/domain-list-community`) on non-native machine. I tested build in `i686 native masterdir` on `x86_64`, seems everything goes fine.

- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can be added to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (8 preceding siblings ...)
  2022-08-10 14:52 ` ketlrznt
@ 2022-08-10 19:54 ` classabbyamp
  2022-08-10 23:37 ` [PR PATCH] [Updated] " ketlrznt
                   ` (25 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: classabbyamp @ 2022-08-10 19:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211199763

Comment:
use something like this to fix the 2nd bullet point

https://github.com/void-linux/void-packages/blob/a15f0148180c7cb23809080cc14ccdade54e0087/srcpkgs/kubernetes-kind/template#L18

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] [WIP] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (9 preceding siblings ...)
  2022-08-10 19:54 ` classabbyamp
@ 2022-08-10 23:37 ` ketlrznt
  2022-08-10 23:38 ` ketlrznt
                   ` (24 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 23:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

There is an updated pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages pkg/v2ray-domain-list-community
https://github.com/void-linux/void-packages/pull/38582

[WIP] New package: v2ray-domain-list-community-20220809072217
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)

A patch file from https://github.com/void-linux/void-packages/pull/38582.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/v2ray-domain-list-community-38582.patch --]
[-- Type: text/x-diff, Size: 1498 bytes --]

From d14446dcac0a3c3075ebe068197986cf974bb2c3 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Wed, 10 Aug 2022 20:47:22 +0800
Subject: [PATCH] add v2ray-domain-list-community

---
 srcpkgs/v2ray-domain-list-community/template | 21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/v2ray-domain-list-community/template

diff --git a/srcpkgs/v2ray-domain-list-community/template b/srcpkgs/v2ray-domain-list-community/template
new file mode 100644
index 000000000000..2eaa388e0d39
--- /dev/null
+++ b/srcpkgs/v2ray-domain-list-community/template
@@ -0,0 +1,21 @@
+# Template file for 'v2ray-domain-list-community'
+pkgname=v2ray-domain-list-community
+version=20220809072217
+revision=1
+wrksrc="domain-list-community-${version}"
+build_style=go
+go_import_path="github.com/v2fly/domain-list-community"
+short_desc="Community managed domain list for Project V"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="MIT"
+homepage="https://github.com/v2fly/domain-list-community"
+distfiles="https://github.com/v2fly/domain-list-community/archive/refs/tags/${version}.tar.gz"
+checksum=3583a9dd91ee9d2f514e5ee49360c579ae52d2a3b1f4693ebd6bc0e819cabfe0
+
+post_install() {
+	local binary_file_path=$(find ${GOPATH}/bin/ -name domain-list-community)
+	$binary_file_path --datapath=${wrksrc}/data --outputname geosite.dat
+	vinstall geosite.dat 0644 usr/share/v2ray
+	rm ${DESTDIR}/usr/bin/domain-list-community
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [WIP] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (10 preceding siblings ...)
  2022-08-10 23:37 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-10 23:38 ` ketlrznt
  2022-08-10 23:39 ` ketlrznt
                   ` (23 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 23:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211406256

Comment:
> use something like this to fix the 2nd bullet point
> 
> https://github.com/void-linux/void-packages/blob/a15f0148180c7cb23809080cc14ccdade54e0087/srcpkgs/kubernetes-kind/template#L18

Done.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (11 preceding siblings ...)
  2022-08-10 23:38 ` ketlrznt
@ 2022-08-10 23:39 ` ketlrznt
  2022-08-11  0:41 ` [PR PATCH] [Updated] " ketlrznt
                   ` (22 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-10 23:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1210744854

Comment:
Notes: 
- This package adds geosites for routing purposes in [New package: v2ray-4.44.0 #31653](https://github.com/void-linux/void-packages/pull/31653), which are also needed by [ New package: v2rayA-1.5.9.1698.1 #38528 ](https://github.com/void-linux/void-packages/pull/38528).

- After solving [v2ray build failure](https://github.com/void-linux/void-packages/pull/38538#issuecomment-1209414575), I think this package can be added to `v2ray`'s `depends` list.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (12 preceding siblings ...)
  2022-08-10 23:39 ` ketlrznt
@ 2022-08-11  0:41 ` ketlrznt
  2022-08-11  0:46 ` [PR REVIEW] " ketlrznt
                   ` (21 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  0:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

There is an updated pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages pkg/v2ray-domain-list-community
https://github.com/void-linux/void-packages/pull/38582

New package: v2ray-domain-list-community-20220809072217
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)
  - i686 (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/38582.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/v2ray-domain-list-community-38582.patch --]
[-- Type: text/x-diff, Size: 1522 bytes --]

From 744248c5b88541dfd9b57e7e30dd68ecff37fb59 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Wed, 10 Aug 2022 20:47:22 +0800
Subject: [PATCH] New package: v2ray-domain-list-community-20220809072217

---
 srcpkgs/v2ray-domain-list-community/template | 21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/v2ray-domain-list-community/template

diff --git a/srcpkgs/v2ray-domain-list-community/template b/srcpkgs/v2ray-domain-list-community/template
new file mode 100644
index 000000000000..2eaa388e0d39
--- /dev/null
+++ b/srcpkgs/v2ray-domain-list-community/template
@@ -0,0 +1,21 @@
+# Template file for 'v2ray-domain-list-community'
+pkgname=v2ray-domain-list-community
+version=20220809072217
+revision=1
+wrksrc="domain-list-community-${version}"
+build_style=go
+go_import_path="github.com/v2fly/domain-list-community"
+short_desc="Community managed domain list for Project V"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="MIT"
+homepage="https://github.com/v2fly/domain-list-community"
+distfiles="https://github.com/v2fly/domain-list-community/archive/refs/tags/${version}.tar.gz"
+checksum=3583a9dd91ee9d2f514e5ee49360c579ae52d2a3b1f4693ebd6bc0e819cabfe0
+
+post_install() {
+	local binary_file_path=$(find ${GOPATH}/bin/ -name domain-list-community)
+	$binary_file_path --datapath=${wrksrc}/data --outputname geosite.dat
+	vinstall geosite.dat 0644 usr/share/v2ray
+	rm ${DESTDIR}/usr/bin/domain-list-community
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (13 preceding siblings ...)
  2022-08-11  0:41 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-11  0:46 ` ketlrznt
  2022-08-11  0:50 ` ketlrznt
                   ` (20 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  0:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 311 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943023264

Comment:

I think this line leads to build failures in CI. xbps-src builds binary file successfully, but what I want is the `dat` file generates by go build binary output.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (14 preceding siblings ...)
  2022-08-11  0:46 ` [PR REVIEW] " ketlrznt
@ 2022-08-11  0:50 ` ketlrznt
  2022-08-11  1:13 ` classabbyamp
                   ` (19 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  0:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943024314

Comment:

A method to solve this is fetching `dat` file released by upstream directly,  But in this way the build process doesn't make sense.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (15 preceding siblings ...)
  2022-08-11  0:50 ` ketlrznt
@ 2022-08-11  1:13 ` classabbyamp
  2022-08-11  2:15 ` [PR PATCH] [Updated] " ketlrznt
                   ` (18 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: classabbyamp @ 2022-08-11  1:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943030924

Comment:
1. I think what's happening is you're trying to run a binary built for not-x86_64 on x86_64, which will only work in a few cases.
2. yes, I think fetching the released dat file is better, and can probably be simply added as a distfile for v2ray (but I'm not sure, I don't know anything about this software)

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (16 preceding siblings ...)
  2022-08-11  1:13 ` classabbyamp
@ 2022-08-11  2:15 ` ketlrznt
  2022-08-11  2:21 ` [PR REVIEW] " ketlrznt
                   ` (17 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

There is an updated pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages pkg/v2ray-domain-list-community
https://github.com/void-linux/void-packages/pull/38582

New package: v2ray-domain-list-community-20220809072217
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)
  - i686 (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/38582.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/v2ray-domain-list-community-38582.patch --]
[-- Type: text/x-diff, Size: 1522 bytes --]

From 105091b4aa0c346ebc0f7b93f187b56649db866e Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Wed, 10 Aug 2022 20:47:22 +0800
Subject: [PATCH] New package: v2ray-domain-list-community-20220809072217

---
 srcpkgs/v2ray-domain-list-community/template | 21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/v2ray-domain-list-community/template

diff --git a/srcpkgs/v2ray-domain-list-community/template b/srcpkgs/v2ray-domain-list-community/template
new file mode 100644
index 000000000000..2eaa388e0d39
--- /dev/null
+++ b/srcpkgs/v2ray-domain-list-community/template
@@ -0,0 +1,21 @@
+# Template file for 'v2ray-domain-list-community'
+pkgname=v2ray-domain-list-community
+version=20220809072217
+revision=1
+wrksrc="domain-list-community-${version}"
+build_style=go
+go_import_path="github.com/v2fly/domain-list-community"
+short_desc="Community managed domain list for Project V"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="MIT"
+homepage="https://github.com/v2fly/domain-list-community"
+distfiles="https://github.com/v2fly/domain-list-community/archive/refs/tags/${version}.tar.gz"
+checksum=3583a9dd91ee9d2f514e5ee49360c579ae52d2a3b1f4693ebd6bc0e819cabfe0
+
+post_install() {
+	local binary_file_path=$(find ${GOPATH}/bin/ -name domain-list-community)
+	$binary_file_path --datapath=${wrksrc}/data --outputname geosite.dat
+	vinstall geosite.dat 0644 usr/share/v2ray
+	rm ${DESTDIR}/usr/bin/domain-list-community
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (17 preceding siblings ...)
  2022-08-11  2:15 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-11  2:21 ` ketlrznt
  2022-08-11  2:21 ` ketlrznt
                   ` (16 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 743 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943050330

Comment:
> 1. I think what's happening is you're trying to run a binary built for not-x86_64 on x86_64, which will only work in a few cases.
> 
>     2. yes, I think fetching the released dat file is better, and can probably be simply added as a distfile for v2ray (but I'm not sure, I don't know anything about this software)

Done. Thank you for your advice.

For list point 2, `v2ray-domain-list-community` gets updates very rapidly, as upstream releases new dat file every week. It's better to make a separated package for it, or v2ray may gets revision very often, which doesn't mean too much.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (18 preceding siblings ...)
  2022-08-11  2:21 ` [PR REVIEW] " ketlrznt
@ 2022-08-11  2:21 ` ketlrznt
  2022-08-11  2:24 ` classabbyamp
                   ` (15 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943050330

Comment:
> 1. I think what's happening is you're trying to run a binary built for not-x86_64 on x86_64, which will only work in a few cases.
> 
>     2. yes, I think fetching the released dat file is better, and can probably be simply added as a distfile for v2ray (but I'm not sure, I don't know anything about this software)

Done. Thank you for your advice.

For list point 2, `v2ray-domain-list-community` gets updates very rapidly, as upstream releases new dat file every week. It's better to make a separated package for it, or v2ray may get revision very often, which doesn't mean too much.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (19 preceding siblings ...)
  2022-08-11  2:21 ` ketlrznt
@ 2022-08-11  2:24 ` classabbyamp
  2022-08-11  2:30 ` ketlrznt
                   ` (14 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: classabbyamp @ 2022-08-11  2:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943051069

Comment:
does the list need to be updated every week? either way you're going to be doing updates very often if so

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (20 preceding siblings ...)
  2022-08-11  2:24 ` classabbyamp
@ 2022-08-11  2:30 ` ketlrznt
  2022-08-11  2:30 ` ketlrznt
                   ` (13 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943052973

Comment:
> does the list need to be updated every week? either way you're going to be doing updates very often if so


I'd like to take this responsibility. But frankly speaking, a somewhat outdated list can also provides functionalities. I will update this template as soon as possible after new upstream release.



^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (21 preceding siblings ...)
  2022-08-11  2:30 ` ketlrznt
@ 2022-08-11  2:30 ` ketlrznt
  2022-08-11  2:31 ` classabbyamp
                   ` (12 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943052973

Comment:
> does the list need to be updated every week? either way you're going to be doing updates very often if so


I'd like to take this responsibility. But frankly speaking, a somewhat outdated list can also provide functionalities. I will update this template as soon as possible after new upstream release.



^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (22 preceding siblings ...)
  2022-08-11  2:30 ` ketlrznt
@ 2022-08-11  2:31 ` classabbyamp
  2022-08-11  2:38 ` ketlrznt
                   ` (11 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: classabbyamp @ 2022-08-11  2:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943053336

Comment:
> I'd like to take this responsibility

do remember that someone from the maintainer team would have to review and merge the request each week

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (23 preceding siblings ...)
  2022-08-11  2:31 ` classabbyamp
@ 2022-08-11  2:38 ` ketlrznt
  2022-08-11  2:38 ` ketlrznt
                   ` (10 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943054974

Comment:



> > I'd like to take this responsibility
> 
> do remember that someone from the maintainer team would have to review and merge the request each week
I will. Another way is to make the update cycle parallel to v2ray (if possible), I will do some works to test this file and make everything works fine. May not disturb maintainers very often then.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (24 preceding siblings ...)
  2022-08-11  2:38 ` ketlrznt
@ 2022-08-11  2:38 ` ketlrznt
  2022-08-11  2:39 ` ketlrznt
                   ` (9 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943054974

Comment:


> > I'd like to take this responsibility
> 
> do remember that someone from the maintainer team would have to review and merge the request each week

I will. Another way is to make the update cycle parallel to v2ray (if possible), I will do some works to test this file and make everything works fine. May not disturb maintainers very often then.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (25 preceding siblings ...)
  2022-08-11  2:38 ` ketlrznt
@ 2022-08-11  2:39 ` ketlrznt
  2022-08-11  2:44 ` ketlrznt
                   ` (8 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 501 bytes --]

New review comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#discussion_r943054974

Comment:

> > I'd like to take this responsibility
> 
> do remember that someone from the maintainer team would have to review and merge the request each week

I will. Another way is to make the update cycle parallel to v2ray (if possible), I will do some works to test this file to assure everything works fine. May not disturb maintainers very often then.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (26 preceding siblings ...)
  2022-08-11  2:39 ` ketlrznt
@ 2022-08-11  2:44 ` ketlrznt
  2022-08-11  2:51 ` [PR PATCH] [Updated] " ketlrznt
                   ` (7 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 217 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211498211

Comment:
I forgot to fetch LICENSE and install it. I will update this commit later.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (27 preceding siblings ...)
  2022-08-11  2:44 ` ketlrznt
@ 2022-08-11  2:51 ` ketlrznt
  2022-08-11  2:57 ` ketlrznt
                   ` (6 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

There is an updated pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages pkg/v2ray-domain-list-community
https://github.com/void-linux/void-packages/pull/38582

New package: v2ray-domain-list-community-20220809072217
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)
  - i686 (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/38582.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/v2ray-domain-list-community-38582.patch --]
[-- Type: text/x-diff, Size: 1550 bytes --]

From 46f417d6f4b7b7e25e0919b0a1c1a3a9f0f85551 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Wed, 10 Aug 2022 20:47:22 +0800
Subject: [PATCH] New package: v2ray-domain-list-community-20220809072217

---
 srcpkgs/v2ray-domain-list-community/template | 32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/v2ray-domain-list-community/template

diff --git a/srcpkgs/v2ray-domain-list-community/template b/srcpkgs/v2ray-domain-list-community/template
new file mode 100644
index 000000000000..47be5b4360c4
--- /dev/null
+++ b/srcpkgs/v2ray-domain-list-community/template
@@ -0,0 +1,32 @@
+# Template file for 'v2ray-domain-list-community'
+pkgname=v2ray-domain-list-community
+version=20220809072217
+revision=1
+hostmakedepends="xz curl"
+short_desc="Community managed domain list for Project V"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="MIT"
+homepage="https://github.com/v2fly/domain-list-community"
+
+_file_name="dlc.dat.xz"
+
+distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/${_file_name}"
+checksum=c2571f1be571c7b46f689a41f9c00409d39f5bc0da876e232ad0db6671e7e4cf
+
+pre_extract() {
+	mkdir -p $wrksrc
+	cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_file_name} ${wrksrc}
+}
+
+do_extract() {
+	xz -d dlc.dat.xz
+}
+
+do_install() {
+	vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
+}
+
+post_install() {
+	curl https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE > LICENSE
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (28 preceding siblings ...)
  2022-08-11  2:51 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-11  2:57 ` ketlrznt
  2022-08-11  3:07 ` classabbyamp
                   ` (5 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  2:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

There is an updated pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages pkg/v2ray-domain-list-community
https://github.com/void-linux/void-packages/pull/38582

New package: v2ray-domain-list-community-20220809072217
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)
  - i686 (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/38582.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/v2ray-domain-list-community-38582.patch --]
[-- Type: text/x-diff, Size: 1582 bytes --]

From eb7d22d7e8ec482f30d4223518477fafa1780e47 Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Wed, 10 Aug 2022 20:47:22 +0800
Subject: [PATCH] New package: v2ray-domain-list-community-20220809072217

---
 srcpkgs/v2ray-domain-list-community/template | 33 ++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 srcpkgs/v2ray-domain-list-community/template

diff --git a/srcpkgs/v2ray-domain-list-community/template b/srcpkgs/v2ray-domain-list-community/template
new file mode 100644
index 000000000000..fa1f45c5b449
--- /dev/null
+++ b/srcpkgs/v2ray-domain-list-community/template
@@ -0,0 +1,33 @@
+# Template file for 'v2ray-domain-list-community'
+pkgname=v2ray-domain-list-community
+version=20220809072217
+revision=1
+hostmakedepends="xz curl"
+short_desc="Community managed domain list for Project V"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="MIT"
+homepage="https://github.com/v2fly/domain-list-community"
+
+_file_name="dlc.dat.xz"
+_license_url="https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE"
+
+distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/${_file_name}"
+checksum=c2571f1be571c7b46f689a41f9c00409d39f5bc0da876e232ad0db6671e7e4cf
+
+pre_extract() {
+	mkdir -p $wrksrc
+	cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_file_name} ${wrksrc}
+}
+
+do_extract() {
+	xz -d dlc.dat.xz
+}
+
+do_install() {
+	vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
+}
+
+post_install() {
+	curl ${_license_url} > LICENSE
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (29 preceding siblings ...)
  2022-08-11  2:57 ` ketlrznt
@ 2022-08-11  3:07 ` classabbyamp
  2022-08-11  3:14 ` ketlrznt
                   ` (4 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: classabbyamp @ 2022-08-11  3:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211507808

Comment:
this is a bit cleaner

```bash
# Template file for 'v2ray-domain-list-community'
pkgname=v2ray-domain-list-community
version=20220809072217
revision=1
build_style=fetch
short_desc="Community managed domain list for Project V"
maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
license="MIT"
homepage="https://github.com/v2fly/domain-list-community"
distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat
 https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE"
checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d
 b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2"

do_install() {
	vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
	vlicense LICENSE
}
```

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (30 preceding siblings ...)
  2022-08-11  3:07 ` classabbyamp
@ 2022-08-11  3:14 ` ketlrznt
  2022-08-11  3:17 ` [PR PATCH] [Updated] " ketlrznt
                   ` (3 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  3:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211511095

Comment:
> this is a bit cleaner
> 
> ```shell
> # Template file for 'v2ray-domain-list-community'
> pkgname=v2ray-domain-list-community
> version=20220809072217
> revision=1
> build_style=fetch
> short_desc="Community managed domain list for Project V"
> maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
> license="MIT"
> homepage="https://github.com/v2fly/domain-list-community"
> distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat
>  https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE"
> checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d
>  b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2"
> 
> do_install() {
> 	vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
> 	vlicense LICENSE
> }
> ```

Thank you! As a packaging newbie I referred Manual and `xnew` to write template, section [Optional variables](https://github.com/void-linux/void-packages/blob/master/Manual.md#optional-variables) indicates that `distfile` should be compressed data. I don't know such usage. Now I know it.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (31 preceding siblings ...)
  2022-08-11  3:14 ` ketlrznt
@ 2022-08-11  3:17 ` ketlrznt
  2022-08-11  3:21 ` ketlrznt
                   ` (2 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  3:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 818 bytes --]

There is an updated pull request by ketlrznt against master on the void-packages repository

https://github.com/ketlrznt/void-packages pkg/v2ray-domain-list-community
https://github.com/void-linux/void-packages/pull/38582

New package: v2ray-domain-list-community-20220809072217
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)
  - i686 (crossbuild)

A patch file from https://github.com/void-linux/void-packages/pull/38582.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/v2ray-domain-list-community-38582.patch --]
[-- Type: text/x-diff, Size: 1385 bytes --]

From e6a10837f3e823e5b25510f57cb8095a8539d73a Mon Sep 17 00:00:00 2001
From: ketlrznt <tansuanyinliao8888@gmail.com>
Date: Wed, 10 Aug 2022 20:47:22 +0800
Subject: [PATCH] New package: v2ray-domain-list-community-20220809072217

---
 srcpkgs/v2ray-domain-list-community/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/v2ray-domain-list-community/template

diff --git a/srcpkgs/v2ray-domain-list-community/template b/srcpkgs/v2ray-domain-list-community/template
new file mode 100644
index 000000000000..4ced325011aa
--- /dev/null
+++ b/srcpkgs/v2ray-domain-list-community/template
@@ -0,0 +1,18 @@
+# Template file for 'v2ray-domain-list-community'
+pkgname=v2ray-domain-list-community
+version=20220809072217
+revision=1
+build_style=fetch
+short_desc="Community managed domain list for Project V"
+maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
+license="MIT"
+homepage="https://github.com/v2fly/domain-list-community"
+distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat
+ https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE"
+checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d
+ b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2"
+
+do_install() {
+	vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (32 preceding siblings ...)
  2022-08-11  3:17 ` [PR PATCH] [Updated] " ketlrznt
@ 2022-08-11  3:21 ` ketlrznt
  2022-08-11  4:34 ` ketlrznt
  2022-10-19  8:53 ` [PR PATCH] [Closed]: " ketlrznt
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  3:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1280 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211511095

Comment:
> this is a bit cleaner
> 
> ```shell
> # Template file for 'v2ray-domain-list-community'
> pkgname=v2ray-domain-list-community
> version=20220809072217
> revision=1
> build_style=fetch
> short_desc="Community managed domain list for Project V"
> maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
> license="MIT"
> homepage="https://github.com/v2fly/domain-list-community"
> distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat
>  https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE"
> checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d
>  b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2"
> 
> do_install() {
> 	vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
> 	vlicense LICENSE
> }
> ```

Thank you! As a packaging newbie I referred Manual and `xnew` to write template, section [Optional variables](https://github.com/void-linux/void-packages/blob/master/Manual.md#optional-variables) indicates that `distfile` should be compressed data. I don't know such usage (`fetch build style`). Now I know it.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (33 preceding siblings ...)
  2022-08-11  3:21 ` ketlrznt
@ 2022-08-11  4:34 ` ketlrznt
  2022-10-19  8:53 ` [PR PATCH] [Closed]: " ketlrznt
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-08-11  4:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1279 bytes --]

New comment by ketlrznt on void-packages repository

https://github.com/void-linux/void-packages/pull/38582#issuecomment-1211511095

Comment:
> this is a bit cleaner
> 
> ```shell
> # Template file for 'v2ray-domain-list-community'
> pkgname=v2ray-domain-list-community
> version=20220809072217
> revision=1
> build_style=fetch
> short_desc="Community managed domain list for Project V"
> maintainer="ketlrznt <tansuanyinliao8888@gmail.com>"
> license="MIT"
> homepage="https://github.com/v2fly/domain-list-community"
> distfiles="https://github.com/v2fly/domain-list-community/releases/download/${version}/dlc.dat
>  https://raw.githubusercontent.com/v2fly/domain-list-community/master/LICENSE"
> checksum="fb7312ba36be5865b14858f44dff3dadf996eb5623bd23d63ead448feb40622d
>  b9d84a22870d3f21c91a4c6e410c9cc51d00902f5233ad0c84011479244bf7d2"
> 
> do_install() {
> 	vinstall dlc.dat 0644 usr/share/v2ray geosite.dat
> 	vlicense LICENSE
> }
> ```

Thank you! As a packaging newbie I refered Manual and `xnew` to write template, section [Optional variables](https://github.com/void-linux/void-packages/blob/master/Manual.md#optional-variables) indicates that `distfile` should be compressed data. I don't know such usage (`fetch build style`). Now I know it.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Closed]: New package: v2ray-domain-list-community-20220809072217
  2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
                   ` (34 preceding siblings ...)
  2022-08-11  4:34 ` ketlrznt
@ 2022-10-19  8:53 ` ketlrznt
  35 siblings, 0 replies; 37+ messages in thread
From: ketlrznt @ 2022-10-19  8:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

There's a closed pull request on the void-packages repository

New package: v2ray-domain-list-community-20220809072217
https://github.com/void-linux/void-packages/pull/38582

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

#### 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-glibc)
- I built this PR locally for these architectures
  - i686 (native masterdir)
  - i686 (crossbuild)

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2022-10-19  8:53 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10 14:21 [PR PATCH] New package: v2ray-domain-list-community ketlrznt
2022-08-10 14:21 ` ketlrznt
2022-08-10 14:22 ` ketlrznt
2022-08-10 14:23 ` ketlrznt
2022-08-10 14:26 ` [WIP] " ketlrznt
2022-08-10 14:27 ` ketlrznt
2022-08-10 14:42 ` [WIP] New package: v2ray-domain-list-community-20220809072217 ketlrznt
2022-08-10 14:45 ` ketlrznt
2022-08-10 14:46 ` ketlrznt
2022-08-10 14:52 ` ketlrznt
2022-08-10 19:54 ` classabbyamp
2022-08-10 23:37 ` [PR PATCH] [Updated] " ketlrznt
2022-08-10 23:38 ` ketlrznt
2022-08-10 23:39 ` ketlrznt
2022-08-11  0:41 ` [PR PATCH] [Updated] " ketlrznt
2022-08-11  0:46 ` [PR REVIEW] " ketlrznt
2022-08-11  0:50 ` ketlrznt
2022-08-11  1:13 ` classabbyamp
2022-08-11  2:15 ` [PR PATCH] [Updated] " ketlrznt
2022-08-11  2:21 ` [PR REVIEW] " ketlrznt
2022-08-11  2:21 ` ketlrznt
2022-08-11  2:24 ` classabbyamp
2022-08-11  2:30 ` ketlrznt
2022-08-11  2:30 ` ketlrznt
2022-08-11  2:31 ` classabbyamp
2022-08-11  2:38 ` ketlrznt
2022-08-11  2:38 ` ketlrznt
2022-08-11  2:39 ` ketlrznt
2022-08-11  2:44 ` ketlrznt
2022-08-11  2:51 ` [PR PATCH] [Updated] " ketlrznt
2022-08-11  2:57 ` ketlrznt
2022-08-11  3:07 ` classabbyamp
2022-08-11  3:14 ` ketlrznt
2022-08-11  3:17 ` [PR PATCH] [Updated] " ketlrznt
2022-08-11  3:21 ` ketlrznt
2022-08-11  4:34 ` 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).