Commit Graph

5281 Commits

Author SHA1 Message Date
christos b1519c4fed CID/126787{0,1}: Uninitialized msg_flags 2015-02-02 22:03:45 +00:00
christos c3f52d2ee1 CID/1267866: Missing break in switch 2015-02-02 22:01:55 +00:00
christos 430f4ed48d make DEBUG build the default. 2015-02-02 16:18:27 +00:00
lneto 730082507e lua: updated from 5.3 work3 to 5.3.0
* improved the overall kernel Lua patch; fixed coercion
* updated lua/syslog
* updated luapmf and luasystm Makefiles
2015-02-02 14:03:05 +00:00
lneto 28a92413eb imported Lua 5.3.0 2015-02-02 02:01:06 +00:00
spz 9bc6cb144e this generated include file oughtn't be around, the 'good' version is in
external/bsd/libevent/include/event2/event-config.h instead
2015-02-01 19:09:05 +00:00
chs 80bb74da59 update m68k gcc bug workarounds for gcc 4.8. fixes PR 49609. 2015-02-01 17:47:00 +00:00
njoly 20618ab369 void functions should not return values. 2015-02-01 10:19:00 +00:00
apb 12a1cf4f57 Import tzdata2015a from ftp://ftp.iana.org/tz/releases/tzdata2015a.tar.gz
Summary of changes in tzdata2015a (2015-01-29 22:35:20 -0800):
  * The Mexican state of Quintana Roo, represented by America/Cancun,
    will shift from Central Time with DST to Eastern Time without DST
    on 2015-02-01 at 02:00.
  * Chile will not change clocks in April or thereafter; its new standard time
    will be its old daylight saving time.  This affects America/Santiago,
    Pacific/Easter, and Antarctica/Palmer.  (Thanks to Juan Correa.)
  * New leap second 2015-06-30 23:59:60 UTC as per IERS Bulletin C 49.
  * Iceland observed DST in 1919 and 1921, and its 1939 fallback
    transition was Oct.
  * Some more zones have been turned into links, when they differed
    from existing zones only for older time stamps.
  * Changes affecting commentary.
2015-01-31 18:23:14 +00:00
wiz 659c05d388 Comment out currently unused dtrace_dof_char function (for clang build). 2015-01-31 13:36:29 +00:00
mrg 39898ff989 regenerate with recent mknative-gcc (1.80 and 1.81) updates. 2015-01-31 12:15:24 +00:00
joerg 57bf5bb8f5 timeval fields might not be int, so use imaxabs. 2015-01-31 12:12:17 +00:00
roy dc4f241359 Sync 2015-01-30 10:20:43 +00:00
roy c40a479dcf Sync 2015-01-30 09:47:05 +00:00
roy b7934c7750 Import dhcpcd-6.7.0 with the following changes:
*  Only release the DHCPv6 lease when dropping it.
  *  Fix handling of ND6_IFF_OVERRIDE_RTADV on BSD.
  *  Include paths.h to get _PATH_BPF. Thanks to Joerg Sonnenberger.
  *  Report a better error of the kernel lacks a BPF equivalent filter.
  *  Implement RFC4941, Privacy Extensions for Stateless Address
     Autoconfiguration in IPv6 when dhcpcd is overriding the in-kernel
     RA support. For BSD, this is a full userland implementation.
  *  reject <option> will now reject any DHCP message that contains
     that option.
  *  Ignore RA's from ourself for very badly configured stations.
2015-01-30 09:40:24 +00:00
joerg 68b95de475 Add missing __printflike 2015-01-30 00:07:06 +00:00
joerg 7a671bdb7e Don't complain if OCaml is installed, but certain extensions for the
binding are missing.
2015-01-29 23:14:48 +00:00
nat 56f278b796 Fixes segfaults and crashing in applications that use libGLU.
Minor version bump.

This commit was approved by wiz@
2015-01-29 22:51:55 +00:00
joerg 80d5023792 libgcc_s is linked in the specs already, don't do it explicitly. 2015-01-29 21:12:10 +00:00
joerg f1a70a014c Remove files no longer present with clang-227398/llvm-227398. 2015-01-29 21:04:26 +00:00
joerg d8eb4f1993 Update build system glue for LLVM 3.6RC1. Notable changes:
- Old JIT is removed.
- Improvements to debug information handling.
- ARM: check for deprecated instructions and warn in the integrated
  assembler
- PPC: VSX support, va_arg support for struct/union types, -fPIC vs
  -fpic supported, faster atomics
- x86: improved vectorizer
2015-01-29 20:41:33 +00:00
joerg 490187770a Import Clang 3.6RC1 r227398. 2015-01-29 19:57:08 +00:00
joerg e03312df47 Import LLVM 3.6RC1 r227398. 2015-01-29 19:54:00 +00:00
spz 6c6fe89327 merge and update manpages and include/event2/event-config.h
May need extra fixing around log-internal.h and log.c
2015-01-29 07:26:02 +00:00
spz 447d9fdc05 Upstream Change_log:
Changes in version 2.0.22-stable (5 Jan 2015)

