Commit Graph

3125 Commits

Author SHA1 Message Date
kardel b3d86d3e3a fix some fallout from append correction 2012-08-11 20:09:08 +00:00
joerg cbb088a668 Clang supports -Wno-stack-protector. 2012-08-10 17:12:11 +00:00
joerg 3190841d4b Apply options for all compilers. 2012-08-10 16:33:41 +00:00
joerg b38acf62c6 Decouple Clang from HAVE_GCC. 2012-08-10 16:10:29 +00:00
joerg c14f2d4ef8 Deal with optional HAVE_GCC. 2012-08-10 16:05:26 +00:00
tron 56c94b646c Import Postfix 2.8.12. Changes since version 2.8.11:
- The local(8) delivery agent's BIFF client leaked an unprivileged UDP
  socket. Fix by Jaroslav Skarvada. This bug was introduced 19990127.
- The SMTP server did not reject the AUTH command while a MAIL FROM
  transaction was in progress. Reported by Timo Sirainen.
  This bug was introduced 20000314.
- The unused "pass" trigger client could close the wrong file descriptors.
  This bug was introduced with Postfix 2.8.
2012-08-10 12:35:15 +00:00
christos 9bfa795a77 Homogenize all strn{cpy,cat} and snprintf() to a single append function to
prevent incorrect usage and buffer overflow.
2012-08-10 08:22:49 +00:00
joerg ab7e24ab4b Disable warning about broken strncat usage from clang for now.
The code is technically not going to overflow, but completely messed up.
2012-08-09 14:40:52 +00:00
joerg fb765877b6 Add (optional) libclangASTMatchers. 2012-08-09 14:39:01 +00:00
joerg 851204b7c2 Update LLVM/Clang snapshot to r161532 for the usual set of improvements
and bugfixes.
2012-08-09 14:37:06 +00:00
matt a4ae934e29 Remove code that should be have excised a long time ago. 2012-08-07 01:09:13 +00:00
matt cb8c048ec5 on earm, don't include EH code. 2012-08-06 02:34:28 +00:00
matt e19c6b7318 Add LIB2_EHASM to SRCS 2012-08-06 01:38:29 +00:00
matt 267745d7dd More regened configury (mostly exception related). 2012-08-06 00:49:52 +00:00
matt c73e5095cc a few more fixes (make unwinding correct for EABI)
improve link spec to with fix-v4bx and emulations
Add bpabi-netbsd.c to resolve problem with bpabi.c conflicting with bpabi.S
2012-08-06 00:24:13 +00:00
matt 5598cdb53e Regen again. 2012-08-06 00:21:37 +00:00
matt 93f7a012df Deal with LIB2_EHASM 2012-08-06 00:21:09 +00:00
matt 638a65b2c0 deal with LIB2_EH has ASM (.S) files. 2012-08-06 00:19:03 +00:00
matt 8f9b9d1333 Add gmp configury from earm (copied from arm) 2012-08-05 18:27:13 +00:00
matt b626930d34 Add a few missing for earm's gcc configury 2012-08-05 17:21:47 +00:00
matt 015ce606f7 Add gdb configury for earm 2012-08-05 17:09:16 +00:00
matt 714ce8eeef gcc4.5.3 configury for earm 2012-08-05 17:03:31 +00:00
matt cd8b5f8c57 Allow arm*-netbsd*-eabi* to be recognized. 2012-08-05 16:51:46 +00:00
matt 88a901ba99 binutils mknative run for earm 2012-08-05 16:34:05 +00:00
matt 602e0146d8 Add arm{,eb}--netbsdelf-eabi support. (still evolving) 2012-08-05 04:10:18 +00:00
matt ad73c53594 Add arm{,eb}--netbsdelf-eabi support. 2012-08-05 04:03:03 +00:00
roy 9535b4e814 Workaround libc not exporting in6addr_any when built with MKINET6=no. 2012-08-04 19:11:39 +00:00
matt a7f19c0a52 Add EABI4 and EABI5 for arm 2012-08-04 15:51:20 +00:00
wiz 979c697256 regen. Updates version to 5.11, as requested by Jim Bernard in PR 46735. 2012-07-28 08:02:15 +00:00
spz 12edcd4818 the patch for CVE-2012-3868 was incomplete 2012-07-24 20:00:44 +00:00
spz 302c45e5ed Fixes for CVE-2012-3817 and CVE-2012-3868 from ISC:
--- 9.9.1-P2 released ---

