Commit Graph

5551 Commits

Author SHA1 Message Date
christos
9287d529e5 handle acpica 20150717 2015-08-18 10:38:31 +00:00
christos
82dfa05dde regen 2015-08-18 08:43:55 +00:00
christos
9ca90fdc92 finish all the regen 2015-08-17 17:28:33 +00:00
christos
871cc9aea1 regen sh3* 2015-08-17 13:26:04 +00:00
christos
0e872dfe70 regen coldfire 2015-08-17 13:17:44 +00:00
christos
311ef48816 forgot one earmv4 files 2015-08-17 13:10:38 +00:00
christos
3954c00438 regen hppa and mipseb 2015-08-17 13:09:41 +00:00
christos
97d737391f regen some arm, mips, ppc, 2015-08-17 12:48:16 +00:00
christos
329412d82a fix mips 2015-08-17 12:45:06 +00:00
christos
1d01486282 regen vax 2015-08-17 10:17:25 +00:00
christos
4ee3234649 regen m68000 2015-08-17 10:11:30 +00:00
christos
c6bb8cabfc regen sparc64 2015-08-17 10:07:00 +00:00
christos
094a12b336 fix sparc64 2015-08-17 10:06:50 +00:00
christos
4d5524276d regen alpha, earmv4 2015-08-17 09:57:59 +00:00
christos
18982316aa fix alpha 2015-08-17 09:57:31 +00:00
christos
3221174a81 regen m68k 2015-08-17 09:06:49 +00:00
christos
1b2e4fb002 fix m68k 2015-08-17 09:06:29 +00:00
christos
3a1916735f regen sparc 2015-08-17 08:53:56 +00:00
christos
450cf8f634 fix sparc 2015-08-17 08:53:33 +00:00
christos
d708e326ad regen i386 2015-08-17 08:30:33 +00:00
christos
983172ca33 don't hard code the path. 2015-08-17 07:32:51 +00:00
christos
a70d8c7e9c gdb 7 -> gdb.old 2015-08-17 07:30:39 +00:00
macallan
710e19a438 add ffb_accel_common.c 2015-08-16 17:48:24 +00:00
christos
9d1da10b43 merge conflicts 2015-08-16 09:52:55 +00:00
christos
57d153c7c7 fix glue for gdb-7.9.1 2015-08-16 09:51:58 +00:00
christos
d0e1037b7b handle gdb-7.9.1 2015-08-16 09:14:53 +00:00
mrg
4a7a9971a5 add a bunch of missing CLEANDIRFILES, since the implicit rules they
come from are not entirely simple to generate.

remove old DIST= setting that was wrong.

this subdir builds again for me now.
2015-08-15 21:11:37 +00:00
mrg
0249ef23ac this is gdb.old, not gdb.
XXX: put this in bsd.own.mk?
2015-08-15 20:57:37 +00:00
mrg
67a23d995b re-run mknative binutils for powerpc. 2015-08-15 19:54:02 +00:00
christos
968cf8f21f import new gdb 2015-08-15 10:24:36 +00:00
christos
837edd6b4e import new gdb 2015-08-15 10:18:10 +00:00
christos
b23b258258 import new gdb 2015-08-15 09:56:15 +00:00
christos
9d2109275e import new gdb 2015-08-15 09:46:14 +00:00
christos
8986534fbd switch everyone to gdb.old 2015-08-15 09:34:17 +00:00
christos
0ab5b34041 import the head of gdb in gdb.old in preparation for the new gdb import. 2015-08-15 09:27:49 +00:00
apb
f15c02ef49 Update for tzdata2015f:
* Fix numbering in a comment;
* Update version numbers;
* Adjust a regex to recognise "Changes affecting.*data" without
  the word "format".
2015-08-11 18:10:13 +00:00
apb
fd53cdca36 Import tzdata2015f from ftp://ftp.iana.org/tz/releases/tzdata2015f.tar.gz
Summary of changes in tzdata2015f (2015-08-10 18:06:56 -0700):
  * North Korea switches to +0830 on 2015-08-15.
  * Uruguay no longer observes DST.
  * Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC.
  * The two characters '%z' in a zone format now stand for the UTC
    offset, e.g., '-07' for seven hours behind UTC and '+0530' for
    five hours and thirty minutes ahead.
  * Comments for America/Halifax and America/Glace_Bay have been improved.
  * Data entries have been simplified for Atlantic/Canary, Europe/Simferopol,
    Europe/Sofia, and Europe/Tallinn.
  * Changes affecting documentation.
2015-08-11 18:07:00 +00:00
prlw1
c71e0745a5 fix typos 2015-08-11 16:06:52 +00:00
macallan
b676c18bcd build EXA support 2015-08-11 03:58:18 +00:00
jakllsch
23d6404318 Correct temporary directory preference order in libiberty's choose_tmpdir().
Because it is intended to be persistent, /var/tmp is about the worst possible
choice for temporary files for most users of libiberty.  /tmp works better,
because the the defined semantics of /tmp allow for a non-persistent tmpfs
to be used.  This should improve performance when /tmp is a tmpfs and it is
difficult or impossible to have an environment variable or command line -pipe
flag passed to every piece of the toolchain.
2015-08-10 15:45:40 +00:00
aymeric
4fcf45b3fb use ${TOOL_AWK} instead of host dependant awk. From mrg@. 2015-08-09 10:09:07 +00:00
aymeric
26784e621d Move dashes to the front of bracket expressions. Suggested by dholland@. 2015-08-08 23:06:36 +00:00
aymeric
dea07fe2a9 Fix bracket expressions by moving '-' to the end of them. GNU awk choked. 2015-08-08 22:26:59 +00:00
wiz
e272cbeff0 Use date of last distfile for am-utils.info date.
Update doc/3RDPARTY to mention this should be kept up-to-date during
imports.
Addresses PR 50118.
2015-08-06 10:22:34 +00:00
macallan
8e272e6ce3 build EXA support 2015-07-30 02:58:00 +00:00
christos
3c96e852e2 Don't use NO_SYS_HEADERS because <sys/types.h> is not included when you
do that before the typedefs in /usr/xsrc/external/mit/xorg-server/dist/hw/\
xfree86/x86emu/x86emu/types.h, and then some source files include
<sys/types.h> leading to uint redefinitions.
2015-07-29 19:03:15 +00:00
christos
b4a6c5034b merge conflicts for bind-9.10.2-P3 to address CVE-2015-5477. 2015-07-28 18:55:16 +00:00
christos
3f9a56fe3c Import bind 9.10.2-P3 2015-07-28 18:48:08 +00:00
mrg
4bebf46978 remove unused files. 2015-07-26 09:04:15 +00:00
mrg
0aac484359 remove some duplication; pointed out by pgoyette. 2015-07-23 09:37:59 +00:00
mrg
cf4dd8937a remove the xfree86 reachover makefiles and the vast majority of
the support in the rest of the source tree.

