Commit Graph

1778 Commits

Author SHA1 Message Date
mrg 0f16bb99fb .. also find XMore. 2010-08-14 09:26:46 +00:00
mrg b878ec9e1d cope with XMore.ad -> XMore. 2010-08-14 09:25:35 +00:00
mrg 12c4b3b795 re-enable shapestr.h and syncstr.h, from xextproto 7.1.2. 2010-08-14 08:51:32 +00:00
christos c11bdae3be Merge changes. 2010-08-06 10:58:03 +00:00
christos 68f14ab461 regen 2010-08-05 20:44:53 +00:00
christos 823dc9a3f5 Import bind 9.7.2b1 2010-08-05 19:51:05 +00:00
dogcow e55a8cb745 Fix build on big-endian hosts. 2010-08-05 14:03:17 +00:00
christos 2dfc3344d7 put back libedit support. 2010-08-04 20:29:54 +00:00
tron 635815f258 Don't enable readline support for "wpa_cli" as "libedit" doesn't provide
the necessary rl_on_new_line function.
2010-08-04 19:23:15 +00:00
wiz d6b5d5b6df Comment out recommendation what to use with wlan(4) for ap_scan.
XXX: recommend something for NetBSD!
2010-08-04 19:11:14 +00:00
wiz db8f12390c New sentence, new line. 2010-08-04 19:10:50 +00:00
christos ccfa3bc9c2 Hook wpa stuff 0.7.2 2010-08-04 17:12:33 +00:00
christos 8dbcf02c6b Import wpa_supplicant and hostapd 2010-08-04 10:17:50 +00:00
sborrill e6b018f13d Add missing -h flag to example 2010-08-03 10:24:39 +00:00
kiyohara 984cab17bc Support xserver for bebox. 2010-08-01 06:24:30 +00:00
tsutsui ff0df7ebab Move and sort definitions for legacy MD Xservers per ${MACHINE}. 2010-07-31 15:01:12 +00:00
tsutsui bcff481570 Remove commented out XSERVER_XDREAMCAST lines.
It won't happen but will be supported by Xorg wsfb server.
2010-07-31 14:45:19 +00:00
tsutsui d937dc8bf5 Cleanup per ${MACHINE} if-clause lines for XFree86 servers. 2010-07-31 14:40:05 +00:00
tsutsui 3b6a35ebfd Remove obsolete (commented out) XSERVER_XHPC. 2010-07-31 13:32:23 +00:00
joerg 1f957839c3 Merge mdocml 1.10.5 2010-07-27 22:40:24 +00:00
joerg 7da9b93487 Import mdocml 1.10.5:
- Initial support for PDF output
- Improved support for various roff commands
2010-07-27 22:34:54 +00:00
joerg b299cc5e23 Explicitly depend on dist file 2010-07-26 17:25:31 +00:00
joerg b2c0dd522e Simplify maintainance and query dist's Makefile for VERSION 2010-07-25 19:16:18 +00:00
joerg 8edf0a9894 mdocml 1.10.4 2010-07-25 19:12:57 +00:00
joerg 3d39960c73 Merge mdocml 1.10.4 2010-07-25 19:12:40 +00:00
joerg 82361f106b Import mdocml 1.10.4:
- Smaller bugfixes
- Improved .ds support
- Support .Bk -words
- Improve multi-page postscript output
- Improve indentation in SYNOPSIS
- Improved support for badly nested blocks
2010-07-25 19:10:40 +00:00
hannken 2d762927fb VOP_LOCK() will not be called with LK_INTERLOCK. 2010-07-25 10:31:45 +00:00
mrg a2fdb48cbf default the subpixel renderer and tt interpreter to enabled. 2010-07-25 02:25:29 +00:00
hannken fb62bef947 Make holding v_interlock mandatory for callers of vget().
Announced some time ago on tech-kern.
2010-07-21 17:52:09 +00:00
mrg 406bca5fd6 updates for Mesa 7.8.2:
- build glsl as a host tool
- add the glsl objects to libmesa
- add/remove new/deleted sources for various components
- adjust the libmesa/libGL builds to pull in the new glsl objects
- re-apply the BUILDSYMLINK hack for eval.c/pixel.c/pixelstore.c
- use glsl to build the slang headers on the fly
2010-07-19 05:34:24 +00:00
mrg 6d0d419c9f delete obsolete / never used file. 2010-07-19 05:01:07 +00:00
mrg d06d4b6ec0 ... and HAVE_STRNLEN 2010-07-18 11:28:22 +00:00
mrg 9998611309 xlsclients wants xcb-atom as well. 2010-07-18 11:21:43 +00:00
mrg 88f40394c5 oops, install all the xcb-util headers. 2010-07-18 10:58:06 +00:00
mrg 1ddab15061 xlsatoms 1.1.0 wants to link against libxcb, not all the other libs. 2010-07-18 10:42:24 +00:00
mrg 448655fa99 add a couple of missing source files. 2010-07-18 09:49:12 +00:00
mrg 3172b07cfc build and install libxcb and xcb-util libraries. 2010-07-18 07:07:08 +00:00
mrg 17120376f4 add build infrastructure for xcb-utils 0.3.6. 2010-07-18 07:01:38 +00:00
mrg afd7b3604f don't install xprint.h. 2010-07-18 07:01:10 +00:00
mrg d5fd80ad0d install the xcb-proto files; not used yet. 2010-07-17 23:44:29 +00:00
mrg 0d429e5b59 build support for libxcb 1.6. not yet used.
XXX: i couldn't get the python/xml generator to run outside of
XXX: the libxcb build tree, so i just copied these from there,
XXX: but ideally files/Makefile could know how to do this.
2010-07-17 23:43:27 +00:00
mrg 7c9ebaef72 remove now-gone neo_bank.c 2010-07-17 06:55:39 +00:00
christos 6533f925b7 Document the format of the system crontab file, since cron(8) says that we do. 2010-07-15 22:18:20 +00:00
christos 4d77e7cf65 PR/43623: Takahiro Kambe: Allow /etc/crontab processing if it is not writable,
don't insist that it is mode 0600.
2010-07-15 20:04:14 +00:00
christos 7035a6c5ea remove bad cast. 2010-07-15 20:03:28 +00:00
joerg 3c0c4333af Regen for libarchive 2.8.4 2010-07-14 22:14:17 +00:00
joerg 1332698d66 Merge libarchive 2.8.4 2010-07-14 22:13:58 +00:00
joerg 7a09c6c34f Import libarchive 2.8.4:
Symlink dereference fix for Linux broke the build there; corrected.
Fix issues on ancient FreeBSD, QNX, ancient NetBSD and Minix.
Improved reliability of hash function detection.
2010-07-14 22:10:39 +00:00
jmmv 2474b0ebb5 Set ATFFILE=yes to install the package-provided Atffiles instead of generating
our custom ones.
2010-07-13 21:12:38 +00:00
kiyohara 299d82b760 Support xserver for prep.
It tested only s3(864).
2010-07-12 07:54:11 +00:00
mrg 6479f6e5b4 ldap is configured to depend upon MKCRYPTO no, so force MKLAP=no if
MKCRYPTO=no.
don't build pkg_install, libcrypto tests or rump_smbfs if MKCRYPTO=no.
mark librumpcrypto, rump_smb, pkg_*

fix set lists as appropriate.
2010-07-11 06:16:54 +00:00
mrg 363e39cc2c don't list tlsmgr twice; espcially one of them being outside of
the ${MKCRYPTO} != no check.
2010-07-11 05:37:32 +00:00
mrg 657f450349 add a miss #ifdef HAVE_TLS, that fixes MKCRYPTO=no build in here. 2010-07-11 00:47:36 +00:00
christos dbee6f29d8 PR bin/43591: Jeremy Reed: make sure that the default path is always set. 2010-07-10 21:42:29 +00:00
jmmv d59f14065c Pull up revision 3becdd597a7f5f996eeceebf06ac7f77aaa7c30c from upstream:
Catch and report unhandled exceptions before they propagate to C land

The C++ interface to run test cases goes like this:

    1) C++ run function -> 2) C run function -> 3) C++ wrapper for
    test case -> 4) test case head/body/cleanup

The previous code caught and reported unhandled exceptions in 1).
However, such approach does not seem to work everywhere.  It fails,
for example, in NetBSD/i386 but works in NetBSD/amd64.  I am not sure
which platform implementation is correct nor if there even _is_ a
defined behavior.  No matter what, it feels wrong and clunky.

Move the last-resort exception catching to happen in 3) so that
exceptions don't propagate back to C.