SECURITY FIXES (evbuffers)
 o Avoid integer overflow bugs in evbuffer_add() and related functions.
   See CVE-2014-6272 advisory for more information.
   (20d6d4458bee5d88bda1511c225c25b2d3198d6c)

BUGFIXES (evhttp)
 o fix #73 and fix http_connection_fail_test to catch it (crash fix)
   (b618204 Greg Hazel)
 o Avoid racy bufferevent activation (5eb1788 Nate Rosenblum)

BUGFIXES (compilation and portability)
 o Fix compilation with WIN32_HAVE_CONDITION_VARIABLES enabled (7e45739)
 o Fix missing AC_PROG_SED on older Autoconfs (9ab2b3f Tay Ray Chuan)
 o Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
   (74d4c44 Kevin Bowling)
 o Use AC_CONFIG_HEADERS in place of AM_CONFIG_HEADERS for
   automake 1.13 compat (817ea36)
 o Rename configure.in to configure.ac to appease newer autoconfs (0c79787)
 o Avoid using top_srcdir in TESTS: new automakes do not like this (a55514e)
 o Use windows vsnprintf fixup logic on all windows environments (e826f19)
 o Fix a compiler warning when checking for arc4random_buf linker breakage.
   (5cb3865)
 o Fix another arc4random_buf-related warning (e64a2b0)
 o Add -Qunused-arguments for clang on macos (b56611d Trond Norbye)

BUGFIXES (resource leaks/lock errors on error)
 o Avoid leaking fds on evconnlistener with no callback set (69db261)
 o Avoid double-close on getsockname error in evutil_ersatz_socketpair
   (0a822a6)
 o Fix a locking error in bufferevent_socket_get_dns_error. (0a5eb2e)
 o libevent/win32_dealloc() : fix sizeof(pointer) vs sizeof(*pointer)
   (b8f5980 Frank Denis)

BUGFIXES: (other stability)
 o bufferevent_pair: don't call downcast(NULL) (f2428a2)
 o Consistently check for failure from evbuffer_pullup() (60f8f72)
 o Fix race caused by event_active (3c7d6fc vjpai)

BUGFIXES (miscellaneous)
 o Avoid redundant invocations of init_extension_functions for IOCP (3b77d62)
 o Typo fixes from Linus Nordberg (cec62cb, 8cd695b)
 o Add a few files created by "make verify" to .gitignore.
   (1a8295a Pierre Phaneuf)
 o regress_buffer: fix 'memcmp' compare size (79800df Maks Naumov)
 o Fix bufferevent setwatermark suspend_read (b34e4ac ufo2243)
 o Fix evbuffer_peek() with len==-1 and start_at non-NULL. (fb7e76a)

BUFGIXES (evdns)
 o Checking request nameserver for NULL, before using it.
   (5c710c0 Belobrov Andrey)
 o Fix SEGFAULT after evdns_base_resume if no nameservers installed.
   (f8d7df8 Azat Khuzhin)
 o Fix a crash in evdns related to shutting down evdns (9f39c88,e8fe749)

BUGFIXES (epoll)
 o Check does arch have the epoll_create and __NR_epoll_wait syscalls.
   (dfe1e52 Marcin Juszkiewicz)

BUGFIXES (evutil_secure_random)
 o Avoid other RNG initialization FS reads when urandom file is specified
   (9695e9c, bb52471)
 o When we seed from /proc/sys/kernel/random/uuid, count it as success (e35b540)
 o Document that arc4random is not a great cryptographic PRNG. (6e49696)
 o Add evutil_secure_rng_set_urandom_device_file (2bbb5d7)
 o Really remove RNG seeds from the stack (f5ced88)


DOCUMENTATION FIXES
 o Fix a mistake in evbuffer_remove() arguments in example http server
   code (c322c20 Gyepi Sam)
 o Fix a typo in a comment in buffer.h. Spotted by Alt_F4 (773b0a5)
 o Clarify event_base_loop exit conditions (031a803)
 o Use FindClose for handle from FindFirstFile in http-server.c (6466e88)
 o Fix a typo in a doxygen comment. Reported by 亦得. (be1aeff)
