Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: nextdns-1.37.11
@ 2022-10-12  1:14 RunningDroid
  2022-10-12  1:46 ` [PR REVIEW] " classabbyamp
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: RunningDroid @ 2022-10-12  1:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/RunningDroid/void-packages nextdns
https://github.com/void-linux/void-packages/pull/39903

New package: nextdns-1.37.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #19905
Based on #30603, which replaced #20022

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nextdns-39903.patch --]
[-- Type: text/x-diff, Size: 1530 bytes --]

From b489c921bda47fcfbd07515e0f16a0b918028155 Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Tue, 11 Oct 2022 17:13:49 -0400
Subject: [PATCH] New package: nextdns-1.37.11

---
 srcpkgs/nextdns/files/nextdns/run |  3 +++
 srcpkgs/nextdns/template          | 21 +++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 srcpkgs/nextdns/files/nextdns/run
 create mode 100644 srcpkgs/nextdns/template

diff --git a/srcpkgs/nextdns/files/nextdns/run b/srcpkgs/nextdns/files/nextdns/run
new file mode 100644
index 000000000000..46041dc0e4b3
--- /dev/null
+++ b/srcpkgs/nextdns/files/nextdns/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec /usr/bin/nextdns run ${OPTS:--config-file /etc/nextdns.conf}
diff --git a/srcpkgs/nextdns/template b/srcpkgs/nextdns/template
new file mode 100644
index 000000000000..c302eac3389e
--- /dev/null
+++ b/srcpkgs/nextdns/template
@@ -0,0 +1,21 @@
+# Template file for 'nextdns'
+pkgname=nextdns
+version=1.37.11
+revision=1
+build_style=go
+go_import_path="github.com/nextdns/nextdns"
+short_desc="NextDNS CLI client (DoH Proxy)"
+maintainer="RunningDroid <runningdroid@zoho.com>"
+license="MIT"
+homepage="https://nextdns.io/"
+distfiles="https://github.com/${pkgname}/${pkgname}/archive/refs/tags/v${version}.tar.gz"
+checksum=f70cb424b0ae47456c8579d3910b486f75afde34572f28f8cf6eb1222e59b88b
+
+post_patch() {
+	vsed -i main.go -e "s/version  = \"dev\"/version  = \"${version}\"/"
+}
+
+post_install() {
+	vsv nextdns
+	vlicense LICENSE
+}

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

* Re: [PR REVIEW] New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
@ 2022-10-12  1:46 ` classabbyamp
  2022-10-12  1:46 ` classabbyamp
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2022-10-12  1:46 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39903#discussion_r992906628

Comment:
```suggestion
distfiles="https://github.com/nextdns/nextdns/archive/refs/tags/v${version}.tar.gz"
```

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

* Re: [PR REVIEW] New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
  2022-10-12  1:46 ` [PR REVIEW] " classabbyamp
@ 2022-10-12  1:46 ` classabbyamp
  2022-10-12  2:07 ` [PR PATCH] [Updated] " RunningDroid
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: classabbyamp @ 2022-10-12  1:46 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/39903#discussion_r992906842

Comment:
this should probably be done with go ld flags (unless that doesn't work?)

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

* Re: [PR PATCH] [Updated] New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
  2022-10-12  1:46 ` [PR REVIEW] " classabbyamp
  2022-10-12  1:46 ` classabbyamp
@ 2022-10-12  2:07 ` RunningDroid
  2022-10-12  2:07 ` [PR REVIEW] " RunningDroid
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: RunningDroid @ 2022-10-12  2:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/RunningDroid/void-packages nextdns
https://github.com/void-linux/void-packages/pull/39903

New package: nextdns-1.37.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #19905
Based on #30603, which replaced #20022

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nextdns-39903.patch --]
[-- Type: text/x-diff, Size: 1470 bytes --]

From 8992700eac9b414c2a728858d1aa85cdb2f9af9f Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Tue, 11 Oct 2022 17:13:49 -0400
Subject: [PATCH] New package: nextdns-1.37.11