Fixes the test-programs/result_test:result_exception test case in
NetBSD/i386 5.99.34.
2010-07-06 18:03:37 +00:00
jmmv 4f88119cd8 Remove file that should not be in the distribution so that atf-version gets
the correct output.  Fixed upstream as well.
2010-07-05 14:20:59 +00:00
christos 8d7359cabb PR/43562: Witold Jan Wnuk: top: CPU percentages overlap labels 2010-07-03 13:18:57 +00:00
jmmv b8cf2cafb0 Update reachover makefiles for atf 0.10. 2010-07-03 08:14:11 +00:00
jmmv 8482c0c31e Fix merge conflicts for atf 0.10. 2010-07-03 08:11:25 +00:00
jmmv edebbb8e6f Import atf 0.10:
Miscellaneous features

* Added expected failures support to test cases and atf-run.  These
  include, for example, expected clean exits, expected reception of fatal
  signals, expected timeouts and expected errors in condition checks.
  These statuses can be used to denote test cases that are known to fail
  due to a bug in the code they are testing.  atf-report reports these
  tests separately but they do not count towards the failed test cases
  amount.

* Added the ATF_CHECK_ERRNO and ATF_REQUIRE_ERRNO to the C library to
  allow easy checking of call failures that update errno.

* Added the has.cleanup meta-data property to test caes that specifies
  whether the test case has a cleanup routine or not; its value is
  automatically set.  This property is read by atf-run to know if it has to
  run the cleanup routine; skipping this run for every test case
  significantly speeds up the run time of test suites.

* Reversed the order of the ATF_CHECK_THROW macro in the C++ binding to
  take the expected exception as the first argument and the statement to
  execute as the second argument.

Changes in atf-check

* Changed atf-check to support negating the status and output checks by
  prefixing them with not- and added support to specify multiple checkers
  for stdout and stderr, not only one.

* Added the match output checker to atf-check to look for regular
  expressions in the stdout and stderr of commands.

* Modified the exit checks in atf-check to support checking for the
  reception of signals.

Code simplifications and cleanups

* Removed usage messages from test programs to simplify the
  implementation of every binding by a significant amount.  They just now
  refer the user to the appropriate manual page and do not attempt to wrap
  lines on terminal boundaries.  Test programs are not supposed to be run
  by users directly so this minor interface regression is not important.

* Removed the atf-format internal utility, which is unused after the
  change documented above.

* Removed the atf-cleanup internal utility.  It has been unused since the
  test case isolation was moved to atf-run in 0.8

* Splitted the Makefile.am into smaller files for easier maintenance and
  dropped the use of M4.  Only affects users building from the repository
  sources.

* Intermixed tests with the source files in the source tree to provide
  them more visibility and easier access.  The tests directory is gone from
  the source tree and tests are now suffixed by _test, not prefixed by t_.

* Simplifications to the atf-c library: removed the io, tcr and ui
  modules as they had become unnecessary after all simplifications
  introduced since the 0.8 release.

* Removed the application/X-atf-tcr format introduced in 0.8 release.
  Tests now print a much simplified format that is easy to parse and nicer
  to read by end users.  As a side effect, the default for test cases is
  now to print their results to stdout unless otherwise stated by providing
  the -r flag.

* Removed XML distribution documents and replaced them with plain-text
  documents.  They provided little value and introduced a lot of complexity
  to the build system.

* Simplified the output of atf-version by not attempting to print a
  revision number when building form a distfile.  Makes the build system
  easier to maintain.
2010-07-03 08:04:47 +00:00
christos 62b8329f99 Add firmware for iwl1000: from http://intellinuxwireless.org/iwlwifi/\
downloads/iwlwifi-1000-ucode-128.50.3.1.tgz
2010-07-01 17:25:27 +00:00
is adbe495929 Avoid steps and other artefacts in head for more than 9 CPUs. 2010-06-30 11:08:12 +00:00
mrg 51e1811550 build updates for xterm-261. resize also uses terminfo now. 2010-06-30 04:58:42 +00:00
jmmv 42faad5b09 Remove obsolete Makefile. 2010-06-29 16:58:14 +00:00
pooka 31d66e80e4 If get_tcr() is called with broken_reason set, apply xfail inversion.
This (at least) makes timeouting tests honor xfail.
2010-06-27 20:36:42 +00:00
jmmv 7022b73d05 Reference tests(7). 2010-06-26 11:27:50 +00:00
joerg d6492db27f Merge for pkg_install-20100616 2010-06-26 00:17:13 +00:00
joerg d0eb5eccdb pkg_install-20100616:
- Recognize -C for pkg_add like the rest of the tools do
- Do the existing check for pkg_add -f, it makes the combination of
  -f and -U a bit less surprising
- Fix option handling for CHECK_VULNERABILITIES (from spz@)
- Make end-of-life check the default. pkg_install.conf(5) can be used
  to override the default. The existing admin -e & co continue to work as
  before.
2010-06-26 00:14:26 +00:00
joerg 77047093af Update build glue for mdocml-1.10.2 2010-06-24 17:20:19 +00:00
joerg d97c95f0f7 Merge mdocml-1.10.1 2010-06-24 17:19:58 +00:00
joerg 6c26a9aaa0 Import mdocml-1.10.2:
- Minor bug-fixes and optimisations
- Support font styles for Postscript output
2010-06-24 17:16:37 +00:00
hannken 1423e65b26 Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.
2010-06-24 12:58:48 +00:00
tsutsui 8e7f6b2093 Prepare entries for Xorg wsfb based server for dreamcast.
Not enabled by default yet and old xfree entries are still preserved.

XXX1: No maple keyboard keymap yet:
      http://mail-index.NetBSD.org/tech-x11/2010/06/19/msg000785.html

XXX2: probably we should have some common list files for xcomp and xserver.
2010-06-19 18:17:55 +00:00
wiz 7dafc24288 Convert to mdoc. Sort options. 2010-06-19 14:45:39 +00:00
pooka e3e8a399cf Remember to commit the change to compile h_xfail... 2010-06-19 10:20:21 +00:00
mrg 7f67066bec kill the broken !HOSTPROG segment. 2010-06-19 07:33:58 +00:00
mrg 1909f84b1c - always install pigz. hooary!
- kill MKPIGZ.
- add MKPIGZGZIP.  if it is "no", then only install pigz as pigz.  if it is
  not "no", don't install mrgzip, install pigz as gzip.

in all cases, the z* scripts.


i don't like the name MKPIGZGZIP so if anyone has a better name, feel free
to replace it.  i don't care enough since killing the ugly name is just
more incentive to get pigz doing .bz2, .Z and .z.
2010-06-19 03:50:30 +00:00
pooka 339c26b8f0 Handle xfail in a few more places. Found by, la la la, the new tests. 2010-06-18 16:13:56 +00:00
pooka 8af7aaf815 Test that xfail failures are reported as xfails and xfail passes
are reported as pure fails.
2010-06-18 16:13:16 +00:00
jmmv 6b3b2b9705 Remove unnecessary files
The just-commited prepare-import.sh script will take care of spotting extra
files that may be unnecessary during a future import.
2010-06-18 15:41:20 +00:00
jmmv b70d940b42 Add a script to help with the import of new atf releases: it extracts a
distfile, places it in dist and cleans up any unnecessary files.
2010-06-18 15:39:17 +00:00
tsutsui 28ea420374 Prepare to build Xorg servers for hpcarm/hpcmips/hpcsh.
XXX: ${MACHINE} dependent definitions in these Makefiles look a bit messy
XXX: like old xfree's NetBSD.cf...
2010-06-18 09:15:23 +00:00
mrg dcf7552621 add support to build pigz as a host tool.
still missing:
- TOOL_PIGZ
- support to use it instead of the host's "gzip"
2010-06-18 05:26:12 +00:00
mrg 8b69d164b3 add some infrastructure to build pigz instead of gzip. you can test
this out if you set MKPIGZ=yes, but you'll end up with a /usr/bin/gzip
that doesn't support bzip2, compress or pack.
2010-06-18 04:21:21 +00:00
tron e64aeb6ffd Adapt makefiles for Postfix 2.7.1 (at least first past). 2010-06-17 18:35:45 +00:00
tron 6941d836af Resolve conflicts from last import. 2010-06-17 18:18:14 +00:00
tron 28e9a2d236 Import Postfix 2.7.1. Major changes since Postfix 2.6.6:
- Improved before-queue content filter performance. With
  "smtpd_proxy_options = speed_adjust", the Postfix SMTP server
  receives the entire message before it connects to a before-queue
  content filter. Typically, this allows Postfix to handle the same
  mail load with fewer content filter processes.
- Improved address verification performance. The verify database is now
  persistent by default, and it is automatically cleaned periodically. Under
  overload conditions, the Postfix SMTP server no longer waits up to 6 seconds
  for an address probe to complete.
- Support for reputation management based on the local SMTP client IP address.
  This is typically implemented with "FILTER transportname:" actions in access
  maps or header/body checks, and mail delivery transports in master.cf with
  unique smtp_bind_address values.
