Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] dhcpcd: update to 10.0.2.
@ 2023-08-25 18:01 mhmdanas
  2023-08-25 23:56 ` CameronNemo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mhmdanas @ 2023-08-25 18:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/mhmdanas/void-packages dhcpcd-10.0.2
https://github.com/void-linux/void-packages/pull/45761

dhcpcd: update to 10.0.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

@CameronNemo

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

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


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

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

From 0d80589e810146901a3af8758ebcefd690e87e7d Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Fri, 25 Aug 2023 18:57:29 +0100
Subject: [PATCH] dhcpcd: update to 10.0.2.

---
 ...-Improve-learning-IPv6-address-flags.patch | 62 -------------------
 srcpkgs/dhcpcd/template                       |  7 ++-
 2 files changed, 4 insertions(+), 65 deletions(-)
 delete mode 100644 srcpkgs/dhcpcd/patches/Linux-Improve-learning-IPv6-address-flags.patch

diff --git a/srcpkgs/dhcpcd/patches/Linux-Improve-learning-IPv6-address-flags.patch b/srcpkgs/dhcpcd/patches/Linux-Improve-learning-IPv6-address-flags.patch
deleted file mode 100644
index 5fceb5e4f3d5d..0000000000000
--- a/srcpkgs/dhcpcd/patches/Linux-Improve-learning-IPv6-address-flags.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 45e441ada6d3ea4355d623cf12d9a559a5c2afde Mon Sep 17 00:00:00 2001
-From: Roy Marples <roy@marples.name>
-Date: Tue, 23 May 2023 22:14:57 +0100
-Subject: [PATCH] Linux: Improve learning IPv6 address flags
-
-Rather than matching addresses during netlink message processing,
-extract the local, address and flag parts.
-Once done, then match local and address to the address we are
-looking for and if equal apply the flags.
-
-Fixes #201 and maybe #149.
----
- src/if-linux.c | 24 +++++++++++++++++-------
- 1 file changed, 17 insertions(+), 7 deletions(-)
-
-diff --git a/src/if-linux.c b/src/if-linux.c
-index f2f609ed..212ed5df 100644
---- a/src/if-linux.c
-+++ b/src/if-linux.c
-@@ -1996,7 +1996,8 @@ _if_addrflags6(__unused struct dhcpcd_ctx *ctx,
- 	size_t len;
- 	struct rtattr *rta;
- 	struct ifaddrmsg *ifa;
--	bool matches_addr = false;
-+	struct in6_addr *local = NULL, *address = NULL;
-+	uint32_t *flags = NULL;
- 
- 	ifa = NLMSG_DATA(nlm);
- 	if (ifa->ifa_index != ia->ifa_ifindex || ifa->ifa_family != AF_INET6)
-@@ -2007,17 +2008,26 @@ _if_addrflags6(__unused struct dhcpcd_ctx *ctx,
- 	for (; RTA_OK(rta, len); rta = RTA_NEXT(rta, len)) {
- 		switch (rta->rta_type) {
- 		case IFA_ADDRESS:
--			if (IN6_ARE_ADDR_EQUAL(&ia->ifa_addr, (struct in6_addr *)RTA_DATA(rta)))
--				ia->ifa_found = matches_addr = true;
--			else
--				matches_addr = false;
-+			address = (struct in6_addr *)RTA_DATA(rta);
-+			break;
-+		case IFA_LOCAL:
-+			local = (struct in6_addr *)RTA_DATA(rta);
- 			break;
- 		case IFA_FLAGS:
--			if (matches_addr)
--				memcpy(&ia->ifa_flags, RTA_DATA(rta), sizeof(ia->ifa_flags));
-+			flags = (uint32_t *)RTA_DATA(rta);
- 			break;
- 		}
- 	}
-+
-+	if (local) {
-+	       if (IN6_ARE_ADDR_EQUAL(&ia->ifa_addr, local))
-+			ia->ifa_found = true;
-+	} else if (address) {
-+	       if (IN6_ARE_ADDR_EQUAL(&ia->ifa_addr, address))
-+			ia->ifa_found = true;
-+	}
-+	if (flags && ia->ifa_found)
-+		memcpy(&ia->ifa_flags, flags, sizeof(ia->ifa_flags));
- 	return 0;
- }
- 
diff --git a/srcpkgs/dhcpcd/template b/srcpkgs/dhcpcd/template
index 09a30b9a3c8a4..b5fe6acb25e34 100644
--- a/srcpkgs/dhcpcd/template
+++ b/srcpkgs/dhcpcd/template
@@ -1,7 +1,7 @@
 # Template file for 'dhcpcd'
 pkgname=dhcpcd
-version=10.0.1
-revision=2
+version=10.0.2
+revision=1
 build_style=configure
 make_check_target=test
 configure_args="
@@ -13,8 +13,9 @@ short_desc="RFC2131 compliant DHCP client"
 maintainer="Cameron Nemo <cam@nohom.org>"
 license="BSD-2-Clause"
 homepage="https://roy.marples.name/projects/dhcpcd"
+changelog="https://github.com/NetworkConfiguration/dhcpcd/releases"
 distfiles="https://github.com/NetworkConfiguration/dhcpcd/archive/refs/tags/v${version}.tar.gz"
-checksum=2bd3480bc93e6bff530872b8bc80cbcaa821449f7bf6aaf202fa12fb8c2e6f55
+checksum=608d01d3246671c0c8b0ac2ce4109c263779a7742bfdffee988c6c6c1d997042
 lib32disabled=yes
 conf_files=/etc/dhcpcd.conf
 

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

* Re: dhcpcd: update to 10.0.2.
  2023-08-25 18:01 [PR PATCH] dhcpcd: update to 10.0.2 mhmdanas
@ 2023-08-25 23:56 ` CameronNemo
  2023-08-26 14:00 ` mhmdanas
  2023-09-05 19:30 ` [PR PATCH] [Merged]: " leahneukirchen
  2 siblings, 0 replies; 4+ messages in thread