---
 srcpkgs/nextdns/files/nextdns/run |  3 +++
 srcpkgs/nextdns/template          | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 srcpkgs/nextdns/files/nextdns/run
 create mode 100644 srcpkgs/nextdns/template

diff --git a/srcpkgs/nextdns/files/nextdns/run b/srcpkgs/nextdns/files/nextdns/run
new file mode 100644
index 000000000000..46041dc0e4b3
--- /dev/null
+++ b/srcpkgs/nextdns/files/nextdns/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec /usr/bin/nextdns run ${OPTS:--config-file /etc/nextdns.conf}
diff --git a/srcpkgs/nextdns/template b/srcpkgs/nextdns/template
new file mode 100644
index 000000000000..53b7897523ab
--- /dev/null
+++ b/srcpkgs/nextdns/template
@@ -0,0 +1,18 @@
+# Template file for 'nextdns'
+pkgname=nextdns
+version=1.37.11
+revision=1
+build_style=go
+go_import_path="github.com/nextdns/nextdns"
+go_ldflags="-X main.version=${version}"
+short_desc="NextDNS CLI client (DoH Proxy)"
+maintainer="RunningDroid <runningdroid@zoho.com>"
+license="MIT"
+homepage="https://nextdns.io/"
+distfiles="https://github.com/nextdns/nextdns/archive/refs/tags/v${version}.tar.gz"
+checksum=f70cb424b0ae47456c8579d3910b486f75afde34572f28f8cf6eb1222e59b88b
+
+post_install() {
+	vsv nextdns
+	vlicense LICENSE
+}

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

* Re: [PR REVIEW] New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (2 preceding siblings ...)
  2022-10-12  2:07 ` [PR PATCH] [Updated] " RunningDroid
@ 2022-10-12  2:07 ` RunningDroid
  2022-11-05 10:08 ` [PR PATCH] [Updated] " RunningDroid
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: RunningDroid @ 2022-10-12  2:07 UTC (permalink / raw)
  To: ml

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

New review comment by RunningDroid on void-packages repository

https://github.com/void-linux/void-packages/pull/39903#discussion_r992915676

Comment:
I wasn't aware I could do that, thanks for the tip!

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

* Re: [PR PATCH] [Updated] New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (3 preceding siblings ...)
  2022-10-12  2:07 ` [PR REVIEW] " RunningDroid
@ 2022-11-05 10:08 ` RunningDroid
  2023-02-04  1:58 ` github-actions
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: RunningDroid @ 2022-11-05 10:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/RunningDroid/void-packages nextdns
https://github.com/void-linux/void-packages/pull/39903

New package: nextdns-1.37.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #19905
Based on #30603, which replaced #20022

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nextdns-39903.patch --]
[-- Type: text/x-diff, Size: 1470 bytes --]

From 7fbfddfe8c705a386b231136f2c07a76c1258e7d Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Tue, 11 Oct 2022 17:13:49 -0400
Subject: [PATCH] New package: nextdns-1.37.11

---
 srcpkgs/nextdns/files/nextdns/run |  3 +++
 srcpkgs/nextdns/template          | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 srcpkgs/nextdns/files/nextdns/run
 create mode 100644 srcpkgs/nextdns/template

diff --git a/srcpkgs/nextdns/files/nextdns/run b/srcpkgs/nextdns/files/nextdns/run
new file mode 100644
index 000000000000..46041dc0e4b3
--- /dev/null
+++ b/srcpkgs/nextdns/files/nextdns/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec /usr/bin/nextdns run ${OPTS:--config-file /etc/nextdns.conf}
diff --git a/srcpkgs/nextdns/template b/srcpkgs/nextdns/template
new file mode 100644
index 000000000000..53b7897523ab
--- /dev/null
+++ b/srcpkgs/nextdns/template
@@ -0,0 +1,18 @@
+# Template file for 'nextdns'
+pkgname=nextdns
+version=1.37.11
+revision=1
+build_style=go
+go_import_path="github.com/nextdns/nextdns"
+go_ldflags="-X main.version=${version}"
+short_desc="NextDNS CLI client (DoH Proxy)"
+maintainer="RunningDroid <runningdroid@zoho.com>"
+license="MIT"
+homepage="https://nextdns.io/"
+distfiles="https://github.com/nextdns/nextdns/archive/refs/tags/v${version}.tar.gz"
+checksum=f70cb424b0ae47456c8579d3910b486f75afde34572f28f8cf6eb1222e59b88b
+
+post_install() {
+	vsv nextdns
+	vlicense LICENSE
+}

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