2010-06-17 18:05:47 +00:00
mrg 85af15b32b cross build infrastructure for pigz. 2010-06-17 06:10:44 +00:00
mrg e25fdb51d0 (once again in the right place)
initial import of pigz 2.1.6 sources.

from http://www.zlib.net/pigz/:
"""
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the
hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.

How is it pronounced?
I'm glad you asked. It is pronounced "pig-zee". It is not pronounced like the plural of pig.
"""

once i am done adding bz2 support to pigz, i plan to obsolete my usr.bin/gzip.
2010-06-17 06:05:09 +00:00
mrg bfe3cf1b4b oops, these are in the wrong directory. 2010-06-17 06:04:08 +00:00
mrg aae0a61fa5 initial import of pigz 2.1.6 sources.
from http://www.zlib.net/pigz/:
"""
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. pigz was written by Mark Adler, and uses the zlib and pthread libraries.

How is it pronounced?
I'm glad you asked. It is pronounced "pig-zee". It is not pronounced like the plural of pig.
"""

once i am done adding bz2 support to pigz, i plan to obsolete my usr.bin/gzip.
2010-06-17 05:44:06 +00:00
joerg 75622a5f69 Move the character table initialisation a bit earlier for man pages that
contain special characters in the header. From upstream.
2010-06-17 00:56:03 +00:00
joerg ded915dd51 Do not abuse .Ta, but use a real tabulator. 2010-06-16 22:26:56 +00:00
joerg ad666fa3f9 Merge mdocml-1.10.1 2010-06-16 18:13:41 +00:00
joerg 3efd71c962 Update build infrastructure for mdocml-1.10.1 2010-06-16 18:10:57 +00:00
joerg 7574e07ef5 Import mdocml-1.10.1:
- Support multiline .Bl -column content
- cleanup SYNOPSIS macro handling
- Allow specifying the terminal width for -Tascii
- Initial PostScript output
2010-06-16 18:09:40 +00:00
pooka 56552afa73 i missed some changes to expected output caused by xfail change 2010-06-16 17:29:07 +00:00
pooka e76dd665c0 Introduce expected failures to atf. They can be used to flag tests
which are known to fail, e.g.:

        atf_tc_set_md_var(tc, "xfail", "PR kern/43456");

Expected failures do not count towards the ultimate pass/fail result
from the test run:

pain-rustique:39:~/<2>src/tests/fs/ptyfs> atf-run t_nullpts | atf-report
Tests root: /home/pooka/src/wholesrc2/src/tests/fs/ptyfs

t_nullpts (1/1): 1 test cases
    nullrevoke: Expected failure: PR kern/43456

Summary for 1 test programs:
    0 passed test cases.
    0 failed test cases.
    1 expected failures.
    0 skipped test cases.
pain-rustique:40:~/<2>src/tests/fs/ptyfs> echo $?
0

However, an xfail test which passes will count as a failure, i.e.
xfail inverts test case success/fail.  This way we can get a better
sense from the ultimate verdict of the NetBSD atf run by seeing if
there were any unexpected failures, i.e. new regressions.

This feature will be present in the upcoming atf 0.10 release,
possibly with finer grained control.

patch reviewed by jmmv
2010-06-16 15:17:37 +00:00
riz b7916d4669 Wrap a call to tls_level_lookup() in #if USE_TLS to allow
postfix to build with MKCRYPTO=no.

OK tron@
2010-06-10 17:06:01 +00:00
jmmv 21e717d349 Pull up revision 2f7a426c0f4149d59a7f3717ebedd6c55998e8bc from upstream:
----------
Fix detection of crashed test cases

Prevent cross-test-case contamination that occured when a first test case
passed and the second crashed.  The second could pick up the result of the
first test case and not be reported as failed.

Similarly, change the way timed out test cases are reported back to the
caller.  The creation of a temporary results file was just a really stupid
way of passing information around and introduced false positives if the
test case creates a results file before timing out.

Fixes ticket #35.
----------

Problem originally reported by pooka@.
2010-06-10 15:27:02 +00:00
christos ecef0ab113 we can have ldap without crypto 2010-06-09 23:02:44 +00:00
mrg c59fc30136 look for and find config.h. part of PR#43433. 2010-06-08 04:31:43 +00:00
jruoho 0384acea3d Add missing files required for iASL from ACPICA 20100528. 2010-06-06 19:35:38 +00:00
ghen 895e51c7dc A suggestion from veego to fix it (taken from ../../include/fontsproto). 2010-06-04 10:22:25 +00:00
roy e0a4f5bfed Import dhcpcd-5.2.4 with the following changes:
* Fix crash when using clientid and the interface re-configures
* log the pid of dhcpcd
* Indicate server IP received message from even if server ID not
  present
* Fix crashes on IPv4LL failure and add more logging
2010-06-04 09:07:59 +00:00
jmmv bd35535074 Adjust reachover makefiles for atf 0.9. 2010-06-04 08:33:40 +00:00
jmmv 72b75bb2dc Fix import conflicts for atf 0.9. 2010-06-04 08:32:14 +00:00
jmmv 9b3149cc0b Import atf 0.9:
* Added atf-sh, an interpreter to process test programs written using
  the shell API. This is not really a shell interpreter by itself
  though: it is just a wrapper around the system shell that eases the
  loading of the necessary ATF libraries.

* Removed atf-compile in favour of atf-sh.

* Added the use.fs metadata property to test case, which is used to
  specify which test cases require file system access. This is to
  highlight dependencies on external resources more clearly and to speed
  up the execution of test suites by skipping the creation of many
  unnecessary work directories.

* Fixed test programs to get a sane default value for their source
  directory. This means that it should not be necessary any more to pass
  -s when running test programs that do not live in the current
  directory.

* Defining test case headers became optional. This is trivial to achieve
  in shell-based tests but a bit ugly in C and C++. In C, use the new
  ATF_TC_WITHOUT_HEAD macro to define the test case, and in C++ use
  ATF_TEST_CASE_WITHOUT_HEAD.
2010-06-04 08:23:34 +00:00
ghen 30ff915334 Revert previous. 2010-06-03 20:48:48 +00:00
plunky be3a3d34c5 apply build framework and config changes for pcc-100602, plus add a
prepare-import.sh script for future updates
2010-06-03 19:17:22 +00:00
plunky 488bfe9bde merge changes from pcc-090902 branch 2010-06-03 19:07:59 +00:00
plunky 3eb51a4143 Update pcc to current [0.9.9 20100603] version. There have been many
bugfixes and feature additions, full changelog is below. The major
feature I think was the GCC compatibility which is now enabled by
default, with many of the commonly used GCC attributes and builtin
functions now supported, and pcc defines __GNUC__ as version 4.3

This version can build all of bin/, sbin/ and games/ except for dab(5),
with only a few outstanding issues in usr.bin/ and usr.sbin/. There are
still issues with PIC code generation (affects building libraries, on
i386 at least) and I have not tried applying pcc to kernel builds.

ChangeLog, in most-recent first order, screen-scraped from
    http://pcc.ludd.ltu.se/fisheye/changelog/pcc

Each paragraph is a separate commit, the [xxx] refers to the module
that the following commits were in:

[ccom]
    Fix designated initializer bug as reported by Iain Hibbert on pcc-list.

    Put in prototype for dainit() to avoid warnings when using yacc.

    Discard parameter attributes, they ended up to be handled as arguments
    otherwise.  Suppose to fix Jira#PCC-132 by Iain Hibbert.

    Rewrite __builtin_offsetof() to handle non-constant array offset values.
    This actually made the offsetof code much simpler.
    Requested by Iain Hibbert on pcc-list.

    Op DOT will be BINODE.

    Support gcc ugly construction a?:b, as discussed on pcc-list.

    Add gcc compat range initializers, reported by Iain Hibbert.

[amd64]
    Do not put eax as hidden argument if not needed.

    Better support for the Intel addressing modes.  Now ByteBench only takes
    77% of the earlier time to complete.

[mip]
    Do not base hash functions on memory addresses.  These addresses may
    change between different compilations and we want predictability.
    Also check if an address of a node is lower than expected to avoid
    short-range temporaries in the Freeze() code.

[i386]
    Clear flags field on TEMP nodes so that function pointers will get their
    stack adjusted afterwards, otherwise there might be junk left.

[ccom]
    Aet alignment to at least ALCHAR for structs when passing them over to
    pass2.  Failure to do so caused bug spotted by Iain Hibbert.

[sparc64]
    Fix string init bug, from Lars Zetterlund.

[mip]
    Declare printip2() as static function for whole file, as pointed out by
    Iain Hibbert.

[ccom]
    Make the canary value on stack volatile, so that the compiler won't
    try to put it into a register.  Solves stack overwrite error reported
    by Iain Hibbert on pcc-list.

