summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorroy <roy>2016-01-07 17:29:48 +0000
committerroy <roy>2016-01-07 17:29:48 +0000
commit5159a7dcedef4ea094061a2f4cbabb0c5224e7d7 (patch)
tree2c4b52ddb31bd711fad62d8b230c3b4250c94517 /net
parenta8621b6941809fc9cf5cd74312cc7b2ea9e09aaa (diff)
downloadpkgsrc-5159a7dcedef4ea094061a2f4cbabb0c5224e7d7.tar.gz
Import dhcpcd-6.10.0 with the following changes:
* --noption requires an argument * optimise the ARP BPF filter, thanks to Nate Karstens * send gratuitous ARP each time we apply our IP address * fix truncation of hostnames based on the short hostname option * improve routing and address management by always loading all interfaces, routes and addresses even for interfaces we are not directly working on * timezone, lookup-hostname, wpa_supplicant and YP hooks are no longer installed by default but are installed to an example directory * fix compile on kFreeBSD thanks to Christoph Egger for providing a temporary build host * improve error logging of packet parsing * fix ignoring routing messages generated by dhcpcd just before forking * fix handling of rapid commit messages (allow ACK after DISCOVER) * add PROBE state so we can easily reject DHCP messages received during the ARP probe phase * fix CVE-2016-1503 * fix CVE-2016-1504
Diffstat (limited to 'net')
-rw-r--r--net/dhcpcd/Makefile7
-rw-r--r--net/dhcpcd/PLIST10
-rw-r--r--net/dhcpcd/distinfo8
3 files changed, 13 insertions, 12 deletions
diff --git a/net/dhcpcd/Makefile b/net/dhcpcd/Makefile
index d5c8417a6e8..5acb4667472 100644
--- a/net/dhcpcd/Makefile
+++ b/net/dhcpcd/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.52 2015/11/30 16:22:32 roy Exp $
+# $NetBSD: Makefile,v 1.53 2016/01/07 17:29:48 roy Exp $
#
-DISTNAME= dhcpcd-6.9.4
+DISTNAME= dhcpcd-6.10.0
CATEGORIES= net
MASTER_SITES= ftp://roy.marples.name/pub/dhcpcd/
MASTER_SITES+= http://roy.aydogan.net/dhcpcd/
@@ -18,8 +18,9 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-hooks=ntp
+CONFIGURE_ARGS+= --datadir=${PREFIX}/share/examples
-EGDIR= ${PREFIX}/share/examples
+EGDIR= ${PREFIX}/share/examples/dhcpcd
INSTALL_MAKE_FLAGS+= SYSCONFDIR=${EGDIR}
CONF_FILES+= ${EGDIR}/dhcpcd.conf ${PKG_SYSCONFDIR}/dhcpcd.conf
diff --git a/net/dhcpcd/PLIST b/net/dhcpcd/PLIST
index 96283374f9a..eb6844d6db2 100644
--- a/net/dhcpcd/PLIST
+++ b/net/dhcpcd/PLIST
@@ -1,10 +1,7 @@
-@comment $NetBSD: PLIST,v 1.7 2015/08/21 10:53:36 roy Exp $
+@comment $NetBSD: PLIST,v 1.8 2016/01/07 17:29:48 roy Exp $
libexec/dhcpcd-hooks/01-test
libexec/dhcpcd-hooks/02-dump
-libexec/dhcpcd-hooks/10-wpa_supplicant
-libexec/dhcpcd-hooks/15-timezone
libexec/dhcpcd-hooks/20-resolv.conf
-libexec/dhcpcd-hooks/29-lookup-hostname
libexec/dhcpcd-hooks/30-hostname
libexec/dhcpcd-hooks/50-ntp.conf
libexec/dhcpcd-run-hooks
@@ -12,4 +9,7 @@ man/man5/dhcpcd.conf.5
man/man8/dhcpcd-run-hooks.8
man/man8/dhcpcd.8
sbin/dhcpcd
-share/examples/dhcpcd.conf
+share/examples/dhcpcd/dhcpcd.conf
+share/examples/dhcpcd/hooks/10-wpa_supplicant
+share/examples/dhcpcd/hooks/15-timezone
+share/examples/dhcpcd/hooks/29-lookup-hostname
diff --git a/net/dhcpcd/distinfo b/net/dhcpcd/distinfo
index fb3cb51d778..fed74959771 100644
--- a/net/dhcpcd/distinfo
+++ b/net/dhcpcd/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.50 2015/11/30 16:22:32 roy Exp $
+$NetBSD: distinfo,v 1.51 2016/01/07 17:29:48 roy Exp $
-SHA1 (dhcpcd-6.9.4.tar.xz) = 42511094af8bd3d8fbf43323d90fe8706f97cf09
-RMD160 (dhcpcd-6.9.4.tar.xz) = 0b3a1031200ae2ba4dec77bc86a0117baba41075
-Size (dhcpcd-6.9.4.tar.xz) = 178632 bytes
+SHA1 (dhcpcd-6.10.0.tar.xz) = f4991a21ab0160bedf2fd9b0f6fb503441993688
+RMD160 (dhcpcd-6.10.0.tar.xz) = 4ea20185c1a9401b0f96ac77b70f5a80b99378e2
+Size (dhcpcd-6.10.0.tar.xz) = 179804 bytes