Commit Graph

2401 Commits

Author SHA1 Message Date
mrg
c25a6ba022 add G_BUGURL and G_PKGVERSION variables that are unquoted versions. 2011-06-29 02:15:13 +00:00
mrg
0976220d72 update the gcc-vers.texi generation and fix various build issues. 2011-06-29 02:14:28 +00:00
mrg
bf3f398f4e fix a merge error with LIBGCC_PIC_SUFFIX code. 2011-06-29 02:12:29 +00:00
mrg
f7fea21d51 re-enable the gcc 4.5 crtstuff/libgcc builders now that they work.
also build the gmp, mpfr and mpc libraries in this case.
2011-06-29 02:05:24 +00:00
mrg
d15283f250 minor fixes for libstdc++-v3 build.
fix the gengtype call.
2011-06-29 02:01:37 +00:00
mrg
b26ad80212 these need -lintl now. 2011-06-29 02:00:09 +00:00
mrg
30b4ed22df - build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS
2011-06-29 01:57:59 +00:00
mrg
a98337dbce consolidate the tconfig.h generation. 2011-06-29 01:56:57 +00:00
simonb
be40ac2f1f Update date (ok phone). 2011-06-29 01:38:27 +00:00
mrg
3a7677d284 delete file in the wrong directory. 2011-06-28 10:17:17 +00:00
mrg
c234a85172 port this to GCC 4.5. 2011-06-28 10:15:40 +00:00
mrg
a7165021a8 build libdecnumber. 2011-06-28 10:15:15 +00:00
mrg
278a646828 port this to GCC 4.5. 2011-06-28 10:14:41 +00:00
mrg
1ce3c1cc4c some of the way towards working. there's a couple of hacks in there that
need to be cleaned up before this is properly finished.
2011-06-28 10:11:04 +00:00
mrg
498a5a5a14 init.o wants a localedir.h to define LOCALEDIR now. make it so. 2011-06-28 09:31:55 +00:00
mrg
b5a3cd5336 this needs -lintl now. 2011-06-28 09:31:11 +00:00
mrg
d79932b240 - add LIBDECNUMBEROBJ.
- update the VER_CPPFLAGS for GCC 4.5.
2011-06-28 09:28:22 +00:00
mrg
91c00ee734 TOOLDIR_BASE_PREFIX must be a relative path now. 2011-06-28 09:27:39 +00:00
jruoho
30c90d58f5 Adjust for ACPICA 20110623. 2011-06-28 09:11:33 +00:00
mrg
baba04193b fix a merge error only seen with NETBSD_NATIVE defined. 2011-06-28 07:52:40 +00:00
mrg
340b2629aa output of mknative-gcc updates for GCC 4.5. 2011-06-28 04:24:12 +00:00
mrg
7153279ecd build the gcc libraries. 2011-06-28 04:23:56 +00:00
mrg
3c1598d843 begin to fix this for GCC 4.5. gengtype-yacc is gone, and -parse is its
replacement.  build the list of files from $G_GTFILES like GCC build dones.
2011-06-28 04:23:01 +00:00
mrg
b66c3ccf81 DEVPHASE of an actual gcc release is empty. do that. 2011-06-28 04:22:17 +00:00
mrg
4b23c5af8a - libmath is gone.
- add a bunch of file-specific CPP and compiler directives necessary.
  with a sucessful mknative-gcc run, this appears to run.  haven't yet
  confirmed that the resultant library is usable.
2011-06-28 04:08:57 +00:00
mrg
cfddc529b5 adjustments for GCC 4.5 src include path changes. 2011-06-28 04:07:36 +00:00
mrg
188cbb4343 add the path to has_set file. 2011-06-28 04:07:04 +00:00
mrg
6a253ff1f1 add _floatundixf to the normal list. fix the G_EXTRA_HEADERS. from chuq. 2011-06-28 04:03:56 +00:00
mrg
c415c98518 libstdc++-v3/libmath subdir is gone. 2011-06-28 04:03:16 +00:00
christos
d2b7346773 delint 2011-06-25 20:27:01 +00:00
christos
67995da767 add missing paren 2011-06-25 20:13:03 +00:00
christos
478d1edef4 It is a lot nicer to getenv() what you need once and makes the code a lot
more readable.
2011-06-25 17:13:34 +00:00
mrg
9332c044e4 run mknative-gcc for amd64 and GCC 4.5.
this is only enough to build crtstuff, libgcc* and libobjc.
2011-06-24 05:31:36 +00:00
mrg
9ae752839c update this for GCC 4.5's libiberty. 2011-06-24 05:28:48 +00:00
mrg
4f89948c93 - fix the path for GCCARCH and GCCARCH
- force DEVPHASE to "release"
-
2011-06-24 05:27:57 +00:00
mrg
0c1f7b8a8f look in the right path for auto-host.h 2011-06-24 05:26:06 +00:00
mrg
04291615b1 look in the right path for defs.mk. 2011-06-24 05:25:24 +00:00
mrg
d186a20caf add a README to describe how to port GMP build framework, and a script
to parse the GMP ./configure output and generate part of a makefile.

move all the mpn build stuff into the MD part of the framework, and
update the amd64 port to build all the parts it should.

XXX: amd64 build fails to preprocess redc_1.asm gcd_1.asm mod_1_4.asm,
XXX: so we're using the generic C versions for now.
2011-06-24 03:50:23 +00:00
riz
fa44c6496c Remove a noisy debugging printf that triggers on bigendian platforms.
(Reported upstream as well)
2011-06-23 16:12:36 +00:00
mrg
2dfe08e57e fix some more paths for GCC 4.5. 2011-06-23 12:16:36 +00:00
mrg
51c8ec53ea make this work with mknative-gcc:
- libgcc.mvars only depends upon config.status/Makefile, not any built thing
- copy the unwind.h creation rule into a separate target, just for mknative-gcc
2011-06-23 12:11:24 +00:00
mrg
b9124e5a28 make this build on amd64.
XXX: need to confirm that all the objects are built but this is
XXX: enough to make GCC happy.
2011-06-23 12:09:30 +00:00
mrg
eecc4c450e don't try to declare alloca() (wrongly) on netbsd. 2011-06-23 12:07:41 +00:00
mrg
8049a32395 fix a bunch of paths to look in the right places for gcc 4.5. 2011-06-23 11:47:12 +00:00
mrg
a35e5c5d02 fix the file list and make this work. 2011-06-23 04:39:24 +00:00
mrg
0e6b883dda fix this to actually build and seem to work. 2011-06-23 04:38:36 +00:00
mrg
840a879e5b port this change from our gcc 4.1 tree. not entirely sure it's correct
yet, but not yet able to test ...

revision 1.5
date: 2011/04/10 16:50:18;  author: joerg;  state: Exp;  lines: +2 -2
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.
2011-06-22 05:15:15 +00:00
mrg
65a1c6301f avoid installing limits.h and friends. 2011-06-22 05:14:26 +00:00
mrg
c64370a6d5 fix a potential off-by-two array overflow found by GCC 4.5.3. 2011-06-22 03:59:49 +00:00
mrg
16c29695a3 use %option noinput since we need it. found by GCC 4.5.3. 2011-06-22 03:58:51 +00:00
mrg
1f2368609b remove an always true test found by GCC 4.5.3. 2011-06-22 03:58:24 +00:00
mrg
c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
nonaka
b1a8984138 fix typo. 2011-06-21 11:42:20 +00:00
mrg
5b5d810159 this needs %option noinput. thanks to martin. 2011-06-21 09:34:54 +00:00
mrg
f90498bd01 pull across these revisions from gcc 4.1:
configure:
revision 1.12
date: 2011/03/10 15:14:49;  author: skrll;  state: Exp;  lines: +1 -1
Look for TLS on hppa on netbsd.

configure.ac:
revision 1.11
date: 2011/03/10 15:14:49;  author: skrll;  state: Exp;  lines: +1 -1
Look for TLS on hppa on netbsd.
2011-06-21 07:39:18 +00:00
mrg
1c4baf8439 pull across these revisions from gcc 4.1:
revision 1.8
date: 2011/06/11 00:57:29;  author: matt;  state: Exp;  lines: +2 -0
If we are compiling -msoft-float, define _SOFT_FLOAT

revision 1.7
date: 2011/03/12 07:57:38;  author: matt;  state: Exp;  lines: +3 -1
Define HAVE_AS_TLS until our build tools figure out how to do it.

revision 1.6
date: 2011/02/25 22:36:10;  author: matt;  state: Exp;  lines: +7 -0
Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".