[i386]
    Fix uninitialized member bug in picsymtab breaking -k -g.  Suppose to fix
    Jira#PCC-138 by Nicolas Joly, patch provided by Iain Hibbert.

[ccom]
    Tell scan to ignore typedefs of the same names goto labels. Fixes
    Jira#PCC-141 by Andreas Kaiser with recommended fix from him.

[mip]
    Run deljumps again after the ssa pass to cleanup the code before doing
    register allocation.

[mip]
    Do liveness analysis before turning a function into SSA code, and later
    use that to to find out whether we need to insert a phi function or not.
    This is usually called "Pruned SSA".
    Now the SSA code tend to be significantly better quality.

    Fix deljumps label updating bug.
    Remove statements that are moves to itself in deljumps.

[libpcc]
    Define _VA_LIST_DEFINED for compatibility eglibc headers.
    From tg@mirbsd.de.

[ccom]
    Ensure CM towers are built to the left, fixes parsing bug pointed put
    by Jonathan Gray. Also add "used" attribute.

[mip]
    Teach dce() to remove ip structs without destroying the basic block
    structure.

[ccom]
    Check if type is an array before checking its dimension.  Fixes bug
    reported by Iain Hibbert on pcc-list.

[i386]
    Tell table to prefer 2-op insns before 3-op.

    Do not try to match args on builtins.

[mip]
    Do not favorize 3-op instruction in the ssa case, simple statements
    like i++ have been rewritten to t1 = t2 + 1 and we want the register
    allocator to try to put t1 and t2 in the same register if there are
    2-op insns.

    Help coloring algorithm by at the time of assigning registers see if
    there are any frozen moves to nodes that have already got their color
    and we can give this node the same register.
    This will avoid unneccessary moves.

    Move list init into the function that initializes it.

    Put two more variables into p2env, to have a cleaner way of passing
    information in the optimizer phase.

    Fix broken indentation.

    Do not put a move on the move list more than once.
    Count precolored nodes as infinite K, not 0, otherwise it may make
    colorable graphs uncolorable when there are many moves.

[ccom]
    Fix reporting on bogus error of struct parameters, as reported by Iain
    Hibbert on pcc-list.

[amd64]
    Remove cast of pointer converted ints, not needed on amd64.  Fixes
    Jira#PCC-136 by Nicholas Joly.

[ccom]
    Add and handle gcc attribute __warn_unused_result__.  Requested by Iain
    Hibbert but with a different implementation.

    Do not allow initialization of multi-dimension incomplete arrays, fixes
    bug reported by Jesus Sanchez on pcc-list.
    Also fix another bug spotted, which had as a result that dynamic-sized
    arrays initialized by strings did not become null-terminated.

[amd64]
    amd64 cannot handle imemdiate constants for 64-bit simple ops.
    Fixes Jira#PCC-134 by Nicolas Joly.

[ccom]
    Allow any expression inside typeof.  Supposes to fix Jira#PCC-135
    by Iain Hibbert.

[mip]
    Replace deljumps() with the stuff used in the 2BSD c2.
    Still some parts to implement though.

[i386]
    Yech, yesterdays worst thinko about where to put the return check for
    floats.  Now awk works again.

    Use SSTDCALL, not FSTDCALL for symtab entries.  Spotted by Iain Hibbert.

    Reorganize late mangle code a little.  Now stdcall should work.

[mip]
    Remove some #if 0'ed code that is phased out.

[i386]
    The n_flags fields should use NLOCALx defines, not hardcoded numbers.
    Found by Iain Hibbert.

[ccom]
    Check for NaN string is only valid for ICON nodes.  Bug found by
    Iain Hibbert.

[i386]
    Detect the situation where a function returns a float number but the
    return value is ignored; the float stack must be popped anyway.
    FIxes a bug in awk where the float stack overflows.

[ccom]
    Clear out symtab pointers for NAME and ICON nodes in functions to
    be inlined, since accessing them will result in crashes.  Fixes
    stdcall/ccall bugs reported by Iain Hibbert.

[ccom, i386]
    Add support for stdcall and cdecl attributes.  Patch from iain Hibbert.

[ccom]
    Remove redundant GETSUE() define, from Iain Hibbert.

    Fix yet another situation where attributes causes warnings.
    Reported and slightly modified patch from Iain Hibbert.

    Handling of argument to scalinit() was incorrect causing wrong type to
    be returned.  Fixes Jira#PCC-131 by Iain Hibbert.

    Fix problem with offsetof of zero-length arrays and a debug segfault.
    Fixes Jira#PCC-129 by Iain Hibbert.

    Fix checking of struct sizes.  Solves Jira#PCC-128 by Iain Hibbert.

    Remove redundant check that caused function names beginning with L to
    be treated as wide strings in __func__.  Patch from Iain Hibbert.

[amd64]
    Add last memcpy for function returning structs.  Should be complete now.

[configure]
    Set default wchar type to int instead of unsigned.

[cc]
    Fix wchar defines as requested by Iain Hibbert.

[cpp]
    One more comment-handling bug found by Iain Hibbert.

    Forgot to null-terminate yytext.  Bug pointed out by Iain Hibbert.

[ccom]
    No reason not to allow pointers larger than LONG, as pointed out by
    Peter Kuschnerus.

    Cast 0x80 to char to avoid a warning.  Fixes compiler warning as
    reported by Peter Kuschnerus.

[amd64]
    Add arg count index to builtin switch table.

[ccom]
    Fix segfault bug, found and patch provided by Iain Hibbert.
    While here, make the switch table const.

    Do not segfault if the string given to __builtin_nan is a NULL pointer.
    Bug reported by Iain Hibbert.

[ccom]
    Discard comments in yylex() so that -C works even with comments in
    #if directives.  Supposes to fix Jira#PCC-126 by Iain Hibbert.

    Add huge/inf/nan builtins as requested by Iain Hibbert.
    Also add a generic builtin function, based on a slightly modified
    version of a patch by Iain Hibbert.

    Add another cast routine which will cast without adding a "cast" and
    therefore it will complain if it's a bad cast (like int to pointer).

[amd64]
    Fix bugs where int should be long.  Fixes Jira#PCC-125 by Nicholas Joly.

[ccom]
    Break out buintins to their own file.  Common argument count check
    for builtins. Should have argument cast checks here also.

[i386]
    Add support for attribute "visibility".

[amd64]
    Do not emit visibility type "default" since it's ``default''.

    Print out visibility directives for as.

[ccom]
    Add attribute support for visibility per patch from Iain Hibbert.

[i386]
    Add support for constructor/destructor attribute.
    XXX defloc() should be possible elf-common code.

[amd64]
    Add con/destructor support. XXX pragma init/fini should be MI.

[ccom]
    Add con/destructor as attributes per patch from Iain Hibbert.
    Different target implementations though.

[amd64]
    Fix struct argument/return bugs.  Add PIC support.

[ccom]
    Change some forgotten code to find the bottom type size; since type
    sizes are not directly inherited anymore.  Fixes coredump bug by
    Iain Hibbert.

[cc, cpp, ccom]
    Fix arrows from joerg@netbsd via plunky on pcc-list.

    Escape some dashes and use an em-dash (noted by Thorsten).

    Fix broken markup in manpages (from plunky on pcc-list).

[ccom]
    Add __builtin_memset, per patch from Iain Hibbert.

[i386]
    Remove unused variable, as Iain Hibbert kindly informed.

    Remove unused (and irrelevant) statement.

[ccom]
    Add cast() function that is an easier-to-use wrapper around buildtree().


[ccom, mip]
    kill some commons; ragge@ ok

[cpp]
    Allow # alone on lines, as requested by Mickey.

[ccom]
    Accept gcc attributes after a gcc asm() rename directive. Bugfix
    provided by Iain Hibbert.  Supposed to fix Jira#PCC-104.

    Implement __builtin_memcpy().  Now pcc can compile itself again on OS X.

    Add support for variable renaming when assingning; i.e.
	    int foo asm("bar") = 2;
    and not only
	    int foo asm("bar");
    Should fix Jira#PCC-116 by Altamiranus.

    Add support for attribute modes SF, DF, byte, word, pointer.
    Should fix Jira#PCC-114 by Altamiranus.

    Understand QI mode attribute as CHAR.  Fixes Jira#PCC-113 by Altamiranus.

    Understand function attributes pure and const.  Fixes Jira#PCC-110 and
    Jira#PCC-111 by Altamiranus.

[cpp]
    Fix const usage.  From Iain Hibbert.

[mip]
    License (and small code) change in the code repository where the
    function basename() came from.  From Iain Hibbert.

[sparc64]
    Correct format strings and STASG return register.
    Addresses PCC-107 and PCC-108 from Dmitry Alenichev.

[i386]
    Remove unused locals on non-openbsd builds.