From: CameronNemo @ 2023-08-25 23:56 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/45761#issuecomment-1694052787

Comment:
Sorry life got really busy. Please orphan and/or adopt this.

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

* Re: dhcpcd: update to 10.0.2.
  2023-08-25 18:01 [PR PATCH] dhcpcd: update to 10.0.2 mhmdanas
  2023-08-25 23:56 ` CameronNemo
@ 2023-08-26 14:00 ` mhmdanas
  2023-09-05 19:30 ` [PR PATCH] [Merged]: " leahneukirchen
  2 siblings, 0 replies; 4+ messages in thread
From: mhmdanas @ 2023-08-26 14:00 UTC (permalink / raw)
  To: ml

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

New comment by mhmdanas on void-packages repository

https://github.com/void-linux/void-packages/pull/45761#issuecomment-1694347805

Comment:
No worries, hope you're getting well through it all!

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

* Re: [PR PATCH] [Merged]: dhcpcd: update to 10.0.2.
  2023-08-25 18:01 [PR PATCH] dhcpcd: update to 10.0.2 mhmdanas
  2023-08-25 23:56 ` CameronNemo
  2023-08-26 14:00 ` mhmdanas
@ 2023-09-05 19:30 ` leahneukirchen
  2 siblings, 0 replies; 4+ messages in thread
From: leahneukirchen @ 2023-09-05 19:30 UTC (permalink / raw)
  To: ml

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

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

dhcpcd: update to 10.0.2.
https://github.com/void-linux/void-packages/pull/45761

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

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

@CameronNemo

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

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


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

end of thread, other threads:[~2023-09-05 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-25 18:01 [PR PATCH] dhcpcd: update to 10.0.2 mhmdanas
2023-08-25 23:56 ` CameronNemo
2023-08-26 14:00 ` mhmdanas
2023-09-05 19:30 ` [PR PATCH] [Merged]: " leahneukirchen

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