* Re: New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (4 preceding siblings ...)
  2022-11-05 10:08 ` [PR PATCH] [Updated] " RunningDroid
@ 2023-02-04  1:58 ` github-actions
  2023-02-04 10:31 ` [PR PATCH] [Updated] " RunningDroid
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: github-actions @ 2023-02-04  1:58 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/39903#issuecomment-1416600188

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Updated] New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (5 preceding siblings ...)
  2023-02-04  1:58 ` github-actions
@ 2023-02-04 10:31 ` RunningDroid
  2023-02-04 21:57 ` RunningDroid
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: RunningDroid @ 2023-02-04 10:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/RunningDroid/void-packages nextdns
https://github.com/void-linux/void-packages/pull/39903

New package: nextdns-1.37.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #19905
Based on #30603, which replaced #20022

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nextdns-39903.patch --]
[-- Type: text/x-diff, Size: 1468 bytes --]

From 7618b35fdc33fc35e00482a6003788339fb7df0a Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Tue, 11 Oct 2022 17:13:49 -0400
Subject: [PATCH] New package: nextdns-1.39.4

---
 srcpkgs/nextdns/files/nextdns/run |  3 +++
 srcpkgs/nextdns/template          | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 srcpkgs/nextdns/files/nextdns/run
 create mode 100644 srcpkgs/nextdns/template