[cc]
    Don't define __GNUC__ on win32 until problems with header files are
    resolved.

[ccom]
    Add my local changes for building with the Microsoft compiler.

    Add support for attribute mode and some mode types. Should solve
    Jira#PCC-101 by Detlef Riekenberg.

[cpp]
    Print out an extra \n before emitting a new line-file directive.
    Solves Jira#PCC-97 by Gregory McGarry.

[ccom]
    Add gcc attribute nothrow as patch in Jira#PCC-102 by Detlef Riekenberg.

[cpp]
    Understand gcc directive #include_next. Solves Jira#PCC-106 by Altamiranus.

[ccom]
    Handle more cases of attribute.  Adds another shift/reduce conflict.

    Understand malloc attribute and ignore it, we do not do aliasing yet.

    Handle sizes of pointers to forward declarated strust/unions better.

[i386]
    Print out constants in the same radix as gcc, to simplify debugging.

    Correct return values of STASG.

[mip]
    STASG must be treaded as ASSIGN in sanity checks.

[i386, amd64]
    generate symbol types and section attributes for elf; ragge@ ok

[ccom]
    Ueck, forgot some debug printouts :-(

    Handling of attribute strings was broken; they were treated as names.
    Reported by Michael Shalayeff who provided a diff, but fixed in a more
    common way.

[i386]
    Fix bug causing comparision of two long-long values to sometimes fail
    (low-order values must be compared unsigned). Reported by Jonathan Gray.
    Also fix a bug in struct assignment causing broken code to be generated.

[cc]
    Get GCC_COMPAT from configure.

    At last - defined __GNUC__ etc.  and also __GNUC_STDC_INLINE__.

[mip]
    Only try to shortcut the conditional code generation if the operands are
    of types +-*/%&|^>><<, otherwise side effects may be lost.  Bug found
    by Jonathan Gray.

[ccom]
    Add the g77 types, for compatibility.

[amd64]
    Give 32-bit register to movl instruction.  Fixes Jira#PCC-100 by
    Dara Hazeghi.

    Allow moving of TEMPs to regs. Fixes Jira#PCC-99 by Dara Hazeghi.

[sparc64]
    Sparc64 patches from Lars Zetterlund.  Are supposed to fix Jira#PCC-20.

[ccom]
    Add __builtin_offset(), which is becoming more and more common.
    Suggedted by Jonathan Gray.

[csu]
    Use 'test -f' rather than 'test -e' for improved portability.
    From Adam Hoka.

[powerpc]
    Improve alignment.

[linux]
    Improve building of shared libraries on linux.  Tested on Ubuntu 8.04.

[libpcc]
    Remove definition of off_t, since it is frequently wrong.  Confirmed OK on
    Ubuntu 8.04, OSX and Win32.

[i386]
    Fix alignments on OSX.

[tests]
    Get test to work on win32.

    Don't use __attribute__ in this test, since most systems will define it
    away if not gcc.

[mip]
    Change static array to allocated linked list for temporaries not allowed
    to be spilled.  libssl seems to make a heavy use of extended assembler.
    Bug reported by Jonathan Gray.

[i386]
    dd support for gcc xasm arg types I, J, K, L, M, N.  Fixes Jira#PCC-96
    by Jonathan Gray.

[ccom]
    kill unused variables; ragge@ ok

[hppa]
    fix merge error

[ccom]
    Put back nocon_e, creates better yacc code.

[hppa]
    fixx fallout form walkf() change and other gcc bitchings

    add pragma support (from amd64 ;)

[powerpc, i386, arm, amd64, mips]
    Return to the text segment after putting reference in constructor table.
    Should fix PCC-65.

[ccom]
    Rearrange yacc code slightly to avoid a shift/reduce conflict, that
    could cause unwanted syntax errors.

    Giving multiple declarations of the same prototype failed if there
    were dynamic arrays as arguments.

    Fix bug in debug printout of prototype parameters.

    Accept [*] as [] in prototypes.  Fixes Jira#PCC-94 by Jonathan Gray.

[mip]
    Must add moves before and after a +r xasm directive even if the node
    is in a temporary; the temporary may need to be spilled.
2010-06-03 18:57:00 +00:00
christos daf1978479 Use proper signal names. Prefixing them with "SIG" is an extension which
is not supported by posix shells.
2010-06-03 18:52:46 +00:00
ghen 7f1fb6416b .include <bsd.lib.mk> to handle the pkgconfig file correctly (noted by veego). 2010-06-03 10:38:34 +00:00
veego 679aad1fc6 * Add missing .WAIT before libdrm_intel since it now depends on libdrm
* Move libchromeXvMC further down since it depends on some other libraries
2010-06-03 09:49:45 +00:00
veego 6cb632ce43 Link against libXext, libX11, libXv, libXvMC and libdrm to fix a hidden
dependency
2010-06-03 09:44:19 +00:00
veego a23843d4e1 Link against libdrm to fix a hidden dependency 2010-06-03 09:43:16 +00:00
veego 86187ea55a Link against libz to fix a hidden dependency 2010-06-03 09:42:40 +00:00
plunky 19bcb70bf8 disable the DNS tests which rely on external hosts, as
they are not useful with automated testing systems without
internet connectivity.
2010-06-03 07:08:41 +00:00
joerg e4c9126b4d Install mdocml's default CSS as /usr/share/man/style.css. Switch HTML
man pages to use mandoc unconditional as it gives reasonable output for
all man pages, not only a subset of mdoc(7).  Use the newly installed
style.css for formatting and produce hyperlinks for .Xr.
2010-06-01 23:29:09 +00:00
joerg 9d6b8287eb Update to mdocml-1.10.0 2010-06-01 21:32:39 +00:00
joerg ab554970cf Merge mdocml-1.10.0 2010-06-01 21:27:23 +00:00
joerg 0a84adc561 Import mdocml-1.10.0:
- basic support for the low-level roff macros
- various cleanups and improvements
2010-06-01 21:17:49 +00:00
mrg 34209de0b7 USETBL=yes. several of these manuals need it. from PR#36600. 2010-06-01 05:26:51 +00:00
rmind c0c9bed8ab Fix previous, so it builds on some ports. 2010-05-31 18:14:59 +00:00
rmind 8b95f823bf Fix ps(1) and top(1) to show reasonable CPU numbers i.e. cpu_index() provided
by the kernel, instead of CPU order number, which is generally random.
2010-05-31 03:18:33 +00:00
ghen 8c57025fc1 Move "compiled" files from dist directory to reachover directory (suggested
by mrg).  Add a note in the Makefile for future upgrades.
2010-05-29 07:58:24 +00:00
ghen a2c1907824 Install pkgconfig file for xkeyboard-config. 2010-05-28 13:01:23 +00:00
ghen 1d75ab7274 Update to xkeyboard-config 1.9. 2010-05-28 12:38:34 +00:00
mrg 281afa1ed9 build libchromeXvMC on x86. 2010-05-28 06:26:55 +00:00
mrg 3c7ac2611f we're now at mesa 7.7.1.
XXX: really really really need to make this in one place...
2010-05-28 06:22:05 +00:00
mrg 739316d43b fix compile error in previous. 2010-05-28 04:16:06 +00:00
mrg 3c18d96e81 enable xf86-video-openchrome for x86 and xf86-video-geode for i386. 2010-05-28 04:12:02 +00:00
mrg 4eb959abf9 obsolete xf86-video-cyrix 2010-05-28 02:37:26 +00:00
mrg 864de3fd7b add build glue for xf86-video-geode and xf86-video-openchrome and
obsolete xf86-video-via.
2010-05-28 02:35:46 +00:00
mrg 5988c2a162 new Mesa r300_dri driver has a "compiler" subdir of objects needed.
mostly dieter roelants in PR#43367.
2010-05-27 01:20:14 +00:00
nonaka 623fa85bb5 Added keyboard config files for Sharp WS011SH/WS020SH. 2010-05-25 13:13:55 +00:00
veego 7c66f95e1b Replace __appmansuffix__ in fsconfig.cpp 2010-05-24 05:30:40 +00:00
mrg 2cc35fcdb7 these depend upon libdrm_radeon now. 2010-05-23 23:21:30 +00:00
veego e6aea5bc19 Replace UTMP_FILE and WTMP_FILE for Xstartup here and not in the cpp file
to make a xdm update easier.
xdm was updated but the local change in Xstartup.cpp was lost.
2010-05-23 21:35:35 +00:00
veego d6cf4a0fd0 Use ${XDMPIDDIR} and ${XDMLOGDIR} from ../xdm/Makefile.xdm instead of
hard coding the path here.
2010-05-23 21:31:57 +00:00
mrg 3172c38b29 build fixes for Mesa 7.7.1. introduce r600 driver! 2010-05-23 21:31:52 +00:00
veego c3c7ed4b96 It seems something changed with the 'newer' yacc.
Rename y.output in CLEANFILES to aslcompilerparse.output
2010-05-23 14:08:05 +00:00
mrg 576740c1b8 delete most of this file; it is obsolete 2010-05-23 10:45:04 +00:00
mrg aa57a3fc7c build vmwlegacy and vmware modules as per- 11.0.1. 2010-05-23 06:37:32 +00:00
mrg a6979b6038 updates for xf86-video-ati 6.13.0. 2010-05-23 06:16:13 +00:00
mrg 1bf99f0476 bump libpixman-1.so minor. avoid double defining PIXMAN_DISABLE_DEPRECATED. 2010-05-23 04:26:19 +00:00
mrg 2508865994 remove unnecessary includes 2010-05-23 01:59:12 +00:00
mrg 3e5caf6bef install libdrm_intel.pc and libdrm_radeon.pc 2010-05-23 01:30:25 +00:00
mrg 1833edab5e we have Mesa 7.4.4. 2010-05-23 01:19:34 +00:00
mrg 19c19ead73 install libkms.h to the right place. 2010-05-22 23:19:24 +00:00
mrg a5e9616b1a find libdrm files in their new place. 2010-05-22 23:04:01 +00:00
mrg 0658f5e922 updates for changed header locations for libdrm. 2010-05-22 22:50:23 +00:00
mrg bf0c6be6fd build libdrm_radeon. 2010-05-22 22:48:18 +00:00
mrg 49c33f235e sprinkle some more -Wno-error ... 2010-05-22 22:44:16 +00:00
mrg 9ed6b68595 update for libdrm 2.4.20 changed paths/headers. 2010-05-22 22:43:57 +00:00
mrg b014fbb669 don't build xf86-input-void; it is obsolete since xorg-server 1.4. 2010-05-22 21:12:19 +00:00
mrg 27dac673c0 add common_io.c and bump the minor. 2010-05-22 10:31:20 +00:00
mrg ba96436c4c push HAVE_XEXTPROTO_71 into Makefile.xf86-driver. (for now?) 2010-05-22 10:18:03 +00:00
mrg cf4dd6192b scrnsaver.h comes from libXScrnSaver now days. 2010-05-22 09:22:15 +00:00
mrg 1373148e6a install GL/internal/sarea.h and GL/internal/dri_interface.h, like Mesa does. 2010-05-22 08:52:33 +00:00
mrg 14480fe477 trident_driver.c needs -Wno-error for xf86dgastr.h 2010-05-22 07:26:18 +00:00
mrg b7c73ab99a define HAVE_XEXTPROTO_71.
tga_driver.c needs -Wno-error for xf86dgastr.h
2010-05-22 07:26:09 +00:00
mrg cfabf5e9d9 these use xf86dgastr.h, so they need -Wno-error for now. 2010-05-22 07:18:37 +00:00
mrg f85e8b0e1e XXX: use -Wno-error for files that use old foostr.h includes that now have
XXX: #warning's in them.
2010-05-22 05:45:01 +00:00
mrg baac7eafac add ge.h and geproto.h 2010-05-22 05:44:08 +00:00
mrg 34de959959 define HAVE_XEXTPROTO_71 now. 2010-05-22 05:42:54 +00:00
mrg 890816e5fc -Wno-error for bigreq.c for now... 2010-05-22 02:42:37 +00:00
mrg 0d9594b9b8 minor canonicalisation against other Makefile's. 2010-05-22 02:41:49 +00:00
mrg 1be3f650ac - update includes list and delete obsolete man pages
- new -Wno-error's
2010-05-22 02:41:33 +00:00
mrg b2b9a22c91 add new sources and -Wno-error's for libX11 1.3.3. 2010-05-22 02:41:13 +00:00
mrg 656264decd version.c is gone. 2010-05-22 02:40:55 +00:00
mrg e74fd8b361 apply -Wno-error in several places where new X11 headers warn about
being used (but in many cases, there are no new versions that don't
use them...)
2010-05-22 02:40:40 +00:00
mrg aaf63c2df2 update the includes list for Xext 7.1.1 and other dependant updates. 2010-05-22 02:27:06 +00:00
mrg a19e1fdc43 find the app-defaults file in the new place, as a non- .cpp file. 2010-05-21 06:37:26 +00:00
mrg d16b54a109 look for and find the app-defaults in the new app-defalts/ subdir of
the distribution sources.  also, most of them lost the ".ad" suffix.
2010-05-21 06:04:36 +00:00
mrg 7426d119e2 find config.h where it is now available from. for imake 1.0.3. 2010-05-21 05:55:24 +00:00
christos 8610d20994 Allow the build to work on a read-only source tree. From Anon Ymous 2010-05-20 12:51:16 +00:00
haad 1b1a9e8e92 Use ddi_copyin and ddi_copyout as solaris does, change them to
ioctl_copyin/ioctl_copyout in kernel and to bcopy in user space.
2010-05-19 18:01:26 +00:00
haad a18cf73bc7 Do not call zfs_init and zfs_fini directly they will be called by vfs routines. 2010-05-19 17:57:42 +00:00
haad d0ec786298 Do not initialize space map cv twice. 2010-05-19 17:50:59 +00:00
christos 9d32a81030 rename the allow and deny files to match the documentation. 2010-05-19 12:50:49 +00:00
christos 71a5eeb0d1 - The new cron keeps time internally as localtime. Revert to previous behavior
of keeping UTC, and handle timezones the way we handled them before (CRON_TZ).
  The old behavior can be selected with defining CRON_LOCALTIME.
- Provide functions to pretty-print crontab entries.
2010-05-18 21:49:51 +00:00
christos e8894454ad Forgot to commit this:
Bring back the default to allow any user to install crontabs.
2010-05-18 21:47:43 +00:00
martin 5a6d00fa0a From Matt Thomas, suggested upstream:
* atof-generic.c (atof_generic): recognize snan and qnan in
	addition to nan and inf.
	* atof-vax.c (flonum_gen2vax): deal properly with nan, snan, qnan,
	and +Inf and -Inf codes.

This fixes PR toolchain/43303.
2010-05-16 11:20:01 +00:00
nonaka 58d5f137df Added keyboard config files for Sharp WS003SH/WS007SH. 2010-05-15 15:34:09 +00:00
joerg aadf945d53 Reorder section. Use .Ex -std. 2010-05-14 16:51:32 +00:00
christos 1cf23224e9 make things compile. 2010-05-14 15:30:39 +00:00
joerg 1a718ba56a ASCII cleaness 2010-05-14 03:14:41 +00:00
joerg f6ab6a9c5a Proper markup for example. Use <> include style. Bump date. 2010-05-14 03:02:13 +00:00
joerg 3b5bdd41e8 \\ -> \e 2010-05-14 01:48:11 +00:00
joerg 26593da519 Fix .At argument. 2010-05-13 22:35:57 +00:00
christos 58f9040724 implement fullcmd mode. Now we need to modernize the machine specific code
to handle displays > 80 columns to make this work effectively.
2010-05-12 22:09:36 +00:00
haad 04d9252504 Fix userspace cv_timedwait implementation to work on NetBSD. 2010-05-11 22:18:10 +00:00
haad c84b9426dd Disable building of stub_stand.c we build all locking primitives in libzpool. 2010-05-10 06:27:57 +00:00
haad 0fbd0bfd4f If thread_create was called with thread_id = NULL use our local thread id
as replacement otherwise we will crash.
2010-05-10 06:26:11 +00:00
haad 4296646a10 Fix spa_thread to compile under the NetBSD. 2010-05-10 06:15:28 +00:00
haad fd29a8703f Get new vnode when creating zfs share dir for it's znode. 2010-05-10 06:10:59 +00:00
jmmv e57b6942da Make the .pc file rules depend on the Makefile so that when rebuilding
the tree with MKUPDATE=yes set after an atf upgrade, the .pc files get
the correct version in them.

Suggested by njoly@ in private mail.
2010-05-08 16:57:24 +00:00
wiz 6f0c1d2e97 Remove trailing whitespace; new sentence, new line; sort sections;
standardize SYNOPSIS; use serial comma.
2010-05-08 11:55:01 +00:00
jmmv ac02bdbd72 Update reachover Makefiles for atf 0.8. 2010-05-08 08:12:33 +00:00
jmmv 0f0f09ce18 Merge atf 0.8. 2010-05-08 08:11:03 +00:00
jmmv 407d776158 Import atf 0.8. Changes in this release:
* Test programs no longer run several test cases in a row. The execution
  of a test program now requires a test case name, and that single test
  case is executed. To execute several test cases, use the atf-run
  utility as usual.

* Test programs no longer fork a subprocess to isolate the execution of
  test cases. They run the test case code in-process, and a crash of the
  test case will result in a crash of the test program. This is to ease
  debugging of faulty test cases.

* Test programs no longer isolate their test cases. This means that they
  will not create temporary directories nor sanitize the environment any
  more. Yes: running a test case that depends on system state by hand
  will most likely yield different results depending on where (machine,
  directory, user environment, etc.) it is run. Isolation has been moved
  to atf-run.

* Test programs no longer print a cryptic format (application/X-atf-tcs)
  on a special file channel. They can now print whatever they want on
  the screen. Because test programs can now only run one test case every
  time, providing controlled output is not necessary any more.

* Test programs no longer write their status into a special file
  descriptor. Instead, they create a file with the results, which is
  later parsed by atf-run. This changes the semantics of the -r flag.

* atf-run has been adjusted to perform the test case isolation. As a
  result, there is now a single canonical place that implements the
  isolation of test caes. In previous releases, the three language
  bindings (C, C++ and shell) had to be kept in sync with each other
  (read: not a nice thing to do at all). As a side effect of this
  change, writing bindings for other languages will be much, much easier
  from now on.

* atf-run forks test programs on a test case basis, instead of on a test
  program basis as it did before. This is to provide the test case
  isolation that was before implemented by the test programs themselves.

* Removed the atf-exec tool. This was used to implement test case
  isolation in atf-sh, but it is now unnecessary.

* It is now optional to define the descr meta-data property. It has been
  proven to be mostly useless, because test cases often carry a
  descriptive name of their own.
2010-05-08 08:05:13 +00:00
christos 979605cffd specify bindir 2010-05-07 21:54:07 +00:00
christos b8f08142d6 change to mandoc 2010-05-07 20:43:40 +00:00
christos dcb0cbe948 bump crontab limit to 256K per the old manual page. 2010-05-07 20:43:27 +00:00
christos 8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
christos 6611a4be6f remove the +1 second. Otherwise jobs that are supposed to run at 10:00:00,
run at 10:00:01 which is tolerable because cron has a 1 minute granularity,
but confusing. This restores the old behavior with the new timing logic.
2010-05-07 17:12:00 +00:00
christos c3f423a27c for posterity. 2010-05-06 23:19:56 +00:00
christos 32d0172f96 remember to restore the original timezone. 2010-05-06 22:38:14 +00:00
haad 4d91be73cd Disable uvm_reclaim_hook for userland builds. 2010-05-06 22:35:37 +00:00
haad ffca0f125a Fix difference btween solaris cv_timedwait and NetBSD one. NetBSD takes
offset from current time and solaris exact time from unix born.
2010-05-06 22:31:46 +00:00
haad 6e62dfc5b4 Fix zfs version 22 merge error. 2010-05-06 22:26:55 +00:00
christos c809afbc3f - change times to time_t
- use the correct time in job_add
- bring back CRON_TZ
2010-05-06 21:50:16 +00:00
christos 1f7f15c404 Add build glue. 2010-05-06 18:58:45 +00:00
christos 032a439890 apply our changes. 2010-05-06 18:53:17 +00:00
christos 0061c6a57d import cron 4.1 2010-05-06 18:50:28 +00:00
darran 80dda7416d DTrace: print a warning no CTF section is found when processing arguments.
This should help diagnose problems such as netbsd images without CTF
sections and old boot loaders.
2010-05-03 09:28:38 +00:00
haad 4673d87178 Add _mutex_held routine to test if mutex_t * is held. 2010-05-03 00:31:32 +00:00
haad 91b542a3db In NetBSD pool cache constructor/destructor routines has inverted arguments.
C
2010-05-02 23:59:54 +00:00
haad 951cf32ac2 Initialize system_taskq during taskq init. This fixes ztest crash in taskq_dispatch. 2010-05-02 23:50:34 +00:00
christos 3f874b5444 reflect reality. 2010-05-01 19:51:33 +00:00
tonnerre 89ba794efc Prevent ntpd instances from sending MODE_PRIVATE error responses back and
forth. This resolves CVE-2009-3563, but it should be noted that nobody uses
this code so far, so this is more of a preventive update than a security
one.
2010-04-25 22:50:11 +00:00
joerg 323fc69705 Update build glue for pkg_install-20100421 2010-04-23 20:56:01 +00:00
joerg 8164e2ede7 Merge pkg_install-20100421 2010-04-23 20:55:31 +00:00
joerg 0e7c882236 pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.

Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Try to detect common forms of pkgdb corruption and issue a warning in
that case.

Refactor the pkg_vulnerabilities logic to use the compression support
from libarchive. This reduces the amount zlib/bzip2 interaction to
the linkage.

Add man pages for audit-packages and download-vulnerability-list which
point to pkg_admin and notes that the scripts are obsolete.
2010-04-23 20:54:06 +00:00
joerg 22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
ahoka 9db315bb61 Add a missing parentheses. 2010-04-23 16:44:10 +00:00
ahoka 290cdd631e Remove a couple of zero length kmem_frees.
It should fix at least one crash when unloading the dtrace module,
possibly many others.
2010-04-23 11:39:52 +00:00
agc 208f5497e4 implement the REG_STARTEND extension using tre_regnexec - REG_STARTEND is
used by mail(1), and file(1), to name but two.
2010-04-22 17:33:54 +00:00
agc 64ac94149c don't include parameter names in the namespace for function prototypes.
define REG_STARTEND

include tre-config.h inplace in tre.h, since it is small, always gets
included anyway, and this means that we don't have to install tre-config.h
in the dest tree. this will be addressed differently long-term.
2010-04-22 17:32:37 +00:00
agc 663ce0da65 clean up some lint 2010-04-22 17:28:59 +00:00
christos 9021b5c725 revert previous. it does not work properly. 2010-04-21 17:10:31 +00:00
christos 22c1c07780 XXX: This is a hack, the note inclusion does not belong here, and
it belongs in a separate elf_nbsd.sh, included from elf_i386_nbsd.sh.
The problem is described in:
https://bugzilla.redhat.com/show_bug.cgi?id=492183#c7, namely if
all the sections are not defined in the ld script, it can screw
up.  This happens when building /usr/src/usr.sbin.crash with
MKPIE=yes. Thanks to Piotr Meyer for the report and analysis.
We don't need to fix any other archs yet (because crash only works on i386),
but we should. skrll should look into it, please :-)
2010-04-20 22:47:48 +00:00
joerg 8e57a02bae Update for mdocml-1.9.23. 2010-04-20 18:08:08 +00:00
joerg fe15f59037 Merge for mdocml-1.9.23. 2010-04-20 18:07:52 +00:00
joerg 7bcc2a5f4a mdocml-1.9.23:
- Smaller bug fixes
- Relax some constraints that don't deal well with the real world usage
2010-04-20 18:05:55 +00:00
sborrill 57628e87d5 Regen with autoconf-2.63 and automake-1.11.1 because of man page changes.
Bump version to 20100416
2010-04-19 08:09:02 +00:00
sborrill 036951a68c Put .8 man pages in man8, not man1.
Add targets.5 to man5.
2010-04-19 08:05:36 +00:00
christos b75e1375bf add the 6000 microcode. 2010-04-17 15:55:07 +00:00
tron cac5ad4489 Resolve conflicts caused by import of Postfix 2.6.6. 2010-04-17 10:29:17 +00:00
tron daa220de10 Import Postfix 2.6.6. Changes since version 2.6.5:
- "postmulti -p command" did not skip disabled instances.
- In the multi_instance_wrapper parameter, the expansion of
  $command_directory and $daemon_directory was broken.
