Commit Graph

1392 Commits

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

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

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

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

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

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

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

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

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

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

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

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

Recognize xz as compression type for pkg_create.

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

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

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

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

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

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

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


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
2010-03-14 00:26:09 +00:00
christos
958e171b8e make dtrace compile on amd64. 2010-03-13 22:31:15 +00:00
darran
53cc5b77a6 DTrace: fix a sign problem with instruction size handling. 2010-03-13 01:10:01 +00:00