diff --git a/srcpkgs/nextdns/files/nextdns/run b/srcpkgs/nextdns/files/nextdns/run
new file mode 100644
index 000000000000..46041dc0e4b3
--- /dev/null
+++ b/srcpkgs/nextdns/files/nextdns/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec /usr/bin/nextdns run ${OPTS:--config-file /etc/nextdns.conf}
diff --git a/srcpkgs/nextdns/template b/srcpkgs/nextdns/template
new file mode 100644
index 000000000000..576e9c169401
--- /dev/null
+++ b/srcpkgs/nextdns/template
@@ -0,0 +1,18 @@
+# Template file for 'nextdns'
+pkgname=nextdns
+version=1.39.4
+revision=1
+build_style=go
+go_import_path="github.com/nextdns/nextdns"
+go_ldflags="-X main.version=${version}"
+short_desc="NextDNS CLI client (DoH Proxy)"
+maintainer="RunningDroid <runningdroid@zoho.com>"
+license="MIT"
+homepage="https://nextdns.io/"
+distfiles="https://github.com/nextdns/nextdns/archive/refs/tags/v${version}.tar.gz"
+checksum=e24db909fbd732e064be465b74f4004a6f4fc0f422ef7c10e86ff707a016ccac
+
+post_install() {
+	vsv nextdns
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: nextdns-1.37.11
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (6 preceding siblings ...)
  2023-02-04 10:31 ` [PR PATCH] [Updated] " RunningDroid
@ 2023-02-04 21:57 ` RunningDroid
  2023-04-14  5:48 ` [PR PATCH] [Updated] New package: nextdns-1.39.4 RunningDroid
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: RunningDroid @ 2023-02-04 21:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/RunningDroid/void-packages nextdns
https://github.com/void-linux/void-packages/pull/39903

New package: nextdns-1.37.11
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #19905
Based on #30603, which replaced #20022

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nextdns-39903.patch --]
[-- Type: text/x-diff, Size: 1468 bytes --]

From bf07b6ace81a53076e53520058aa22eecffc51f7 Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Tue, 11 Oct 2022 17:13:49 -0400
Subject: [PATCH] New package: nextdns-1.39.4

---
 srcpkgs/nextdns/files/nextdns/run |  3 +++
 srcpkgs/nextdns/template          | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 srcpkgs/nextdns/files/nextdns/run
 create mode 100644 srcpkgs/nextdns/template

diff --git a/srcpkgs/nextdns/files/nextdns/run b/srcpkgs/nextdns/files/nextdns/run
new file mode 100644
index 000000000000..46041dc0e4b3
--- /dev/null
+++ b/srcpkgs/nextdns/files/nextdns/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+exec /usr/bin/nextdns run ${OPTS:--config-file /etc/nextdns.conf}
diff --git a/srcpkgs/nextdns/template b/srcpkgs/nextdns/template
new file mode 100644
index 000000000000..576e9c169401
--- /dev/null
+++ b/srcpkgs/nextdns/template
@@ -0,0 +1,18 @@
+# Template file for 'nextdns'
+pkgname=nextdns
+version=1.39.4
+revision=1
+build_style=go
+go_import_path="github.com/nextdns/nextdns"
+go_ldflags="-X main.version=${version}"
+short_desc="NextDNS CLI client (DoH Proxy)"
+maintainer="RunningDroid <runningdroid@zoho.com>"
+license="MIT"
+homepage="https://nextdns.io/"
+distfiles="https://github.com/nextdns/nextdns/archive/refs/tags/v${version}.tar.gz"
+checksum=e24db909fbd732e064be465b74f4004a6f4fc0f422ef7c10e86ff707a016ccac
+
+post_install() {
+	vsv nextdns
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: nextdns-1.39.4
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (7 preceding siblings ...)
  2023-02-04 21:57 ` RunningDroid
@ 2023-04-14  5:48 ` RunningDroid
  2023-04-14  5:51 ` RunningDroid
  2023-06-24 13:41 ` [PR PATCH] [Merged]: " Duncaen
  10 siblings, 0 replies; 12+ messages in thread
From: RunningDroid @ 2023-04-14  5:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/RunningDroid/void-packages nextdns
https://github.com/void-linux/void-packages/pull/39903

New package: nextdns-1.39.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #19905
Based on #30603, which replaced #20022

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nextdns-39903.patch --]
[-- Type: text/x-diff, Size: 3021 bytes --]

From 72f91a7d6c48442627bd60f9a91479dafe3f6ad7 Mon Sep 17 00:00:00 2001
From: RunningDroid <runningdroid@zoho.com>
Date: Tue, 11 Oct 2022 17:13:49 -0400
Subject: [PATCH] New package: nextdns-1.39.4

---
 srcpkgs/nextdns/files/nextdns/run             |  4 +++
 .../Don't touch files managed by xbps.patch   | 26 +++++++++++++++++++
 srcpkgs/nextdns/template                      | 18 +++++++++++++
 3 files changed, 48 insertions(+)
 create mode 100644 srcpkgs/nextdns/files/nextdns/run
 create mode 100644 srcpkgs/nextdns/patches/Don't touch files managed by xbps.patch
 create mode 100644 srcpkgs/nextdns/template

diff --git a/srcpkgs/nextdns/files/nextdns/run b/srcpkgs/nextdns/files/nextdns/run
new file mode 100644
index 000000000000..d77ac6f24d27
--- /dev/null
+++ b/srcpkgs/nextdns/files/nextdns/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+exec 2>&1
+[ -r conf ] && . ./conf
+exec /usr/bin/nextdns run ${OPTS:--config-file /etc/nextdns.conf}
diff --git a/srcpkgs/nextdns/patches/Don't touch files managed by xbps.patch b/srcpkgs/nextdns/patches/Don't touch files managed by xbps.patch
new file mode 100644
index 000000000000..cb4556525126
--- /dev/null
+++ b/srcpkgs/nextdns/patches/Don't touch files managed by xbps.patch	
@@ -0,0 +1,26 @@
+diff --recursive --unified nextdns-1.39.4-clean/host/service/runit/service.go nextdns-1.39.4/host/service/runit/service.go
+--- nextdns-1.39.4-clean/host/service/runit/service.go	2023-04-14 00:46:58.232616533 -0400
++++ nextdns-1.39.4/host/service/runit/service.go	2023-04-14 01:12:43.931927878 -0400
+@@ -31,20 +31,14 @@
+ }
+ 
+ func (s Service) Install() error {
+-	if err := internal.CreateWithTemplate(s.Path, tmpl, 0755, s.Config); err != nil {
+-		return err
+-	}
+-	if err := os.Symlink(strings.TrimSuffix(s.Path, "/run"), "/etc/runit/runsvdir/current/"+s.Config.Name); err != nil {
++	if err := os.Symlink(strings.TrimSuffix(s.Path, "/run"), "/var/service/"+s.Config.Name); err != nil {
+ 		return err
+ 	}
+ 	return nil
+ }
+ 
+ func (s Service) Uninstall() error {
+-	if err := os.RemoveAll("/etc/runit/runsvdir/current/" + s.Config.Name); err != nil {
+-		return err
+-	}
+-	if err := os.RemoveAll(strings.TrimSuffix(s.Path, "/run")); err != nil {
++	if err := os.RemoveAll("/var/service/" + s.Config.Name); err != nil {
+ 		return err
+ 	}
+ 	return nil
diff --git a/srcpkgs/nextdns/template b/srcpkgs/nextdns/template
new file mode 100644
index 000000000000..576e9c169401
--- /dev/null
+++ b/srcpkgs/nextdns/template
@@ -0,0 +1,18 @@
+# Template file for 'nextdns'
+pkgname=nextdns
+version=1.39.4
+revision=1
+build_style=go
+go_import_path="github.com/nextdns/nextdns"
+go_ldflags="-X main.version=${version}"
+short_desc="NextDNS CLI client (DoH Proxy)"
+maintainer="RunningDroid <runningdroid@zoho.com>"
+license="MIT"
+homepage="https://nextdns.io/"
+distfiles="https://github.com/nextdns/nextdns/archive/refs/tags/v${version}.tar.gz"
+checksum=e24db909fbd732e064be465b74f4004a6f4fc0f422ef7c10e86ff707a016ccac
+
+post_install() {
+	vsv nextdns
+	vlicense LICENSE
+}

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

* Re: New package: nextdns-1.39.4
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (8 preceding siblings ...)
  2023-04-14  5:48 ` [PR PATCH] [Updated] New package: nextdns-1.39.4 RunningDroid
@ 2023-04-14  5:51 ` RunningDroid
  2023-06-24 13:41 ` [PR PATCH] [Merged]: " Duncaen
  10 siblings, 0 replies; 12+ messages in thread
From: RunningDroid @ 2023-04-14  5:51 UTC (permalink / raw)
  To: ml

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

New comment by RunningDroid on void-packages repository

https://github.com/void-linux/void-packages/pull/39903#issuecomment-1507957464

Comment:
The patch I've added is a hacky fix for nextdns/nextdns#746 

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

* Re: [PR PATCH] [Merged]: New package: nextdns-1.39.4
  2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
                   ` (9 preceding siblings ...)
  2023-04-14  5:51 ` RunningDroid
@ 2023-06-24 13:41 ` Duncaen
  10 siblings, 0 replies; 12+ messages in thread
From: Duncaen @ 2023-06-24 13:41 UTC (permalink / raw)
  To: ml

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

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

New package: nextdns-1.39.4
https://github.com/void-linux/void-packages/pull/39903

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->
Closes #19905
Based on #30603, which replaced #20022

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

end of thread, other threads:[~2023-06-24 13:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12  1:14 [PR PATCH] New package: nextdns-1.37.11 RunningDroid
2022-10-12  1:46 ` [PR REVIEW] " classabbyamp
2022-10-12  1:46 ` classabbyamp
2022-10-12  2:07 ` [PR PATCH] [Updated] " RunningDroid
2022-10-12  2:07 ` [PR REVIEW] " RunningDroid
2022-11-05 10:08 ` [PR PATCH] [Updated] " RunningDroid
2023-02-04  1:58 ` github-actions
2023-02-04 10:31 ` [PR PATCH] [Updated] " RunningDroid
2023-02-04 21:57 ` RunningDroid
2023-04-14  5:48 ` [PR PATCH] [Updated] New package: nextdns-1.39.4 RunningDroid
2023-04-14  5:51 ` RunningDroid
2023-06-24 13:41 ` [PR PATCH] [Merged]: " Duncaen

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