- The address_verify_poll_count parameter value was not made
  stress-dependent by default. This defeated the purpose of making other
  settings stress-dependent by default with Postfix 2.6.
- Milter applications would hang up after receiving an unexpected
  SMFIC_HEADER (mail header) command. This problem happened with Milters
  that (legitimately) do not send replies for SMFIC_RCPT (recipient
  address) or SMFIC_DATA (start of message) commands.
- Core dump while an printing error message for a malformed %<letter>
  sequence in LDAP, MySQL or PostgreSQL lookup table configuration.
- Mail with zero recipients was forever stuck in the queue. This happened
  when "postsuper -r" was run after all the recipients of a message were
  delivered (or bounced), but before the message was deleted from the queue.
- With hostnames such as 1-2-3-4, the valid_hostname() fuction did not
  recognize the '-' as a non-numeric character, causing a legitimate name
  to be rejected as "invalid".
- The VRFY command did not accept a mailbox address inside <>.
2010-04-17 10:23:40 +00:00
christos 2cff342467 Update to the latest firmware. 2010-04-16 01:43:07 +00:00
sborrill a4abc2800d Add --version-info libtool flag so that libiscsi.so major/minor can be kept
in sync with that in shlib_version.
Add a note in shlib_version as a reminder to update lib/Makefile.am (and
from there lib/Makefile.in).
2010-04-15 20:56:32 +00:00
sborrill 2175ef1074 Add mkdist to build a distribution tarball based on the one in netpgp 2010-04-15 18:21:29 +00:00
agc b97f222512 Regen to pick up the new version number 2010-04-15 05:27:45 +00:00
sborrill 5581d64437 Update to reflect current source files. iscsi.c is now protocol.c
and initiator.c has been moved from initiator to lib.
With these changes a standard ./configure && make build completes
2010-04-14 19:52:20 +00:00
jakllsch 7aa5fe0b9b iasl may be MD, but its man page is MI.
(hi jruoho)
2010-04-11 17:23:10 +00:00
jakllsch c9128dfbfd Install 'symbol' from font-adobe-(75|100)dpi.
Should fix some symbols in xcalc.