revision 1.5
date: 2011/02/10 07:18:29;  author: matt;  state: Exp;  lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:31:13 +00:00
mrg
1c860480c9 pull across these revisions from gcc 4.1:
revision 1.21
date: 2011/01/23 06:29:52;  author: matt;  state: Exp;  lines: +1 -1
Default mips64 to softfloat.

revision 1.22
date: 2011/02/10 07:18:29;  author: matt;  state: Exp;  lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:28:44 +00:00
mrg
76a21f6aa5 pull across these revisions from gcc 4.1:
revision 1.9
date: 2011/04/15 13:42:22;  author: joerg;  state: Exp;  lines: +2 -1
Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.

revision 1.8
date: 2011/04/10 21:25:56;  author: joerg;  state: Exp;  lines: +1 -0
Add back a stylish new line.

revision 1.7
date: 2011/04/10 16:50:18;  author: joerg;  state: Exp;  lines: +20 -12
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.


adjust the paths to gcc-4.5, and add an XXX note about this ugliness.
2011-06-21 06:54:27 +00:00
mrg
aaaade9e8e pull across from gcc 4.1:
revision 1.2
date: 2011/02/05 00:37:40;  author: joerg;  state: Exp;  lines: +2 -2
Explicitly use template to allow building with the more strict
template lookup in clang. From FreeBSD.
2011-06-21 06:22:06 +00:00
mrg
1e4c47b919 pull across from gcc 4.1:
revision 1.2
date: 2011/05/25 15:51:55;  author: joerg;  state: Exp;  lines: +2 -2
Don't define explicit instantiation as inline.
2011-06-21 06:18:56 +00:00
mrg
3b87de1dcf move the gcc 4.5 usr.bin build makefiles to the right place. 2011-06-21 06:03:13 +00:00
mrg
f0c80e6ced *sigh* move these files into the directories i meant for them to exist in.
start actually porting to gcc 4.5 in the process.
2011-06-21 06:02:25 +00:00
mrg
c6121f4c92 remove stuff from the wrong directory. oops. 2011-06-21 05:34:50 +00:00
mrg
6c3d0727c9 front end to build gcc 4.5 components 2011-06-21 04:53:33 +00:00
mrg
8dbf0d5bb3 prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45 2011-06-21 04:52:49 +00:00
mrg
b7268f61f6 build stuff for mpc, mpfr and gmp. mpfr is mine, the others are from chuq.
XXX: i don't think gmp works yet.  it wants multiple files with the same
basename but in different subdirs to link into one library...
2011-06-21 04:23:56 +00:00
mrg
d0fea80e35 add a NetBSD_DISABLED rule for cfns.h. 2011-06-21 04:14:34 +00:00
mrg
0c72853741 add some "NetBSD_Disabled*" rules to avoid r/o src tree build issues. 2011-06-21 04:03:33 +00:00
mrg
2a3bc70d3b import the non-arch specific makefiles we use to build GCC 4.1
as a base reference.
2011-06-21 02:48:27 +00:00
mrg
2f4e9d03df merge forward our changes into the GCC 4.5.3 tree. mostly from chuq. 2011-06-21 02:41:35 +00:00
mrg
0a0dd75b65 add some XXX'd -Wno-foo if HAVE_GCC >= 45.
XXX: someone should look at these.
2011-06-21 02:32:55 +00:00
mrg
4fee23f98c initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerous
to review, please see http://gcc.gnu.org/gcc-4.5/changes.html (and the 4.2,
4.3 and 4.4 versions, too.)

this includes the core, c++, objc and the non java/ada/fortran parts of the
testsuite.
2011-06-21 01:19:41 +00:00
mrg
493d341048 various build fixes for gcc 4.5. from chuq. XXX i'm not sure all of
these work properly wtf pointer aliasing, but there are no casts at
least...

the lib/libpuffs/puffs_priv.h is definately a real bug fix.

from chuq.
2011-06-20 09:11:16 +00:00
mrg
75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
mrg
51c586b89d initial import of GMP 5.0.2.
GNU MP is a library for arbitrary precision arithmetic, operating on signed
integers, rational numbers, and floating point numbers.  It has a rich set
of functions, and the functions have a regular interface.

GMP is necessary for GCC >= 4.2.
2011-06-20 05:54:29 +00:00
mrg
efee5258bc initial import of MPRF 3.0.1.
The MPFR library is a C library for multiple-precision floating-point
computations with exact rounding (also called correct rounding).  It is
based on the GMP multiple-precision library and should replace the MPF
class in further releases of GMP.

GCC >= 4.2 requires MPFR.
2011-06-20 05:53:01 +00:00
mrg
d43cffdfe2 initial import of MPC 0.9 package.
MPC is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as MPFR.

GCC >= 4.2 requires MPC.
2011-06-20 05:50:19 +00:00
kardel
2734092359 fix lineedit functionality. ntpq and friends would just exit on empty lines
which is not intended - there is a quit command for that purpose.
2011-06-19 15:58:07 +00:00
joerg
5a5f3047c5 Properly use a format string. 2011-06-16 14:57:22 +00:00
jmmv
193dd4527d Pull up part of revision f621bc0489ac3e4ef364f840a852a6a5290e8e12:
-----
Only silence stdin for test programs

atf-check is expected to accept data in its stdin, and a previous change
broke this behavior.
-----

This should fix a few tests that broke during the 0.14 import.  In
particularly, the tests in libc/stdlib and libc/ssp that redirect stuff
to atf_check.
2011-06-15 08:48:35 +00:00
christos
506691b53b remove merge botch. 2011-06-15 01:45:16 +00:00
jmmv
1a674c628c Update reachover build files for atf-0.14. 2011-06-14 15:27:11 +00:00
jmmv
1d706b8151 Post-import merge of atf-0.14. 2011-06-14 15:26:20 +00:00
jmmv
5055cfd6b9 Import atf-0.14:
Experimental version released on June 14th, 2011.

* Added a pkg-config file for atf-sh and an aclocal file to ease the
  detection of atf-sh from autoconf scripts.

* Made the default test case body defined by atf_sh fail.  This is to
  ensure that test cases are properly defined in test programs and helps
  in catching typos in the names of the body functions.

* PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero.
  This provides more consistent results with "normal" execution (in
  particular, when tests are executed detached from a terminal).

* Made atf-run hardcode TZ=UTC for test cases.  It used to undefine TZ, but
  that does not take into account that libc determines the current timezone
  from a configuration file.

* All test programs will now print a warning when they are not run through
  atf-run(1) stating that this is unsupported and may deliver incorrect
  results.

* Added support for the 'require.files' test-case property.  This allows
  test cases to specify installed files that must be present for the test
  case to run.
2011-06-14 15:23:20 +00:00
roy
01c853e7fd Sync 2011-06-13 11:07:50 +00:00
roy
d8775c93d6 Import openresolv-3.4.2 with the following fix:
* Use printf(1) correctly
2011-06-13 11:05:19 +00:00
rmind
1ab522108e Fix ZFS build. 2011-06-12 14:47:20 +00:00
mrg
b156c02e66 v_interlock is now a pointer to kmutex_t, use it as one.
fixes many of the 5.99.53 build issues in zfs, but not all of them.
2011-06-12 04:43:11 +00:00
christos
7267577190 turn on printf warnings for all the printf-like atf functions. 2011-06-11 18:03:57 +00:00
joerg
7ee80c6f6e Update LLVM/Clang snapshot to 132736. This fixes two situations where
libraries could end up with text relocations.
2011-06-08 08:48:38 +00:00
joerg
cbfa018ce3 Add () that match operator order. 2011-06-07 20:04:32 +00:00
plunky
5e99487c50 make PCC_DEBUG a global flag (will not compile without, currently) 2011-06-07 13:30:35 +00:00
plunky
43d2b2a329 use better method of creating version string, current method can
introduce spurious " characters during stringification
2011-06-07 13:07:26 +00:00
spz
1bddfb5091 fix up OPENSSL_VERSION_NUMBER check for entropy_add so it deals with the
current situation. Compile-checked by dholland, thanks.
2011-06-06 05:40:34 +00:00
tsutsui
5fbf2258b9 Handle implicit library dependency for static builds:
- libheimbase is required by libkrb5
 - libwind is required by libhx509
