Commit Graph

1408 Commits

Author SHA1 Message Date
haad 951cf32ac2 Initialize system_taskq during taskq init. This fixes ztest crash in taskq_dispatch. 2010-05-02 23:50:34 +00:00
christos 3f874b5444 reflect reality. 2010-05-01 19:51:33 +00:00
tonnerre 89ba794efc Prevent ntpd instances from sending MODE_PRIVATE error responses back and
forth. This resolves CVE-2009-3563, but it should be noted that nobody uses
this code so far, so this is more of a preventive update than a security
one.
2010-04-25 22:50:11 +00:00
joerg 323fc69705 Update build glue for pkg_install-20100421 2010-04-23 20:56:01 +00:00
joerg 8164e2ede7 Merge pkg_install-20100421 2010-04-23 20:55:31 +00:00
joerg 0e7c882236 pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.

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

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

Recognize xz as compression type for pkg_create.

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

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

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

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

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

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

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


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
2010-03-14 00:26:09 +00:00
christos 958e171b8e make dtrace compile on amd64. 2010-03-13 22:31:15 +00:00
darran 53cc5b77a6 DTrace: fix a sign problem with instruction size handling. 2010-03-13 01:10:01 +00:00
darran f6bf800773 DTrace: Add the Function Boundary Trace (FBT) provider moduile. This
module  instruments every function in the kernel with entry and exit
probes.  These probes are true zero-effect probes in that they don't
exist in the code until they are enabled.  The probes are enabled by
directly patching the function entry and exit points to make jumps into
the dtrace framework.
This gives us over 29,000 trace points in the kernel.
2010-03-12 21:53:15 +00:00
darran 328338d6bd DTrace: Add support for a simulated solaris_cpu[] data structure per
cpu.  Needed for the FBT provider amongst other features.
2010-03-12 21:37:37 +00:00
haad 16daab5dae Fix /var/run/dev.db dependency by adding new get_dev_name routine which
converts raw device major:minor number to block device path. By reading
/dev and using stat to find block device major:minor numbers.
2010-03-12 16:24:40 +00:00
darran 5b3b7dba24 DTrace: fix a few build issues for tools and the dtrace provider operation
interface.
2010-03-11 23:28:07 +00:00
darran 2ac926fa16 DTrace: The CTF format is limited to only 1024 elements in an enum,
so rather than error out when there are more than this just truncate the
length.
2010-03-11 23:26:33 +00:00
darran 7eee4c810f DTrace: fix a libctf toolchain build problem. 2010-03-10 23:41:56 +00:00
lukem 1f0d0df9ea fixed rcsids on 2.4.21 import 2010-03-08 06:43:18 +00:00
lukem 2b8444592e openldap2netbsd - script to munge rcsids, and otherwise prepare for import 2010-03-08 06:42:31 +00:00
lukem e598ca9c12 bump minor version for 2.4.21 2010-03-08 05:45:24 +00:00
lukem 62a8debe1d build ldapurl 2010-03-08 05:24:59 +00:00
lukem 9b4fc98d5f ldapexop now has a man page 2010-03-08 05:24:33 +00:00
lukem 1ae7a69fb9 support building without common.c (for ldapurl) 2010-03-08 05:23:41 +00:00
lukem e3d0290b8c add meter.c 2010-03-08 05:19:10 +00:00
lukem 9a2cfaa213 update for .c changes in 2.4.21 2010-03-08 05:18:17 +00:00
lukem 45f096ee63 version is now 2.4.21 2010-03-08 05:17:25 +00:00
lukem 902ced1e35 Man pages added in 2.4.21 2010-03-08 05:11:20 +00:00
lukem 19fc3e3fef Regenerate for OpenLDAP 2.4.21 2010-03-08 05:08:40 +00:00
lukem 672b7d248c Regenerate for openldap 2.4.21 2010-03-08 05:07:40 +00:00
lukem e6632eb096 Disable HAVE_TLS here; we'll conditionally enable it in the Makefiles.
Disable HAVE_FETCH; API appears to be incompatible
2010-03-08 05:07:16 +00:00
lukem 4f33bfd95b fix const warning 2010-03-08 05:00:51 +00:00
lukem f8fd1d3c37 include <ac/time.h> for timeval. 2010-03-08 04:58:18 +00:00
lukem 60134bf0d1 Merge 2.4.21 2010-03-08 03:47:40 +00:00
lukem 4e6df137e8 OpenLDAP 2.4.21. Numerous fixes, including:
* properly handle NUL in CN of SSL certs (CVE-2009-3767)
2010-03-08 02:14:20 +00:00
plunky b3fbf28e26 Install PCC cpp as libexec/pcpp to avoid name conflicts with other
compilers (eg GCC), and to match the manpage which is already installed
as pcpp.1