To do: transform these and other currently-installed-only-as-bdf fonts
to pcf.gz.
2010-04-11 02:41:38 +00:00
jruoho 02e04bf693 Add a (custom) manual page for iASL. 2010-04-10 04:29:39 +00:00
wiz 6997bed8b1 Fix typo reported by Ryo HAYASAKA in PR 43136. 2010-04-08 06:58:26 +00:00
jruoho 5c7c72ca7e Add new files from ACPICA 20100121. 2010-04-08 04:37:14 +00:00
yhardy 2217e8705c i915 and i965 dri modules need glapi. 2010-04-07 20:04:16 +00:00
yhardy ed3b534143 Don't link libOSMesa, this functionality is provided by mesa_dri.so. 2010-04-07 19:56:01 +00:00
christos 819acda0b0 previous workaround not needed. 2010-04-07 16:14:35 +00:00
christos 4950518f2a Rename the macro name so that the scanner does not get confused and thinks
it is using REJECT.
2010-04-07 16:14:07 +00:00
tron 898521eb24 Ignore the unused label "find_rule" in the generated file "scan.c"
to fix the build.
2010-04-07 08:56:49 +00:00
wiz 02634ada5c Fix typo, reported by Ryo HAYASAKA in PR 43134. 2010-04-07 07:32:48 +00:00
christos 83fd40ab4d use the m4 define not the cpp one for reject. 2010-04-06 17:39:47 +00:00
joerg 7ca226016f Update for mdocml-1.9.22 2010-04-05 14:23:56 +00:00
joerg 71a7074243 Merge mdocml-1.9.22 2010-04-05 14:22:59 +00:00
joerg 31e1f4e3b0 Import of mdocml-1.9.22:
- Better support for obsolete .Xo/.Xc macros if compiled with -DUGLY
- Support for more roff instructions in the man(7) code
- Correct handling of opening punctuation in macros for mdoc(7)
- Discard more of the pod2man junk
2010-04-05 14:19:28 +00:00
christos 4c1d35303b don't use NULL for 0 2010-04-03 19:01:15 +00:00
christos a16ec97975 relative .PATH 2010-04-03 18:50:43 +00:00
christos a27b6b66af remove useless double [[ 2010-04-03 18:43:54 +00:00
christos 3642b6f6d7 hack for amd64 2010-04-03 18:43:34 +00:00
christos de23d8acad use relative .PATH, and remove one that is not needed. 2010-04-03 18:35:49 +00:00
christos 8e1b2eaa2f - use CPPFLAGS instead of CFLAGS
- use relative .PATH
2010-04-03 18:34:19 +00:00
reed a9374b6b87 Add the "Statement for The NetBSD Foundation's Position on the GPLv3". 2010-04-01 14:13:25 +00:00
roy 72889e7367 Import dhcpcd-5.2.2 with the following changes:
* Don't send a maximum DHCP message size beyond what we can handle.
* ip_id is now randomized.
* IPTOS_LOWDELAY and IP_DF flags are no longer set.
2010-03-31 09:14:47 +00:00
joerg cd633b37f3 Update for libarchive 2.8.2 2010-03-30 14:43:06 +00:00
joerg ccefd0e16a Kill non-existent macros. 2010-03-30 14:13:49 +00:00
christos 4f083821e4 deal with missing CLOCK_REALTIME 2010-03-26 21:33:28 +00:00
joerg ea34e88ea7 Merge 2010-03-24 20:52:39 +00:00
joerg 0ab1cb6dc1 libfetch-2.31:
PR 43013 by Brook Milligan: fetch(3) violates RFC 1738 for ftp:// URLs
if the home directory is not the root directory.

Remember the current directory the first time a CWD / CDUP has to be
issued. Use the document as full URL if the URL started with two /
(quoted or not), otherwise append it to the initial directory.
2010-03-24 20:51:41 +00:00
joerg 69119b7656 Drop redundant .TP 2010-03-20 20:58:06 +00:00
joerg 3ae1e92ee1 Drop redundant TPs 2010-03-20 20:27:57 +00:00
tron f3ce7002f4 As this file seems to be a port specific we don't need to check
for "__i386__.
2010-03-18 13:45:54 +00:00
tron 4a21f050e8 Fix the build:
1.) "ifdef-out" unused functions and global variables.
2.) Include "x86/include/cpu_counter.h" for amd64 and i386 to get the
    prototype of "cpu_frequency".
