From f352716d7ec1cc4951ed3625fb1a0edd4ae105ca Mon Sep 17 00:00:00 2001 From: roy <roy@pkgsrc.org> Date: Sat, 27 Sep 2014 10:51:05 +0000 Subject: Import dhcpcd-6.4.7 with the following changes: * make test works again * Many bounds checking fixes from Tobias Stoeckmann * Improve error when the authentication token cannot be found * close the IPv4 specific UDP socket when done sending * Implemented a write queue to the control sockets * Only send interfaces to control sockets when in a BOUND state * Add a sample controlgroup directive to dhcpcd.conf to make setup easier * Add variables if_oneup and if_ipwaited so hook scripts know the overall state of dhcpcd better * Pass RC_SVCNAME from enviromment to hooks so that a service hook can know it's name (may not be dhcpcd) * Document every variable set for dhcpcd-run-hooks(8) * Use the nl80211 interface on Linux to get the wireless SSID if we fail to get it via WEXT * Allow SSIDs with non printable characters to be used in ssid selection in dhcpcd.conf * Add an unprivileged control socket so that normal users can obtain dhcpcd running state * Remove all instances of if_indextoname as we already know the index * Only bring in linux/ipv6.h for linux AND glibc * Add _DEFAULT_SOURCE #define to to make glibc-2.20 happy * Check we have allocated IPv6 resources before checkings RA's * configure errors are now logged to config.log * Only hunt for a cross compiler if build != host * Detect removal of IPv6 routes * Don't add link-local addresses to POINTOPOINT interfaces * Don't discard expired DHCPv6 leases when dumping them * If a DHCPv6 lease has no timers, expire it right away * Report delegated addresses * Call dhcpcd-run-hooks correctly when delegated prefixes already exist * Fix a memory error when ia_* config exists but IPv6 is disabled * Ensure servername and bootfile are safely exported * Sanitise the following characters using svis(3) with VIS_CTYLE and VIS_OCTAL: | ^ & ; < > ( ) $ ` \ " ' <tab> <newline> This allows a non buggy unvis(1) to decode it 100% and stays compatible with how dhcpcd used to handle encoding on most platforms. For systems that supply svis(3) there is a code reduction, for systems that do not, a slight code increase. This change mitigates systems affected by bash CVE-2014-6271 and CVE-2014-7169. OK: jperkin@ --- net/dhcpcd/Makefile | 4 ++-- net/dhcpcd/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'net/dhcpcd') diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile index b5f23da09cd..f39ae33d57b 100644 --- a/net/dhcpcd/Makefile +++ b/net/dhcpcd/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.36 2014/07/30 15:54:04 roy Exp $ +# $NetBSD: Makefile,v 1.37 2014/09/27 10:51:05 roy Exp $ # -DISTNAME= dhcpcd-6.4.3 +DISTNAME= dhcpcd-6.4.7 CATEGORIES= net MASTER_SITES= ftp://roy.marples.name/pub/dhcpcd/ MASTER_SITES+= http://roy.aydogan.net/dhcpcd/ diff --git a/net/dhcpcd/distinfo b/net/dhcpcd/distinfo index 7f814a4747e..1b61995d55d 100644 --- a/net/dhcpcd/distinfo +++ b/net/dhcpcd/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.33 2014/07/30 15:54:04 roy Exp $ +$NetBSD: distinfo,v 1.34 2014/09/27 10:51:05 roy Exp $ -SHA1 (dhcpcd-6.4.3.tar.bz2) = d90e5a0537ea902335a48a61703f49b5cd53c8f1 -RMD160 (dhcpcd-6.4.3.tar.bz2) = 99330bbc60558cf59dd6c1918552e1fee0b535e8 -Size (dhcpcd-6.4.3.tar.bz2) = 149927 bytes +SHA1 (dhcpcd-6.4.7.tar.bz2) = 00ce675f3ccf0c230dbbf697a14952c124c90b37 +RMD160 (dhcpcd-6.4.7.tar.bz2) = ea19267d99c4cee8adccda8d34c7502f53efaed6 +Size (dhcpcd-6.4.7.tar.bz2) = 155396 bytes -- cgit v1.2.3