2015-01-29 06:37:53 +00:00
christos a79a63ba87 no need for strtonum.c anymore. 2015-01-29 03:34:37 +00:00
christos c86776b0ff do it like the others 2015-01-29 03:26:27 +00:00
christos 470a09925c Use the libc version of strtonum.c (Kamil Rytarowski) 2015-01-29 03:25:36 +00:00
christos 19b3e3be46 fix comment 2015-01-29 01:05:25 +00:00
christos 8f75702587 add an option to restore rules, and run the flush command only once per
rule name.
2015-01-28 22:30:42 +00:00
christos 0866db79e7 explain why nfail > maxfail in the report. 2015-01-28 16:47:00 +00:00
wiz ac8c22811d Sort SEE ALSO. Nit fixes. 2015-01-28 07:32:28 +00:00
christos bf10289799 Don't add a rule twice, but attempt to replace it. 2015-01-28 05:08:55 +00:00
christos 2478c85bc9 one would think that I'd learn to cast htons() by now... 2015-01-28 00:42:15 +00:00
christos ac672cf09a apply the mask to the resulting address correctly. 2015-01-27 20:16:11 +00:00
christos c54542f644 we are passing the port now 2015-01-27 19:49:37 +00:00
christos 70d0fa228f - separate man page for blacklistd and blacklistd.conf, requested by wiz@
- allow separate configurations for local and remote addresses, implementing
  effectively whitelists, requested by dh@
- allow the mask of the filter to be specified, requested by dh@
- the db file format has been changed to accommodate these changes, and
  needs to be removed.
2015-01-27 19:40:36 +00:00
christos f9546f4b11 put back initialization of the buffer which was accidentally removed.
XXX: pullup-7.
2015-01-27 02:37:18 +00:00
wiz cf9e532f07 Fix PKG_CONFIG version after freetype2-2.5.3 import.
From Leonardo Taccari on tech-x11.
2015-01-26 08:47:25 +00:00
christos 8d2f2f5d56 merge conflict 2015-01-26 04:12:46 +00:00
christos 3808a58b42 prettier display 2015-01-26 02:31:52 +00:00
christos b110ac9d5f simple instructions for NetBSD. 2015-01-26 00:34:50 +00:00
christos 049b90f872 Add npf.conf example 2015-01-26 00:18:40 +00:00
christos ab43be4761 this has been moved. 2015-01-25 23:15:56 +00:00
wiz 3fb9c48858 Minor fixes.
XXX: libblacklist needs to be defined.
2015-01-25 23:09:28 +00:00
wiz 0c005f11fe Minor cleanups.
XXX: blacklistd.conf.5 should be a separate man page, or the Xr to it
in blacklistd(8) should be removed.
2015-01-25 23:07:16 +00:00
christos 975e3626e2 sync rem control script api 2015-01-25 22:59:40 +00:00
christos 77b4baae8c mark log function as printflike 2015-01-25 22:22:54 +00:00
christos 38cf543beb whitespace 2015-01-25 21:06:04 +00:00
christos 0c0dce715b Handle interfaces in configuration files, requested by kardel@ 2015-01-25 20:59:39 +00:00
christos 3ce284ce42 fix gcc warning. 2015-01-25 20:50:30 +00:00
christos 4fc6ba4368 fix for PIC code. 2015-01-25 20:06:46 +00:00
christos b668dd1072 remove debugging. 2015-01-25 16:17:20 +00:00
christos a79eafe515 blacklist new files 2015-01-25 15:52:12 +00:00
christos 1bff67df9c blasklist hooks 2015-01-25 15:51:53 +00:00
christos bdb45807c6 hook into blacklist 2015-01-25 15:47:19 +00:00
christos 26e01d3274 new lex/yacc need less help with prefixes. 2015-01-25 14:56:22 +00:00
christos 1f23e23664 fix man pages 2015-01-24 18:34:05 +00:00
tron 215f0c2623 Resolve conflicts from last import. 2015-01-24 18:10:52 +00:00
tron 3f021802f4 Import Postfix 2.11.3. Changes since version 2.11.1:
- Fix for DMARC implementations based on SPF policy plus DKIM Milter. The
  PREPEND access/policy action added headers ABOVE Postfix's own Received:
  header, exposing Postfix's own Received: header to Milters (protocol
  violation) and hiding the PREPENDed header from Milters. PREPENDed
  headers are now added BELOW Postfix's own Received: header and remain
  visible to Milters.
- The Postfix SMTP server logged an incorrect client name in reject
  messages for check_reverse_client_hostname_access and
  check_reverse_client_hostname_{mx,ns}_access. They replied with the
  verified client name, instead of the name that was rejected.
- The TLS client logged that an anonymous TLS connection was "Untrusted",
  instead of "Anonymous".
- Fix for configurations that prepend message headers with Postfix access
  maps, policy servers or Milter applications. Postfix now hides its own
  Received: header from Milters and exposes prepended headers to Milters,
  regardless of the mechanism used to prepend a header. This fix reverts
  a partial solution that was released on October 13, 2014, and replaces
  it with a complete solution.
