Commit Graph

1809 Commits

Author SHA1 Message Date
jmmv
3b8333d3c0 Adjust reachover build files after import of atf-0.12. 2010-11-07 17:46:45 +00:00
jmmv
0b634f1420 Help merge of atf-0.12. 2010-11-07 17:45:21 +00:00
jmmv
0ebb519dda Import atf 0.12:
Experimental version released on November 7th, 2010.

* Added the ATF_REQUIRE_THROW_RE to atf-c++, which is the same as
  ATF_REQUIRE_THROW but allows checking for the validity of the exception's
  error message by means of a regular expression.

* Added the ATF_REQUIRE_MATCH to atf-c++, which allows checking for a
  regular expression match in a string.

* Changed the default timeout for test cases from 5 minutes to 30 seconds.
  30 seconds is long enough for virtually all tests to complete, and 5
  minutes is a way too long pause in a test suite where a single test case
  stalls.

* Deprecated the use.fs property.  While this seemed like a good idea in
  the first place to impose more control on what test cases can do, it
  turns out to be bad.  First, use.fs=false prevents bogus test cases
  from dumping core so after-the-fact debugging is harder.  Second,
  supporting use.fs adds a lot of unnecessary complexity.  atf-run will
  now ignore any value provided to use.fs and will allow test cases to
  freely access the file system if they wish to.

* Added the atf_tc_get_config_var_as_{bool,long}{,_wd} functions to the atf-c
  library.  The 'text' module became private in 0.11 but was being used
  externally to simplify the parsing of configuration variables.

* Made atf-run recognize the 'unprivileged-user' configuration variable
  and automatically drop root privileges when a test case sets
  require.user=unprivileged.  Note that this is, by no means, done for
  security purposes; this is just for user convenience; tests should, in
  general, not be blindly run as root in the first place.
2010-11-07 17:43:22 +00:00
wiz
9e7cfea51a Sort options. 2010-11-07 11:50:23 +00:00
mrg
634cf7a288 fix NAMED_USE_PTHREADS != yes usage. 2010-11-06 21:32:49 +00:00
christos
b155e612fc PR/44052: Takahiro HAYASHI: chrooted ntpd refers freed memory
As mentioned in the pr, process_routing_msgs can delete the current reader,
so cache the next element before calling it.
2010-11-06 20:40:12 +00:00
uebayasi
4cca618331 Handle md(4)'s embedded root disk image and size symbol names other
than the default ones ("md_root_image" / "md_root_size").

(References to xmd(4) are deliberately removed.)
2010-11-06 16:03:23 +00:00
he
47147f658b To allow static linking, specify -lterminfo as well, and don't rely
on shared library inter-dependencies to pull everything together.
Fixes the build for sun2.
2010-11-05 10:50:50 +00:00
he
f5736be797 New pkg_install requires -llzma, so to support static linking, be
explicit about what libraries are required, and not only depend on
shared library inter-dependencies to pull that in.
Fixes the build for sun2.
2010-11-05 09:09:01 +00:00
christos
ce1a2860b6 Add otus firmware from:
http://damien.bergamini.free.fr/packages/openbsd/otus-firmware-1.0.tgz
2010-11-03 18:52:44 +00:00
joerg
8d2377123b Add public-domain 2010-11-02 19:17:02 +00:00
joerg
5ca507b93d Enable direct XZ support 2010-11-02 19:14:53 +00:00
joerg
6960a12118 Install XZ's header files. 2010-11-02 19:12:46 +00:00
joerg
b1de0a15dc Hook up xz into the build system. 2010-11-02 16:34:33 +00:00
joerg
67c9d7de30 Replace configure.ac with a stripped down version for later use by
src/tools.
2010-11-02 15:40:58 +00:00
joerg
5c6654a627 Use libc version of SHA256 on NetBSD. 2010-11-02 15:35:38 +00:00
joerg
4d1abfb29e Import stripped down version of xz-5.0.0. All non-public domain parts
are removed to provide a prestine version.
2010-11-02 15:20:20 +00:00
njoly
46b3723883 Do substitute __TESTSDIR__ when generating atf(7) man page. 2010-11-02 14:41:32 +00:00
mbalmer
aa94cc597c Link Lua to the build and add the resulting files to the distribution sets.
Document the addition of Lua and the change we made to the default settings.
2010-10-31 11:52:50 +00:00
mbalmer
2c6be0820c descend into the lua subdirectory 2010-10-31 11:29:06 +00:00
mbalmer
97213731c9 Lua build infrastructure 2010-10-31 11:26:01 +00:00
mbalmer
ee59b191f4 adjust the Lua configuration to our needs 2010-10-31 11:19:42 +00:00
mbalmer
33fc08400c add teh script used to prepare the source code 2010-10-31 11:18:20 +00:00
mbalmer
dbec530483 Import the (unaltered) Lua 5.1.4 source distribution. 2010-10-31 11:16:48 +00:00
mbalmer
debeea5823 Accidentally these files were imported one level to high, sorry about that. 2010-10-31 11:14:02 +00:00
mbalmer
56288e6a3c Import the (unaltered) Lua 5.1.4 distribution. 2010-10-31 11:08:37 +00:00
yamt
d76c56428e fall back to malloc+pread when stat+malloc doesn't seem to work.
it allows libelf work on /dev/ksyms.