2011-06-04 02:08:50 +00:00
plunky
82bbedc657 INCLUDEDIR and LIBEXECDIR only need to be defined for the
pcc front end
2011-06-03 13:31:25 +00:00
plunky
f56267db07 sterilise the environment before running configure 2011-06-03 08:56:39 +00:00
hans
f559331e26 include config.h 2011-06-01 15:52:48 +00:00
joerg
cd92498901 Update LLVM/Clang to r132395. This brings the usual set of improvements
and support for dependency tracking in tblgen. Use this to make updates
more robust.
2011-06-01 14:13:41 +00:00
pgoyette
ea5a6926a5 Add missing semicolon so it compiles 2011-05-30 18:47:27 +00:00
joerg
f795474780 Hack for clang to workaround non-ICE CMSG_SPACE used in union. 2011-05-30 16:24:13 +00:00
joerg
9692a5355f Hacks for CMSG_SPACE() not being an ICE 2011-05-30 16:20:58 +00:00
joerg
015f3042c3 Pull in report.c, 1.107 from upstream:
Use offsetof() macro and avoid defining dummy static union for FIELD()
macro.  Makes it compilable by clang compiler.
2011-05-30 16:03:02 +00:00
joerg
28050549eb Ignore warnings when building with clang for now. 2011-05-30 14:41:26 +00:00
spz
f93f010473 merge 9.8.0-P2:
- fixes CVE-2011-1910: Large RRSIG RRsets and Negative Caching can crash named
- fixes CVE-2011-0414: bind lockup during IXFR
- return a more correct error in case of policy violation

bump version of libdns and libisc
2011-05-29 15:17:08 +00:00
christos
abe8ec29d9 Handle string concatenation in terms:
'{ print "foo" > "file" ".txt"; }',
2011-05-28 15:13:04 +00:00
spz
fc67f3fcc1 Import bind 9.8.0-P2 2011-05-28 06:52:27 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
joerg
fe030aa0ad Fix formatting of time_t 2011-05-24 16:03:15 +00:00
joerg
c219644b8d Fix printing of time_t 2011-05-24 15:51:00 +00:00
joerg
89c5df97d0 Fix another format string 2011-05-24 15:44:28 +00:00
joerg
43d31a906a Fix format string 2011-05-24 15:30:31 +00:00
joerg
8d430e7070 Provide correct GCC_NORETURN 2011-05-24 13:48:16 +00:00
joerg
320b4cf47a Make a gross hack nice enough to not trigger warnings with clang. 2011-05-23 22:39:25 +00:00
dsl
5415722580 Add explicit -lfoo for libraries that are required because of NEEDED
entries in other libraries.
This avoids a bug in 'ld' which causes it to look in the directory
specified by the RPATH entry (in the library with the NEEDED entry)
without adding the directory supplied by --sysroot.
When the RPATH entry in blindly folloed the link is done w.r.t the
systems own libfoo.so which may be missing some symbols.
(Or might have a wrong sized data area that would need copying
into the programs (or other libraries) data space.)
ld also seems to add a NEEDED entry for these libraries directly
into the program binary - this doesn't seem right to me.
Fixes my build where the installed libX11.so is dated from 2009.
CVS :----------------------------------------------------------------------
2011-05-23 17:44:41 +00:00
joerg
2f9aafde9d Use the static inline for the body as well. 2011-05-23 15:23:24 +00:00
christos
b3030fe685 need to include in fb. 2011-05-23 02:48:48 +00:00
christos
4c91249bf3 fix name 2011-05-22 16:08:48 +00:00
plunky
1c3db706be provide endian information to libpcc
(shame this doesn't use the same TARGET_XXX_ENDIAN
definition as the rest of the sources)
2011-05-22 12:01:26 +00:00
plunky
e73fc4c682 let external.h be built as a side effect of external.c, as
listing it explicitly means that mkext is run concurrently
twice when MAKE_JOBS > 1
2011-05-22 11:53:46 +00:00
tsutsui
6bab75db1a Rename xorg.conf in the xserver set to xorg.conf.sample to avoid
overwriting a possibly modified user config file.  Suggested by jmmv@.
2011-05-21 11:38:52 +00:00
tsutsui
8e8df817c6 Add RCSId. 2011-05-20 16:35:38 +00:00
plunky
762c58f13a simplify PCC inclusion; MKPCCDMDS is not really required 2011-05-20 16:02:21 +00:00
joerg
7fb15e5d28 Update LLVM/Clang snapshot to create the correct relocation when memory
locations are used as immediates on AMD64.
2011-05-20 13:40:04 +00:00
tsutsui
2d893f8c1e Add sample xorg.conf file for zaurus. 2011-05-20 08:40:04 +00:00
msaitoh
56f5ce9baa Add support for 6050(6250 and 6150) and 6005(6205).
TODO: update iwn.4 manpage.
2011-05-20 01:59:14 +00:00
joerg
7845a1c161 Update LLVM/clang snapshot for support of -Wa,--fatal-warnings in the
integrated assembler
2011-05-19 21:06:01 +00:00
plunky
72323ee0ff add -Dlseek64=lseek to fix the build in geode_msr.c 2011-05-18 20:55:09 +00:00
macallan
feea15727f wsfb is no longer borked 2011-05-17 22:29:06 +00:00
joerg
d14e81e4ad Update to LLVM/Clang revision 131404. This includes the fix for asm labels
on builtins (broke longjmp usage) and a better cross-compiling support
in combination with -m32/-m64.

Update configuration to include /usr/include/clang-3.0 in the search
path.
2011-05-16 19:27:47 +00:00
christos
5717128087 - turn on maintainer mode
- disable rules on doc
- regen
2011-05-16 00:23:20 +00:00
christos
77f7462f16 Disable wsfb, uses old loader api that does not exist anymore 2011-05-15 23:42:01 +00:00
christos
4a966d7fec Add include path 2011-05-15 22:55:01 +00:00
christos
475b6e36c5 Add HAVE_TERMCAP_H 2011-05-15 21:35:58 +00:00
christos
e3c101ef06 Add -DHAVE_UNISTD_H 2011-05-15 21:32:47 +00:00
christos
10bda8c1e8 Add defines to get the proper prototypes in place. 2011-05-15 21:25:33 +00:00
christos
dc8891d19c add HAVE_VASPRINTF so that we use it. 2011-05-15 21:19:20 +00:00
christos
cc7fbb210a repeat; fix same mistake from libXaw that broke wide build. 2011-05-15 21:09:30 +00:00
christos
aa795f85d1 fix wide char support; don't use the wrong macro names. 2011-05-15 21:05:12 +00:00
christos
4e14e91053 fix missing prototypes. 2011-05-15 18:33:33 +00:00
christos
72b8fabea7 Add missing prototype. 2011-05-15 17:52:41 +00:00
christos
2c52b012a9 missing string.h 2011-05-15 01:16:29 +00:00
christos
3326babf00 copy from misc directory 2011-05-15 01:13:29 +00:00
joerg
4e20b7f563 Provide correct builtin search path for amd64's -m32 mode. 2011-05-14 22:27:58 +00:00
christos
5d62bbf09c remove dup code. 2011-05-13 21:15:34 +00:00
christos
2344ff9853 resolve conflicts 2011-05-13 01:52:12 +00:00
christos
5ccaa8c050 from ftp.astron.com.
- many security related fixes
- no MAXPATHLEN limits
- fixed missing text specification on ascii magic
- new ``pascal'' style string formats
- whitespace comparison fix
- more magic
2011-05-12 20:46:28 +00:00
joerg
46f5119e40 Update LLVM and Clang snapshot 2011-05-12 14:56:22 +00:00
tron
72a05cf740 Import Postfix 2.8.3:
Postfix releases 2.8.3, 2.7.4, 2.6.10 and 2.5.13 are available. These contain
a fix for CVE-2011-1720 which affects Postfix SMTP server configurations that
use Cyrus SASL authentication. Besides full releases, patches are available
for Postfix 1.1 and later.

This defect was introduced with the Postfix SASL patch, and is present in all
Postfix versions where the command "postconf mail_release_date" reports a
value of 20000314 (March 14, 2000) or greater.

Note: CVE-2011-1720 does not affect Postfix SMTP servers that use Dovecot
SASL authentication. It also does not affect the common Postfix SMTP server
configurations that use only Cyrus SASL mechanisms PLAIN and LOGIN.