X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
mrg
c73007bdff remove obsolete tools and comments. 2015-07-23 07:36:54 +00:00
mrg
57b7c10bc0 copy reachovers and mostly update for modern xorg. showfont builds
but rstart doesn't quite yet...
2015-07-23 07:34:38 +00:00
mrg
1d32bc8471 delete obsolete reachovers. 2015-07-23 07:33:33 +00:00
mrg
d9b30e28a9 build libXpresent. 2015-07-23 05:46:39 +00:00
mrg
1dfb3d9037 link against Xinerama now that xterm 318 would prefer to. 2015-07-23 05:45:09 +00:00
mrg
82690547ac update for ark 0.7.5. 2015-07-23 02:04:09 +00:00
mrg
7873bb551a update for libxcb 1.11. 2015-07-23 01:06:32 +00:00
mrg
39fd47d868 delete obsolete vga and radeonhd drivers. 2015-07-22 16:37:33 +00:00
mrg
40be8a6698 remove unused makefile. 2015-07-22 09:52:51 +00:00
mrg
0a1154b06c updates for xf86-input-mouse 1.9.1. 2015-07-22 09:49:51 +00:00
mrg
3b092926c9 updates for xmessage 1.0.4 and xwud 1.0.4. 2015-07-22 08:46:51 +00:00
mrg
d1b7211548 updates for xfsinfo 1.0.5 and xkbevd 1.1.4. 2015-07-22 08:35:26 +00:00
mrg
1d694e8a5a updates for fslsfonts 1.0.5, fstobdf 1.0.6, ico 1.0.4, luit 1.1.1 and
rgb 1.0.6.
2015-07-22 07:58:00 +00:00
mrg
816dc0e3d6 update for libXinerama 1.1.3 2015-07-22 02:23:20 +00:00
mrg
cccf14aba7 add PACKAGE_NAME support to xorg-pkg-ver.mk.
switch to using xorg-pkg-ver.mk.
2015-07-20 23:50:22 +00:00
mrg
b04a8df815 rebuild these for xkeyboard-config 2.15. 2015-07-20 22:45:10 +00:00
christos
aa4b4f79ae we set SIGCHLD to SIG_IGN so we are not going to generate zombies so it
will be an error to wait.
2015-07-20 15:35:00 +00:00
joerg
613db6a115 Don't use fabs on integers. 2015-07-20 13:13:31 +00:00
mrg
896967499d use xorg-pkg-ver.mk 2015-07-20 06:34:29 +00:00
mrg
499ffedcd0 updates for freetype 2.6. 2015-07-20 04:10:40 +00:00
mrg
84e38ef2d1 bump libXrandr minor for added functions in new XrrMonitor.c. 2015-07-20 03:13:56 +00:00
mrg
01754778c8 use xorg-pkg-ver.mk. 2015-07-20 03:12:57 +00:00
mrg
952ccb2bbd updates for xf86-video-trident 1.3.7. 2015-07-20 03:00:01 +00:00
mrg
0042ea73fc bump libdrm and libdrm_intel shlib version -- both had functions added. 2015-07-20 02:51:33 +00:00
mrg
d32df95546 use xorg-pkg-ver.mk for silicon-motion. 2015-07-20 02:07:36 +00:00
mrg
28e6cab260 updates for r128 6.10.0 and mach64 6.9.5. 2015-07-20 01:17:46 +00:00
mrg
bffb453364 build updates for xlsatoms 1.1.2, xlsfonts 1.0.4, xman 1.1.4, xmh 1.0.03
xmodmap 1.0.9 and xvinfo 1.1.3.
2015-07-19 23:15:05 +00:00
mrg
6eba60ab4a update for xfindproxy 1.0.4. 2015-07-19 22:43:26 +00:00
mrg
5a8cc879ab updates for xgamma 1.0.6 and xkbprint 1.0.4. 2015-07-19 22:42:24 +00:00
mrg
37afb7eb68 use xorg-pkg-ver.mk to provide PACKAGE_*. 2015-07-19 22:30:58 +00:00
mrg
e60fe600c8 build updates for various x11 apps being updated. 2015-07-19 19:49:17 +00:00
mrg
c8dfc7fd8b define HAVE_STRLCPY. 2015-07-19 08:49:50 +00:00
mrg
14b386c679 updates for libX11 1.6.3 - "xlocale" is removed. 2015-07-19 08:18:32 +00:00
mrg
005b613bb3 updates for new libXaw and libXt. 2015-07-19 07:55:07 +00:00
mrg
f6f5f8bb1b enable arc4random_buf() use. 2015-07-19 05:53:44 +00:00
mrg
4460fb1444 no longer build a bunch of xorg-server twice (for .a and _pic.a).
entirely obsolete installing libi2c since it's builtin.

libfb, libdri and libdri2 all want to be both .a for the Xorg link
and .so for the run-time, i didn't really look too closely.

remove a bunch of duplicated set list entries.

i built a bunch of platforms for this, and i think i got the sets
lists updates correct, including for debug sets, but it's probable
that i broke something.

XXX: pullup to netbsd-7, but not critical
2015-07-18 08:56:05 +00:00
mrg
be0d6ee2f6 don't hard code FD_SETSIZE now that the code is fine. 2015-07-17 17:57:11 +00:00
christos
be80d735d2 PR/50048: Martin Husemann: Avoid reaping the child twice by setting c->pid = 0
after the wait.
2015-07-17 15:17:07 +00:00
mrg
9cf77469e7 define FD_SETSIZE=512, to match the new XFD_SETSIZE. something ends up
including <sys/select.h> before Xpoll.h, and the wrong FD_SETSIZE is
used in our fd_set macros, leading to fail.

XXX:  ugh.  fix me properly.
2015-07-17 08:30:33 +00:00
mrg
bc10a851b4 look for config.h now it is needed. 2015-07-17 08:29:31 +00:00
mrg
700494939e mkfontscale.c demands a PACKAGE_STRING now. set it to "NetBSD tools version" 2015-07-17 06:40:49 +00:00
christos
2f4b8279f1 simplify, comment out testing entries 2015-07-12 11:27:52 +00:00
kardel
36c7e56938 backport fix for bug 2867 - ntpd with autokey active crashed by 'ntpq -crv' 2015-07-10 21:31:19 +00:00
kardel
b10821988e update imported version to reality 2015-07-10 21:27:49 +00:00
christos
5d681e9934 merge conflicts.. 2015-07-10 14:20:28 +00:00
christos
01c0ef3e3a Import ntp 4.2.8p3 2015-07-10 13:11:02 +00:00
christos
f17b710f3d Import ntp 4.2.8p3 2015-07-10 13:02:43 +00:00
roy
76ccb05303 Sync 2015-07-09 10:15:34 +00:00
christos
bd2de39390 Merge changes. 2015-07-08 17:28:54 +00:00
christos
acc357c293 Import bind 9.10.2-P2 2015-07-08 15:37:30 +00:00
chs
f047745321 reapply some fixes to make multi-threaded ctfmerge work
that were lost in the overzealous resync with freebsd.
remove the hacks which were applied to work around those problems.
2015-07-06 00:21:51 +00:00
christos
dcdbe6c789 td_close() needs to be able to write to the process image, so call sooner,
before we detach from it.
2015-07-02 14:54:42 +00:00
christos
fc699016d0 remove lint hack. 2015-07-01 15:38:56 +00:00
kardel
19ad638d83 fix ifstats command by relaxing invalid sanity check - ntp bug #2860 2015-06-28 15:37:37 +00:00
matt
e0484516f2 Use LIBISPRIVATE, not MKPRIVATELIB 2015-06-27 17:03:30 +00:00
matt
c79b87282c Don't recreate link if clean or cleandir 2015-06-26 02:43:26 +00:00
pooka
1ca558252d Fix gcc revision check for __cxa_begin_catch() declaration.
Now it matches what was introduced in upstream commit e426f95.

Fixes PR lib/49990 (libc++ fails to compile with g++ 5.1)
2015-06-26 00:50:39 +00:00
mrg
5b544a3657 regen mknative files for GCC 4.8.5. 2015-06-25 09:53:25 +00:00
matt
808507e589 Make this work without a populated X11 include heirarchy. It's ugly
but it works.
2015-06-25 01:38:09 +00:00
matt
589b128fbc Support building the xorg X11 libraries under MKCOMPAT.
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}
2015-06-24 22:20:24 +00:00
mrg
3008502ee0 merge GCC 4.8.5 (final round) 2015-06-24 14:51:17 +00:00
mrg
11d0566779 merge GCC 4.8.5 (round two) 2015-06-24 14:29:51 +00:00
mrg
788f3c6afe merge GCC 4.8.5 cornflakes (round one). 2015-06-24 14:28:27 +00:00
mrg
7e9e220a26 initial import of GCC 4.8.5 sources. these GCC PRs (at least) are
fixed in this release:

64882 46102 58123 65409 59626 61058 65680 64487 65721 65727
52306 64768 56273 57653 59990 60656 61634 63844 64199 64493
64495 65549 57059 57569 57748 58369 62642 63608 64037 65550
65693 65220 45187 64409 61977 64513 64634 65368 66233 66470
65072 65327 65543 65279 63593 65063 65518 66123 66140 59016
64479 64557 64979 66215 66275 66481 39423 64766 63733 52714
60898 61138 63744 57023 39722 45402 52579 52664 60718 62044
59513 35330 37440 43701

see:
  https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=4.8.5
for more details.
2015-06-24 14:02:39 +00:00
matt
b766b2b592 Change CC1_SPEC andd CC1PLUS_SPEC to supply -fPIC by default if none of
m32 mrelocatable fpie fPIE fpic fPIC fno-pie fno-pic are supplied.
2015-06-24 01:29:33 +00:00
matt
7593e659ff By changing rs6000_elf_reloc_rw_mask to return 3 if using a powerpc64 ABI
on NetBSD, we basicly eliminate the only difference between have -fPIC or
not.  This enables us to turn on MKPICLIB for powerpc64.
2015-06-23 01:37:13 +00:00
apb
65b14fa6e8 Import tzdata2015e from http://www.iana.org/time-zones/repository/releases/tzdata2015e.tar.gz
Summary of changes in tzdata2015e (2015-06-13 10:56:02 -0700):
  * Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00,
    not 06-13 and 07-18 as we had guessed.
  * Assume Cayman Islands will observe DST starting next year, using US rules.
  * The file 'iso3166.tab' now uses UTF-8, so that its entries can better
    spell the names of Åland Islands, Côte d'Ivoire, and Réunion.

Summary of changes in tzdata2015d (2015-04-24 08:09:46 -0700):
  * Egypt will not observe DST in 2015 and will consider canceling it
    permanently.  For now, assume no DST indefinitely.
  * America/Whitehorse switched from UTC-9 to UTC-8 on 1967-05-28, not
    1966-07-01.
  * The abbreviations for Hawaii-Aleutian standard and daylight times
    have been changed from HAST/HADT to HST/HDT, as per US Government
    Printing Office style.

Summary of changes in tzdata2015c (2015-04-11 08:55:55 -0700):
  * Egypt's spring-forward transition is at 24:00 on April's last Thursday,
    not 00:00 on April's last Friday.  This affects 2015, 2026, 2037,
    2043, etc.
  * Changes to pre-1991 Chile-related time stamps in America/Santiago,
    Antarctica/Palmer, and Pacific/Easter.
  * The America/Montreal zone has been turned into a link, as it differed
    from an existing zone only for pre-1970 time stamps.