2015-01-24 18:08:05 +00:00
christos 986aa600f9 update to reality. 2015-01-24 15:36:51 +00:00
christos 5b63b8f3e0 add dump command 2015-01-24 15:33:03 +00:00
christos 1db39ae10d sync only when idle or every 100 turns. 2015-01-24 07:46:20 +00:00
christos 93c3fc2f06 sync the db 2015-01-24 07:31:51 +00:00
christos 5e2208d7b5 fix remaining time. 2015-01-24 06:20:21 +00:00
christos c7002cf3b4 format better. 2015-01-24 06:05:08 +00:00
christos ed7c0403a5 remove unneeded include 2015-01-23 23:28:45 +00:00
christos 8f167df58f fix memset 2015-01-23 22:34:13 +00:00
christos 5d9c37e882 add ftpd. 2015-01-23 22:34:00 +00:00
christos eeba53ebdb add ftpd 2015-01-23 22:33:37 +00:00
christos e826cb8649 don't clear the db with positive cache queries; negative cache queries
can be don't maliciously for cache pollution.
2015-01-23 21:38:09 +00:00
christos 943f7e91bd more stuff 2015-01-23 21:34:01 +00:00
christos 047fac47e0 install in examples 2015-01-23 21:33:50 +00:00
christos fbfc24b25d Factor out the get remote address code and do it first since it is more
efficient than searching through the config.
2015-01-23 21:33:37 +00:00
christos b6edaf94aa don't let positive aclquery results clear the blacklist. 2015-01-23 21:10:44 +00:00
christos 0aa06d5b95 make header idempotent 2015-01-23 18:48:56 +00:00
christos 8c82b13dab include socket.h 2015-01-23 04:46:53 +00:00
christos 5651f554fa don't let the library depend on itself. 2015-01-23 03:57:22 +00:00
christos 68c7e8b5d9 fix ifdef misname 2015-01-23 03:29:18 +00:00
christos 7d4d979d64 add QUEUEDEBUG commented out 2015-01-23 03:04:06 +00:00
christos 15105399a2 turn back to dynamic to reduce size. 2015-01-23 03:00:44 +00:00
christos 160897fee5 use more markup 2015-01-23 02:58:40 +00:00
christos dfb7f9f0b8 move crypto file to the right group 2015-01-23 02:57:34 +00:00
christos a14d81aa8e sanity checks for the received socket. 2015-01-22 23:45:41 +00:00
christos 4b0975cc97 one more case missed. 2015-01-22 23:26:42 +00:00
christos 41625197a4 use openlog explicitly. 2015-01-22 23:20:28 +00:00
christos 42529d8197 new diffs from the top 2015-01-22 21:42:06 +00:00
christos dbb6d0a43e fix name of the helper. 2015-01-22 21:32:30 +00:00
christos c54ba633aa log to stdout 2015-01-22 20:21:57 +00:00
christos fe99c06623 create the pid file after we daemonize 2015-01-22 20:17:34 +00:00
christos 3acbe3bab3 Fix bug with 0 length sockets; abstract get socket data function out. 2015-01-22 20:11:33 +00:00
christos 4041162f85 fix NetBSD 2015-01-22 19:44:59 +00:00
christos cbd52af1f6 update for udp 2015-01-22 19:08:43 +00:00
christos f155877b62 Install in /lib because blacklistd needs it 2015-01-22 18:46:15 +00:00
christos 1795e59aec Be pickier about socket data passed to us, but repair the socket information
if we can and report so we can fix the daemon code.
2015-01-22 18:43:29 +00:00
christos c05f133cb4 update TODO 2015-01-22 18:15:56 +00:00
christos 5b27fca8bd more efficiency fixes; construct the unix sockaddr once. 2015-01-22 18:15:15 +00:00
christos 2071425ca2 make this nicer 2015-01-22 17:59:31 +00:00
christos a8d0d44274 - More NetBSD like installation structure and rc glue
- Don't require cred passing for ones that don't have it.
2015-01-22 17:49:41 +00:00
christos 74a044786f - logging fixes
- finish adding pidfile
- credential passing for linux
2015-01-22 16:19:53 +00:00
christos b11744f0b9 - move diffs
- always log through lfun
2015-01-22 15:29:27 +00:00
christos e613991ba4 checkin commit for logging fixes, busy socket and pidfile. 2015-01-22 15:25:52 +00:00
gson 32627f22be Mark atf/atf-c/macros_test/detect_unused_tests and
atf/atf-c++/macros_test/detect_unused_tests as expected failures
when using versions of GCC where they are known to fail, with a
reference to PR toolchain/49187.
2015-01-22 12:33:35 +00:00
matt 2eb84c7288 Make sure POWERPC_NETBSD is defined. 2015-01-22 08:35:05 +00:00
christos dd437d5f2c Read from multiple sockets. 2015-01-22 07:57:31 +00:00
christos 4e1fb2ba56 more MLINKS 2015-01-22 05:49:18 +00:00
christos 9b104d5d3d udp now works 2015-01-22 05:44:35 +00:00
christos 2257256f91 remove sleep 2015-01-22 05:44:28 +00:00
christos 3ee8942fa8 remove listen 2015-01-22 05:41:08 +00:00
christos a8f47b59cd update doc 2015-01-22 05:40:34 +00:00
christos 4e04e6bf5a make udp work. 2015-01-22 05:35:55 +00:00
christos 5602e55dfd more bugs 2015-01-22 05:03:52 +00:00
christos 753229811a make NetBSD work again. 2015-01-22 04:20:50 +00:00
christos 1f0a764fdf Works on both linux and macosx 2015-01-22 04:13:04 +00:00
christos bcdaafa19b linux works... 2015-01-22 03:48:07 +00:00
christos 4dcd992335 more portability 2015-01-22 03:10:49 +00:00
christos 1d4608fc6f more portability. 2015-01-22 03:08:09 +00:00
christos 1e27449070 more portability 2015-01-22 02:48:24 +00:00
christos ba56bb9d7f typo 2015-01-22 02:45:10 +00:00
christos 8c8c9103ca portability fixes. 2015-01-22 02:42:56 +00:00
christos 8b81106e1d more portability fixes, MacOS/X 2015-01-22 02:42:27 +00:00
christos 8e5d15a3d7 additions for linux 2015-01-22 02:35:44 +00:00
christos 8aedc7c622 portability 2015-01-22 02:27:16 +00:00
christos 2473334faf forgot to commit that 2015-01-22 02:15:59 +00:00
christos 07f094de73 Add autoconf infrastructure 2015-01-22 01:39:18 +00:00
christos 00dbb8de86 more TODO 2015-01-21 23:28:02 +00:00
christos fbbfbd9734 - split globals into a separate file
- more config pretty-printing.
2015-01-21 23:26:26 +00:00
christos dce706a322 Fix printing and matching. more debugging. 2015-01-21 23:09:44 +00:00
joerg 3736fe5306 Don't bail out on implicit enum casts. 2015-01-21 21:48:43 +00:00
joerg 9f182afd19 Checking flags with binary ops is likely to create better results. 2015-01-21 21:48:23 +00:00
joerg 0c0c87c954 Don't use uninitialised variables. 2015-01-21 21:47:44 +00:00
christos 07e22b1548 initialize the return conf and also copy the rest of the members back. 2015-01-21 21:25:13 +00:00
christos 475a80bfd7 make usage print the wrong option 2015-01-21 21:24:51 +00:00
christos be4b000413 add debug option 2015-01-21 21:24:35 +00:00
christos c0ed0487ce separate the dumpkey function and use it for the state printing too. 2015-01-21 21:24:25 +00:00
christos 840c178550 if nfail == -1, allow everything. 2015-01-21 19:45:26 +00:00
christos 092450072d RCSID, todo 2015-01-21 19:39:25 +00:00
christos b724a5f7a4 update docs 2015-01-21 19:37:30 +00:00
christos 60db9482fe stub man page. 2015-01-21 19:27:01 +00:00
christos 2dea203159 add rule name in the config file, binding address 2015-01-21 19:24:03 +00:00
christos 6ea0b5bdc4 put utilities into a separate file. 2015-01-21 19:23:42 +00:00
christos 9e607ccb2a Sync with current. 2015-01-21 16:16:00 +00:00
matt 9a22733cae Don't enable string instructions on NetBSD if -Os is used. 2015-01-20 07:12:41 +00:00
christos eedf12df66 *** empty log message *** 2015-01-20 00:52:15 +00:00
christos 614f42f265 works 2015-01-20 00:19:21 +00:00
christos 5f7ceb9038 *** empty log message *** 2015-01-19 19:02:35 +00:00
christos 474e893b1c *** empty log message *** 2015-01-19 18:52:55 +00:00
christos 6c408a1c40 Initial revision 2015-01-19 18:52:54 +00:00
christos 4f8d77d8b9 *** empty log message *** 2015-01-19 18:52:54 +00:00
christos 05b8d7c51b Initial revision 2015-01-19 18:52:54 +00:00
christos d5c5c47127 *** empty log message *** 2015-01-19 18:52:54 +00:00
skrll 9ccfc09eab New Raspberry Pi firmware from
commit 216c2f79ca0633bebe3916184bf3550e1b8f2f80
Author: popcornmix <popcornmix@gmail.com>
Date:   Wed Jan 14 20:31:17 2015 +0000
2015-01-18 19:09:54 +00:00
christos aa58a4a84d *** empty log message *** 2015-01-18 17:28:37 +00:00
christos 5b676252e4 Initial revision 2015-01-18 17:28:36 +00:00
christos 0ae4dc4d3d *** empty log message *** 2015-01-18 17:28:36 +00:00
christos 8bc49d51dd fix 32 bit build. 2015-01-18 16:37:05 +00:00
christos ebd85b1962 fix 32 bit compilation. 2015-01-18 16:27:36 +00:00
christos e2f867ba8d fix printf format 2015-01-18 15:54:38 +00:00
christos 82a3fc3bb1 fix wrong type 2015-01-18 15:37:57 +00:00
christos 0be04600c5 don't use time_t in xdr_long 2015-01-17 19:36:39 +00:00
christos 4da6d876cd merge conflicts 2015-01-17 17:46:30 +00:00
christos 8bae5d409d Import am-utils 6.2-20140117 2015-01-17 16:34:14 +00:00
martin 1f1e1f765b Do not compile md5.c (while usning system md5.h headers) - instead just
use the libc version.
Patch from Yasushi Oshima in PR bin/49580.
2015-01-17 11:25:30 +00:00
snj 2b183af5b6 update for 2.99.917 2015-01-16 21:35:34 +00:00
christos 98f6460f17 use calloc, remove cast. 2015-01-16 20:16:36 +00:00
christos 9a3751381c kill another copy of strtonum 2015-01-16 20:13:34 +00:00
joerg 7056ba0e78 There is no such thing as void volatile. 2015-01-16 10:08:52 +00:00
joerg eebd9ebe9d Uses free 2015-01-16 10:08:37 +00:00
mrg 68c85a9f21 regen. 2015-01-15 22:29:52 +00:00
skrll b4b886e5d8 Fix gcc PR target/64479 [SH] wrong optimization delayed-branch 2015-01-15 08:42:14 +00:00
tron 00203d2bfc Fix build with "USE_SSP" set to "yes". 2015-01-14 20:26:41 +00:00
martin 015ca5a910 Add missing break, following upstream.
Reported by Henning Petersen in PR bin/49567.
2015-01-14 09:29:27 +00:00
mrg 1170f5637d merge fdad1406b3
--
When decompressing with -N or -NT, strip any path from header name.

