Commit Graph

1918 Commits

Author SHA1 Message Date
mbalmer a5ce577b9d Build the updates ssh-askpass program and add the man page to the xbase set. 2011-04-03 13:29:45 +00:00
rmind 756122ce22 Remove unused M_MOUNT. 2011-04-02 04:57:35 +00:00
jmmv 914575b7d1 Adjust reachover build files with the import of atf-0.13. 2011-03-31 16:45:44 +00:00
jmmv e7183a7993 Fix import conflicts. 2011-03-31 16:44:17 +00:00
jmmv eb215e31ca Import atf-0.13:
Experimental version released on March 31st, 2011.

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

The changes in this release are:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This was fixed upstream so change this to be the same as the 4.2.6p3
stable release of ntp (can't find an actual changelog entry that
describes this, so have included the memcpy change also - memmove
is not required here)
2011-02-27 12:10:18 +00:00
plunky e9bb66e7cf clean up man files copied during build
also.. while we are putting the pages into different sections,
lets change the manpage contents to reflect that
2011-02-26 19:17:37 +00:00