Commit Graph

4462 Commits

Author SHA1 Message Date
roy
11fd74d7c7 Fix for dhcpcd-6.4.0 2014-06-14 21:00:22 +00:00
roy
1578cb1fcc Sync 2014-06-14 20:55:37 +00:00
roy
a468f856ed Import dhcpcd-6.4.0 with the following changes:
*  Only fork when the RA has a RDNSS option AND a valid prefix OR no DHCPv6 instruction.
  *  Handle BSD per interface rtadv kernel flag.
  *  Add a reject route for the delegated prefix so that unassigned prefixes don't go back upstream.
  *  If not specified, Delegated Prefixes will get an automatic SLA of the interface index. If the biggest SLA and the assigned prefix fits into a /64 then dhcpcd creates a /64 prefix so that SLAAC works. If bigger than /64 is needed then dhcpcd creates one rounded upto the nearest multiple of 8. Unless a configured SLA of 0 is assigned, a reject route for the Delegated Prefix is installed to stop unassigned addresses trying to be resolved upstream. Addresses added from Delegated Prefixes now have a default address suffix of 1 instead of using a SLAAC style address.
  *  Don't spam timezone updates unless its actually changed.
  *  Support ND6_IFF_OVERRIDE_RTADV on BSD.
  *  Document why we don't send both FQDN and hostname options.
  *  Respect RFC4861 MAX_RTR_SOLICITATION_DELAY as specified in section 6.3.7.
  *  RFC2131 section 4.4.1 states the client SHOULD wait a random time between one and ten seconds to desynchronize the use of DHCP at startup. Instead we wait a random time between zero and one second to mirror the more modern IPv6RS and DHCPv6 standards unless overridden by defining RFC2131_STRICT.
  *  Always send a carrier as it's no longer encapsulated in the IPv4 stack. When stopping and not departed, run with the STOPPED reason but do not process it in hooks.
  *  Poll kernel neighbour reachability (SIOCGNBRINFO_IN6) for each router instead of sending and listening for Neighbour Soliciation/Advertisement packets. The kernel is privy to a lot more reachability information than userland is.
  *  Ensure that ND6_IFF_PERFORMNUD is set.
  *  controlgroup option changes group ownership of the control socket.
  *  Should use arc4random_uniform when wanting a randon number between 1 and N. Improve the compat arc4random function a little and re-stir on fork.
  *  -4 and -6 are now mutually exclusive and when running on a single interface per protocol pidfiles are created. This means that other control options suchs as -x and -n will require the -4 or -6 option as well.
  *  Implement Stable Private Addresses for SLAAC as per RFC7217. Enable this as default in dhcpcd.conf.
  *  Log error condition if a new or changed Router Advertisment to avoid spamming the log.
  *  Add an IPv6 link-local address before upping the interface if needed. Bring an interface up when we start it and not during discovery. As such, stop waiting on carrier for a second if we did.
  *  Add gateway option to enable the gateway or an interface/profile. Ensure the option and require options disable the nooption option - last wins.
  *  Restarting ntp/yp are not critical and their initialisation continues in the background as well so we may as well background the restart commands for faster dhcpcd performance.
2014-06-14 20:51:03 +00:00
mrg
ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
joerg
a1fef3e08e Initialise all fields. 2014-06-13 13:38:52 +00:00
christos
819e6405b7 merge conflicts 2014-06-13 02:08:06 +00:00
christos
012fd1339d import file-5.19
2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>

	* Misc buffer overruns and missing buffer size tests in cdf parsing
	  (Francisco Alonso, Jan Kaluza)

2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>

	* Enforce limit of 8K on regex searches that have no limits
	* Allow the l modifier for regex to mean line count. Default
	  to byte count. If line count is specified, assume a max
	  of 80 characters per line to limit the byte count.
	* Don't allow conversions to be used for dates, allowing
	  the mask field to be used as an offset.

2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>

	* Make the range operator limit the length of the
	  regex search.