More details will be available at http://www.postfix.org/CVE-2011-1720.html.
2011-05-11 09:10:01 +00:00
taca
0b00ab0979 Apply fix by BIND 9.8.0-P1: https://www.isc.org/CVE-2011-1907. 2011-05-06 15:28:19 +00:00
christos
da96ddd961 PR/44928: Henning Petersen: Remove missing include dirs in Makefile.inc 2011-05-02 19:04:54 +00:00
tron
09880ffbca Remove (off by default) option to build Postfix with Cyrus SASL support.
As "libsasl" integration can now be considered stable it is no longer
necessary to suppor this hack.
2011-04-29 15:21:44 +00:00
plunky
03a0366bc0 build mkext with the same flags as ccom (lack of -DGCC_COMPAT in
particular, but add -Dos_ and -Dmach_ just in case)
2011-04-29 08:33:02 +00:00
macallan
86df5467cf only default to wskbd where we used to do so with Xorg -configure and where
we know the kbd driver has a translation map
2011-04-28 23:28:11 +00:00
rjs
bb870dae98 Add cache module to the build.
Fixes PR/42809.
2011-04-23 15:26:05 +00:00
adam
6eea015c15 Added postgresql-license 2011-04-22 08:19:25 +00:00
drochner
eefdc5052a fix V->version flag 2011-04-20 10:10:32 +00:00
christos
305cf7b18b PR/44876: Aleksey Cheusov: awk: incorrect return value of function srand()
Make it return the value of the previous random seed as the standard mandates.
2011-04-18 15:23:28 +00:00
martin
518b4814dd Hint from dsl: make sure to have the /etc/protocols file already open
before doing a chroot() if run as root. Easily done by a setprotoent(1)
call. This is a better (less intrusive) fix for PR bin/44721.
2011-04-17 11:45:40 +00:00
joerg
032ce801a7 Really apply roff.c 1.134 for the conditional stack fix 2011-04-15 22:05:51 +00:00
mrg
905b08a092 regenerate for mipsy mips 2011-04-15 21:25:05 +00:00
joerg
873b4d7d94 Install clang's MD headers into /usr/include/clang-3.0 similar to GCC. 2011-04-15 19:31:06 +00:00
matt
d8543ba5b8 Add bfd_mach_mips_xlr (this is easier than running mknative-binutils and
achieves the same result but it is a hack).
2011-04-15 17:57:39 +00:00
joerg
a5447c9e30 Deal with two cases of name shadowing 2011-04-15 15:50:28 +00:00
joerg
78bc4f7461 Update build glue for mdocml 1.11.1. 2011-04-15 14:36:28 +00:00
joerg
9c655dd9de Merge for mdocml-1.11.1 2011-04-15 13:47:17 +00:00
joerg
48741257dd Import mdocml-1.11.1 with a few additional fixes from CVS:
Merge the libraries into a single frontend, libmandoc.
Iinitial support for eqn(1) functionality.

Additional changes:
Portability fixes (tbl_opts.c 1.11, tbl_layout.c 1.18, tbl.c 1.25)
HTML space fixe (mdocml_html.c 1.163)
ROFF conditional nesting bug (roff.c 1.131)
2011-04-15 13:45:25 +00:00
christos
1d62298ca7 Swap the command and the thread name in the thread view and let the command
be as long as it wants. (Vladimir Kirillov)
2011-04-15 02:05:53 +00:00
pgoyette
3f289807f4 Define bfd_mach_mips_xlr here to fix the build! 2011-04-14 22:19:58 +00:00
macallan
cadb3c7fcd add cg14_cursor.c 2011-04-14 16:50:05 +00:00
plunky
a97ff97089 use HOSTPROG to build the mkext program (which creates external.c and
external.h for ccom) rather than HOST_CC directly.

because PROG and HOSTPROG don't play nicely together, put mkext in its
own SUBDIR
2011-04-14 09:31:25 +00:00
matt
1b9f0bef5f Remove old mfcr/mtcr definitions 2011-04-14 08:05:00 +00:00
matt
1483d2e256 Add bfd_mach_mips_xlr 2011-04-14 08:04:20 +00:00
matt
91f4e65a42 Pull in MIPS XLR (XLS) support from patch in
http://sourceware.org/ml/binutils/2009-01/msg00383.html
This replaces local changes to support some xlr instructions.
2011-04-14 07:49:48 +00:00
macallan
bd3339ab7c pass ${MACHINE} as -D__<whatever> so we can have arch-specific defaults 2011-04-13 16:18:14 +00:00
joerg
f64d82cdeb Extend, not reassign CPPFLAGS. 2011-04-11 22:47:50 +00:00
roy
e21138bdbf Sync 2011-04-06 09:09:05 +00:00
roy
a2af890d85 Import dhcpcd-5.1.12 with the following changes:
* 20-resolv.conf now uses the correct variable for $IF_METRIC
* Exclude interface values when dumping the lease
* Parse static value subnet_mask when it exists instead of deriving from
  ip address
* logger calls now resemble dhcpcd calls to syslog(3)
* Reject offered IP address if INADDR_BROADCAST or INADDR_ANY
* Change the route if source address has changed
* Note the address we are requesting in the broadcast log entry
* When operating on one interface, respect the timeout for in dhcpcd.conf
* Escape | and & characters before passing the value to the shell
  Ensure we set a valid hostname, DNS domain and NIS domain.
  Document the need for input validation in dhcpcd-run-hooks(8).
  Fixes CVE-2011-996
  Based on a patch to dhcpcd-3 by Marius Tomaschewski <mt@suse.de>
2011-04-06 09:06:41 +00:00
jmmv
19180a785c Pull up revision b94e200f2a6ce3d47103339db1f3c8936b7238d3:
Unset TERM when running GDB

GDB inserts some funny control characters in its output when TERM is set to
e.g. xterm.  Workaround this by simply unsetting TERM.

Reported by martin@ and diagnosed by pooka@/martin@.
2011-04-05 17:17:35 +00:00
jmmv
8f2e7abf72 Set LIBISCXX=yes; from joerg@. 2011-04-05 16:37:06 +00:00
joerg
bdc03d8058 Fix typo to embed the right path for N64 2011-04-05 10:48:47 +00:00
agc
13f6fd89a7 get rid of most (but not all) lint on amd64 2011-04-05 06:24:42 +00:00
agc
0b168fdfde remove function parameter names from function prototypes
make the lzf_compress() prototype match the function definition - the
prototype always added the state table argument, although it should be
conditionally compiled in.  use the same cpp magic as in the source
file to prototype the function in the header file.
2011-04-04 20:37:48 +00:00
mbalmer
a5ce577b9d Build the updates ssh-askpass program and add the man page to the xbase set. 2011-04-03 13:29:45 +00:00
rmind
756122ce22 Remove unused M_MOUNT. 2011-04-02 04:57:35 +00:00
jmmv
914575b7d1 Adjust reachover build files with the import of atf-0.13. 2011-03-31 16:45:44 +00:00
jmmv
e7183a7993 Fix import conflicts. 2011-03-31 16:44:17 +00:00
jmmv
eb215e31ca Import atf-0.13:
Experimental version released on March 31st, 2011.

This is the first release after the creation of the Kyua project, a more
modular and reliable replacement for ATF.  From now on, ATF will change to
accomodate the transition to this new codebase, but ATF will still continue
to see development in the short/medium term.  Check out the project page at
http://code.google.com/p/kyua/ for more details.

The changes in this release are:

* Added support to run the tests with the Kyua runtime engine (kyua-cli), a
  new package that aims to replace atf-run and atf-report.  The ATF tests
  can be run with the new system by issuing a 'make installcheck-kyua' from
  the top-level directory of the project (assuming the 'kyua' binary is
  available during the configuration stage of ATF).

* atf-run and atf-report are now in maintenance mode (but *not* deprecated
  yet!).  Kyua already implements a new, much more reliable runtime engine
  that provides similar features to these tools.  That said, it is not
  complete yet so all development efforts should go towards it.

* If GDB is installed, atf-run dumps the stack trace of crashing test
  programs in an attempt to aid debugging.  Contributed by Antti Kantee.

* Reverted default timeout change in previous release and reset its value
  to 5 minutes.  This was causing several issues, specially when running
  the existing NetBSD test suite in qemu.

* Fixed the 'match' output checker in atf-check to properly validate the
  last line of a file even if it does not have a newline.

* Added the ATF_REQUIRE_IN and ATF_REQUIRE_NOT_IN macros to atf-c++ to
  check for the presence (or lack thereof) of an element in a collection.

* PR bin/44176: Fixed a race condition in atf-run that would crash atf-run
  when the cleanup of a test case triggered asynchronous modifications to
  its work directory (e.g. killing a daemon process that cleans up a pid
  file in the work directory).

* PR bin/44301: Fixed the sample XSLT file to report bogus test programs
  instead of just listing them as having 0 test cases.