2015-06-21 15:18:52 +00:00
christos
96cff257a5 Restart the loop each time we delete an entry because the hash code does
not handle it well. Is that a db bug?
2015-06-21 01:13:21 +00:00
riastradh
377d82d6de Fix dtrace module autoload. 2015-06-19 02:33:00 +00:00
roy
ffa75d47bd Teach mdnsd about IN_IFF_NOTREADY and IN_IFF_DETACHED. 2015-06-10 16:32:42 +00:00
joerg
db24f15492 Fix sentence. 2015-06-05 20:41:46 +00:00
joerg
69c9584f48 Switch .Nm to match file name. 2015-06-05 20:35:10 +00:00
wiz
00dff9a7aa Whitespace and macro fixes. 2015-06-04 16:11:48 +00:00
christos
fa4619f0e3 Document the options as a list instead of embedded text. 2015-06-04 16:01:09 +00:00
christos
7919272009 remove interface example from remote config. 2015-06-03 15:13:15 +00:00
christos
0f0c1e0113 dissallow interface spec in remote config (since we check against the remote
address, it does not make sense).
2015-06-03 15:11:40 +00:00
joerg
9f6289a4f6 Fix typo in PPC macro. 2015-06-03 10:00:55 +00:00
snj
9106b578b7 prune bogus comma from Nm args 2015-06-02 21:03:46 +00:00
christos
7d0f8c792d restore address length before printing. 2015-06-02 20:52:00 +00:00
christos
6eb87c72ac make proto and port optional 2015-06-02 14:02:39 +00:00
christos
67f3bc6379 Add more debugging, simplify.
Use symbolic constants: -2=FEQUALS, -1=FSTAR
2015-06-02 14:02:10 +00:00
christos
206769164b Add ability to test using a local socket. 2015-05-30 22:40:38 +00:00
christos
25c2d06413 fix example. 2015-05-30 22:40:17 +00:00
christos
f92752c16e Centralize and fix =/* parsing, now =/24 works again.
XXX: pullup-7
2015-05-30 22:39:14 +00:00
christos
3a34db682f add prototype 2015-05-30 21:05:18 +00:00
matt
bd8986bbe0 Fix a bug where the octeon+ saa/saad instructions think they are using the AT
register when they actually aren't.
2015-05-29 22:18:51 +00:00
matt
6b8427896d Add the historical __OCTEON__ builtin_define along with __mips_popcount which
is defined if the platform has the dpop/pop instructions.
2015-05-29 19:37:27 +00:00
joerg
6c1b2314b1 Until we have a solution for stdatomic.h for GCC 4.8, install Clang's
version under /usr/include/clang-3.6 to match the C11 default.
2015-05-29 17:40:41 +00:00
joerg
1c490986b1 Update build glue for LLVM/Clang 3.6.1. This brings in a number of
bugfixes for various platforms and corrects the mcount symbol on
NetBSD/ARM.
2015-05-29 17:37:50 +00:00
joerg
137a60b63b Mark files not present in llvm-237755 as dead. 2015-05-29 17:32:05 +00:00
joerg
f55ccfa327 Import Clang 3.6.1. 2015-05-29 17:21:44 +00:00
joerg
d66c74902b Import LLVM 3.6.1. 2015-05-29 17:18:11 +00:00
mrg
35d2346c62 generate after oabi/eabi fixes. 2015-05-28 17:31:38 +00:00
rjs
550917d61d Build both xf86-video-radeon drivers for amd64 and i386, just build the
old one for other ports.
2015-05-28 14:36:44 +00:00
christos
e4b9f99a89 put back setting uid and gid to -1 if they are not available. 2015-05-28 01:01:37 +00:00
christos
6e17a5c33f Merge the uid data too, so that we don't end up with multiple entries
when we don't care about the uid in the config file. In this case sshd
returns either uid=root|sshd depending on how we failed, so we used to
get two entries.
2015-05-27 22:39:01 +00:00
christos
73925aa27e print the key in human readable form when debugging. 2015-05-27 22:37:37 +00:00
christos
d9f6e5f3d9 Make sure that we get the socket messages we expect, otherwise return NULL. 2015-05-27 22:37:13 +00:00
matt
e3b08ce148 Make MULTILIBS work for oabi 2015-05-27 15:33:41 +00:00
skrll
640e856ca3 Fix up TARGET_ENDIAN_DEFAULT for BE oabi 2015-05-25 21:18:29 +00:00
matt
2bfd904e26 regenerated for N32 support. 2015-05-23 22:14:20 +00:00
matt
62bd03ee9c Regen for N32 target vectors. 2015-05-23 01:45:08 +00:00
matt
3a9ce77d41 Add the mips n32 target vectors. 2015-05-23 01:41:02 +00:00
rjs
b596b9b9be Add xf86-video-intel-old to the build. 2015-05-21 00:12:10 +00:00
christos
4f2f73389d don't re-define END() now that amd64 defines it 2015-05-18 14:41:41 +00:00
roy
24f182ff35 Inform dhcpcd we have config.h file to load. 2015-05-16 23:33:33 +00:00
roy
7fd072243f Sync 2015-05-16 23:31:32 +00:00
roy
c2e67a9bab Import dhcpcd-6.9.0 with the following changes:
*  Fix IPv6 prefix underflow when confirming deprecated but valid leases
  *  eloop.c and .h are now 100% portable outside of dhcpcd
     (provided the system supports recent POSIX and either you or
     the system provide working TAILQ macros)
  *  Allow waitip to work per interface.
  *  Handle ND options in the same way we handle DHCP and DHCPv6 options.
  *  Add new variable of type bitflags:flags where the flags ABCDEFGH,
     A is 10000000, B is 01000000, etc.
     Variables with the name reserved are no longer processed.
  *  Improve IN_IFF_TENTATIVE with ip sharing.
2015-05-16 23:25:41 +00:00
mrg
53e5192712 switch the default method to SNA. 2015-05-14 02:43:33 +00:00
skrll
65b0d3bfdb Make sure mips_elf_n32_is_local_label_name is used. 2015-05-13 06:24:18 +00:00
christos
430343a0c6 The L (Length) and M (More) flags needs to be cleared before deciding
whether the locally generated response requires fragmentation. This
fixes an issue where these flags from the server could have been invalid
for the following message. In some cases, this could have resulted in
triggering the wpabuf security check that would terminate the process
due to invalid buffer allocation.

XXX: pullup-7
2015-05-09 19:51:43 +00:00
christos
38d77090f3 The remaining number of bytes in the message could be smaller than the
Total-Length field size, so the length needs to be explicitly checked
prior to reading the field and decrementing the len variable. This could
have resulted in the remaining length becoming negative and interpreted
as a huge positive integer.

In addition, check that there is no already started fragment in progress
before allocating a new buffer for reassembling fragments. This avoid a
potential memory leak when processing invalid message.

XXX: pullup-7
2015-05-09 19:49:28 +00:00
christos
11ce78e57f The length of the received Commit and Confirm message payloads was not
checked before reading them. This could result in a buffer read
overflow when processing an invalid message.

Fix this by verifying that the payload is of expected length before
processing it. In addition, enforce correct state transition sequence to
make sure there is no unexpected behavior if receiving a Commit/Confirm
message before the previous exchanges have been completed.

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

XXX: pullup-7
2015-05-09 19:46:01 +00:00
christos
c23d0f7f66 The length of the WMM Action frame was not properly validated and the
length of the information elements (int left) could end up being
negative. This would result in reading significantly past the stack
buffer while parsing the IEs in ieee802_11_parse_elems() and while doing
so, resulting in segmentation fault.

This can result in an invalid frame being used for a denial of service
attack (hostapd process killed) against an AP with a driver that uses
hostapd for management frame processing (e.g., all mac80211-based
drivers).

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

XXX: pullup-7
2015-05-09 19:35:15 +00:00
christos
e4bfca3a3e strtoul() return value may end up overflowing the int h->chunk_size and
resulting in a negative value to be stored as the chunk_size. This could
result in the following memcpy operation using a very large length
argument which would result in a buffer overflow and segmentation fault.

This could have been used to cause a denial service by any device that
has been authorized for network access (either wireless or wired). This
would affect both the WPS UPnP functionality in a WPS AP (hostapd with
upnp_iface parameter set in the configuration) and WPS ER
(wpa_supplicant with WPS_ER_START control interface command used).

Validate the parsed chunk length value to avoid this. In addition to
rejecting negative values, we can also reject chunk size that would be
larger than the maximum configured body length.

Thanks to Kostya Kortchinsky of Google security team for discovering and
reporting this issue.

XXX: pullup-7
2015-05-09 19:33:47 +00:00
matt
fd2293f463 Fix TEXTREL message to print out the section name 2015-05-09 17:43:23 +00:00
christos
f29f1289ff CID 1268629: Don't deref NULL (can't happen unless count is incorrect;
code safety).
2015-05-09 15:28:25 +00:00
skrll
47d8d0b280 Define bfd_elf64_bfd_is_local_label_name so that local symbols really
get stripped, etc.
2015-05-08 15:13:53 +00:00
christos
fce62f0d34 regen 2015-05-07 14:43:30 +00:00
christos
ac4fc9a0ef generalize the mips test to match mips64. 2015-05-07 14:43:22 +00:00
hannken
e10a32f7f7 Remove miscfs/syncfs and
- move the syncer into kern/vfs_subr.c.

- change the syncer to process the mountlist and VFS_SYNC as appropriate.

- use an API for mount points similiar to the API for vnodes:
  - vfs_syncer_add_to_worklist(struct mount *mp) to add
  - vfs_syncer_remove_from_worklist(struct mount *mp) to remove a mount.

No objections on tech-kern@
2015-05-06 15:57:07 +00:00
mrg
6cbd5bb34d remove unused file; pointed out by Kamil Rytarowski in private email. 2015-05-05 17:03:18 +00:00
mrg
f3e894d0be libxcb-xkb.so has the wrong version, fix it. patch as provided by
Yorick Hardy in PR 49873.
2015-05-04 23:51:25 +00:00
roy
4d6391b4f4 Sync 2015-05-02 15:18:36 +00:00
macallan
372b3c16e6 build Loongson-MMI support only on mips64el 2015-05-02 14:54:18 +00:00
roy
fc8c67611d Don't bind to IN_IFF_TENTATIVE or IN_IFF_DETACHED addresses. 2015-05-02 14:46:51 +00:00
roy
9d0b84c4a5 Sync 2015-05-01 18:23:11 +00:00
roy
4ac8d7d2d2 Import openresolv-3.7.0 with the following change:
*  -x marks the resolv.conf as exclusive.
     Only the latest resolv.conf will be processed, if none then
     as normal.
2015-05-01 18:21:17 +00:00
riz
eff2366669 blacklistd and friends will actually be in NetBSD 7. 2015-04-30 06:20:43 +00:00
prlw1
9521ae7bfd Fix typos 2015-04-28 09:48:30 +00:00
christos
8e17dc8ada Fix potential buffer overflow:
http://w1.fi/security/2015-1/0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch

XXX: pullup-[67]
2015-04-22 20:24:20 +00:00
riastradh
3b3b3f4af1 Remove bogus size_t->int casts in uiomove. 2015-04-21 13:15:28 +00:00
christos
0bb625c711 help sun2 2015-04-21 10:12:04 +00:00
riastradh
46e71c7d57 Make VOP_LINK return directory still locked and referenced.
Ride 7.99.10 bump.
2015-04-20 22:59:19 +00:00
joerg
66e8846b8d Redo __aeabi_atexit by shuffling the arguments and dropping the code in
libstdc++.
2015-04-19 18:15:26 +00:00
joerg
68f88a148d Drop condition around SIZEOF_SIZE_T to reduce diff against clean
version. The macro is only used on platforms without SIZE_MAX.
2015-04-18 17:00:09 +00:00
joerg
d88be72d81 Use unaligned access if the platform supports it. 2015-04-18 16:59:05 +00:00
matt
0d7e891263 Only include <immintrin.h> on x86 (32 or 64 bit). 2015-04-17 21:56:14 +00:00
christos
05f8cb4da6 there is no more lzma/lzma.h; it has been renamed to lzma/lzma12.h 2015-04-17 20:12:45 +00:00
christos
cb571371b8 adjust for 5.2.1 2015-04-17 18:49:23 +00:00
christos
880b10faa8 Date: 2015-02-26 16:53:44 +0200
Bump version and soname for 5.2.1.


Date:   2015-02-26 13:01:09 +0200

    Update NEWS for 5.2.1.


Date:   2015-02-22 19:38:48 +0200

    xz: Use pipe2() if available.


Date:   2015-02-21 23:40:26 +0200

    liblzma: Fix a compression-ratio regression in LZMA1/2 in fast mode.

    The bug was added in the commit
    f48fce093b07aeda95c18850f5e086d9f2383380 and thus
    affected 5.1.4beta and 5.2.0. Luckily the bug cannot
    cause data corruption or other nasty things.


Date:   2015-02-21 23:00:19 +0200

    xz: Fix the fcntl() usage when creating a pipe for the self-pipe trick.

    Now it reads the old flags instead of blindly setting O_NONBLOCK.
    The old code may have worked correctly, but this is better.


Date:   2015-02-10 15:29:34 +0200

    Update THANKS.


Date:   2015-02-10 15:28:30 +0200

    tuklib_cpucores: Use cpuset_getaffinity() on FreeBSD if available.

    In FreeBSD, cpuset_getaffinity() is the preferred way to get
    the number of available cores.

    Thanks to Rui Paulo for the patch. I edited it slightly, but
    hopefully I didn't break anything.


Date:   2015-02-09 22:08:37 +0200

    xzdiff: Make the mktemp usage compatible with FreeBSD's mktemp.

    Thanks to Rui Paulo for the fix.


Date:   2015-02-03 21:45:53 +0200

    Add a few casts to tuklib_integer.h to silence possible warnings.

    I heard that Visual Studio 2013 gave warnings without the casts.

    Thanks to Gabi Davar.


Date:   2015-01-26 21:24:39 +0200

    liblzma: Set LZMA_MEMCMPLEN_EXTRA depending on the compare method.


Date:   2015-01-26 20:40:16 +0200

    Update THANKS.


Date:   2015-01-26 20:39:28 +0200

    liblzma: Silence harmless Valgrind errors.

    Thanks to Torsten Rupp for reporting this. I had
    forgotten to run Valgrind before the 5.2.0 release.


Date:   2015-01-09 21:50:19 +0200

    xz: Fix comments.


Date:   2015-01-09 21:35:06 +0200

    Update THANKS.


Date:   2015-01-09 21:34:06 +0200

    xz: Don't fail if stdout doesn't support O_NONBLOCK.

    This is similar to the case with stdin.

    Thanks to Brad Smith for the bug report and testing
    on OpenBSD.


Date:   2015-01-07 19:18:20 +0200

    xz: Fix a memory leak in DOS-specific code.


Date:   2015-01-07 19:08:06 +0200

    xz: Don't fail if stdin doesn't support O_NONBLOCK.

    It's a problem at least on OpenBSD which doesn't support
    O_NONBLOCK on e.g. /dev/null. I'm not surprised if it's
    a problem on other OSes too since this behavior is allowed
    in POSIX-1.2008.

    The code relying on this behavior was committed in June 2013
    and included in 5.1.3alpha released on 2013-10-26. Clearly
    the development releases only get limited testing.


Date:   2015-01-06 20:30:15 +0200

    Tests: Don't hide unexpected error messages in test_files.sh.

    Hiding them makes no sense since normally there's no error
    when testing the "good" files. With "bad" files errors are
    expected and then it makes sense to keep the messages hidden.


Date:   2014-12-30 11:17:16 +0200

    Update Solaris notes in INSTALL.

    Mention the possible "make check" failure on Solaris in the
    Solaris-specific section of INSTALL. It was already in
    section 4.5 but it is better mention it in the OS-specific
    section too.


Date:   2014-12-26 12:00:05 +0200

    Build: POSIX shell isn't required if scripts are disabled.


Date:   2014-12-21 20:48:37 +0200

    DOS: Update Makefile.


Date:   2014-12-21 19:50:38 +0200

    Windows: Fix bin_i486 to bin_i686 in build.bash.


Date:   2014-12-21 18:58:44 +0200

    Docs: Use lzma_cputhreads() in 04_compress_easy_mt.c.


Date:   2014-12-21 18:56:44 +0200

    Docs: Update docs/examples/00_README.txt.


Date:   2014-12-21 18:11:17 +0200

    Bump version and soname for 5.2.0.

    I know that soname != app version, but I skip AGE=1
    in -version-info to make the soname match the liblzma
    version anyway. It doesn't hurt anything as long as
    it doesn't conflict with library versioning rules.


Date:   2014-12-21 18:05:03 +0200

    Avoid variable-length arrays in the debug programs.


Date:   2014-12-21 18:01:45 +0200

    Build: Include 04_compress_easy_mt.c in the tarball.


Date:   2014-12-21 18:00:38 +0200

    Fix build when --disable-threads is used.


Date:   2014-12-21 15:56:15 +0100

    po/fr: improve wording for help for --lzma1/--lzma2.


Date:   2014-12-21 15:55:48 +0100

    po/fr: missing line in translation of --extreme.


Date:   2014-12-21 14:32:33 +0200

    Update NEWS for 5.2.0.


Date:   2014-12-21 14:32:22 +0200

    Update NEWS for 5.0.8.


Date:   2014-12-21 14:07:54 +0200

    xz: Fix a comment.


Date:   2014-12-20 20:43:14 +0200

    Update INSTALL about the dependencies of the scripts.


Date:   2014-12-20 20:42:33 +0200

    Windows: Update build instructions.


Date:   2014-12-20 20:41:48 +0200

    Windows: Update the build script and README-Windows.txt.

    The 32-bit build is now for i686 or newer because the
    prebuilt MinGW-w64 toolchains include i686 code in the
    executables even if one uses -march=i486.

    The build script builds 32-bit SSE2 enabled version too.
    Run-time detection of SSE2 support would be nice (on any OS)
    but it's not implemented in XZ Utils yet.


Date:   2014-12-19 15:51:50 +0200

    Windows: Define TUKLIB_SYMBOL_PREFIX in config.h.

    It is to keep all symbols in the lzma_ namespace.


Date:   2014-12-16 21:00:09 +0200

    xz: Update the man page about --threads.


Date:   2014-12-16 20:57:43 +0200

    xz: Update the man page about --block-size.


Date:   2014-12-10 22:26:57 +0100

    po/fr: several more translation updates: reword and handle --ignore-check.


Date:   2014-12-10 22:23:01 +0100

    po/fr: yet another place where my email address had to be updated.


Date:   2014-12-10 22:22:20 +0100

    po/fr: fix several typos that have been around since the beginning.


Date:   2014-12-03 20:02:31 +0100

    po/fr: last batch of new translations for now.

    Four new error messages.


Date:   2014-12-03 20:01:32 +0100

    po/fr: translations for --threads, --block-size and --block-list.


Date:   2014-12-03 20:00:53 +0100

    po/fr: remove fuzzy marker for error messages that will be kept in English.

    The following is a copy of a comment inside fr.po:

    Note from translator on "file status flags".
    The following entry is kept un-translated on purpose. It is difficult to
    translate and should only happen in exceptional circumstances which means
    that translating would:
    - lose some of the meaning
    - make it more difficult to look up in search engines; it might happen one
    in
    a million times, if we dilute the error message in 20 languages, it will be
    almost impossible to find an explanation and support for the error.


Date:   2014-12-03 19:58:25 +0100

    po/fr: several minor updates and better wording.

    Meaning doesn't change at all: it's only for better wording and/or
    formatting of a few strings.


Date:   2014-12-03 19:56:12 +0100

    po/fr: update my email address and copyright years.


Date:   2014-11-26 10:08:26 +0100

    fr.po: commit file after only "update-po" so actual is readable.


Date:   2014-12-02 20:04:07 +0200

    liblzma: Document how lzma_mt.block_size affects memory usage.


Date:   2014-11-28 20:07:18 +0200

    Update INSTALL about a "make check" failure in test_scripts.sh.


Date:   2014-11-26 20:12:27 +0200

    Remove LZMA_UNSTABLE macro.


Date:   2014-11-26 20:10:33 +0200

    liblzma: Update lzma_stream_encoder_mt() API docs.


Date:   2014-11-25 12:32:05 +0200

    liblzma: Verify the filter chain in threaded encoder initialization.

    This way an invalid filter chain is detected at the Stream
    encoder initialization instead of delaying it to the first
    call to lzma_code() which triggers the initialization of
    the actual filter encoder(s).


Date:   2014-11-17 19:11:49 +0200

    Build: Update m4/ax_pthread.m4 from Autoconf Archive.


Date:   2014-11-17 18:52:21 +0200

    Build: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.


Date:   2014-11-17 18:43:19 +0200

    Build: Fix Autoconf warnings about escaped backquotes.

    Thanks to Daniel Richard G. for pointing out that it's
    good to sometimes run autoreconf -fi with -Wall.


Date:   2014-11-10 18:54:40 +0200

    xzdiff: Use mkdir if mktemp isn't available.


Date:   2014-11-10 18:45:01 +0200

    xzdiff: Create a temporary directory to hold a temporary file.

    This avoids the possibility of "File name too long" when
    creating a temp file when the input file name is very long.

    This also means that other users on the system can no longer
    see the input file names in /tmp (or whatever $TMPDIR is)
    since the temporary directory will have a generic name. This
    usually doesn't matter since on many systems one can see
    the arguments given to all processes anyway.

    The number X chars to mktemp where increased from 6 to 10.

    Note that with some shells temp files or dirs won't be used at all.


Date:   2014-11-10 15:38:47 +0200

    liblzma: Fix lzma_mt.preset in lzma_stream_encoder_mt_memusage().

    It read the filter chain from a wrong variable. This is a similar
    bug that was fixed in 9494fb6d0ff41c585326f00aa8f7fe58f8106a5e.


Date:   2014-11-10 14:49:55 +0200

    Update THANKS.


Date:   2014-10-29 21:28:25 +0200

    Update .gitignore files.


Date:   2014-10-29 21:15:35 +0200

    Build: Prepare to support Automake's subdir-objects.

    Due to a bug in Automake, subdir-objects won't be enabled
    for now.

    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17354

    Thanks to Daniel Richard G. for the original patches.


Date:   2014-10-24 20:09:29 +0300

    Translations: Update the Italian translation.

    Thanks to Milo Casagrande.


Date:   2014-10-18 18:51:45 +0300

    Translations: Update the Polish translation.

    Thanks to Jakub Bogusz.


Date:   2014-10-14 17:30:30 +0200

    l10n: de.po: Change translator email address.

    Although the old address is still working, the new one should
    be preferred. So this commit changes all three places in de.po
    accordingly.

    Signed-off-by: Andre Noll <maan@tuebingen.mpg.de>


Date:   2014-10-14 17:30:29 +0200

    l10n: de.po: Update German translation

    Signed-off-by: Andre Noll <maan@systemlinux.org>


Date:   2014-10-14 17:30:28 +0200

    l10n: de.po: Fix typo: Schießen -> Schließen.

    That's a funny one since "schießen" means to shoot :)

    Signed-off-by: Andre Noll <maan@systemlinux.org>


Date:   2014-10-09 19:42:26 +0300

    Update THANKS.


Date:   2014-10-09 19:41:51 +0300

    Add support for AmigaOS/AROS to tuklib_physmem().

    Thanks to Fredrik Wikstrom.


Date:   2014-10-09 18:42:14 +0300

    xzgrep: Avoid passing both -q and -l to grep.

    The behavior of grep -ql varies:
      - GNU grep behaves like grep -q.
      - OpenBSD grep behaves like grep -l.

    POSIX doesn't make it 100 % clear what behavior is expected.
    Anyway, using both -q and -l at the same time makes no sense
    so both options simply should never be used at the same time.

    Thanks to Christian Weisgerber.


Date:   2014-09-25 09:22:45 +0700

    l10n: vi.po: Update Vietnamese translation

    Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>


Date:   2014-09-25 18:38:48 +0300

    Build: Detect supported compiler warning flags better.

    Clang and nowadays also GCC accept any -Wfoobar option
    but then may give a warning that an unknown warning option
    was specified. To avoid adding unsupported warning options,
    the options are now tested with -Werror.

    Thanks to Charles Diza.


Date:   2014-09-20 21:01:21 +0300

    Update NEWS for 5.0.7.


Date:   2014-09-20 19:42:56 +0300

    liblzma: Fix a portability problem in Makefile.am.

    POSIX supports $< only in inference rules (suffix rules).
    Using it elsewhere is a GNU make extension and doesn't
    work e.g. with OpenBSD make.

    Thanks to Christian Weisgerber for the patch.


Date:   2014-09-14 21:54:09 +0300

    Bump the version number to 5.1.4beta.


Date:   2014-09-14 21:50:13 +0300

    Update NEWS for 5.0.6 and 5.1.4beta.


Date:   2014-09-14 21:02:41 +0300

    Update TODO.


Date:   2014-08-05 22:32:36 +0300

    xz: Add --ignore-check.


Date:   2014-08-05 22:15:07 +0300

    liblzma: Add support for LZMA_IGNORE_CHECK.


Date:   2014-08-05 22:03:30 +0300

    liblzma: Add support for lzma_block.ignore_check.

    Note that this slightly changes how lzma_block_header_decode()
    has been documented. Earlier it said that the .version is set
    to the lowest required value, but now it says that the .version
    field is kept unchanged if possible. In practice this doesn't
    affect any old code, because before this commit the only
    possible .version was 0.


Date:   2014-08-04 19:25:58 +0300

    liblzma: Use lzma_memcmplen() in the BT3 match finder.

    I had missed this when writing the commit
    5db75054e900fa06ef5ade5f2c21dffdd5d16141.

    Thanks to Jun I Jin.


Date:   2014-08-04 00:25:44 +0300

    Update THANKS.


Date:   2014-08-03 21:32:25 +0300

    liblzma: SHA-256: Optimize the Maj macro slightly.

    The Maj macro is used where multiple things are added
    together, so making Maj a sum of two expressions allows
    some extra freedom for the compiler to schedule the
    instructions.

    I learned this trick from
    <http://www.hackersdelight.org/corres.txt>.


Date:   2014-08-03 21:08:12 +0300

    liblzma: SHA-256: Optimize the way rotations are done.

    This looks weird because the rotations become sequential,
    but it helps quite a bit on both 32-bit and 64-bit x86:

      - It requires fewer instructions on two-operand
        instruction sets like x86.

      - It requires one register less which matters especially
        on 32-bit x86.

    I hope this doesn't hurt other archs.

    I didn't invent this idea myself, but I don't remember where
    I saw it first.


Date:   2014-08-03 20:38:13 +0300

    liblzma: SHA-256: Remove the GCC #pragma that became unneeded.

    The unrolling in the previous commit should avoid the
    situation where a compiler may think that an uninitialized
    variable might be accessed.


Date:   2014-08-03 20:33:38 +0300

    liblzma: SHA-256: Unroll a little more.

    This way a branch isn't needed for each operation
    to choose between blk0 and blk2, and still the code
    doesn't grow as much as it would with full unrolling.


Date:   2014-08-03 19:56:43 +0300

    liblzma: SHA-256: Do the byteswapping without a temporary buffer.


Date:   2014-07-25 22:38:28 +0300

    liblzma: Use lzma_memcmplen() in normal mode of LZMA.

    Two locations were not changed yet because the simplest change
    assumes that the initial "len" may be greater than "limit".


Date:   2014-07-25 22:30:38 +0300

    liblzma: Simplify LZMA fast mode code by using memcmp().


Date:   2014-07-25 22:29:49 +0300

    liblzma: Use lzma_memcmplen() in fast mode of LZMA.


Date:   2014-07-25 21:16:23 +0300

    Update THANKS.


Date:   2014-07-25 21:15:07 +0300

    liblzma: Use lzma_memcmplen() in the match finders.

    This doesn't change the match finder output.


Date:   2014-07-25 20:57:20 +0300

    liblzma: Add lzma_memcmplen() for fast memory comparison.

    This commit just adds the function. Its uses will be in
    separate commits.

    This hasn't been tested much yet and it's perhaps a bit early
    to commit it but if there are bugs they should get found quite
    quickly.

    Thanks to Jun I Jin from Intel for help and for pointing out
    that string comparison needs to be optimized in liblzma.


Date:   2014-07-12 21:10:09 +0300

    Update THANKS.


Date:   2014-07-12 20:06:08 +0300

    Translations: Add Vietnamese translation.

    Thanks to Trần Ngọc Quân.


Date:   2014-06-29 20:54:14 +0300

    xz: Update the help message of a few options.

    Updated: --threads, --block-size, and --block-list
    Added: --flush-timeout


Date:   2014-06-18 22:07:06 +0300

    xz: Use lzma_cputhreads() instead of own copy of tuklib_cpucores().


Date:   2014-06-18 22:04:24 +0300

    liblzma: Add lzma_cputhreads().


Date:   2014-06-18 19:11:52 +0300

    xz: Check for filter chain compatibility for --flush-timeout.

    This avoids LZMA_PROG_ERROR from lzma_code() with filter chains
    that don't support LZMA_SYNC_FLUSH.


Date:   2014-06-13 19:21:54 +0300

    xzgrep: List xzgrep_expected_output in tests/Makefile.am.


Date:   2014-06-13 18:58:22 +0300

    xzgrep: Improve the test script.

    Now it should be close to the functionality of the original
    version by Pavel Raiskup.


Date:   2014-06-11 21:03:25 +0300

    xzgrep: Add a test for the previous fix.

    This is a simplified version of Pavel Raiskup's
    original patch.


Date:   2014-06-11 20:43:28 +0300

    xzgrep: exit 0 when at least one file matches.

    Mimic the original grep behavior and return exit_success when
    at least one xz compressed file matches given pattern.

    Original bugreport:
    https://bugzilla.redhat.com/show_bug.cgi?id=1108085

    Thanks to Pavel Raiskup for the patch.


Date:   2014-06-09 21:21:24 +0300

    xz: Force single-threaded mode when --flush-timeout is used.


Date:   2014-05-25 22:05:39 +0300

    Update THANKS.


Date:   2014-05-25 21:45:56 +0300

    liblzma: Use lzma_alloc_zero() in LZ encoder initialization.

    This avoids a memzero() call for a newly-allocated memory,
    which can be expensive when encoding small streams with
    an over-sized dictionary.

    To avoid using lzma_alloc_zero() for memory that doesn't
    need to be zeroed, lzma_mf.son is now allocated separately,
    which requires handling it separately in normalize() too.

    Thanks to Vincenzo Innocente for reporting the problem.


Date:   2014-05-25 19:25:57 +0300

    liblzma: Add the internal function lzma_alloc_zero().


Date:   2014-05-08 18:03:09 +0300

    xz: Fix uint64_t vs. size_t which broke 32-bit build.

    Thanks to Christian Hesse.


Date:   2014-05-04 11:09:11 +0300

    Docs: Update comments to refer to lzma/lzma12.h in example programs.


Date:   2014-05-04 11:07:17 +0300

    liblzma: Rename the private API header lzma/lzma.h to lzma/lzma12.h.

    It can be confusing that two header files have the same name.
    The public API file is still lzma.h.


Date:   2014-04-25 17:53:42 +0300

    Build: Fix the combination of --disable-xzdec --enable-lzmadec.

    In this case "make install" could fail if the man page directory
    didn't already exist at the destination. If it did exist, a
    dangling symlink was created there. Now the link is omitted
    instead. This isn't the best fix but it's better than the old
    behavior.


Date:   2014-04-25 17:44:26 +0300

    Build: Add --disable-doc to configure.


Date:   2014-04-24 18:06:24 +0300

    Update INSTALL.

    Add a note about failing "make check". The source of
    the problem should be fixed in libtool (if it really is
    a libtool bug and not mine) but I'm unable to spend time
    on that for now. Thanks to Nelson H. F. Beebe for reporting
    the issue.

    Add a note about a possible need to run "ldconfig" after
    "make install".


Date:   2014-04-09 17:26:10 +0300

    xz: Rename a variable to avoid a namespace collision on Solaris.

    I don't know the details but I have an impression that there's
    no problem in practice if using GCC since people have built xz
    with GCC (without patching xz), but renaming the variable cannot
    hurt either.

    Thanks to Mark Ashley.


Date:   2014-01-29 20:19:41 +0200

    Docs: Add example program for threaded encoding.

    I didn't add -DLZMA_UNSTABLE to Makefile so one has to
    specify it manually as long as LZMA_UNSTABLE is needed.


Date:   2014-01-29 20:13:51 +0200

    liblzma: Fix lzma_mt.preset not working with lzma_stream_encoder_mt().

    It read the filter chain from a wrong variable.


Date:   2014-01-20 11:20:40 +0200

    liblzma: Fix typo in a comment.


Date:   2014-01-12 19:38:43 +0200

    Windows: Add config.h for building liblzma with MSVC 2013.

    This is for building liblzma. Building xz tool too requires
    a little more work. Maybe it will be supported, but for most
    MSVC users it's enough to be able to build liblzma.

    C99 support in MSVC 2013 is almost usable which is a big
    improvement over earlier versions. It's "almost" because
    there's a dumb bug that breaks mixed declarations after
    an "if" statements unless the "if" statement uses braces:

    https://connect.microsoft.com/VisualStudio/feedback/details/808650/visual-studio-2013-c99-compiler-bug
    https://connect.microsoft.com/VisualStudio/feedback/details/808472/c99-support-of-mixed-declarations-and-statements-fails-with-certain-types-and-constructs

    Hopefully it will get fixed. Then liblzma should be
    compilable with MSVC 2013 without patching.


Date:   2014-01-12 17:41:14 +0200

    xz: Fix a comment.


Date:   2014-01-12 17:04:33 +0200

    Windows: Add MSVC defines for inline and restrict keywords.


Date:   2014-01-12 16:44:52 +0200

    liblzma: Avoid C99 compound literal arrays.

    MSVC 2013 doesn't like them. Maybe they aren't so good
    for readability either since many aren't used to them.


Date:   2014-01-12 12:50:30 +0200

    liblzma: Remove a useless C99ism from sha256.c.

    Unsurprisingly it makes no difference in compiled output.


Date:   2014-01-12 12:17:08 +0200

    xz: Fix use of wrong variable.

    Since the only call to suffix_set() uses optarg
    as the argument, fixing this bug doesn't change
    the behavior of the program.


Date:   2014-01-12 12:11:36 +0200

    Fix typos in comments.


Date:   2013-11-26 18:20:16 +0200

    Update THANKS.


Date:   2013-11-26 18:20:09 +0200

    liblzma: Document the need for block->check for lzma_block_header_decode().

    Thanks to Tomer Chachamu.


Date:   2013-11-12 16:38:57 +0200

    xz: Update the man page about --block-size and --block-list.


Date:   2013-11-12 16:30:53 +0200

    Update THANKS.


Date:   2013-11-12 16:29:48 +0200

    xz: Make --block-list and --block-size work together in single-threaded.

    Previously, --block-list and --block-size only worked together
    in threaded mode. Boundaries are specified by --block-list, but
    --block-size specifies the maximum size for a Block. Now this
    works in single-threaded mode too.

    Thanks to James M Leddy for the original patch.


Date:   2013-10-26 13:26:14 +0300

    Bump the version number to 5.1.3alpha.


Date:   2013-10-26 13:25:02 +0300

    Update NEWS for 5.1.3alpha.


Date:   2013-10-26 12:47:04 +0300

    Update TODO.


Date:   2013-10-25 22:41:28 +0300

    xz: Document behavior of --block-list with threads.

    This needs to be updated before 5.2.0.


Date:   2013-10-22 20:03:12 +0300

    xz: Document --flush-timeout=TIMEOUT on the man page.


Date:   2013-10-22 19:51:55 +0300

    xz: Take advantage of LZMA_FULL_BARRIER with --block-list.

    Now if --block-list is used in threaded mode, the encoder
    won't need to flush at each Block boundary specified via
    --block-list. This improves performance a lot, making
    threading helpful with --block-list.

    The flush timer was reset after LZMA_FULL_FLUSH but since
    LZMA_FULL_BARRIER doesn't flush, resetting the timer is
    no longer done.


Date:   2013-10-02 20:05:23 +0300

    liblzma: Support LZMA_FULL_FLUSH and _BARRIER in threaded encoder.

    Now --block-list=SIZES works with in the threaded mode too,
    although the performance is still bad due to the use of
    LZMA_FULL_FLUSH instead of the new LZMA_FULL_BARRIER.


Date:   2013-10-02 12:55:11 +0300

    liblzma: Add LZMA_FULL_BARRIER support to single-threaded encoder.

    In the single-threaded encoder LZMA_FULL_BARRIER is simply
    an alias for LZMA_FULL_FLUSH.


Date:   2013-09-17 11:57:51 +0300

    liblzma: Add block_buffer_encoder.h into Makefile.inc.

    This should have been in b465da5988dd59ad98fda10c2e4ea13d0b9c73bc.


Date:   2013-09-17 11:55:38 +0300

    xz: Add a missing test for TUKLIB_DOSLIKE.


Date:   2013-09-17 11:52:28 +0300

    Add native threading support on Windows.

    Now liblzma only uses "mythread" functions and types
    which are defined in mythread.h matching the desired
    threading method.

    Before Windows Vista, there is no direct equivalent to
    pthread condition variables. Since this package doesn't
    use pthread_cond_broadcast(), pre-Vista threading can
    still be kept quite simple. The pre-Vista code doesn't
    use anything that wasn't already available in Windows 95,
    so the binaries should run even on Windows 95 if someone
    happens to care.


Date:   2013-09-11 14:40:35 +0300

    Build: Remove a comment about Automake 1.10 from configure.ac.

    The previous commit supports silent rules and that requires
    Automake 1.11.


Date:   2013-09-09 20:37:03 +0300

    Build: Create liblzma.pc in a src/liblzma/Makefile.am.

    Previously it was done in configure, but doing that goes
    against the Autoconf manual. Autoconf requires that it is
    possible to override e.g. prefix after running configure
    and that doesn't work correctly if liblzma.pc is created
    by configure.

    A potential downside of this change is that now e.g.
    libdir in liblzma.pc is a standalone string instead of
    being defined via ${prefix}, so if one overrides prefix
    when running pkg-config the libdir won't get the new value.
    I don't know if this matters in practice.

    Thanks to Vincent Torri.


Date:   2013-08-04 15:24:09 +0300

    Fix the previous commit which broke the build.

    Apparently I didn't even compile-test the previous commit.

    Thanks to Christian Hesse.


Date:   2013-08-03 13:52:58 +0300

    Windows: Add Windows support to tuklib_cpucores().

    It is used for Cygwin too. I'm not sure if that is
    a good or bad idea.

    Thanks to Vincent Torri.


Date:   2013-08-02 15:59:46 +0200

    macosx: separate liblzma package


Date:   2013-08-02 15:58:44 +0200

    macosx: set minimum to leopard


Date:   2011-08-07 13:13:30 +0200

    move configurables into variables


Date:   2013-07-15 14:08:41 +0300

    Update THANKS.


Date:   2013-07-15 14:08:02 +0300

    Build: Fix the detection of missing CRC32.

    Thanks to Vincent Torri.


Date:   2013-07-04 14:18:46 +0300

    xz: Add preliminary support for --flush-timeout=TIMEOUT.

    When --flush-timeout=TIMEOUT is used, xz will use
    LZMA_SYNC_FLUSH if read() would block and at least
    TIMEOUT milliseconds has elapsed since the previous flush.

    This can be useful in realtime-like use cases where the
    data is simultanously decompressed by another process
    (possibly on a different computer). If new uncompressed
    input data is produced slowly, without this option xz could
    buffer the data for a long time until it would become
    decompressible from the output.

    If TIMEOUT is 0, the feature is disabled. This is the default.

    This commit affects the compression side. Using xz for
    the decompression side for the above purpose doesn't work
    yet so well because there is quite a bit of input and
    output buffering when decompressing.

    The --long-help or man page were not updated yet.
    The details of this feature may change.


Date:   2013-07-04 13:41:03 +0300

    xz: Don't set src_eof=true after an I/O error because it's useless.


Date:   2013-07-04 13:25:11 +0300

    xz: Fix the test when to read more input.

    Testing for end of file was no longer correct after full flushing
    became possible with --block-size=SIZE and --block-list=SIZES.
    There was no bug in practice though because xz just made a few
    unneeded zero-byte reads.


Date:   2013-07-04 12:51:57 +0300

    xz: Move some of the timing code into mytime.[hc].

    This switches units from microseconds to milliseconds.

    New clock_gettime(CLOCK_MONOTONIC) will be used if available.
    There is still a fallback to gettimeofday().


Date:   2013-07-01 14:35:03 +0300

    Update THANKS.


Date:   2013-07-01 14:34:11 +0300

    xz: Silence a warning seen with _FORTIFY_SOURCE=2.

    Thanks to Christian Hesse.
2015-04-17 18:24:54 +00:00
martin
0c1ee2bf17 Results of an mknative run for ia64 2015-04-17 12:41:46 +00:00
martin
b40e9b5326 Add evil hack to help mknative untill we finish userland 2015-04-17 12:29:49 +00:00
martin
4ae85d6ddd Add missing cast 2015-04-17 12:29:00 +00:00
mrg
2603e0673f remove various HAVE_GCC=45 fragments. 2015-04-15 19:13:46 +00:00
christos
52f7cfdab7 use the newer skeleton file. 2015-04-14 14:08:36 +00:00
christos
dbd0ad548c - remove malloc/realloc casts.
- use YYINT instead of short.
2015-04-14 14:08:21 +00:00
christos
d3e82457ff CID 1269537: Unreachable code 2015-04-13 17:45:19 +00:00
christos
f2c8bc1bde update for newest acpi
XXX: needs recompiled yacc
2015-04-13 17:24:24 +00:00