2010-03-18 11:00:03 +00:00
tron 809d65a5b8 "ifdef-out" unused "label" exactly like the code which would use it
to get rid of a build error.
2010-03-18 10:57:58 +00:00
joerg da1ecafda7 Merge for libarchive-2.8.2. 2010-03-14 19:30:50 +00:00
joerg 11cd5c56c4 libarchive-2.8.2:
- Fix NULL deference for short self-extracting zip archives
- Don't dereference symlinks on Linux when reading ACLs
- Better detection of SHA2 support for old OpenSSL versions
- Fix parsing of input files for bsdtar -T
- Do not leak setup_xattr into the global namespace
- Fix build when an older libarchive is already installed
- Use O_BINARY opening files in bsdtar
- Include missing archive_crc32.h
- Correctly include iconv.h required by libxml2
2010-03-14 19:19:45 +00:00
macallan 5f2645eca2 apparently I forgot to commit this
thanks to uwe & mrg for hitting me over the head with the error log
2010-03-14 01:13:16 +00:00
mrg 19499f3f8d update all of these makefiles for the .so -> .pico change.
most of them are most harmless, but the libgcc parts are quite essential.
before this change, all the special rules for .pico files were not applied,
and exception handling wasn't enabled.  this caused c++ exceptions not to
work on sparc64.


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
2010-03-14 00:26:09 +00:00
christos 958e171b8e make dtrace compile on amd64. 2010-03-13 22:31:15 +00:00
darran 53cc5b77a6 DTrace: fix a sign problem with instruction size handling. 2010-03-13 01:10:01 +00:00
darran f6bf800773 DTrace: Add the Function Boundary Trace (FBT) provider moduile. This
module  instruments every function in the kernel with entry and exit
probes.  These probes are true zero-effect probes in that they don't
exist in the code until they are enabled.  The probes are enabled by
directly patching the function entry and exit points to make jumps into
the dtrace framework.
This gives us over 29,000 trace points in the kernel.
2010-03-12 21:53:15 +00:00
darran 328338d6bd DTrace: Add support for a simulated solaris_cpu[] data structure per
cpu.  Needed for the FBT provider amongst other features.
2010-03-12 21:37:37 +00:00
haad 16daab5dae Fix /var/run/dev.db dependency by adding new get_dev_name routine which
converts raw device major:minor number to block device path. By reading
/dev and using stat to find block device major:minor numbers.
2010-03-12 16:24:40 +00:00
darran 5b3b7dba24 DTrace: fix a few build issues for tools and the dtrace provider operation
interface.
2010-03-11 23:28:07 +00:00
darran 2ac926fa16 DTrace: The CTF format is limited to only 1024 elements in an enum,
so rather than error out when there are more than this just truncate the
length.
2010-03-11 23:26:33 +00:00
darran 7eee4c810f DTrace: fix a libctf toolchain build problem. 2010-03-10 23:41:56 +00:00
lukem 1f0d0df9ea fixed rcsids on 2.4.21 import 2010-03-08 06:43:18 +00:00
lukem 2b8444592e openldap2netbsd - script to munge rcsids, and otherwise prepare for import 2010-03-08 06:42:31 +00:00
lukem e598ca9c12 bump minor version for 2.4.21 2010-03-08 05:45:24 +00:00
lukem 62a8debe1d build ldapurl 2010-03-08 05:24:59 +00:00
lukem 9b4fc98d5f ldapexop now has a man page 2010-03-08 05:24:33 +00:00
lukem 1ae7a69fb9 support building without common.c (for ldapurl) 2010-03-08 05:23:41 +00:00
lukem e3d0290b8c add meter.c 2010-03-08 05:19:10 +00:00
lukem 9a2cfaa213 update for .c changes in 2.4.21 2010-03-08 05:18:17 +00:00