(Gregory McGarry: "I think it's a good idea")
2010-03-07 16:27:17 +00:00
plunky f61fe2b584 break overly long line 2010-03-07 12:05:09 +00:00
darran 141a7ffa73 DTrace: add a dependency on the dtrace module. 2010-03-05 02:21:41 +00:00
darran b50656c859 DTrace: fix the curthread and mutex data types. 2010-03-05 01:53:15 +00:00
darran dc1214bcba DTrace: Explicitly check for OS X to decide if echo needs -e. 2010-03-05 01:34:35 +00:00
yamt 9b49bad822 fix multi-thread problems wrt read/write buffer. PR/42651. 2010-03-03 00:44:51 +00:00
darran 1a9939bde9 DTrace: another fix for OS X builds, stdint.h location. 2010-03-02 22:00:32 +00:00
darran fe6ba50113 DTrace: Get DTrace to build on OS X platforms. 2010-03-02 21:08:36 +00:00
darran 19c2a5114b DTrace: make sure we get a processorid_t definition (fix zfs module build). 2010-03-02 00:55:46 +00:00
darran 8a2ce716b0 DTrace: fix the dtps_provide_module definition. 2010-03-02 00:43:36 +00:00
darran d4b5b32026 DTrace: fix to only define sdt_provider_t if in the kernel. Not for
user space.
2010-03-01 23:42:41 +00:00
darran 283a6ba02c DTrace: update sdt.c handlers to match latest OpenSolaris vendor import. 2010-03-01 22:38:29 +00:00
darran ffcea0cd00 DTrace: processorid_t is defined elsewhere (pset.h), so make it a sun only
definition here.
2010-03-01 22:20:15 +00:00
haad bbc4932093 Commit last to fixes which make zfs version 22 compiling again. 2010-03-01 21:13:09 +00:00
darran 6a9056a926 DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider.  Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.
2010-03-01 21:10:13 +00:00
haad 384eb3acb2 Remove fletcher.c from dist it was moved to common/zfs/zfs_fletcher.c in upstream. 2010-03-01 20:38:19 +00:00
haad 5a7add5b9c Removee compile time generated file from dist it is in osnet/sys/sys now. 2010-03-01 20:10:46 +00:00
haad 3ab7a7aa17 This id compile time generated file add it to sys/sys and do not polute
dist dir with it.
2010-03-01 20:06:37 +00:00
darran ac8906f757 DTrace: fix a few problems introduced by the recent ZFS update (expected
problems from the OpenSolaris merge).
2010-03-01 11:19:39 +00:00
haad 06e8ea2875 Add header files needed for building zfs as kernel_module. 2010-03-01 00:41:35 +00:00
joerg 7780622b8d Use HUGE_VAL on VAX as INFINITY requires a warning according to ISO C99
on VAX. Use the less intrusive approach of a conditional here.
2010-03-01 00:15:47 +00:00
haad 75eba26b3c Add forgotten misc.h header file, which I forgot to commit. 2010-02-28 22:50:48 +00:00
haad 07be11bb73 Addmissing symbols to libumem. 2010-02-28 22:45:45 +00:00
haad 7077d82ba4 Add missing zfs_fletcher.c to libzfs. 2010-02-28 22:40:09 +00:00
haad 29137ce9bb Add newly added stubs.c file to libzfs build. 2010-02-28 17:40:35 +00:00
haad e3855e55fa Add fixes for missing symbols from libzfs and libzpool. 2010-02-28 17:36:51 +00:00
haad 3491b19f5b Add NetBSD/Solaris compatibility SHA header. 2010-02-28 17:22:01 +00:00
haad 68ffa27a55 Add missing -I definition. 2010-02-28 15:24:04 +00:00
haad 90f8c9d149 Add missing header file, I will tag it to osnet-20100224 later. 2010-02-28 15:17:44 +00:00
haad 32fa36ddd0 Add another set of headers files. 2010-02-28 15:13:27 +00:00
haad 826319b9a5 Add missing header file I have missed it in first round of glue commits. More
to come.
2010-02-28 15:10:12 +00:00
haad 9531208f86 Add our local version of sysevent.h file without door.h useage. 2010-02-28 15:07:14 +00:00
haad a3bfe6d964 Add NetBSD build glue to build new zfs version 22 sources. 2010-02-28 14:45:47 +00:00
darran ba7b8985fe DTrace: enable access to kernel space for DTrace scripts. 2010-02-28 07:01:43 +00:00
haad a252d550c0 Merge NetBSD local changes to new zfs version 22 sources. 2010-02-27 23:43:52 +00:00
haad f59c7639cd Import new Opensolaris sources for zfs/dtrace.
Opensolaris mercurial changeset: 11751:58c0c8f4305f
2010-02-27 22:29:20 +00:00
roy 4d83beb44b Import dhcpcd-5.2.1 for a build fix 2010-02-27 16:02:25 +00:00
roy 3818f326d9 Include platform.c 2010-02-27 15:55:09 +00:00
roy 0df03e9fd9 Import dhcpcd-5.2.0 with the following changes from dhcpcd-5.1.5:
* VendorID is now dhcpcd-$version:$OS-$version:$machine:$platform
* IPv4LL address range can now be used in DHCP requests
* sysctl net.ipv4.conf.$iface.promote_secondaries enabled on Linux
  This resolves a long standing issue of changing ip on the same subnet.
