Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] ndhc: update to 20220308.
@ 2022-04-10  2:52 Duncaen
  2022-04-10 12:12 ` [PR REVIEW] " daniel-eys
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Duncaen @ 2022-04-10  2:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Duncaen/void-packages ndhc-20220308
https://github.com/void-linux/void-packages/pull/36610

ndhc: update to 20220308.

- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl

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

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

From e0dc97df7e999d5d5f43a8f68a912d267d0f1e40 Mon Sep 17 00:00:00 2001
From: Duncaen <duncaen@voidlinux.org>
Date: Sun, 10 Apr 2022 04:49:07 +0200
Subject: [PATCH] ndhc: update to 20220308.

---
 srcpkgs/ndhc/template | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/ndhc/template b/srcpkgs/ndhc/template
index 01173c8477ac..056a3d47ec42 100644
--- a/srcpkgs/ndhc/template
+++ b/srcpkgs/ndhc/template
@@ -1,21 +1,22 @@
 # Template file for 'ndhc'
 pkgname=ndhc
-version=20201020
+version=20220308
 revision=1
-_dashversion=2020-10-20
-build_style=cmake
+_dashversion=2022-03-08
+build_style=gnu-makefile
 make_dirs="/var/lib/ndhc/state 0755 root root
  /var/lib/ndhc/jail/dev 0755 root root"
-hostmakedepends="ragel"
 makedepends="libcap-devel"
 short_desc="Privilege-seperated secure DHCPv4 client"
 maintainer="Leah Neukirchen <leah@vuxu.org>"
 license="BSD-2-Clause"
 homepage="https://github.com/niklata/ndhc"
 distfiles="https://github.com/niklata/ndhc/archive/v${_dashversion}.tar.gz"
-checksum=ca5a37afc3f30c9fd110e97339a10b3c8ed08ae6cad388cec6bdd7f3bb146da0
+checksum=30f595b7c1cc2e60599b8c6aa82e0b1ee4ef2243a67fcebf812b60746db7de4d
 wrksrc="ndhc-${_dashversion}"
 
+export CFLAGS="-std=gnu99 -D_GNU_SOURCE -DNK_USE_CAPABILITY"
+
 # XXX we use only one account for privsep, not three, because they
 # should have the same primary group.  to be verified.
 system_accounts="ndhc"
@@ -27,8 +28,8 @@ if [ "$build_option_static" ]; then
 fi
 
 do_install() {
-	vbin build/ndhc
-	vman src/ndhc.8
+	vbin ndhc
+	vman ndhc.8
 	vsv ndhc
 	vlicense LICENSE
 }

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

* Re: [PR REVIEW] ndhc: update to 20220308.
  2022-04-10  2:52 [PR PATCH] ndhc: update to 20220308 Duncaen
@ 2022-04-10 12:12 ` daniel-eys
  2022-04-10 12:20 ` leahneukirchen
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: daniel-eys @ 2022-04-10 12:12 UTC (permalink / raw)
  To: ml

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

New review comment by daniel-eys on void-packages repository

https://github.com/void-linux/void-packages/pull/36610#discussion_r846769940

Comment:
Relicensed as MIT now

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

* Re: ndhc: update to 20220308.
  2022-04-10  2:52 [PR PATCH] ndhc: update to 20220308 Duncaen
  2022-04-10 12:12 ` [PR REVIEW] " daniel-eys
@ 2022-04-10 12:20 ` leahneukirchen
  2022-04-10 12:30 ` leahneukirchen
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: leahneukirchen @ 2022-04-10 12:20 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/36610#issuecomment-1094260740

Comment:
Good to see this project being revived. Feel free to adapt if you like.

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

* Re: ndhc: update to 20220308.
  2022-04-10  2:52 [PR PATCH] ndhc: update to 20220308 Duncaen
  2022-04-10 12:12 ` [PR REVIEW] " daniel-eys
  2022-04-10 12:20 ` leahneukirchen
