Commit Graph

1420 Commits

Author SHA1 Message Date
roy
d407ff275f Import dhcpcd-6.0.0 with the following changes:
* DHCPv6 support
 * wpa_supplicant hook script
 * route IPv4 addresses to 127.0.0.1 for machine centric traffic
 * DHCPv6 Prefix Delegation support
 * DHCPv6 FQDN support
 * Control existing IPv4 routes
 * less spamy to syslog by default
 * IPv6 protocols now wait for a valid LL address before starting
 * IPv6 DAD support now listens to kernel for more accurate timings
 * IPv4 code split out more cleanly so dhcpcd can be compiled for
   IPv4, IPv6 or IPv4 AND IPv6
 * MTU is no longer requested by default
 * a DUID is now generated in /etc/dhcpcd.duid and this is used as a
   client ID for DHCPv4 and DHCPv6
   This does mean that you may get new DHCPv4 addresses

Many bugs have also been fixed along the way and this release addresses
the following PR's

PR bin/47364
PR bin/47502
PR bin/47666
PR bin/47699
PR bin/47775
PR bin/47776
2013-06-21 19:33:06 +00:00
christos
75539de332 Instead of hard-coding each processor-specific section type, handle all
processor-specific section types the same way.
2013-06-21 01:36:31 +00:00
christos
cdd3d6fc0e file descriptor neatness. 2013-06-20 15:14:03 +00:00
christos
76bb5036c5 add finish_daemon(); 2013-06-20 12:26:34 +00:00
christos
28e086be17 1. don't try to open the pid file if the path is NULL
2. daemonize in two stages: always fork() first and wait for the child to tell
   us when the interface is ready, so that we don't lose track of the file
   descriptors since we are threaded.
3. Add an option (-m) not to match the hardware address of the responding
   dhcp server.
2013-06-20 12:24:08 +00:00
christos
1778f662e3 document -m flag 2013-06-20 12:15:38 +00:00
christos
2e0a455f32 Become daemon before initializing anything, otherwise this does not work
with threaded workers.
2013-06-16 23:49:50 +00:00
roy
709217a62f Sync 2013-06-04 09:40:12 +00:00
roy
c3da4b2ac2 Import openresolv-3.5.5 with the following changes from 3.5.3
* Fix setting IPv6 namservers over DBus to dnsmasq
 * Fix pdnsd config file generation
 * Man page fixes