2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>

	* PR/347: Windows fixes
	* PR/352: Hangul word processor recognition
	* PR/354: Encoding irregularities in text files

2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>

	* Fix uninitialized title in CDF files (Jan Kaluza)

2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>

	* PR/351: Fix compilation of empty files

2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>

	* Fix integer formats: We don't specify 'l' or
	  'h' and 'hh' specifiers anymore, only 'll' for
	  quads and nothing for the rest. This is so that
	  magic writing is simpler.

2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>

	* PR/341: Jan Kaluza, fix memory leak
	* PR/342: Jan Kaluza, fix out of bounds read

2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>

	* Fix issue with long formats not matching fmtcheck
2014-06-13 01:48:18 +00:00
mrg
26f35dd6b6 remove the build support for GCC 4.1, and any hacks i found for it.
there could still be more -- i only looked for lines matching
both "HAVE_GCC" and "4" as words (grep -w.)
2014-06-13 01:17:45 +00:00
joerg
ca8a9c6fc0 Fix build. 2014-06-12 22:15:25 +00:00
christos
10ed35f153 From Darren Reed:
This patch fixes "ipfstat" not displaying group rules and fixes problems
being able to remove individual rules using ipf/ipnat.

#547 rule parsing puts junk at the end of ipf rules
#546 ipfstat -io does not list rules in groups aside from 0

Due to unforeseen circumstances I'm not able to commit this myself.
2014-06-12 17:23:06 +00:00
wiz
5c327eed5f Add missing Nm section which was breaking makemandb indexing of the man page.
From Abhinav Upadhyay.
2014-06-10 11:36:41 +00:00
christos
98aafcec91 include relative to the parse directory. 2014-06-08 02:23:46 +00:00
matt
ce9623f76a Fix a problem with reloading the inner reg of a subreg when it's a
mode dependent address.
2014-06-05 21:00:36 +00:00
wiz
5fcc88689f Also look in new pkgsrc default path, /usr/pkg/share/fonts.
Noted by tsutsui.
2014-06-05 10:45:39 +00:00
tron
d734beeb2c Fix build with stack smash protection enabled. 2014-06-04 19:07:22 +00:00
matt
4ed1ab1100 Don't match an indexed address of the form val[reg]. 2014-06-04 16:11:32 +00:00
matt
b870133566 Add some peepholes to help pushing of adjacent registers or memory locations
on the stack.  Add a peephole to translate two pushes on integers into
one push of a DImode register.
2014-06-03 22:34:28 +00:00
matt
f8174f3ae5 Fix tpyo. 2014-06-03 22:31:48 +00:00
christos
175b819734 For consistency, handle REQUISITE modules the same way as we handle REQUIRED
and BINDING.
2014-06-03 20:22:54 +00:00
christos
dab998a96b CVE-2014-3879: Incorrect error handling in PAM policy parser:
Missing module files were treated as soft failures leading to
unexpected behavior if policy files were copied between hosts with
differently installed modules or in the short period during upgrades
when module files were being replaced.
2014-06-03 20:21:32 +00:00
riastradh
c1c5dda87a libdrm_intel needs libpciaccess (kinda spuriously, but whatever). 2014-06-03 13:51:52 +00:00
joerg
b319e84295 Re-add -cxx-isystem and -iremap, lost in the GCC 4.8 transition. 2014-06-02 10:14:35 +00:00
mrg
2c6fc41c81 catch up with GCC_SUBDIR changes for new-to-gcc 4.8 directories. 2014-06-01 20:24:45 +00:00
mrg
5beaf704be port over 3 changes made here in the GCC 4.5 tree that we'll need
when GCC 4.8 becomes "gcc.old" eventually.

this tree still needs to be tested for more, but this should be the
bulk of the work.

----
Log Message:
prepare for moving GCC 4.5 into gcc.old:

- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.

----
Log Message:
oops, avoid re-setting DIST to something that might be wrong now.