@ 2022-04-10 12:30 ` leahneukirchen
  2022-06-19  0:06 ` [PR PATCH] [Updated] " Duncaen
  2022-06-19  0:07 ` [PR PATCH] [Merged]: " Duncaen
  4 siblings, 0 replies; 6+ messages in thread
From: leahneukirchen @ 2022-04-10 12:30 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/36610#issuecomment-1094260740

Comment:
Good to see this project being revived. Feel free to adopt if you like.

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

* Re: [PR PATCH] [Updated] ndhc: update to 20220308.
  2022-04-10  2:52 [PR PATCH] ndhc: update to 20220308 Duncaen
                   ` (2 preceding siblings ...)
  2022-04-10 12:30 ` leahneukirchen
@ 2022-06-19  0:06 ` Duncaen
  2022-06-19  0:07 ` [PR PATCH] [Merged]: " Duncaen
  4 siblings, 0 replies; 6+ messages in thread
From: Duncaen @ 2022-06-19  0:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Duncaen/void-packages ndhc-20220308
https://github.com/void-linux/void-packages/pull/36610

ndhc: update to 20220308.

- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl

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

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

From f5e472c354a8daed32c6ff7451e6ae96ca3fce2a Mon Sep 17 00:00:00 2001
From: Duncaen <duncaen@voidlinux.org>
Date: Sun, 10 Apr 2022 04:49:07 +0200
Subject: [PATCH] ndhc: update to 20220308.

---
 srcpkgs/ndhc/template | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/ndhc/template b/srcpkgs/ndhc/template
index 01173c8477ac..7f4cb163a7e1 100644
--- a/srcpkgs/ndhc/template
+++ b/srcpkgs/ndhc/template
@@ -1,20 +1,22 @@
 # Template file for 'ndhc'
 pkgname=ndhc
-version=20201020
+version=20220308
 revision=1
-_dashversion=2020-10-20
-build_style=cmake
-make_dirs="/var/lib/ndhc/state 0755 root root
+_dashversion="${version:0:4}-${version:4:2}-${version:6:2}"
+wrksrc="ndhc-${_dashversion}"
+build_style=gnu-makefile
+make_dirs="
+ /var/lib/ndhc/state 0755 root root
  /var/lib/ndhc/jail/dev 0755 root root"
-hostmakedepends="ragel"
 makedepends="libcap-devel"
 short_desc="Privilege-seperated secure DHCPv4 client"
-maintainer="Leah Neukirchen <leah@vuxu.org>"
-license="BSD-2-Clause"
+maintainer="Duncaen <duncaen@voidlinux.org>"
+license="MIT"
 homepage="https://github.com/niklata/ndhc"
 distfiles="https://github.com/niklata/ndhc/archive/v${_dashversion}.tar.gz"
-checksum=ca5a37afc3f30c9fd110e97339a10b3c8ed08ae6cad388cec6bdd7f3bb146da0
-wrksrc="ndhc-${_dashversion}"
+checksum=30f595b7c1cc2e60599b8c6aa82e0b1ee4ef2243a67fcebf812b60746db7de4d
+
+export CFLAGS="-std=gnu99 -D_GNU_SOURCE -DNK_USE_CAPABILITY"
 
 # XXX we use only one account for privsep, not three, because they
 # should have the same primary group.  to be verified.
@@ -27,8 +29,8 @@ if [ "$build_option_static" ]; then
 fi
 
 do_install() {
-	vbin build/ndhc
-	vman src/ndhc.8
+	vbin ndhc
+	vman ndhc.8
 	vsv ndhc
 	vlicense LICENSE
 }

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

* Re: [PR PATCH] [Merged]: ndhc: update to 20220308.
  2022-04-10  2:52 [PR PATCH] ndhc: update to 20220308 Duncaen
                   ` (3 preceding siblings ...)
  2022-06-19  0:06 ` [PR PATCH] [Updated] " Duncaen
@ 2022-06-19  0:07 ` Duncaen
  4 siblings, 0 replies; 6+ messages in thread
From: Duncaen @ 2022-06-19  0:07 UTC (permalink / raw)
  To: ml

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

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

ndhc: update to 20220308.
https://github.com/void-linux/void-packages/pull/36610

Description:

- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64-musl
  - [x] armv7l
  - [x] armv6l-musl

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

end of thread, other threads:[~2022-06-19  0:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-10  2:52 [PR PATCH] ndhc: update to 20220308 Duncaen
2022-04-10 12:12 ` [PR REVIEW] " daniel-eys
2022-04-10 12:20 ` leahneukirchen
2022-04-10 12:30 ` leahneukirchen
2022-06-19  0:06 ` [PR PATCH] [Updated] " Duncaen
2022-06-19  0:07 ` [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).