2013-06-04 09:37:21 +00:00
joerg
c7c727fae8 Update LLVM/Clang snapshot to r182734. Brings initial support for
integrated PowerPC assembler.
2013-05-28 17:37:33 +00:00
joerg
ccec91a1a9 Import libcxxrt b2396b5945d7a2697c4762c3e52dc6f732b2eebd from
https://github.com/pathscale/libcxxrt/.
2013-05-17 23:04:37 +00:00
joerg
21ba9d10f3 Import libc++ from http://llvm.org/svn/llvm-project, r182162. 2013-05-17 23:02:16 +00:00
joerg
9de6786eff Add cleanup scripts for future imports. 2013-05-17 23:00:22 +00:00
joerg
7a5d56a82d Install cxxabi.h with libc++. 2013-05-17 22:59:29 +00:00
joerg
a14e051bb4 Prefer libcxxrt's typeinfo.cc. Do not use cxa_atexit.c, it is only for
Solaris. Do not use libcxxrt's memory.cc, the same content is already
provided by libc++ in new.cpp and that version agrees with the
overwriting rules for the operators from C++11.
2013-05-17 22:57:27 +00:00
martin
cd0bb111d3 var_get_memory():
if no eol is found in the string we set "next" to NULL, assign it
to "buf" and then check the loop condition by dereferencing it - which
does not work well.
Change the loop condition to first check for buf == NULL.
2013-05-16 19:19:44 +00:00
christos
eb1b7900cb ipfitler -> ipfilter 2013-05-08 18:20:14 +00:00
matt
c3e07d7cd3 If not building anything include bsd.subdir.mk 2013-05-03 18:37:54 +00:00
matt
61a76f0146 Include <bsd.own.mk>
Always include <bsd.lib.mk>
2013-05-02 07:01:55 +00:00
matt
5f058922b3 This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
2013-05-02 03:56:38 +00:00
joerg
2df21d794d Explicitly disable standard C++ include paths to prevent mixing
includes.
2013-04-30 00:34:15 +00:00
joerg
1031501f81 It is unclear whether cin is guaranteed to buffer the last input
character of a get() for ungetch() to work. Prefer putback() to make it
work with current implementations of cin in libc++. Tracked as
http://llvm.org/bugs/show_bug.cgi?id=15867 with test case.
2013-04-30 00:31:56 +00:00
joerg
d81d2afdeb Update to LLVM/Clang snapshot r180686. Allows building without cxxabi.h. 2013-04-28 00:41:00 +00:00
joerg
ee8b1e3e15 Typo 2013-04-28 00:14:14 +00:00
joerg
5f14cb8bb7 Optionally recurse into libc++. 2013-04-27 23:03:10 +00:00
joerg
ecb06a3b09 Add build glue for libc++. 2013-04-27 23:02:17 +00:00
joerg
af56d1fe99 Update LLVM/Clang snapshot to r180004. This brings in the last pieces of
C++11 support in Clang as well as initial SPARC64 support.
2013-04-25 13:59:54 +00:00
wiz
47c6fa449f Fix path. 2013-04-20 15:30:34 +00:00
wiz
9dc14f8abd Merge pkg_install-20130420. 2013-04-20 15:29:22 +00:00
wiz
ac52c41608 Import pkg_install from current pkgsrc.
Licence changes and less warnings when opsys doesn't match build
host opsys version, and documentation updates.
2013-04-20 15:26:52 +00:00
christos
831a981593 Use -Wl,-B{static,dynamic}, using -Bstatic does not work because all the
flags arguments are passed to collect2 in front.
2013-04-14 16:28:57 +00:00
christos
18e8a81233 The common fields of the socket should be initialized in one place since
we are the socket provider. Fixes crash with "rndc status", where accepted
sockets did not have their method fields initialized!
2013-04-14 13:18:23 +00:00
christos
ca316180bc initialize the omapi subsystem early so we can allocate interfaces. 2013-04-14 01:51:39 +00:00
christos
211104fe6e How could this possibly ever have worked with threads? It forked *after*
it initialized the isc library and the parent having created the threads
exited with the worker threads?!?!? Only -d worked because it did not
fork!
2013-04-13 23:04:35 +00:00
christos
8846758c2d remove debugging accidentally committed. 2013-04-13 02:08:59 +00:00
christos
c66d06cb46 move droproot after we have dealt with input and output files. 2013-04-12 23:51:50 +00:00
christos
7816f7e5c1 missed one xkill in the rename 2013-04-12 21:49:54 +00:00
christos
71b46c3cd2 undo previous, breaks differently when testing for EINPROGRESS. 2013-04-12 20:02:00 +00:00
christos
1dab78693d #if 0 more 2013-04-12 20:00:21 +00:00
christos
21bc640ddf XXX: disable the simple conditions test right now because it depends on
thread scheduling timings and we don't seem to schedule threads the way
it assumes.
2013-04-12 19:59:26 +00:00
christos
a79378684d connect(2) returns EINPROGRESS for "239.10.20.30" which is supposed to
be an unroutable address. getsockopt() to find the actual error returns
0. This is prolly broken, but this temporary work-around fixes the regression
test.
2013-04-12 19:41:45 +00:00
joerg
0b4c1e12e1 Remove potentially extra consts. 2013-04-12 18:11:40 +00:00
joerg
64b3fac0e4 Work correctly with ISO C99 compiler. 2013-04-12 18:11:15 +00:00
christos
ef8dcd3907 remove bug we added. 2013-04-12 17:50:27 +00:00
christos
a18e92eddb fix merge that broke the tests 2013-04-11 20:14:44 +00:00
christos
318c3a432e rename deprecated to evdeprecated. 2013-04-11 17:49:12 +00:00
christos
62f324d012 the rest of the build glue. 2013-04-11 16:59:16 +00:00
christos
883110aaf9 merge conflicts, make compile with warnings. 2013-04-11 16:56:41 +00:00
christos
1d2a5e2b5b import script 2013-04-11 16:56:11 +00:00
christos
46e414e0ff Event2 build gluons 2013-04-11 16:55:51 +00:00