Commit Graph

7032 Commits

Author SHA1 Message Date
roy c546bfb786 unbound reloads config on SIGHUP, so add the reload command 2017-10-25 09:13:41 +00:00
kre 79bae3234a Merge tzdata2017c 2017-10-24 01:28:18 +00:00
kre 784a740e6f Import tzdata2017c from ftp://ftp.iana.org/tz/releases/tzdata2017c.tar.gz
Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
   Fiji ends DST 2018-01-14, not 2018-01-21.
   Namibia switches from +01/+02 to +02 on 2018-04-01.
   Sudan switches from +03 to +02 on 2017-11-01.
   Tonga likely switches from +13/+14 to +13 on 2017-11-05.
   Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.
   Some corrections to (mostly ancient) historical data.
2017-10-24 01:25:55 +00:00
abhinav af4088eb76 Add magic_open to the NAME section 2017-10-22 11:17:39 +00:00
abhinav 045f238bdc Add comma between Nm entries 2017-10-22 10:31:57 +00:00
pgoyette 900db34f5d Remove superfluous space character.
From rjc via https://github.com/NetBSD/src/pull/1
2017-10-22 06:26:01 +00:00
jmcneill 9f03ea3d87 Add bwfm firmware Makefile 2017-10-21 02:06:34 +00:00
jmcneill f7187bf1f4 Install bwfm(4) firmware. 2017-10-21 02:05:38 +00:00
jmcneill 20035bfbf7 Import bwfm firmware from linux-firmware on 2017-10-20 2017-10-21 01:58:59 +00:00
nonaka b593b49cd1 external/lgpl3/gmp build fail in configure phase with "ln -s J /etc/malloc.conf".
patch from pkgsrc/devel/gmp
  http://mail-index.netbsd.org/pkgsrc-changes/2017/06/15/msg158404.html
2017-10-19 03:26:28 +00:00
spz f48fb7bb9f apply patches from upstream, namely from https://w1.fi/security/2017-1/ :
rebased-v2.6-0001-hostapd-Avoid-key-reinstallation-in-FT-handshake.patch	02-Oct-2017 16:19 	6.1K
rebased-v2.6-0002-Prevent-reinstallation-of-an-already-in-use-group-ke.patch	02-Oct-2017 16:19 	7.7K
rebased-v2.6-0003-Extend-protection-of-GTK-IGTK-reinstallation-of-WNM-.patch	02-Oct-2017 16:19 	6.7K
rebased-v2.6-0004-Prevent-installation-of-an-all-zero-TK.patch
02-Oct-2017 16:19 	2.5K
rebased-v2.6-0005-Fix-PTK-rekeying-to-generate-a-new-ANonce.patch
02-Oct-2017 16:19 	1.9K
rebased-v2.6-0006-TDLS-Reject-TPK-TK-reconfiguration.patch
02-Oct-2017 16:19 	4.2K
rebased-v2.6-0007-WNM-Ignore-WNM-Sleep-Mode-Response-without-pending-r.patch	02-Oct-2017 16:19 	1.6K
rebased-v2.6-0008-FT-Do-not-allow-multiple-Reassociation-Response-fram.patch	02-Oct-2017 16:19 	2.7K

for CVE-2017-13077 CVE-2017-13078 CVE-2017-13079 CVE-2017-13080
 CVE-2017-13081 CVE-2017-13082 CVE-2017-13086 CVE-2017-13087 CVE-2017-13088

(see
https://w1.fi/security/2017-1/wpa-packet-number-reuse-with-replayed-messages.txt
for details)
2017-10-16 17:36:16 +00:00
kre 6cb901de75 cast pointers to uintptr_t, not uint64_t - then allow integer promotions
take care of any size differences.

Should fix builds of systems with 32 bit pointers (i386 et al).
2017-10-13 09:43:50 +00:00
christos fe99a11758 merge conflicts 2017-10-12 22:17:34 +00:00
christos c9ad075b4f CHANGES FROM 2.5 TO 2.6, 05 October 2017
* Add select-pane -T to set pane title.

* Fix memory leak when lines with BCE are removed from history.

* Fix (again) the "prefer unattached" behaviour of attach-session.

* Reorder how keys are checked to allow keys to be specified that have a
  leading escape. GitHub issue 1048.