2011-03-31 16:41:07 +00:00
jmmv
7c248362c1 Pull up upstream revision 648ed6360b2b7cda81a6079b00dc436d09c745b8:
Retry calls that raise file system errors during cleanup

If a test case mounts user-space (puffs/fuse) file systems or spawns
server processes that create pid files, the termination of the
corresponding processes does not guarantee that the file system is
left in a consistent state immediately.  The cleanup routines of both
components (file systems and daemons) may still be running.

This situation causes a race condition between the termination of the
auxiliary processes and our own file system cleanup: the file system
calls performed from within the cleanup routine may raise errors
because the file system is still changing underneath.  (E.g. we first
enumerate the contents of a directory and get file X, but when we
attempt to delete file X, it may be gone.)

Deal with this by retrying failing file system calls a few times and
ignoring "expected" errors before giving up.
2011-03-30 11:10:56 +00:00
joerg
6b0a585bda Catch up with library roulette in lli. Allow LLVM_DEVELOPER to be set in
mk.conf. From Vladimir Kirillov.
2011-03-28 11:41:48 +00:00
plunky
b700da1ddc move building of Xorg server into a SUBDIR since it is created from
the other subdir contents, ok by mrg@

(this makes "make all" and "make dependall" do the same thing)
2011-03-28 10:08:06 +00:00
jmmv
8d1a945c66 Enable the execution of pkg_config_test; it has been present for a while
and it is even being built and installed already.

Partial pull up of 0930d2c3f44a9c8fcaf0a960ab51c5e8f320684d.
2011-03-24 19:50:30 +00:00
tron
f2fcdb20a6 Resolve conflict from last import. 2011-03-23 19:10:44 +00:00
tron
7196e8ad9c Import Postfix 2.8.2. Changes since version 2.8.1:
- Bugfix: postscreen DNSBL scoring error.  When a client disconnected
  and then reconnected before all DNSBL results for the earlier
  session arrived, DNSBL results for the earlier session would be
  added to the score for the later session. This is very unlikely
  to have affected any legitimate mail.
- Workaround: the SMTP client did not support mail to [ipv6:ipv6addr].
2011-03-23 19:06:45 +00:00
joerg
6133b91485 Update LLVM/clang snapshot. This brings much improved support for
--sysroot and a cross-compiling toolchain.
2011-03-21 16:50:12 +00:00
joerg
73a4306de0 Update LLVM snapshot. This allows deriving the target from the binary
name, provides a proper CPP mode and fixes a number of compat issues
in the integrated assembler.

Build the toolchain compiler optimized and without assertions now.
2011-03-18 23:32:01 +00:00
dyoung
6d2b55b6aa Obey MKNLS=no. 2011-03-18 19:45:27 +00:00
plunky
e411304db7 disable use of gcc-specific "label as values" feature for HAVE_PCC 2011-03-18 10:50:36 +00:00
jmmv
2dad8b2ada Pull up revision 3dd2481ec97b2fde76521939b6451d03ce989745 from upstream:
Really kill subprocesses of a test case before waiting for its completion

Before waiting for any leftover output of the test case after it terminates,
we must ensure that all of its subprocess are really, really dead.  Otherwise,
these subprocesses may be sharing the stdout of the test case, in which case
our wait will block (potentially indefinitely).