This uses the path of the compressed file combined with the name
from the header as the name of the decompressed output file.  Any
path information in the header name is stripped.  This avoids a
possible vulnerability where absolute or descending paths are put
in the gzip header.
--
2015-01-13 02:36:22 +00:00
christos 23fbacc167 add receiver. 2015-01-11 17:56:21 +00:00
christos 7c5e701462 Initial revision 2015-01-10 23:17:03 +00:00
mrg 5c10ef7e83 rerun mknative for GCC 4.8.4 and all platforms.
m68000 needs -fPIC removed (again), and hppa c++config.h turned off
several things present in -lm, fixed by hand.
2015-01-10 22:59:34 +00:00
mrg 6bad6bfaf1 update for more reality. 2015-01-10 22:58:38 +00:00
mrg 94b9bff57a merge GCC 4.8.4. 2015-01-10 01:06:41 +00:00
mrg 6012017c82 import GCC 4.8.4 release. this fixes at least these GCC PRs:
fortran/61407
	sanitizer/64265
	tree-optimization/64269
	middle-end/64225
	tree-optimization/61686
	bootstrap/64213
	rtl-optimization/64037
	target/50751
	rtl-optimization/64037
	target/59593
	target/59593
	c++/56493
	target/64115
	middle-end/64111
	middle-end/64067
	rtl-optimization/63659
	libgomp/61200
	tree-optimization/61969
	tree-optimization/62031
	tree-optimization/63379
	tree-optimization/63605
	middle-end/63665
	target/60111
	target/63673
	target/63947
	tree-optimization/62167
	tree-optimization/63841
	ipa/63838
	c++/63455
	c++/63415
	c++/56710
	c++/58624
	preprocessor/60436
	target/55351
	fortran/63938
	libgomp/61200
	libstdc++/63840
	libstdc++/61947
	libstdc++/59603
	target/56846
	libstdc++/57440