* IPv4LL correctly resets the DHCP timer.
2010-02-27 15:52:20 +00:00
drochner 2b06c3b677 remove generated binary files 2010-02-27 12:08:56 +00:00
agc 18a6f17072 add reachover shlib version file 2010-02-26 05:23:18 +00:00
darran 216ff964d9 DTrace: okay *really* fix the deadman exit handling. No need for that
over-complicated handshake. Fixes a lockdebug mutex held issue.
2010-02-25 16:49:19 +00:00
wiz bc3c98c2fc Convert to mdoc.
XXX: license should be added to file.
2010-02-25 13:51:44 +00:00
wiz a6f6e00106 New sentence, new line. (more to come). 2010-02-25 13:05:11 +00:00
darran 4d76bb3302 DTrace: fix a problem with the code waiting for the deadman thread to exit
- now it does actually wait for it to exit.  Thanks to Frank Kardel for
spotting this.
2010-02-25 11:12:02 +00:00
agc 7aa5ca9937 add reachover logic for agrep - an approximate grep program which uses
the newly added libtre, which is "the free and portable approximate
regex matching library".

the manual page is not yet in standard format
2010-02-25 08:06:43 +00:00
agc c71b413f8c add reachover glue, and config headers, to allow libtre to build with WARNS=4 2010-02-25 07:46:14 +00:00
agc 63d4abf06d initial import of tre-0.8.0 into the external sources framework.
with many thanks to ville laurikari for writing tre in the first place
and for changing the licensing to a 2-clause bsd license; thanks also to
matthias-christian ott for his work on the google summer of code 2009
project.

this import brings the distribution to src/external - the reachover
build files will follow
2010-02-25 07:33:17 +00:00
darran bb7c1e9274 DTrace: fix CTF tools for non-toolchain build. 2010-02-25 00:18:44 +00:00
darran 84501f8fef DTrace: have DTrace build with out requiring MKZFS=yes. 2010-02-25 00:14:10 +00:00
darran 89300bd9df DTrace: Get the CTF tools building as part of the toolchain. 2010-02-24 21:53:26 +00:00
darran 9f15b3a450 Fix a bug in the dtrace_state_deadman() thread; return should have been
a continue (thanks Frank!).
2010-02-24 21:08:54 +00:00
tron 3d553f9ca7 Disable stack protection warnings for more sources which use dynamically
sized stack buffers.
2010-02-24 15:40:54 +00:00
tron ab396280fe Disable stack protection warnings for sources which use dynamically
sized stack buffers.
2010-02-24 12:51:05 +00:00
tron 00ff80736e Include "bsd.own.mk" before checking "MKDTRACE" to allow setting it
in "/etc/mk.conf".
2010-02-24 12:18:37 +00:00
tron 235f29a8f3 Disable stack protection warnings for "zdb_il.c" which uses a dynamically
sized array on the stack.
2010-02-24 11:56:35 +00:00
drochner 7abc5be2ce adjust INTERP path for NetBSD (needed eg for -static -pie) 2010-02-23 20:42:40 +00:00
jnemeth c686421e4b PR/42874 - Henning Petersen -- misplaced } 2010-02-23 16:41:01 +00:00
jnemeth b006902069 PR/42873 - Henning Petersen -- missing ) 2010-02-23 16:35:06 +00:00
haad a7a3d3b216 Revert lib_nvpair hack now when it is not needed when njoly@ commited his fix to
bsd.lib.mk.
2010-02-22 20:05:03 +00:00
joerg 87faf7cb4f \\ -> \e 2010-02-22 19:20:33 +00:00