This finally (well, hopefully) fixes some random lockups exposed by the
NetBSD test suite.  Reported by Antti Kantee after
tests/fs/vfs/t_full:p2k_ffs_fillfs was exposing this problem in a pretty
reproducible manner.
2011-03-17 19:45:36 +00:00
plunky
053a270202 don't need to supply __myservername__ and __myxconfigfile__ as they
are generated internally from __xservername__ and __xconfigfile__
2011-03-15 19:54:14 +00:00
joerg
e2e40b270e Don't define acl_alloc and acl_free during kernel builds.
Fixes module build with clang.
2011-03-15 00:48:04 +00:00
mrg
8889ca3451 clean up the glsl generated files. 2011-03-13 04:48:53 +00:00
tron
dcb81cebe2 Disable SSP warnings for a few files to make this build with "USE_SSP=yes". 2011-03-12 14:19:25 +00:00
plunky
1f8f907975 in order that generated MAN files are cleaned up, bsd.x11.mk needs
to be included after the MAN= assignment. Then we need to explicitly
include bsd.own.mk before .PATH to get the value of X11SRCDIRMIT
2011-03-12 12:15:46 +00:00
christos
cad4076f90 - use our vis (maybe I'll implement strnvis soon, but not now)
- WARNS=4
2011-03-12 03:02:58 +00:00
pooka
eb63257707 adjust some pretty likely broken assertion (stksize is hardcoded
from caller, but not used here).  now zpool doesn't cause a
kernel crash anymore.
2011-03-10 19:35:24 +00:00
pooka
3140523bc0 pass in correct variable, the old code can't possibly be correct. 2011-03-10 19:32:39 +00:00
wiz
71069b9636 It's tcpdump(8), not (1).
From Anon Ymous.
2011-03-10 17:11:17 +00:00
jmmv
a3fddfa529 Enable the build of tmux and add the necessary directory and file entries. 2011-03-10 13:16:57 +00:00
jmmv
eb9405a694 Add reachover Makefiles for the build of tmux. 2011-03-10 09:18:00 +00:00
jmmv
698d5317f6 Initial import of tmux-1.4:
tmux is a "terminal multiplexer".  It enables a number of terminals (or
windows) to be accessed and controlled from a single terminal.  tmux is
intended to be a simple, modern, BSD-licensed alternative to programs
such as GNU screen.

The import of tmux is intended to replace window(1) in the not-too-distant
future.  For reference, tmux is also present in the base system of FreeBSD
and OpenBSD.

Approved by core@.
2011-03-10 09:15:36 +00:00
jmmv
9e4aec07e1 Add instructions and a helper script to import tmux. 2011-03-10 09:10:41 +00:00
riz
3406e189a5 #include <sys/debug.h> (from the ZFS sources) so that ASSERT() is
defined, and we don't get problems like kern/44430.  This is
more a workaround than a fix, but at least I can load zfs now.

ok haad@
2011-03-09 23:55:46 +00:00
riz
c29d7160e5 If the config is zero size, don't try to read it.
OK haad@
2011-03-09 23:49:06 +00:00
plunky
a7983e8a67 source files are scan.l and parse.y
in particular, parse.y was being processed twice.. with one
process leaving a y.tab.h file behind

no need to explicitly add scan.c, parse.c and parse.h to CLEANFILES,
the framework knows they are generated and will remove them
2011-03-08 19:25:32 +00:00
mrg
722355d60d install xorg-server.m4 at the request of jmcneill. 2011-03-06 22:15:29 +00:00
jmcneill
24ab1c235e match up libXi sources with those from libXi Makefile.am -- lots were
missing, including all of XI2 sources!
2011-03-06 04:10:55 +00:00
mrg
724b4b6ca1 set build_libtool_libs to "yes" so that enable_shared=yes gets into
freetype-config.  part 1 of 2 to fix "freetype --config" not emitting
any rpath directives.
2011-03-06 00:59:18 +00:00
matt
d4e4f7a60a Use static libdm so dmsetup and lvm can be linked dynamically.
Change LIBDM_* to LIBDEVMAPPER_* so LIBDM can refer to libdm.
2011-03-04 22:48:29 +00:00
pooka
58ecd47e2f Apply "silence, please!" to '(no debugging symbols found)'
spammed by gdb.
2011-03-04 09:04:06 +00:00
nakayama
c09c2a7b34 Fix build on Solaris 10. 2011-03-03 14:53:01 +00:00
tron
56bb44cae5 Build new Postfix components dnsblog(8), postscreen(8) and tlsproxy(8)
and install new documentation files.
2011-03-02 22:24:55 +00:00
tron
c1bec41104 Fix build of Postfix 2.8.1. 2011-03-02 20:12:29 +00:00
tron
d14acb8d0b Resolve conflicts from last import. 2011-03-02 19:56:37 +00:00
tron
ff6d749d99 Import Postfix 2.8.1. Changes since version 2.7.*:
Postfix stable release 2.8.0 is available. This release continues the
move towards improving code and documentation, and making the system
better prepared for changes in the threat environment.

The postscreen daemon (a zombie blocker in front of Postfix) is now
included with the stable release. postscreen now supports TLS and can
log the rejected sender, recipient and helo information. See the
POSTSCREEN_README file for recommended usage scenarios.

Support for DNS whitelisting (permit_rhswl_client), and for pattern
matching to filter the responses from DNS white/blacklist servers
(e.g., reject_rhsbl_client zen.spamhaus.org=127.0.0.[1..10]).

Improved message tracking across SMTP-based content filters; the
after-filter SMTP server can log the before-filter queue ID (the
XCLIENT protocol was extended).

Read-only support for sqlite databases. See sqlite_table(5) and
SQLITE_README.

Support for 'footers' that are appended to SMTP server "reject"
responses. See "smtpd_reject_footer" in the postconf(5) manpage.
2011-03-02 19:31:23 +00:00
pooka
fa9fc06b7a In case we get a coredump from a test, autorun gdb to produce a
stacktrace (or whatever gdb can give us, which unfortunately is
usually not that much).
2011-03-02 16:47:04 +00:00
plunky
6f9d62f062 avoid preprocessor directives in macro arguments
has been committed upstream at

    http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git;a=blobdiff;f=src/ap/wpa_auth.c;h=7ad60a23d999082a00e9be672d4b55a19c46a4bb;hp=13e8ec43895a67d6d825b5c2a199499232dbafcb;hb=8ce58ceb250f101ee66682a4149cc652a30a74da;hpb=73304dbf65c3da859b1c51e6be32457e9ec9932d
2011-02-27 18:07:42 +00:00
wiz
5455c66573 Lots of small fixes, so mdoclint is happy. 2011-02-27 14:01:42 +00:00
plunky
23092b13ed since the mDNSResponder daemon is installed as mdnsd, there is some
confusion in the manpage. Not to mention the examples including
commands that don't exist on NetBSD (killall, sudo), so do a bit of
cleanup (and don't copy from dist, just keep it here)

mDNSResponder -> mdnsd
mdnsd -> mDNSResponder
mDNS -> dns-sd
killall -> pkill
% sudo -> #
syslog(8) -> syslogd(8)
example for syslog -> /dev/null
Xr for pkill, syslogd, dns-sd
2011-02-27 13:05:38 +00:00
plunky
a9e881356e the original mDNSResponder.8 manpage, for reference 2011-02-27 13:01:05 +00:00
gdt
c93631d028 Don't copy ntpq.1 to ntpq.8 before overwriting it.
"foo > bar" fails when bar is mode 444, and files copied from the
source tree should be expected to perhaps be read only.  However, the
copy should have been removed when the sed was added.  And, it never
should have been "@"; suppressing it made debugging this harder than
it should have been.
2011-02-27 12:42:44 +00:00
plunky
f4ffd55a5b setting USE_FORT=yes means that memmove() becomes a macro, and the
#ifdef inside the macro arguments is undefined behaviour (pcc reports
a syntax error)

This was fixed upstream so change this to be the same as the 4.2.6p3
stable release of ntp (can't find an actual changelog entry that
describes this, so have included the memcpy change also - memmove
is not required here)
2011-02-27 12:10:18 +00:00
plunky
e9bb66e7cf clean up man files copied during build
also.. while we are putting the pages into different sections,
lets change the manpage contents to reflect that
2011-02-26 19:17:37 +00:00
mrg
8816a0ba06 add missing x11-xcb.pc. 2011-02-26 09:27:20 +00:00
mrg
d507ad9bb4 build Xge now that it builds, bump the minor. 2011-02-24 08:18:40 +00:00
mrg
3706e3a97f libxcb depends upon libXau. 2011-02-24 08:15:13 +00:00
mrg
eef460d389 move libxcb earlier than libX11, which now wants to link against it. 2011-02-23 20:03:58 +00:00
mrg
eba43c4a50 enable USE_XCB in libX11.
install missing libX11-xcb and Xlib-xcb.h.
2011-02-23 07:53:28 +00:00
mrg
3bade72918 libxcb doesn't need or want to link against libXaw. avoids
implicit cyclic dependancy loops, which crash rtld right now.
2011-02-23 06:04:31 +00:00
joerg
213144e1de Update LLVM/Clang snapshot. This brings improvements for the integrated
assembler and support for -cxx-isystem in the driver.
2011-02-23 03:09:02 +00:00
sborrill
d66709fd74 Update HISTORY to show that iscsifs was in NetBSD 5.0 2011-02-22 17:15:55 +00:00
wiz
68b1a98bc8 Markup fix. 2011-02-22 14:23:37 +00:00
sborrill
75f0848d7d Note limitations of CHAP implementation in BUGS section. 2011-02-22 13:17:20 +00:00
sborrill
cbedc267b9 Skip target if TargetName is empty.
Use relevant TargetAddress, not just first one we happen to find.

Following improvement based on feedback from Daisuke Aoyama (author of istgt):
Handle NOP-OUT CmdSN and immediate bit.
Handle NOP-IN TransferTag=0xffffffff.
Interim solution for dealing with Underflow bit in iSCSI response.

iscsi-initiator now talks to istgt and other targets.

Remaining issues:
CHAP support will not work with most targets (maximum 16 octet challenge is
used, but other initiators use up to 1024). However, CHAP can now be
bypassed by not specifying a username.
2011-02-22 13:10:55 +00:00
sborrill
f7bc64b9db Retry read capacity. Device may not be ready on first access, so need to
wait and re-issue. From Daisuke Aoyama (author of istgt).
2011-02-22 13:04:31 +00:00
sborrill
c3d1c80eb5 Release 20110222 2011-02-22 13:00:05 +00:00
sborrill
83d439db6d Skip .orig files 2011-02-22 12:56:50 +00:00
sborrill
a96e357c94 Document -D option (discover LUNs).
iscsi-initiator was NOT in NetBSD 5.0.
2011-02-22 10:34:12 +00:00
sborrill
ff607cd15b man page claims that you can use auth type = none, but in reality this
didn't work (insisted on a username being given and then used, plus always
advertised CHAP to the target). Make initiator work as advertised (i.e.
defaults to auth type none and so don't require a username).

To use CHAP you should explicitly request CHAP:
iscsi-initiator -a chap -u user -h targetname /mountpoint

For backwards compatibility, if a username is given (-u) and no auth type
is specified (-a), it will default to CHAP, i.e. to use none, just give no
username:
iscsi-initiator -h targetname /mountpoint
2011-02-21 17:48:43 +00:00
sborrill
4fd58d7036 Remove hostname from pathname to storage in mount point.
This means /mnt/mytarget.domain.local/target0/storage is now
/mnt/target0/storage.

Rationale is as follows:
- The hostname used may vary (i.e. name vs FQDN vs IP) which can mess up
  mountpoints (especially across multiple hosts e.g. in a shared xen pool)
- Target name is given in the mount anyway so it is redundant

OK agc@
2011-02-21 17:24:19 +00:00
mrg
5d1c95e7b4 install geometry/sanwa, symbols/ph and symbols/rupeesign. 2011-02-21 05:10:27 +00:00
mrg
b6bcd34d19 define HAVE_GETPAGESIZE. 2011-02-21 05:09:53 +00:00
mrg
1a8c47fa93 find the moved man page from xkbcomp 1.2.1. 2011-02-21 04:54:52 +00:00
mrg
afa05ee8cd define PCVT_SUPPORT ofppc anywhere other ppc platforms do.
part of the way to getting xorg working on ofppc.
2011-02-21 04:42:16 +00:00
mrg
70c2c252ae define HAVE_ASPRINTF and find the moved man page after xrdb 1.0.8 update. 2011-02-21 04:40:55 +00:00
mrg
49ab6df5a5 find config.h and the man page after xbiff updates. 2011-02-21 04:40:24 +00:00
mrg
6edd3eb6b1 build the new evergreen files in xf86-video-ati 6.14.0 2011-02-21 01:01:54 +00:00
jmmv
a3b86068ff Fix the values of atf_arch and atf_machine: the former is supposed to be
the cpu name and the latter the port name.  They had been reversed until
now due to some "smart" stupidity^Wlogic in the upstream configure script,
which is now gone.

This is a pullup of revision f9329ca68da7e8557e0803b5747a12f8c10b1258
plus the corresponding reachover build changes.

Addresses PR bin/44305.
2011-02-20 20:56:34 +00:00
jmmv
4d916cb08c Set DPADD to point to the static versions of libatf-c and libatf-c++ as
appropriate.
2011-02-20 20:18:56 +00:00
ws
191e94cd7e Fix return values.
OK christos.
2011-02-20 19:05:32 +00:00
agc
78b8953550 manual page improvements, from enami tsugutomo, with thanks. 2011-02-20 03:56:36 +00:00
aymeric
be644fb029 merge pkg_install 20110215 2011-02-18 22:36:00 +00:00
aymeric
997253ffc3 Import pkg_install 20110215.
--- 20110215:
Fix audit-history subcommand to include patterns making use of [x-y] notation.

--- 20101212:
Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatches when
pkg_add'ing on NetBSD.

--- 20101122:
Fix crash in pkg_info -X on hand-written packages.

--- 20100915:
Allow https URLs.

--- 20100914:
Add -D flag to pkg_install, to override the "pkg_add -U" check that
all depending packages have their dependencies satisfied by the new
package.  Essentially, split off this particular behavior as a special
case of -f, so that -f works as before, unforced works as before, and
one can give -D to override exactly this check, leaving all other
checks intact.

The -D flag is in support of make replace, as the workflow for make
replace is that inter-package dependencies are sometimes violated (but
then one must replace the depending packages, which is what
pkg_rolling-replace does via the unsafe_depends flags).

Add missing break statement in option parsing of "pkg_add -C", riding
the version bump.
2011-02-18 22:32:27 +00:00
christos
a913237f1e undo the thread and atomic lossage of the import. 2011-02-18 21:25:06 +00:00
jruoho
5f9b9b3433 Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI
for pointing this out.
2011-02-18 17:34:22 +00:00
jmcneill
a22e191681 Get rid of stray /usr/X11R6 references 2011-02-17 23:50:18 +00:00
joerg
daf6c4152f Update LLVM/clang snapshot. This brings in support for
.pushsection/.popsection and fixes clang -B to be incremental.
2011-02-17 18:35:35 +00:00
jruoho
b7ca446498 Fix iasl(8). 2011-02-17 18:26:20 +00:00
joerg
b8e7b32e9a clang is more restrict matching input and output constraints.
Input is long, but used are only the lower 32bit. The cast actually
saves a byte in the output.
2011-02-17 17:14:56 +00:00
wiz
07445f37aa Add .An -nosplit to AUTHORS to avoid a new line for Jukka. 2011-02-17 17:07:55 +00:00
jruoho
1385e1c0d9 Retire src/external/intel-public. 2011-02-17 07:56:37 +00:00
jruoho
1cfc85c6e4 Switch the build to use the new location of ACPICA. 2011-02-17 07:52:10 +00:00
jruoho
ed720dbb6b Add the userspace portion of ACPICA to a new location. 2011-02-17 07:48:16 +00:00
christos
7c272055e8 - merge conflicts
- Fix UNUSED macro to not have "NULL EFFECT"
- Add /*CONSTCOND*/ to while (0) loops
- Change do while (1) loops to for (;;)
- remove stray continue from do while (0) loop.
- remove "" in comments that confuse lint
- fix strict aliases
- fix non ansi prototypes
2011-02-16 03:46:43 +00:00
tron
ad49390408 Move default definition of "PKGROOT" inside the "HAVE_CYRUS_SASL" block
as it shouldn't be used anywhere else.
2011-02-15 23:17:02 +00:00
christos
8e6786bbdd from ftp.isc.org 2011-02-15 19:38:54 +00:00
christos
85662ea508 from ftp.isc.org 2011-02-15 19:28:53 +00:00
christos
99c6c22267 From Anon Ymous:
1) libsaslc is an SASL client only.
2) dovecot is an SASL server only.
3) cyrus-sasl is both a client and a server.
4) postfix allows us to have multiple SASL servers and clients.
5) The SASL server to use at runtime is determined by the setting of
   "smtpd_sasl_type" in main.cf (note that is smtpd_ not smtp_).  If
   that is not set, then it defaults to the value of
   DEF_SERVER_SASL_TYPE at build time, which if not set, defaults to
   "cyrus".  See postfix/dist/src/global/mail_params.h.
