]> Zhao Yanbai Git Server - minix.git/commit
Import NetBSD dhcpcd(8) 66/3466/1
authorDavid van Moolenbroek <david@minix3.org>
Thu, 16 Feb 2017 15:54:23 +0000 (15:54 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Tue, 21 Mar 2017 21:59:13 +0000 (21:59 +0000)
commit9f20bfa6c4c442e2e798d91b11c2a5f8d6833a41
treeab0eb2d3553088034c044f745fda9cb2e51ba927
parentd642636d2d23d13bdfd55f00cfe917fe4a830a8a
Import NetBSD dhcpcd(8)

The port could be improved by adding support for pselect(2).

Other than that, this port has a few MINIX-specific changes:

- we undefine IN_IFF_ flags to stop dhcpcd from thinking that we have
  operating system support for link-local IPv4 address management;
- we work around one crash bug that seems triggered by using dhcpcd
  on some but not all interfaces;
- we add "noalias" to the default dhcpcd.conf(5) configuration file.

Change-Id: I8a81c2c2af353c5ce08335673b1ab2d4b39178da
72 files changed:
distrib/sets/lists/minix-base/mi
distrib/sets/lists/minix-debug/mi
distrib/sets/lists/minix-man/mi
etc/Makefile
etc/mtree/NetBSD.dist.base
etc/rc.d/Makefile
etc/rc.d/dhcpcd [new file with mode: 0755]
external/bsd/Makefile
external/bsd/dhcpcd/Makefile [new file with mode: 0644]
external/bsd/dhcpcd/dist/arp.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/arp.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/auth.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/auth.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/bpf-filter.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/common.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/common.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/config.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/control.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/control.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/crypt/crypt.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/crypt/hmac_md5.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/defs.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/dev.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcp-common.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcp-common.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcp.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcp.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcp6.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcp6.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-definitions.conf [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-embedded.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-embedded.c.in [new file with mode: 0755]
external/bsd/dhcpcd/dist/dhcpcd-embedded.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-embedded.h.in [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/10-wpa_supplicant [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/15-timezone [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd.8.in [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd.conf [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd.conf.5.in [new file with mode: 0644]
external/bsd/dhcpcd/dist/dhcpcd.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/duid.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/duid.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/eloop.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/eloop.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/if-bsd.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/if-options.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/if-options.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/if.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/if.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv4.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv4.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv4ll.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv4ll.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv6.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv6.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv6nd.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/ipv6nd.h [new file with mode: 0644]
external/bsd/dhcpcd/dist/script.c [new file with mode: 0644]
external/bsd/dhcpcd/dist/script.h [new file with mode: 0644]
external/bsd/dhcpcd/sbin/Makefile [new file with mode: 0644]
external/bsd/dhcpcd/sbin/Makefile.inc [new file with mode: 0644]
external/bsd/dhcpcd/sbin/dhcpcd/Makefile [new file with mode: 0644]