XXX the name of the flag is a bit confusing and i think it's better to rename
MALLOCED to DATA_MALLOCED or such.  but i don't think it's worth increasing
the diff against the upstream for it.
2010-10-31 05:03:12 +00:00
wiz
7baeb17787 Fix typo. 2010-10-24 23:38:06 +00:00
christos
2c07b62e1d add zlib 2010-10-24 19:23:22 +00:00
tsutsui
bd3d0ec2b5 Reorder SUBDIR entries to make this more maintainable/readable:
- put xf86-input drivers first then xf86-video
 - put x86 (i386/amd64) first then other ${MACHINE}s in alphabetical order

XXX1: is it better to use Makefile.${MACHINE} (or something else)?
XXX2: should all ports include xf86-video-wsfb unconditionally?
XXX3: should we have common definitions for MI PCI video drivers?
2010-10-23 15:27:50 +00:00
tsutsui
c9ebdd5ea9 Remove dup xf86-video-cirrus for cats. 2010-10-23 15:16:04 +00:00
tsutsui
6fb1c3ebb4 Use simple .if/.endif statements rather than .if/.elif/.elif/.../.endif
to specify ${MACHINE} specific video drivers since it isn't a good idea
to add new ports at the end of statements.
2010-10-23 14:48:17 +00:00
jmmv
6098e2d456 Per gson@'s request, make these tests less verbose so that the output of
atf-run is not twice as large as before.  This is a pull-up of
699284e5c0d0a375958293e578af4e02d68d1182.

(I don't think it's reasonable to intentionally cripple tests as I have
just done here.  In the future I would like to only report the output of
failed test cases, which would allow us to undo this, but not there yet.)
2010-10-20 16:25:01 +00:00
jmmv
41e4dfff04 Adjust reachover makefiles for atf 0.11. 2010-10-20 09:20:09 +00:00
jmmv
0bc037cb06 Resolve import conflicts. 2010-10-20 09:17:21 +00:00
jmmv
895f502b7b Import atf-0.11:
Experimental version released on October 20th, 2010.

* The ATF_CHECK* macros in atf-c++ were renamed to ATF_REQUIRE* to match
  their counterparts in atf-c.

* Clearly separated the modules in atf-c that are supposed to be public
  from those that are implementation details.  The header files for the
  internal modules are not installed any more.

* Made the atf-check tool private.  It is only required by atf-sh and being
  public has the danger of causing confusion.  Also, making it private
  simplifies the public API of atf.

* Changed atf-sh to enable per-command error checking (set -e) by default.
  This catches many cases in which a test case is broken but it is not
  reported as such because execution continues.

* Fixed the XSTL and CSS stylesheets to support expected failures.
2010-10-20 09:14:17 +00:00
jmmv
8d9c35f478 Sync list of files to ignore in preparation for the 0.11 import. 2010-10-20 08:56:16 +00:00
christos
897c4f3091 remove the unused MAX_PFILE define from Aleksey Cheusov. 2010-10-18 15:58:05 +00:00
christos
7aa51b5177 PR/43981: Aleksey Cheusov: awk too small limit on number -f options
remove the limit
should we pullup to 5.x?
2010-10-17 22:12:22 +00:00
roy
2b71ad63d1 Sync 2010-10-07 14:38:10 +00:00
roy
ada0026e42 Import dhcpcd-5.2.8 with the following changes from 5.2.4
* Use dynamically sized buffers for reading kernel link events
* Use the active link address
* Added option to dump a lease to stdout
* TEST mode now works correctly if an old lease is NAKed
* routes with the gateway = leased ip are now treated as host routes
2010-10-07 14:35:56 +00:00
christos
f4ef40e2cd added commented out trace build. 2010-10-03 22:06:43 +00:00
tron
c4f7aae542 Use setenv(3) instead of putenv(3) because the later doesn't accept
string constants anymore.
2010-10-02 12:22:20 +00:00
joerg
a6fcc8233b Add the __eprol hidden symbol. Forgotten part of the common CSU handling
commit as found by Nicolas Joly.
2010-09-29 14:54:00 +00:00
he
44b7889673 Don't depend on shared library dependencies; we also need -lpuffs here.
This allows us to link statically.
2010-09-23 09:40:23 +00:00
christos
3b2862d165 fix typo. From Anon Ymous 2010-09-22 14:37:08 +00:00
wiz
bb6867a3bf Add missing letter, from Ryo HAYASAKA in PR 43880. 2010-09-15 06:52:33 +00:00
pgoyette
a882490af5 Differentiate between the three types of expected failures 2010-09-11 03:10:57 +00:00
pgoyette
2e17bd5406 First cut at adding support for expected_failures.
Has also been reported/provided to up-stream.
2010-09-04 19:19:27 +00:00
kardel
3319d8f1fd fix MKINET6=no compile 2010-09-04 17:06:06 +00:00
ahoka
82e82fca50 Add libc glue for libtre.
tre will be compiled without approx and wchar/mulibyte support to
only match the minimum requirement to replace our spencer regex.