6) The SASL client to use at runtime is determined by the setting of
   "smtp_sasl_type" in main.cf.  If that is not set, then it defaults
   to the value of DEF_CLIENT_SASL_TYPE at build time, which if not
   set, defaults to "cyrus".  See postfix/dist/src/global/mail_params.h.
7) If MKCRYPTO is "no", libsaslc will not link as it requires the
   crypto libraries, so libsaslc cannot be enabled (as it was before)
   without crypto.
8) I have made the definition of DEF_CLIENT_SASL_TYPE conditional on
   MKCRYPTO due to (7).  Without crypto it will default to cyrus.
9) HAVE_CYRUS_SASL is _never_ defined during a normal build and _never_
   should be!  It is there for the convenience of users who wish to
   install cyrus-sasl and rebuild postfix with it.  It is also very
   useful for testing if it is suspected that something might be wrong
   with libsaslc.  PLEASE DO NOT REMOVE IT!
2011-02-15 16:19:33 +00:00
matt
c82db00b04 Add NetLogic Fast Messaging instructions 2011-02-14 18:23:35 +00:00
christos
8ee9afa985 fix typos. 2011-02-13 05:45:47 +00:00
christos
ed60d7cf1f change the variable to USE_LIB_SASL that can be set to saslc or cyrus 2011-02-13 05:12:55 +00:00
christos
e0ddd90246 don't hard-code /usr/pkg 2011-02-13 01:53:50 +00:00
christos
326b019630 change the saslc define to USE_ and test against "no" instead of just defined. 2011-02-13 01:50:03 +00:00
christos
44dcb1b9f4 better dependency support for saslc. 2011-02-13 00:41:20 +00:00
christos
18b1a8268b Add SASL client support using the libsaslc(3) library.
From Anon Ymous
2011-02-12 19:07:08 +00:00
jmcneill
02ad07d4f9 Fix mdnsd "ERROR failed to get errsd via SCM_RIGHTS" problem. mdnsd +
nsswitch.conf "multicast_dns" works for me now on amd64.
2011-02-12 17:21:38 +00:00
jmcneill
8433f79cf6 add /usr/pkg/lib/X11/fonts to font directory list 2011-02-12 04:49:19 +00:00
christos
13b2862bfd Tell the groff and friends about libsaslc(3).
Sort and fix whitespace on mdoc.local.
Add libisns to doc2html.
2011-02-11 23:47:49 +00:00
matt
accc87635b Use LIBDPLIBS 2011-02-11 06:35:26 +00:00
tsutsui
e96a78107f Add defintions for ews4800mips and hp300 Xorg servers. 2011-02-09 13:37:48 +00:00
agc
ff0d414d6f Make sure we include <inttypes.h> if we have it. From Rumko. 2011-02-09 00:59:23 +00:00
plunky
6fea4fd6c5 newer pcc front end provides some definitions according to arch,
so provide the TARGMACH definition to the compiler here.

(makes no difference to the currently imported sources, but
will be easier for people wanting to try newer sources)
2011-02-08 18:26:25 +00:00
rmind
8adab6527d Build fix. 2011-02-08 10:45:40 +00:00
haad
0527bde829 Switch libdevmapper library to use libdm as it;s backend lib and do not
communicate with device-mapper directly. Our lvm stack now looks like this
lvm<->libdevmapper<->libdm<->dm where only libdm knows how our dm protocol
looks like.

No objections on tech-userlevel@.
2011-02-08 03:26:12 +00:00
jmmv
773d35b30a Add missing DPADD on libatf-c.a. Spotted by Garrett Cooper. 2011-02-06 19:34:20 +00:00
joerg
48360965f3 Add LLVM and clang build system. It is enabled by MKLLVM=yes.
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
2011-02-06 01:13:42 +00:00
wiz
b7b9012e09 Fix typo, already reported to roy@ 2011-02-04 16:30:32 +00:00
roy
9bcc7aaf5d sync 2011-02-04 15:03:14 +00:00
roy
d70ff484b5 Import dhcpcd-5.2.11
Change from dhcpcd-5.2.10 is a fix for the new routing sockets.
2011-02-04 15:00:22 +00:00
plunky
74756ed73d pcc-current provides a DATESTAMP file, handle that rather than guessing 2011-02-01 20:28:10 +00:00
jakllsch
9d4594cbe9 Re-add LBL_ALIGN define we used to have pre-src/external.
Fixes a tcpdump SIGBUS on ARM.
2011-01-29 23:19:54 +00:00
mrg
017add8611 add a makefile to build xf86-input-synaptics. 2011-01-29 02:32:36 +00:00
cegger
6ca6d96b6b Define HAVE_PCI_DEVICE_IS_BOOT_VGA.
Makes Xorg use of pci_device_is_boot_vga.