----
Log Message:
fix another dated DIST.
2014-06-01 19:51:01 +00:00
mrg
d26da1a6c3 make sure that files containing version numbers are rebuilt when
the version actually changes.
2014-05-31 22:55:16 +00:00
joerg
0cfeec7c2c Mark files without llvm-209886 tag as dead. 2014-05-31 22:42:11 +00:00
joerg
7429e1daf1 Mark files without clang-209886 tag as dead. 2014-05-31 22:40:30 +00:00
christos
3ad0225b3d Add different defines to force weak pthread symbols.
XXX: I think these should be generated automatically.
XXX[2]: Why:
gthr-default.h -> $NETBSDSRCDIR/external/gpl3/gcc/dist/libgcc/gthr-posix.h
and wes still have old arch/*/gthr* files?
2014-05-31 20:09:15 +00:00
christos
9fc719f12e use weak symbols instead of linking against libpthread. 2014-05-31 14:03:08 +00:00
joerg
7632431698 Switch eARM to using normal DWARF exception handling. 2014-05-30 18:31:31 +00:00
joerg
b1bb3099bf Update build system for LLVM/Clang snapshot r209886. This brings in the
merged AArch64 backend and the move of eARM to DWARF exception handling
for NetBSD. C++11 is required for building.
2014-05-30 18:28:13 +00:00
joerg
571e46f85f Import Clang 3.5svn r209886. 2014-05-30 18:13:37 +00:00
joerg
4b590142ed Import LLVM 3.5svn r209886. 2014-05-30 18:09:54 +00:00
joerg
366c7b7f38 Import libc++ r209785. Fix a regression with std::bind exposed by recent
Clang improvements.
2014-05-30 11:39:48 +00:00
skrll
f73bb013ae Remove unused files. 2014-05-29 16:28:26 +00:00
mrg
955b6c1f27 commonize the netbsd local version string. (the native one wasn't
updated, and now that won't be a problem again.)
2014-05-29 07:40:37 +00:00
mrg
1b1872cba4 make LINK_EH_SPEC match other usage. fixes powerpc build. 2014-05-29 07:05:10 +00:00
mrg
04408297e6 move the -std=gnu++0x code from Makefile to Makefile.common.
fixes the remaining 2/3 link issues.
2014-05-28 17:09:18 +00:00
mrg
271c711fb0 add -pthread to compiler/linker flags. fixes 1/3 of the link issues. 2014-05-28 16:41:06 +00:00
christos
2ef91ead3c CID 272959: NULL deref 2014-05-28 14:36:41 +00:00
tron
590e1f0cee Update for building OpenLDAP 2.4.39. 2014-05-28 11:32:19 +00:00
tron
4f4766a6be Re-generate after import of OpenLDAP 2.4.39. 2014-05-28 11:09:18 +00:00
tron
4385776513 Apply patch to fix CVE-2013-4449. This shouldn't be necessary as we don't
build the server or its plug-ins. But it is better to be safe in case
this changes.
2014-05-28 10:14:13 +00:00
tron
cb54be06bf Resolve conflicts from last import. 2014-05-28 10:12:43 +00:00
tron
d11b170b90 Import OpenLDAP version 2.4.39. The list of changes since version 2.4.23
is too long to put here (over 650 lines of changelog).
2014-05-28 09:58:17 +00:00
mrg
a878343648 re-run mknative-gcc after threading fixes by skrll and myself. 2014-05-28 09:09:35 +00:00
mrg
295c54e235 apply patch from skrll@: allow netbsd host=target to configure
GLIBCXX_IS_NATIVE.
2014-05-28 07:03:27 +00:00
mrg
5b741f074a rerun mknative-gcc for GCC 4.8.3 release.
XXX:  still not 100% right, but we're getting close.
2014-05-28 06:54:48 +00:00
skrll
6fac5056c2 Resolve conflicts 2014-05-27 09:18:53 +00:00
skrll
9c8f586f64 Import gcc 4.8.3 which has 98 bugs fixed on gcc-4-8-3-pre-r208254 2014-05-27 08:50:03 +00:00