* Support REP escape sequence (\033[b).

* Run alert hooks based on options rather than always, and allow further bells
  even if there is an existing bell.

* Add -d flag to display-panes to override display-panes-time.

* Add selection_present format when in copy mode (allows key bindings that do
  something different if there is a selection).

* Add pane_at_left, pane_at_right, pane_at_top and pane_at_bottom formats.

* Make bell, activity and silence alerting more consistent by: removing the
  bell-on-alert option; adding activity-action and silence-action options with
  the same possible values as the existing bell-action; adding a "both" value
  for the visual-bell, visual-activity and visual-silence options to trigger
  both a bell and a message.

* Add a pane_pipe format to show if pipe-pane is active.

* Block signals between forking and resetting signal handlers so that the
  libevent signal handler doesn't get called in the child and incorrectly write
  into the signal pipe that it still shares with the parent. GitHub issue 1001.

* Allow punctuation in pane_current_command.

* Add -c for respawn-pane and respawn-window.

* Wait for any remaining data to flush when a pane is closed while pipe-pane is
  in use.

* Fix working out current client with no target. GitHub issue 995.

* Try to fallback to C.UTF-8 as well as en_US.UTF-8 when looking for a UTF-8
  locale.

* Add user-keys option for user-defined key escape sequences (mapped to User0
  to User999 keys).

* Add pane-set-clipboard hook.

* FAQ file has moved out of repository to online.

* Fix problem with high CPU usage when a client dies unexpectedly. GitHub issue
  941.

* Do a dance on OS X 10.10 and above to return tmux to the user namespace,
  allowing access to the clipboard.

* Do not allow escape sequences which expect a specific terminator (APC, DSC,
  OSC) to wait for forever - use a small timeout. This reduces the chance of
  the pane locking up completely when sent garbage (cat /dev/random or
  similar).

* Support SIGUSR2 to toggle logging on a running server, also generate the
  "out" log file with -vv not -vvvv.

* Make set-clipboard a three state option: on (tmux both sends to outside
  terminal and accepts from applications inside); external (tmux sends outside
  but does not accept inside); and off.

* Fix OSC 4 palette setting for bright foreground colours. GitHub issue 954.

* Use setrgbf and setrgbb terminfo(5) capabilities to set RGB colours, if they
  are available. (Tc is still supported as well.)

* Fix redrawing panes when they are resized several times but end up with the
  size unchanged (for example, splitw/resizep -Z/breakp).

* Major rewrite of choose mode. Now includes preview, sorting, searching and
  tagging; commands that can be executed directly from the mode (for example,
  to delete one or more buffers); and filtering in tree mode.

* choose-window and choose-session are now aliases of choose-tree (in the
  command-alias option).

* Support OSC 10 and OSC 11 to set foreground and background colours.

* Check the U8 capability to determine whether to use UTF-8 line drawing
  characters for ACS.

* Some missing notifications for layout changes.

* Control mode clients now do not affect session sizes until they issue
  refresh-client -C. new-session -x and -y works with control clients even if
  the session is not detached.

* All new sessions that are unattached (whether with -d or started with no
  terminal) are now created with size 80 x 24. Whether the status line is on or
  off does not affect the size of new sessions until they are attached.

* Expand formats in option names and add -F flag to expand them in option values.

* Remember the search string for a pane even if copy mode is exited and entered
  again.

* Some further BCE fixes (scroll up, reverse index).

* Improvements to how terminals are cleared (entirely or partially).

CHANGES FROM 2.4 TO 2.5, 09 May 2017

* Reset updated flag when restarting #() command so that new output is properly
  recognised. GitHub issue 922.

* Fix ECH with a background colour.

* Do not rely on the terminal not moving the cursor after DL or EL.

* Fix send-keys and send-prefix in copy-mode (so C-b C-b works). GitHub issue
  905.

* Set the current pane for rotate-window so it works in command sequences.

* Add pane_mode format.

* Differentiate M-Up from Escape+Up when possible (that is, in terminals with
  xterm(1) style function keys). GitHub issue 907.

* Add session_stack and window_stack_index formats.

* Some new control mode notifications and corresponding hooks:
  pane-mode-changed, window-pane-changed, client-session-changed,
  session-window-changed.

* Format pane_search_string for last search term while in copy mode (useful
  with command-prompt -I).

* Fix a problem with high CPU usage and multiple clients with #(). GitHub issue
  889.

* Fix UTF-8 combining characters in column 0.

* Fix reference counting so that panes are properly destroyed and their
  processes killed.

* Clamp SU (CSI S) parameter to work around a bug in Konsole.

* Tweak line wrapping in full width panes to play more nicely with terminal
  copy and paste.

* Fix when we emit SGR 0 in capture-pane -e.

* Do not change TERM until after config file parsing has finished, so that
  commands run inside the config file can use it to make decisions (typically
  about default-terminal).

* Make the initial client wait until config file parsing has finished to avoid
  racing with commands.

* Fix core when if-shell fails.

* Only use ED to clear screen if the pane is at the bottom.

* Fix multibyte UTF-8 output.

* Code improvements around target (-t) resolution.

* Change how the default target (for commands without -t) is managed across
  command sequences: now it is set up at the start and commands are required
  to update it if needed. Fixes binding command sequences to mouse keys.

* Make if-shell from the config file work correctly.

* Change to always check the root key table if no binding is found in the
  current table (prefix table or copy-mode table or whatever). This means that
  root key bindings will take effect even in copy mode, if not overridden by a
  copy mode key binding.

* Fix so that the history file works again.

* Run config file without a client rather than using the first client, restores
  previous behaviour.

* If a #() command doesn't exit, continue to read from it and use its last full
  line of output.

* Handle slow terminals and fast output better: when the amount of data
  outstanding gets too large, discard output until it is drained and we are
  able to do a full redraw. Prevents tmux sitting on a huge buffer that the
  terminal will take forever to consume.

* Do not redraw a client unless we realistically think it can accept the data -
  defer redraws until the client has nothing else waiting to write.
2017-10-12 21:59:47 +00:00
christos 6e97188311 Redo so that parallel makes work reliably by using the builtin rules and
issuing atomic file creation.
XXX: This still creates all the c and h files for platforms that don't support
iasl in make depend. At least it now works with make -j 100 dependall
2017-10-10 19:17:57 +00:00
christos 5be17a4780 sync with gcc.old 2017-10-08 20:40:06 +00:00
joerg 322628b0a0 Don't try to rebuild gengtype-lex.c from yacc. 2017-10-08 11:08:55 +00:00
joerg a50acb30f1 Remove pre-generated files as they can confuse make when using hg or git. 2017-10-08 11:06:48 +00:00
roy eea0c4791a Cleanup 2017-10-08 09:10:11 +00:00
roy 3c389f9623 Remove mistakenly commited debug. 2017-10-07 14:14:40 +00:00
roy ec1306698f dhcpcd no longer needs hmac_md5.c 2017-10-07 14:11:07 +00:00
roy d8819cfad2 Import dhcpcd-7.0.0-rc3 with the following noteable changes:
*  Fixed handling RA's from multiple routers
  *  Fixed changing to a better route based on gateway
  *  IPv6 default route is now deleted when config is not persistent
  *  Use hmac(3) if available in libc to reduce binary size

Fixes PR bin/52554
2017-10-07 14:05:36 +00:00
kre 5067e4eb0f Actually bump lib versions, to match bump in sets files. 2017-10-07 00:06:11 +00:00
christos ebbd68dbd4 bump c++ libraries because of the libstdc++ dual abi bump 2017-10-06 20:24:46 +00:00
christos cd7ac3d44d bump because libstdc++ 2017-10-06 19:19:36 +00:00
christos 26057c7540 bump because of libstdc++ 2017-10-06 19:16:35 +00:00
christos 510540c911 re-run mknative to disable the libstdc++ "dual abi". Bump. 2017-10-05 23:46:34 +00:00
wiz 877c1e6101 Fix typo in comment. 2017-10-05 06:30:19 +00:00
christos 507caaad52 Add stdatomic.h 2017-10-04 23:43:23 +00:00
christos 3b612085a8 Remove debugging log statement 2017-09-28 02:32:51 +00:00
mlelstv e30da9649b fix offset of segment count in NetBSD crashdump header. 2017-09-27 21:04:05 +00:00
christos 7e10eace88 Factor out the read and write data code from the huge child_process function.
When we create a pipe to read data, restore the sigchld signal handler since
pclose expects to wait for the child (to avoid spurious error reporting later).
2017-09-25 08:30:46 +00:00
roy 4777372b1e Sync 2017-09-19 19:19:21 +00:00
roy 2e864d58b0 Import dhcpcd-7.0.0-rc2 with the following changes:
*  dhcp: fixed classless static routes
  *  prefix delegation: build routes after assigning addresses
  *  dhcp: on lease expiration, discover only when carrier
  *  ip6: fix potential segfault when lifetime overflows
  *  dhcp: fix reporting of DNS encoded SIP servers
  *  dhcp6: fix unicast in non master mode
2017-09-19 19:16:48 +00:00
sevan 35823e7391 Include scripts from the DTrace Toolkit if DTrace support is enabled.
The following scripts are installed:
dtruss    - a DTrace version of truss.
execsnoop - snoop process execution as it occurs.
opensnoop - snoop file opens as they occur.
procsystime - print process system call time details.

ok riastradh
2017-09-17 00:00:39 +00:00
christos 7985e76473 1/2 the number of {l,s}stat(2) calls by exposing the stat data found
when calling islink()!
2017-09-15 21:03:26 +00:00
christos 3e6f013085 Adjust for acpica 20170831 2017-09-15 17:17:25 +00:00
roy f514d3c7bb build dhcpcd with ARPING support for non small builds. 2017-09-15 12:02:00 +00:00
he b7a909847c Replicate fix from the old gcc.old: alpha.d needs pass-instances.def. 2017-09-12 09:25:24 +00:00
christos 72c96ff366 merge changes. 2017-09-08 14:01:12 +00:00
christos 9460fd8ab1 Import tcpdump 4.9.2 2017-09-08 13:48:22 +00:00
christos 051bdd9a5a merge file-5.32 2017-09-08 13:40:24 +00:00
christos 41da50d881 2017-09-02 11:53 Christos Zoulas <christos@zoulas.com>
* release 5.32

2017-08-28  16:37  Christos Zoulas <christos@zoulas.com>

	* Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)