This needs a lot of testing.

Only enabled when USE_LIBTRE is set to `yes'.
2010-09-04 12:17:58 +00:00
he
38fc53798e Another addition of -lterminfo after -ledit, so this links statically as well. 2010-09-01 16:43:39 +00:00
he
e7d5fad5e6 Add -lterminfo after -ledit, so that this links when doing static
linking as well (found when building for the sun2 target).
2010-09-01 16:26:11 +00:00
he
35c0cfeaba Vax doesn't have IEEE floating point. 2010-09-01 13:46:58 +00:00
kardel
72a98abb7e support to follow NetBSD build options for
MKCRYPTO
	MKMDNS
	MKINET6
2010-08-29 18:55:50 +00:00
kardel
d9d9735e8e make IPV6 support decision consistent with code in ntp_io.c 2010-08-29 18:54:30 +00:00
kardel
7d91f4fb19 remove commented out cruft 2010-08-29 18:52:59 +00:00
christos
489fabeee9 don't compile in ipv6 support unconditionally. 2010-08-29 15:53:01 +00:00
kardel
f7077f6660 only refer to libdns_sd when mDNS is compiled in 2010-08-29 11:15:32 +00:00
kardel
ef0ff97775 make mDNS registration depend on compile time build option MKMDNS 2010-08-29 10:13:07 +00:00
kardel
2092893b1f using a char * as timeout value is a unique concept - atol() the string 2010-08-28 20:54:24 +00:00
kardel
9893a031e7 don't return an int casted pointer as 'boolean' value - compare result of strchr with NULL 2010-08-28 20:52:55 +00:00
kardel
457fd0a5a5 disable .y.c rule - ntp_parser.y needs bison which is not part of the tool chain 2010-08-28 20:51:08 +00:00
kardel
e1e8fcf831 hook in ntp 4.2.6 reachover build (new location in external/bsd/ntp) 2010-08-28 15:47:08 +00:00
kardel
179b12252e add installation of manual pages, html files and up to now missing commands (sntp, ntptrace) 2010-08-28 15:42:45 +00:00
kardel
2dee21c22b .sp only takes a single arg 2010-08-28 15:40:24 +00:00
kardel
e2516bcdc0 fix DEBUG compilation 2010-08-28 15:39:25 +00:00
kardel
43632c662f remove uncondition #define DEBUG 2010-08-28 15:38:55 +00:00
christos
f269499214 hook awk again. 2010-08-27 16:50:30 +00:00
christos
39562c1e23 fix botched merge. 2010-08-27 16:49:47 +00:00
christos
1b8d37d1a2 unhook new awk till I figure out what's wrong. 2010-08-27 16:39:11 +00:00
christos
563a7b4a6a describe new historical license. 2010-08-26 16:33:09 +00:00
christos
76c7995b12 Install in /usr/bin 2010-08-26 16:21:25 +00:00
jmmv
3420de6236 Partially pull up the following revisions that address ticket #53:
996f9c26e07a86607f373c8f0243d57329c11543
    ef98529abaf16e40a2e684496bf3da8f9ff0d09c

These prevent atf-run from stalling/crashing when a subprocess of a test
case stays around after the test case itself exits.

Reported, and verified working, by pooka@.
2010-08-26 15:28:31 +00:00
christos
8317f6d887 awk glue 2010-08-26 14:57:15 +00:00
christos
5642d0040b Apply all our changes including newer fixes to WARNS?=4 2010-08-26 14:55:19 +00:00
christos
35f471cb95 imprort latest nawk 2010-08-26 14:53:14 +00:00
jmmv
a562507d8f Remove obsolete file. 2010-08-26 14:35:54 +00:00
christos
00defba087 Adapt to new module locking regime. Is that even right? 2010-08-22 18:01:01 +00:00
mrg
47b7ca8eaa don't need (or want) miscutil.c here anymore. 2010-08-14 11:12:16 +00:00
mrg
a993b35c5b add bof.c for libdrm 2.4.21. 2010-08-14 10:29:43 +00:00
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