2015-01-10 00:47:09 +00:00
christos 27f32661d6 no need for the X headers anymore. 2015-01-08 03:47:32 +00:00
joerg 72e6048ca0 Reorganise the way xorg is build. Move build of makestrs into src/tools
as it is needed for the "includes" phase. Make it symlink all necessary
headers in obj to decouple it from "includes" itself, breaking the
dependency cycle. Move the do-x11 target between do-lib and do-build, so
that libraries can get the benefit of build_install (correct .WAIT
behavior) and everything else like "includes" uses the plain SUBDIR
entry in external/mit.
2015-01-07 20:42:01 +00:00
christos 7f4dbbddd0 fix library name; add shared library version 2015-01-07 03:49:13 +00:00
christos c2c9c6ba4c it is lto1 2015-01-07 02:18:10 +00:00
christos b065c82840 regen 2015-01-07 02:08:06 +00:00
christos 62254aa965 regen; backtrace support is complete 2015-01-07 02:06:59 +00:00
christos 2c904ef7c1 fix build 2015-01-07 02:06:23 +00:00
christos 7f61831388 enable lto 2015-01-07 02:06:03 +00:00
christos 0c2e46cd4b enable the rest of the languages 2015-01-07 02:05:41 +00:00
christos d5e8e308ec build lto 2015-01-07 02:02:44 +00:00
joerg 8fa1a38636 Don't bail out on the broken inline functions that use static variables. 2015-01-05 20:06:06 +00:00
gson e8e618c179 Test for ${MKDEBUG} using the same construct as in other places, so that
we get consistent behavior when the value is neither "no" nor "yes".
2015-01-05 18:51:10 +00:00
christos 152cf5a6f1 Prevent .y.c from regenerating c files from yacc.
XXX: Why are we compiling glcpp-parse.c both here and in the gallium
subdirectory?
2015-01-05 16:26:48 +00:00
mrg 0e4eb59327 sets.subr:
support machine=<xxx>, machine_arch=<xxx>, machine_cpu=<xxx> tags.