3346.   [security]      Bad-cache data could be used before it was
                        initialized, causing an assert. [RT #30025]

3345.   [bug]           Addressed race condition when removing the last item
                        or inserting the first item in an ISC_QUEUE.
                        [RT #29539]

3342.   [bug]           Change #3314 broke saving of stub zones to disk
                        resulting in excessive cpu usage in some cases.
                        [RT #29952]
2012-07-24 18:06:28 +00:00
martin e45fceb35a Fix printf formats 2012-07-22 18:09:16 +00:00
darrenr 13885a6659 Merge IPFilter 5.1.2 into HEAD 2012-07-22 14:27:35 +00:00
darrenr c9d5dc6c77 Import IPFilter 5.1.2 2012-07-22 13:44:10 +00:00
joerg e7a9d9d117 Remove a bunch of broken inline qualifiers that break the -O0 build. 2012-07-20 21:18:00 +00:00
christos edd104c76c PR/46704: Antti Kantee: Recognize tilera in config.guess 2012-07-19 19:34:26 +00:00
macallan 13adde0b83 build the xf86-video-xgi driver on i386 and amd64 2012-07-19 19:23:52 +00:00
macallan a5fa6325c9 reachover for xf86-video-xgi 2012-07-19 19:21:50 +00:00
matt b7c801cac8 Two fixes. Better PLT pruning (don't emit PLTs for local functions).
If emitting a reloc against a readonly section in a shared image,
cause TEXTREL to be set.
2012-07-17 21:37:21 +00:00
matt ec769e4972 Warn about using a symbol as a displacement in PIC mode. 2012-07-17 20:29:44 +00:00
abs fb1f20d708 Add vax to DEFAULT_TO_WSKBD 2012-07-16 12:48:42 +00:00
abs e1e1c8c184 Check for ${HAVE_GCC} and pick the right path to stdc++ 2012-07-15 00:05:51 +00:00
christos b48e242cbc depend on more libraries 2012-07-12 22:15:29 +00:00
wiz 812e4b05dd Remove reachover files for xkbdata, unused since June 2009, when
it was replaced with xkeyboard-config.

Ok mrg@
2012-07-12 20:32:31 +00:00
roy 88e1863871 Fix for dhcpcd-5.6.1 2012-07-12 16:54:14 +00:00
roy b36ce22b1f sync 2012-07-12 16:51:21 +00:00
roy b2b2e70f68 Import dhcpcd-5.6.1 with the following changes:
Improve IPv6 RA support by allowing dhcpcd to manage addreses and
routes instead of the kernel. dhcpcd will only do this if RA has been
disabled in the kernel or instructed to do so via the dhcpcd.conf(5)
ipv6ra_own and/or ipv6ra_owndefault directives.

Send and process IPv6 Neighbor Solicitions and Adverts to prove router
reachability. If a router cannot be reached in this way then it is
expired.
2012-07-12 16:47:58 +00:00
christos a931a66df8 Properly include dependent library, unbreaks objdir build. 2012-07-12 16:15:40 +00:00
jmmv 5b0d95a977 Update reachover Makefiles for atf 0.16.
As part of this change (and as done upstream and in various packaging
systems), start shipping shared libraries of both libatf-c and libatf-c++.
2012-07-11 22:40:16 +00:00
jmmv 9e6674dcce Post-import merge of atf 0.16. 2012-07-11 22:38:40 +00:00
jmmv 4e0366868d Import atf 0.16:
Experimental version released on July 10th, 2012.

* Added a --enable-tools flag to configure to request the build of the
  deprecated ATF tools, whose build is now disabled by default.  In order
  to continue running tests, you should migrate to Kyua instead of enabling
  the build of the deprecated tools.  The kyua-atf-compat package provides
  transitional compatibility versions of atf-run and atf-report built on
  top of Kyua.

* Tweaked the ATF_TEST_CASE macro of atf-c++ so that the compiler can
  detect defined but unused test cases.

* PR bin/45859: Fixed some XSLT bugs that resulted in the tc-time and
  tp-time XML tags leaking into the generated HTML file.  Also improved
  the CSS file slightly to correct alignment and color issues with the
  timestamps column.

* Optimized atf-c++/macros.hpp so that GNU G++ consumes less memory during
  compilation with GNU G++.

* Flipped the default to building shared libraries for atf-c and atf-c++,
  and started versioning them.  As a side-effect, this removes the
  --enable-unstable-shared flag from configure that appears to not work any
  more (under NetBSD).  Additionally, some distributions require the use of
  shared libraries for proper dependency tracking (e.g. Fedora), so it is
  better if we do the right versioning upstream.

* Project hosting moved from an adhoc solution (custom web site and
  Monotone repository) to Google Code (standard wiki and Git).  ATF now
  lives in a subcomponent of the Kyua project.
2012-07-11 22:37:05 +00:00
christos 347727af99 use the modern resolver functions if available. 2012-07-05 17:40:11 +00:00
christos ffd8412325 PR/46660: Henning Petersen: Fix typo in deviceid.c 2012-07-05 13:55:58 +00:00
jnemeth 98f55161d5 PR/46612 - Lloyd Parkes -- add a terminating newline to error messages 2012-06-25 20:23:43 +00:00
abs 86aebb49c7 Switch -current vax back to gcc 4.1 to match netbsd-6 - until someone has
time to look at the gcc 4.5 codegen issues we should at least have a usable
-current for vax.
2012-06-22 20:32:34 +00:00
njoly b813bd15cb Use CTLTYPE_QUAD for uint64_t type in sysctl_createv. 2012-06-19 21:25:26 +00:00
joerg ed93f0e8ac Update to r158657, which actually has the fix for LVM's uninitialised
memory warning.
2012-06-18 15:53:22 +00:00
joerg 50ef070586 Start adding build glue for ASAN parts of compiler-rt.
Still missing the platform specific parts.
2012-06-17 18:48:46 +00:00
joerg 42942c4c6c Update to LLVM/Clang snapshot r158648 to the fix a false warning in LVM.
Add build glue for compiler_rt.
2012-06-17 16:51:31 +00:00
joerg ce1e6472fd Including bsd.own.mk twice in a row is a bit too much 2012-06-17 15:12:13 +00:00
martin 4d5a9c43e0 Apply upstream revision 175141: setjmp vs. unchanged register values;
should fix PR toolchain/45837.
2012-06-17 13:43:30 +00:00
joerg 062cd24989 Fix version string returned by clang --version.
Integrate the in-tree config file generation with the cross-building
toolchain.  Regenerate the files.
Keep version numbers all in one place.
2012-06-17 07:40:25 +00:00
chs 22738551d6 reduce diff to freebsd:
rename "xcpu" back to "cpu" now that the conflicting global variable
has been renamed out of the way.  this also fixes some cases
where references to the local variable "cpu" had not been renamed
and thus were accidentally referring to the former global "cpu".
2012-06-16 17:31:47 +00:00
joerg 8df5dadc39 Don't bail out on unused private fields. 2012-06-16 17:02:33 +00:00
joerg c9196b81ce Update LLVM/Clang snapshot to r158533. This brings in support for
stack-realignment in functions using alloca on x86. Move to
/usr/include/clang-3.2 to reflect the version.
2012-06-16 17:01:02 +00:00
joerg f6791aad72 Simplify ERR, so that it doesn't mess up Clang's
-Wsometimes-uninitialized scan on the function. This is tracked in LLVM
as http://llvm.org/bugs/show_bug.cgi?id=13093.
2012-06-15 19:54:21 +00:00
riz 49449523c7 Add firmware for the RealTek RTL8192CU family of wireless chipsets, and
adapt the urtwn(4) driver to use the new files.  The firmware files were
extracted from the Linux driver at www.realtek.com, version 0005.1230.2011
and the license permits redistribution without modification.

While I'm here, install the files in /libdata/firmware/if_urtwn, like
most of the other network adapter firmware.

urtwn(4) can now operate without needing external files installed.  Tested
on my Edimax adapter.
2012-06-14 04:14:35 +00:00
riz 7f5267ea9d Sort SUBDIR alphabetically. Tested with build.sh -j8 on amd64. 2012-06-13 23:41:09 +00:00
riz 76d99a8a77 Add a closing '$' to the RCSID tag. 2012-06-13 21:17:29 +00:00
martin 1ed0d3ad05 On second thought, do not store a binary file in the repository, instead
use the uuencoded version.
2012-06-13 19:44:14 +00:00
martin 853d84df1f The NetBSD logo, when rendered with a binary transparency mask like we
used to do it for the xdm greeter, looks extremely ugly.
Unfortunately xdm has no means to load and mix alpha channel images,
so provide a png file and precomputed xpms with proper background colour
for the greeter.
If users change their greeter resources and change the background, they will
have to regenerate that xpm file, provide proper instructions for this.
While there, use less clunky fonts (hi Jared!).
XXX the fonts are not exactly perfect, if anyone feels like fine tuning
this further, please be my guest.
2012-06-13 18:51:35 +00:00
jdf 3b4194fe31 Capitalize sentences.
Patch provided by Bug Hunting.
2012-06-12 21:01:10 +00:00
rjs be206df192 Add radeon_xvmc.c, new in 6.14.4. 2012-06-12 12:26:42 +00:00
chs 6e9ead4606 make dtrace work on amd64. 2012-06-11 15:18:05 +00:00
christos e848a9e55e add libexecinfo 2012-06-10 00:25:51 +00:00
tron 03f0339393 Resolve conflicts from last import. 2012-06-09 11:32:19 +00:00
tron b26355a362 Import Postfix 2.8.11. Changes since version 2.8.8:
- The "change header" milter request could replace the wrong header. A long
  header name could match a shorter one, because a length check was done on
  the wrong string. Reported by Vladimir Vassiliev.
- Core dump when postlog emitted the "usage" message, caused by an extraneous
  null assignment. Reported by Kant (fnord.hammer).
- These releases add support to turn off the TLSv1.1 and TLSv1.2 protocols.
  Introduced with OpenSSL version 1.0.1, these protocols are known to cause
  inter-operability problems, for example with some hotmail services.
  The radical workaround is to temporarily turn off problematic protocols
  globally:

	/etc/postfix/main.cf:
	    smtp_tls_protocols = !SSLv2, !TLSv1.1, !TLSv1.2
	    smtp_tls_mandatory_protocols = !SSLv2, !TLSv1.1, !TLSv1.2

	    smtpd_tls_protocols = !SSLv2, !TLSv1.1, !TLSv1.2
	    smtpd_tls_mandatory_protocols = !SSLv2, !TLSv1.1, !TLSv1.2

  However, it may be better to temporarily turn off problematic protocols for
  broken sites only:

	/etc/postfix/main.cf:
	    smtp_tls_policy_maps = hash:/etc/postfix/tls_policy

	/etc/postfix/tls_policy:
	    example.com         may protocols=!SSLv2:!TLSv1.1:!TLSv1.2

  Notes:

  Note the use of ":" instead of comma or space. Also, note that there is NO
  space around the "=" in "protocols=".

  The smtp_tls_policy_maps lookup key must match the "next-hop" destination
  that is given to the Postfix SMTP client. If you override the next-hop
  destination with transport_maps, relayhost, sender_dependent_relayhost_maps,
  or otherwise, you need to specify the same destination for the
  smtp_tls_policy_maps lookup key.
- OpenSSL related (all supported Postfix versions).
  Some people have reported program crashes when the OpenSSL library was
  updated while Postfix was accessing the Postfix TLS session cache. To avoid
  this, the Postfix TLS session cache ID now includes the OpenSSL library
  version number. This cache ID is not shared via the network.
- The OpenSSL workaround introduced with the previous stable and legacy
  releases did not compile with older gcc compilers. These compilers can't
  handle #ifdef inside a macro invocation (NOT: definition).
- To avoid repeated warnings from postscreen(8) with "connect to
  private/dnsblog service: Connection refused" on FreeBSD, the dnsblog(8)
  daemon now uses the single_server program driver instead of the multi_server
  driver. This one-line code change has no performance impact for other
  systems, and eliminates a high-frequency accept() race on a shared socket
  that appears to cause trouble on FreeBSD. The same single_server program
  driver has proven itself for many years in smtpd(8). Problem reported by
  Sahil Tandon.
- Laptop-friendly support (all supported Postfix versions). A little-known
  secret is that Postfix has always had support to avoid unnecessary disk
  spin-up for MTIME updates, by doing s/fifo/unix/ in master.cf (this is
  currently not supported on Solaris systems). However, two minor fixes are
  needed to make this bullet-proof.
- In laptop-friendly mode, the "postqueue -f" and "sendmail -q" commands did
  not wait until their requests had reached the pickup and qmgr servers before
  closing their UNIX-domain request sockets.
- In laptop-friendly mode, the unused postkick command waited for more than
  a minute because the event_drain() function was comparing bitmasks
  incorrectly on systems with kqueue(2), epoll(2) or /dev/poll support.
2012-06-09 11:26:39 +00:00
jym 57d7988f76 Now that pool_cache_invalidate() is synchronous and can handle per-CPU
caches, merge together pool_drain_start() and pool_drain_end() into

bool pool_drain(struct pool **ppp);

"bool" value indicates whether reclaiming was fully done (true) or not (false)
"ppp" will contain a pointer to the pool that was drained (optional).

See http://mail-index.netbsd.org/tech-kern/2012/06/04/msg013287.html
2012-06-05 22:51:47 +00:00
christos 672c75b90f Merge bind-9.9.1-P1 to fix:
Processing of DNS resource records where the rdata field is zero length
may cause various issues for the servers handling them.
CVE: CVE-2012-1667
2012-06-05 00:38:45 +00:00
christos 4f3e64d772 Import bind 9.9.1-P1 2012-06-04 17:53:08 +00:00
dsl f7622c11cc Not sure why this has just started to fail!
But it really isn't a good idea to compare a uint64_t to NULL.
2012-06-03 10:53:51 +00:00
wiz d0df7c443e Make HAVE_* define match what configure finds.
In particular, this enables usleep(3) (compared to using sleep(3) before).
ok joerg@
2012-06-01 20:28:02 +00:00
martin c05e3b1f3a Make sure to have file descriptors 0-2 open before doing further setup.
Otherwise strange invocations could trick us into passing the event
descriptor as, for example, stdin to the server.
See PR 46463 for details.
2012-05-31 19:14:56 +00:00
joerg 283854674c Don't print noisy errors if need-dl hasn't been created yet. 2012-05-31 18:53:33 +00:00
macallan bc90984fca set AVOID_VGAHW on macppc, now this driver works out of the box
should probably be set on all machines where we never use VGA text mode
2012-05-30 05:20:36 +00:00
joerg d1e5e00916 Update Clang/LLVM snapshot to 156412. Refactoring. 2012-05-29 19:31:52 +00:00
jdc b8c75e7dab Determine WORDS_BIGENDIAN at build time, rather than hardcoding it to 0.
Makes liblzma work on sparc64 (and probably other big endian hosts too).
Add a note to the import script.
2012-05-28 17:28:53 +00:00
abs cc2189268d Enable wsfb X server on vax. Likely to be keyboard and mouse issues, but
with three additional lines of an ioctl() case in the kernel 'startx' will
display the traditional three xterms
2012-05-14 08:42:03 +00:00
nakayama d2cfbefb2d Make WPA works on big-endian machines.
Need byte swapping to copy seq to member ik_keyrsc.  The code is
borrowed from driver_madwifi.c.
2012-05-13 10:21:02 +00:00
christos 85b637054a add confgen programs 2012-05-09 21:59:10 +00:00
wiz 2d5eea808c Move dist2netbsd script out of dist/ and adapt for new path. 2012-05-07 08:55:46 +00:00
wiz e3116df773 merge 1.0.6 2012-05-07 00:45:47 +00:00
wiz f04bd531b4 Import bzip2-1.0.6:
1.0.6 (6 Sept 10)
~~~~~~~~~~~~~~~~~

* Security fix for CVE-2010-0405.  This was reported by Mikolaj
  Izdebski.

* Make the documentation build on Ubuntu 10.04
2012-05-07 00:41:32 +00:00
wiz 0449b68bd1 Merge changes from dist/bzip2:
man page converted to mdoc
compiler warning fixes
integer overflow fix
remove files that aren't used on NetBSD

Add adapted bzip2netbsd script.
2012-05-07 00:30:05 +00:00
wiz 4f9a14591a Re-import bzip2-1.0.5 in more appropriate location. 2012-05-07 00:21:32 +00:00
cheusov 8e6f0d9ebd Add .include <bsd.sys.mk> for initializing USE_SSP.
This fixes build failure if USE_FORT=YES
   Approved by christos@
2012-05-02 13:35:03 +00:00
joerg 346d105dac Update LLVM/Clang snapshot to r155677, bringing in a number of bugfixes. 2012-04-29 19:19:04 +00:00
christos 15053c8b40 add specs to automagically add the mudflap libraries when -fmudflap{,th} 2012-04-27 00:57:44 +00:00
christos 27e3db30d5 Add FREAD for the benefit of kauth! 2012-04-26 23:34:09 +00:00
christos cbd0c35a2d remove code that assumed that lwpid shares pid space and can be used interchangeably. 2012-04-24 19:14:06 +00:00
christos 7006e67fd8 Bring in fix from:
http://gcc.gnu.org/bugzilla/show_bug.cgi?format=multiple&id=43804
Allows libmudflap to compile on m68k:

/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c: In function
'__mf_wrap_alloca_indirect':
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1: error:
insn does not satisfy its constraints:
(insn 360 142 68 13
/usr/src/external/gpl3/gcc/dist/libmudflap/mf-impl.h:257 (set (reg/f:SI
6 %d6 [159])
        (const:SI (unspec:SI [
                    (symbol_ref:SI ("__mf_state_1") [flags 0x50]
<var_decl 0x7f7ff7304d20 __mf_state_1>)
                     (const_int 1 [0x1])
                 ] 6))) 36 {*movsi_m68k}
(nil))/usr/src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c:492:1:
internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
2012-04-22 15:15:46 +00:00
christos 3fd38f84eb If we are asked to step on ptid(-1,0,0), then step on our inferior_thread
instead, which is the main thread instead of the currently executing thread
which is not what we want, since we've been running and nother thread might
have just started.
2012-04-21 00:16:35 +00:00
christos 49a655adee Make declarations consistent, and change unsigned int to unsigned long so
that this works on LP64 machines. Why is the __mf_uintptr_t needed anyway?
2012-04-19 15:52:39 +00:00
christos 9175dee1fe bad name 2012-04-18 22:42:21 +00:00
christos 6e275ac292 add the mudflap include and libraries 2012-04-18 19:22:03 +00:00
christos 6b798f149f move include to the gcc-4.5 subdir. 2012-04-18 19:21:25 +00:00
christos f89a1d6f2b NetBSD fixes:
1. thread_self() returns a pointer, not an unsigned integer
2. Add NetBSD to Apple and FreeBSD defines
3. Add _NETBSD_SOURCE where needed
4. Add an extra define BEGIN_PROTECTV for void functions to avoid return
   free(); where free is void.
5. Avoid weak symbol hacks to determine if we are threaded or not. We
   have a threaded copy of the library, why bother?
6. change __attribute -> __attribute__ since the former is not covered by
   our cdefs.h
2012-04-18 02:55:05 +00:00
christos d0800ba09f add preliminary build glue for mudflap; only the shared libraries work,
the static ones will need us to add __real_foo aliases for a bunch of
functions in libc.
2012-04-18 02:52:07 +00:00
christos 42b74229c1 use a function constant instead of NetBSD 2012-04-14 15:14:08 +00:00
joerg d88b05ff3c Update LLVM/Clang to r154578. 2012-04-14 15:11:17 +00:00
christos f1232d151c replace the custom getpass with getpassfd() 2012-04-13 16:36:37 +00:00
christos 16918ffb5d - In the thread activation code, mutate the main thread (lid=0) to lid=1 like
the kernel does.
- Remove - 1 hack
- Remove more ifdef notdef code
2012-04-11 21:41:59 +00:00
christos 4ae881aba3 On NetBSD the data part of the PT_STEP request is the lid to send the signal,
not the signal to send! Make it so.
2012-04-11 21:39:01 +00:00
christos defdde4f72 remove more unused SA userland thread stuff. 2012-04-11 20:21:35 +00:00
christos aa2f39e93f Add sigquit for completeness to the list of blocked signals with int and tstp.
Does not have any security implication. From Pierre Carrier
2012-04-11 02:28:46 +00:00
christos ca3b7262c4 PR/46322: Pierre Pronchery: SQLite from base is compiled without
SQLITE_ENABLE_COLUMN_METADATA
XXX: Pullup for 6
2012-04-11 00:41:41 +00:00
wiz be5cf4dc86 clang complains:
C++ default arguments are illegal in the function defininion.
christos@ ok
2012-04-09 00:24:57 +00:00
christos e3ea761b6d bring in changes from head. 2012-04-07 17:30:55 +00:00
he 692082ea92 Disable HAVE_TLS for now for gcc's libgomp, since it otherwise
causes gcc indigestion (internal compiler error) for all m68k ports.
mrg@ says this will do for now, and committing to this generated-
by-mknative file is ok.
2012-04-06 20:10:28 +00:00
spz d5b7b4d73a adjust for expat-2.1.0 2012-04-06 10:49:27 +00:00
spz 0db17c247f merge expat-2.1.0 2012-04-06 10:46:13 +00:00
spz 123d8dfc18 import of expat 2.1.0
Fixes CVE-2012-1147, CVE-2012-1148 and CVE-2012-0876 (other security
issues have been previously fixed in our tree)

relevant Changes:
Release 2.1.0 Sat March 24 2012
        - Bug Fixes:
          #1742315: Harmful XML_ParserCreateNS suggestion.
          #2895533: CVE-2012-1147 - Resource leak in readfilemap.c.
          #1785430: Expat build fails on linux-amd64 with gcc version>=4.1 -O3.
          #1983953, 2517952, 2517962, 2649838:
                Build modifications using autoreconf instead of buildconf.sh.
          #2815947, #2884086: OBJEXT and EXEEXT support while building.
          #1990430: CVE-2009-3720 - Parser crash with special UTF-8 sequences.
          #2517938: xmlwf should return non-zero exit status if not well-formed.
          #2517946: Wrong statement about XMLDecl in xmlwf.1 and xmlwf.sgml.
          #2855609: Dangling positionPtr after error.
          #2894085: CVE-2009-3560 - Buffer over-read and crash in big2_toUtf8().
          #2958794: CVE-2012-1148 - Memory leak in poolGrow.
          #2990652: CMake support.
          #3010819: UNEXPECTED_STATE with a trailing "%" in entity value.
          #3206497: Unitialized memory returned from XML_Parse.
          #3287849: make check fails on mingw-w64.
          #3496608: CVE-2012-0876 - Hash DOS attack.
        - Patches:
          #1749198: pkg-config support.
          #3010222: Fix for bug #3010819.
          #3312568: CMake support.
          #3446384: Report byte offsets for attr names and values.
        - New Features / API changes:
          Added new API member XML_SetHashSalt() that allows setting an intial
                value (salt) for hash calculations. This is part of the fix for
                bug #3496608 to randomize hash parameters.
          When compiled with XML_ATTR_INFO defined, adds new API member
                XML_GetAttributeInfo() that allows retrieving the byte
                offsets for attribute names and values (patch #3446384).
          Added CMake build system.
                See bug #2990652 and patch #3312568.
          Added run-benchmark target to Makefile.in - relies on testdata module
                present in the same relative location as in the repository.
2012-04-06 10:22:52 +00:00
wiz 2c8f117ddc Update version to 3.7.10, since that's what's currently in dist/
From Ryo ONODERA in PR 46300.
2012-04-06 09:21:39 +00:00
mrg 829e755fe2 rerun mknative-gcc:
- turn off <fenv.h> on platforms that don't have it
2012-04-05 21:09:20 +00:00
jmmv a2edf997c0 Fix retry logic to avoid triggering an assertion. 2012-04-05 01:04:18 +00:00
christos 49758559c7 - remove unused thread (non-lwp) code.
- make the get method return the value, and only add 1 in the put method.
2012-04-04 13:33:19 +00:00
joerg b757af438b Disable new -Wstring-plus-int warning where needed for now.
Adjust various places that add GCC-only options to check for the active
compiler first.
2012-04-04 10:59:44 +00:00
joerg 719fcf70e0 Hook up llvm-readobj for LLVM_DEVELOPER builds. 2012-04-04 10:44:21 +00:00
joerg 103b308da9 Update LLVM/Clang snapshot to r153935. This brings in the new inline
cost analysis.
2012-04-04 10:42:00 +00:00
bsh 87767e019d enable X11 build for evbarm. 2012-04-04 01:23:26 +00:00
roy 2bbf0ef7b5 Wrap our restart command using if ... then so that we return zero
if it doesn't exist or is not running.
Depend on this Makefile so that if the restart command structure changes
the subscribers are rebuilt.
2012-04-03 10:50:46 +00:00
roy f08761da93 * Fixed a potential segfault with IPv6 option handling
* Add a suffix to all our config files so that RA never stamps on IPv4
* All valgrind errors fixed on FreeBSD (with ./configure --debug=YES)
* When started with an interface list, respect that with signal handling
* Fix a potential route table corruption if we failed to add a route
2012-03-28 10:19:31 +00:00
christos 7035527430 disable exact cpu override to fix cross-compiling on linux 2012-03-27 21:56:04 +00:00
roy cf0cc01bbe Import openresolv-3.5.1 to fix resolv_conf_local_only. 2012-03-27 21:21:24 +00:00
joerg 13a266b186 Use :Q for quoting. Execute shell script using the host shell. 2012-03-27 00:36:06 +00:00
wiz ecd0670167 Remove unnecessary Ns; fix formatting nit. 2012-03-26 22:06:04 +00:00
roy 3ea18e4c78 Sync 2012-03-26 14:43:01 +00:00
roy 333b300105 Import openresolv-3.5.0 with the following changes:
* Added resolv_conf_local_only which defaults to true.
  This means that if you configure a local nameserver we don't add
  any other nameservers to resolv.conf to avoid duplicate queries.
* Add domain_blacklist and name_server_blacklist variables.
  We default name_server_blacklist to 0.0.0.0 to handle some faulty
  routers.
* Add .Lk macro to URLs.
* Fix IPv6 parsing on domains which include an IPv4 server for dnsmasq.
2012-03-26 14:41:33 +00:00
plunky 5b72322c69 update for pcc-20120325 2012-03-26 14:31:12 +00:00
plunky b0dc17edf5 resolve merge conflicts 2012-03-26 14:30:46 +00:00
plunky f48728536a Update to pcc-20120325
The full changelog is at

 http://pcc.ludd.ltu.se/fisheye/changelog/~date=2012-03-25T06%3A00%3A00/pcc

and includes some bug and documentation fixes.

The siginifcant improvements were that the __returns_twice__ attribute is
now accepted, and a problem parsing attributes on parameters of function
prototypes was fixed.

(both of these issues caused problems compiling with the NetBSD headers)
2012-03-26 14:26:07 +00:00
martin d6ad405412 PRIu64 is not the right format string for unsigned long long. 2012-03-25 09:50:45 +00:00
tron 288a9e6b4c Set "BINDIR" to get binaries installed in the correct directory. 2012-03-24 18:27:16 +00:00
christos fe7112e3e3 bring back all our fixes. 2012-03-24 02:19:00 +00:00
christos e7d50bf676 Make this build from our own tree. 2012-03-24 02:08:34 +00:00
matt 15d35d9c93 Use sys/external, not sys/dist 2012-03-24 00:32:50 +00:00
christos 500828b37a deal with tests 2012-03-23 23:14:34 +00:00
christos dd357d4c8a Engage ipf 2012-03-23 21:31:27 +00:00
christos 8e2bdc9a64 Build gluons 2012-03-23 21:29:44 +00:00
christos 37fde22ea8 make this work again. Kill tests and kernel module for now 2012-03-23 21:29:34 +00:00