2017-08-27  03:55  Christos Zoulas <christos@zoulas.com>

	* Fix always true condition (Thomas Jarosch)

2017-05-24  17:30  Christos Zoulas <christos@zoulas.com>

	* pickier parsing of numeric values in magic files.

2017-05-23  17:55  Christos Zoulas <christos@zoulas.com>

	* PR/615 add magic_getflags()

2017-05-23  13:55  Christos Zoulas <christos@zoulas.com>

	* release 5.31

2017-03-17  20:32  Christos Zoulas <christos@zoulas.com>

	* remove trailing spaces from magic files
	* refactor is_tar
	* better bounds checks for cdf
2017-09-08 13:22:41 +00:00
joerg f6f53c2528 Honor HOST_CC. 2017-09-07 18:57:47 +00:00
mbalmer c2c3ba2051 Apply bug fix from lua.org/bugs.html (dead keys with nil values can stay
in weak tables).
2017-09-07 12:52:29 +00:00
bsiegert 1eb43387d0 dhcp: Fix classless static routes
Assign the netwask correctly from the message.

Cherry-picked from upstream in
https://dev.marples.name/rDHC510c760cb24ef4b1b16cc14732c5ffe0fbb0d96d.

This fixes route assignments when running on Google Compute Engine,
which uses classless static routes.
2017-09-05 11:58:55 +00:00
snj 5bd7acb54f disable SIT, as we've been doing in -7 since this experimental feature
popped up. it was problematic and has been obsoleted in BIND 9.11.
ok christos@ reed@
2017-09-04 19:57:53 +00:00
snj 7d2154ffe7 regen for xkeyboard-config 2.21 2017-09-04 16:51:11 +00:00
christos f2df1a6a72 more no-error-ssp 2017-09-01 14:38:23 +00:00
mlelstv 6798bdb86d When resizing nvi in xterm, a scroll region is set with the old size
which garbles the display.

The scroll region is set for a terminfo scroll operation and then
reset to the current window size. While xterm lets you clear a
scroll region, there is no way to do this in terminfo except by
resetting the terminal which has a visual side effect.

Xterm actually clears the scroll region as part of the resize but
that happens before a program gets the SIGWINCH signal. When nvi sees
the SIGWINCH signal, it exits the vi mode using a scroll operation to
tidy up the display before it reenters vi mode with the new window size.

This patch does two things:
- make nvi also invoke a previous SIGWINCH handler (not sufficient,
  but that's how curses wants it).
- skip the tidy up in case of a restart (avoids the scroll region)
2017-09-01 07:21:01 +00:00