dri7: build Mesa 7 r300_dri.so for x86 platforms.
2015-01-05 03:45:31 +00:00
mrg a4ee9f7109 fix MKGCCCMDS=no, and turn it on by default for sun2. 2015-01-05 01:52:23 +00:00
joerg e0e6683d61 Map GCC_PRINTFLIKE to our __printflike. 2015-01-05 01:36:36 +00:00
joerg f4ce1f311d Make a number of clang warnings non-fatal, too many changes with little
gain.
2015-01-05 01:34:42 +00:00
mrg cf216beef9 elftosb depends upon MKCXX. 2015-01-05 00:51:50 +00:00
christos b512a7d7b5 only define yystos when needed. 2015-01-04 20:32:03 +00:00
joerg d0bbb5b61c Use a format string 2015-01-04 19:30:26 +00:00
christos 7b62ebcbd0 reduce diffs with branch, use yyname instead of yytname. 2015-01-04 18:52:04 +00:00
joerg 0b40943b07 bail is dead. 2015-01-04 18:45:17 +00:00
christos 2499986b35 Implement some more bison features (incomplete!!!)
This handles the mesa/gallium parser but the %error-verbose part needs a
little more work.
2015-01-04 01:34:20 +00:00
christos 604eca013c don't regenerate y-> 2015-01-04 01:26:31 +00:00
christos b2d4d9734a merge conflicts. 2015-01-03 23:22:52 +00:00
christos 428aa3b923 Import byacc 20141128 2015-01-03 22:58:23 +00:00
christos 46a8957adc add a clear that did not merge. 2015-01-02 23:38:45 +00:00
christos d9d66a76ab fix recursion 2015-01-02 23:27:46 +00:00
christos fa9ee4980d merge conflicts 2015-01-02 21:15:32 +00:00
christos 3c9d2f3579 Import file-5.22 2015-01-02 20:34:26 +00:00
christos 88c1089d96 Bring in 2 patches from binutils:
From Alan Modra: Wed, 3 Jul 2013 11:51:56 +0930: powerpc64 call stubs:
    This brings powerpc64 ld in line with gold regarding calls allowed to
    go via a plt call stub or toc-adjusting stub without a following nop.
    A long time ago ld allowed tail calls, but this is wrong because we'll
    return to the caller's caller with the wrong toc pointer.  I fixed
    that for shared libraries but allowed tail calls in an executable for
    some reason.  Probably just muddy thinking on my part, because there's
    no difference between an executable and a shared library regarding the
    need to restore the toc pointer.  Perhaps it was because some testcase
    failed, most likely due to the g++ issue I comment on in the patch.

From Alan Modra: 29 Aug 2014 01:22:29 +0000: PowerPC64 call lacks nop error:
    Enough people accidentally or otherwise use -mcmodel=small then wonder
    why a call that is local is behaving as if it is going via the PLT.

	* elf64-ppc.c (ppc64_elf_relocate_section): Report a different
	error for calls via a toc adjusting stub without a nop.
