Commit Graph

1778 Commits

Author SHA1 Message Date
mrg 6af7010d56 add the include dir, to prepare for xmh 1.0.2 2010-11-20 22:41:49 +00:00
mrg 35542dc62d add the app-defaults dir, to prepare for xmh 1.0.2 2010-11-20 22:40:00 +00:00
mrg f5c31e4871 add the app-defaults dir, to prepare for xload 1.1.0 2010-11-20 22:34:17 +00:00
mrg 5fbca94a02 add missing radeon_exa_shared.c, came with 6.13.2. 2010-11-20 21:24:00 +00:00
dholland 8f6ed30d57 Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.
2010-11-19 06:44:33 +00:00
tron c3b15fd54b Build and install the following manual pages from the "xorg-docs" package:
- Consortium(7)
- Standards(7)
- X(7)
- XOrgFoundation(7)
- XProjectTeam(7)
- Xsecurity(7)
This fixes PR xsrc/44034 by Martin Neitzel.
2010-11-18 18:47:35 +00:00
mrg 7e57e9a9ce build the dri libraries on ofppc, same as macppc. 2010-11-18 08:41:54 +00:00
mrg 29083f4141 enable xfree86 server build for ofppc, and a bunch of drivers. 2010-11-18 08:20:16 +00:00
jmmv 9e95dfadb1 Pull up 702fa99a25c1b27e4c501e4a504f36b74106ea97 from upstream
This reverts the default timeout for test cases back to 300 seconds.
The change in the release was quite blind because it did not anticipate
many existing tests to be slow enough to overflow the modified timeout
(30 seconds), specially in anita.

My plan to really fix this is to let test cases specify their sizes in
a declarative way instead of specifying timeouts in seconds (the timeout
being defined by atf-run on a size basis), so I'm not going to bother to
go over all existing tests trying to figure out which ones need a higher
timeout for now.  It is just easier to revert.
2010-11-16 17:55:56 +00:00
tsutsui 77acd29099 Add sample xorg.conf files for hpcarm, hpcmips, and hpcsh. 2010-11-13 02:07:28 +00:00
tsutsui d1eadfe059 Provide port-specific sample xorg.conf files in xserver.tgz.
No particular comments on tech-x11.
2010-11-12 17:05:48 +00:00
pgoyette 603fd4b791 Calibrate the amount of time that a sleep() requires, and use that
interval instead of assuming that there are exactly 1000 real-time-clock
milliseconds per second!  On some ports when running under qemu, there
can be twice as many RTC milliseconds as expected.

This is part 2 of the changes required to make the libevent tests work
on port-amd64 under qemu.
2010-11-11 14:11:26 +00:00
pgoyette 21bfc7fd78 Adjust timers a bit so that the http timer can get a chance to expire,
even when running under qemu on platforms with a clock-skew problem.

The original 3-second timer was intended to be "longer than the http
timeout" (which is 2 seconds), and the updated 5-second value still meets
this requirement.  The updated value also meets the requirement even when
the http timeout stretches to 4-seconds under qemu.

This is part 1 of getting the libevent tests working on port-amd64 with
qemu.
2010-11-11 14:08:45 +00:00
roy c1259c9577 Put correct init.d hooks into dhcpcd-run-hooks. 2010-11-10 14:12:28 +00:00
macallan 5f8ec2be4f don't build fbdev support on powerpc and sparc64 2010-11-10 04:08:56 +00:00
joerg 73bdaeedcd Add back easy_encoder.c, lost during the final 5.0.0 update. 2010-11-09 23:07:09 +00:00
lukem 70f37e1ba5 Don't set DPADD for HOSTPROGs 2010-11-09 00:11:37 +00:00
christos b080945e93 PR/44063: Aleksey Cheusov: awk: setting NF doesn't change $i
http://www.opengroup.org/onlinepubs/009695399/utilities/awk.html

    ...
    References to nonexistent fields (that is, fields after $NF),
    shall evaluate to the uninitialized value.
2010-11-07 22:55:26 +00:00
jmmv 91113eeff8 Pull in post-release fix 3d5597b0076ade841abf03fc274da72d17cb3ad6 to resolve
issues with the default NetBSD settings.  Tests were producing invalid results
because they were unexpectedly reading the system-wide settings.
2010-11-07 17:54:03 +00:00
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