First discussed with macallan@ then public on tech-kern@ and tech-x11@
2011-01-22 15:21:37 +00:00
pooka
1c44cbfd96 Don't allow module to init if root is not mounted since the modcmd
wants to traverse the file system.  This *might* fix statically
linking zfs support into the kernel (at least it fixes rump kernel
bootstrap).
2011-01-21 13:08:42 +00:00
pooka
51f08b56c8 fix kobj_open_file_vnode()
patch from haad
2011-01-21 12:24:24 +00:00
drochner
5a190aa53b fix bug introduced in rev. 1.3: need to set the string before
converting it into a numerical value, otherwise we might get junk or crash
2011-01-20 21:26:20 +00:00
drochner
7264233c30 avoid crash if certain operations are done before an input record is
read, ie in a BEGIN rule
2011-01-20 21:23:11 +00:00
jmcneill
79bc66b915 bump libchromeXvMC major to match the other hw libraries to make
libXvMCW happy
2011-01-20 18:55:38 +00:00
jmcneill
8862a9a380 build and install libchromeXvMCPro from xf86-video-openchrome 2011-01-20 18:36:45 +00:00
jmcneill
e9d20a668a descend into libXvMCW 2011-01-19 16:32:12 +00:00
jmcneill
10e6d63e6a Build and install the XvMC wrapper library libXvMCW. 2011-01-19 16:31:23 +00:00
plunky
f5d0a5824d libterminfo needs to come after libedit for static linking
(while here, coalesce LDADD/DPADD lines)
2011-01-19 11:55:50 +00:00
plunky
3b635a0579 add note that the static linking of liblua is intentional
("hidden" symbols need to be reached)
2011-01-19 11:43:18 +00:00
plunky
96e4690f7b link against the dynamic library [liblua.so]
we could link against the static liblua.a here (the Lua dist build
does that) but would need to pass "-Wl,--export-dynamic" to ensure that
all symbols were available, as dlopen() with other modules may cause
problems later.
2011-01-19 11:38:15 +00:00
plunky
74b96c56e3 DPADD for libm too 2011-01-19 11:02:00 +00:00
plunky
29062015ed include libm and libedit in DPADD 2011-01-19 10:17:04 +00:00
plunky
60d4fe2962 add to (rather than replace) CFLAGS 2011-01-19 10:14:49 +00:00
jakllsch
0e0a312232 In case it's too obvious, the libI810XvMC directory is for building the
libI810XvMC library.  Additionally, set list fixes for this and previous
related changes.
2011-01-19 01:52:43 +00:00
jmcneill
668d297175 Install these libraries as version 1.0 instead of 0.0 2011-01-19 00:36:40 +00:00
jmcneill
20618a809d Enable XvMC support for Intel graphics chips 2011-01-18 23:33:50 +00:00
wiz
c1f176e16d Move isns description from dist/groff to usr.bin/groff, where it belongs.
Add isns to mdocml libraries as well.
2011-01-18 09:28:42 +00:00
jmcneill
b2b7e1871b Ensure that HAVE_DIX_CONFIG_H is defined for damageext, dbe, exa, and glx
builds. Fixes recent trouble with the Composite extension, and should fix
some problems with the DAMAGE extension and who knows what else.
2011-01-15 13:54:52 +00:00
jmcneill
dba38226ce only define HAVE_MTRR on x86 2011-01-14 16:04:49 +00:00
haad
c7287ec04b Fix zfs Makefiles + debug, don't add -g by default only when MKDEBUG is
enabled. Fix header assert conflicts + bump WARNS for some libs.
2011-01-13 23:18:23 +00:00
joerg
20d71a1344 Update build system for mdocml-1.10.9. 2011-01-12 23:02:21 +00:00
joerg
6e4753617c Use example.style.css in place of style.css.
Replace $Mdocdate$ with the content in correct order, so that groff
gives proper output.
2011-01-12 23:00:51 +00:00
joerg
f494eb95a3 Merge for mdocml-1.10.9 2011-01-12 22:58:42 +00:00
joerg
c0d9444af1 Import mdocml-1.10.9 and additional post-release bugfixes
(tbl_data.c 1.15, tbl_layout.c 1.13, tbl_opts.c 1.8).

This features many small improvements and the initial integration of
tbl(1) support on all output devices.
2011-01-12 22:57:08 +00:00
jmcneill
b66d32932e HAVE_MMTR -> HAVE_MTRR 2011-01-12 19:04:19 +00:00
haad
c73e2bf000 Use DM_DEVICE_CONTROL_MODE, because mapper/control device should have 660
and not 640 permissions.
2011-01-12 08:16:23 +00:00
kardel
4ba751f5ad make ntp compile for MKINET6=no 2011-01-09 14:49:39 +00:00
macallan
60e66c6f48 define NO_LEGACY_VGA on macppc and sparc64
May be necessary on other ports as well that have PCI but never use VGA text
mode.
2011-01-06 03:29:12 +00:00
haad
912a040b47 Allow operator to use lvm in read-only mode. Switch LVM lock dir to
/var/run/lvm and create it in rc.d/mountcritlocal. Fix dm control device
permissions to allow rw for operator.

Test if we are running lvm commands as operator and if that it's true do not
create vg backups and do not print confusing warning.
2011-01-05 14:57:27 +00:00
jmmv
1b0a12b414 Cherry-pick upstream revision f791048924a1b68da070f17dfd5e5c2d825dd018:
Report bogus test programs in the HTML output

From Paul Goyette in private mail.  Fixes PR bin/44301.
2011-01-05 14:03:08 +00:00
roy
160a96b3e7 Don't build the getline shim anymore as the NetBSD libc getline(3) has
proven itself now.
2011-01-03 11:33:44 +00:00
roy
0524c4d0bb Import dhcpcd-5.2.10 with the following change:
* -r, --request <address> now works again
2011-01-03 11:28:23 +00:00
wiz
7487051d3d Prefix section headers for 1 to 9 with "NetBSD " to match output
for non-HTML pages (i.e. groff ones). Noted by njoly.
2011-01-02 22:03:24 +00:00
mrg
cf66e37cc9 fix a comment 2011-01-02 11:24:20 +00:00
dholland
42bae07fce Remove references to SAVESTART in zfs. 2011-01-02 05:12:03 +00:00
pgoyette
a12cad24be Fix typo - let the build proceed 2010-12-30 00:46:38 +00:00
haad
d52c66bf4a Fix my yesterday fix and finally make _get_dev_size recognise partition size
for device without DIOWEDGEINFO, where DIOCGDINFO is used. Patch tested by
Martin Mersberger.
2010-12-29 23:14:21 +00:00
christos
4817a0b0b8 real override for yacc rules. 2010-12-29 19:53:32 +00:00
haad
d26a38d370 Fix problem where chown was used on normal device in time when only
raw device was created. While here do some cleanup.

Problem find and reported by Martin Mersberger on current-users@.
2010-12-29 10:39:27 +00:00
haad
ca7dbf8cb5 Fix bug added by my last commit. This should fix
PR: bin/44286

Reported by: mlelstv@ and Martin Mersberger.
2010-12-29 00:14:04 +00:00
haad
bec5c61e50 Define vn_getattr in zfs_context.h. 2010-12-28 16:44:45 +00:00
haad
bca088ab45 Fix problem where vnode vp_size was not updated when vndoe was already allocated,
for vdev. This makes ztest survive ztest_vdev_LUN_growth test. Replace dummy
VOP_GETATTR with vn_getattr routine which reset vp_size and vattr_size accordingly
to reality.
2010-12-28 13:36:09 +00:00
jmmv
15dbacd486 Pull up revision 869e092e4986eb5dce90331ca9a64e125d7796eb from mainstream:
Revision: 869e092e4986eb5dce90331ca9a64e125d7796eb
Parent:   cca40eb08e7469dfe9d6ca982613458f24c1de28
Author:   jmmv@NetBSD.org
Date:     12/27/10 21:19:19
Branch:   org.NetBSD.atf.src

Changelog:

Recognize sigabrt in the signal checker

Problem found by Paul Goyette.

Changes against parent cca40eb08e7469dfe9d6ca982613458f24c1de28

  patched  atf-sh/atf-check.cpp
2010-12-27 20:36:17 +00:00
christos
017d3467b1 - don't forget to restore the umask on error.
- save and restore umask for control
- chown/chgrp for raw devices
2010-12-26 14:48:34 +00:00
christos
6f6878df03 defs.h already includes nbtool_config.h, so don't do it twice. 2010-12-25 23:43:30 +00:00
christos
5743e2a045 fix debugging:
- don't print junk for the interface name
- parse and print known rtm messages we get
2010-12-25 20:45:49 +00:00