2015-01-02 19:50:02 +00:00
he 53f679e766 What ISC wraps under ISC_PLATFORM_HAVEXADD appears to be 32-bit
atomic adds, and I beleive all our platforms can do that.  Therefore,
no need to conditionalize that definition under __HAVE_ATOMIC64_OPS.
2015-01-01 15:28:30 +00:00
mrg fbfbb2ece8 move xorg-server.pc's SDK_REQUIRED_MODULES into the local Makefile. 2014-12-30 22:07:21 +00:00
joerg 16af9e03ea Use positive checks for GCC 4.1. Deal with missing HAVE_GCC. 2014-12-23 20:26:30 +00:00
christos d1118a5e47 Change the conditional from >= 45 to != 4 to handle the non-gcc case. 2014-12-23 20:19:08 +00:00
christos 41cafa369b Putting () around conditionals avoids the error when the variables are
undefined, OTOH it does the wrong thing when comparing when "no".
2014-12-23 19:11:14 +00:00
christos 18053c39af Fix for gcc-4.1 2014-12-23 19:05:58 +00:00
christos 988fc89e95 fixes for gcc-4.1 2014-12-23 19:04:37 +00:00
christos de935cd2ad Fixes for gcc-4.1 2014-12-23 19:04:18 +00:00
christos 1cff2a42a0 fix for -5, MKREPRO is not always defined 2014-12-23 18:56:15 +00:00
christos 009d886c38 - consistently install symlinks (like we do for everything else)
- add missing debug libs
2014-12-23 17:50:42 +00:00
christos 931324ada5 - Don't install absolute symlinks
- Add missing debug symlinks
2014-12-23 17:49:59 +00:00
joerg 7a390569d2 myasprintf (wtf) passes down a format string, so use __printflike. 2014-12-23 15:47:32 +00:00
dennis 298eb8b514 Apply a fix, extracted from the UCB RISC-V gcc sources, for the (known)
problems with compiling atomics for the riscv64 target with gcc.  Remove
the now-unneeded workarounds for the 2 files in libasan that were formerly
failing to compile with the optimizer turned on.
2014-12-22 21:15:48 +00:00
christos 8de392a9c0 avoid shadowing of recv. 2014-12-22 04:23:58 +00:00
christos 22b6c4fc55 avoid shadowing of log2 on some platforms. 2014-12-22 04:21:47 +00:00
christos abc7bdd304 Since we've added the mdnstries keyword, we need to regenerate the
ntp_parser.[ch] files, otherwise we get syntax errors. Our yacc seems
to be producing a working parser now, so let's use it.
2014-12-20 16:52:21 +00:00
prlw1 f44489f8dc MKINET6=no build fixes
http://mail-index.netbsd.org/tech-net/2014/12/13/msg004898.html
2014-12-20 13:15:48 +00:00
uebayasi 1104d021af Fix signed vs unsigned errors. 2014-12-20 08:38:47 +00:00
christos eb7b95c740 finish import 2014-12-20 02:59:24 +00:00
christos ccbc10b41f I will let others decide if we should grow this wart... 2014-12-19 20:48:55 +00:00
christos 79fa4578d4 No, bash is not the posix shell. Why do you need the shell anyway? 2014-12-19 20:46:47 +00:00
christos ea66d79595 Merge conflicts 2014-12-19 20:43:14 +00:00
christos b8ecfcfef0 Import ntp 4.2.8 2014-12-19 20:37:31 +00:00
roy a5de07ee00 Make the building of INET optional.
As both INET and INET6 are now options, it's possible to build dhcpcd
without both. When built this way it will just report carrier events.
2014-12-19 10:59:06 +00:00
roy 5de3a50c7e Sync 2014-12-19 10:54:08 +00:00
christos 2024ec5d62 we need to handle make includes 2014-12-19 05:21:51 +00:00
christos 9a6d622ac9 - Explain what's going on a bit better
- Fix a conditional
- Don't include bsd.lib.mk if we are not building libraries
  (otherwise we end up with an empty library name that installed
   bogus library files lib.a etc.)
2014-12-19 05:03:30 +00:00
mrg 5de6651586 fix build problem with radeon_*.c files. 2014-12-18 10:08:52 +00:00
mrg 9dbcad6d0b update sets and reachover makefiles for mesa 10.3.5. 2014-12-18 06:24:27 +00:00
roy a850849c48 Sync 2014-12-17 20:50:08 +00:00
mrg 5b7bfa533c switch over to the separate glu sources. 2014-12-16 06:10:12 +00:00
christos 2ef06139f8 - Don't allow bypassing file size limits with crontabs from stdin.
- Allow signals while reading the user crontab file; doing "crontab -"
  does not let you abort otherwise, and doing ^Z, kill %1 leaves turds
  in /var/cron/tabs
2014-12-15 16:45:26 +00:00
skrll 6948cee7e0 Allow i386 binary debugging on amd64 hosts. 2014-12-15 13:43:24 +00:00
mrg c85d70d977 delete tools/glsl, is hasn't been used for a while.
move Makefile.glsl into libGL.
2014-12-15 00:20:29 +00:00
christos 0c6a515324 Allow i386 binary debugging on amd64 hosts.
XXX: This should be done in mknative but how? Matt?
2014-12-14 19:59:52 +00:00
christos 977e434ff6 When debugging 32 bit binaries on a 64 bit arch in NetBSD the dynamic
linker magically converts the dynamic linker name to ld.elf_so-<32bitarch>
like ld.elf_so-i386. We do the same magic here.
2014-12-14 19:58:06 +00:00
christos f890372b86 - Add -f to allow processing non-plain files.
- Align NetBSD note printing properly
- Add handling of "PaX" notes correctly. Perhaps we should rename them
  to "NetBSD" now.
2014-12-13 18:32:59 +00:00
martin 41f1cccf8f Fix byte order selection for breakpoints: on arm the byte order for code
might differ from the generic BFD endianess.
Fixes PR toolchain/49445.
2014-12-12 20:25:35 +00:00
uebayasi 55c41203fb Don't define ISC_R_* symbols, that conflict with the newest bind. 2014-12-10 07:43:34 +00:00
christos f6799648ae merge conflicts. 2014-12-10 04:37:50 +00:00