Commit Graph

1980 Commits

Author SHA1 Message Date
matt
1b9f0bef5f Remove old mfcr/mtcr definitions 2011-04-14 08:05:00 +00:00
matt
1483d2e256 Add bfd_mach_mips_xlr 2011-04-14 08:04:20 +00:00
matt
91f4e65a42 Pull in MIPS XLR (XLS) support from patch in
http://sourceware.org/ml/binutils/2009-01/msg00383.html
This replaces local changes to support some xlr instructions.
2011-04-14 07:49:48 +00:00
macallan
bd3339ab7c pass ${MACHINE} as -D__<whatever> so we can have arch-specific defaults 2011-04-13 16:18:14 +00:00
joerg
f64d82cdeb Extend, not reassign CPPFLAGS. 2011-04-11 22:47:50 +00:00
roy
e21138bdbf Sync 2011-04-06 09:09:05 +00:00
roy
a2af890d85 Import dhcpcd-5.1.12 with the following changes:
* 20-resolv.conf now uses the correct variable for $IF_METRIC
* Exclude interface values when dumping the lease
* Parse static value subnet_mask when it exists instead of deriving from
  ip address
* logger calls now resemble dhcpcd calls to syslog(3)
* Reject offered IP address if INADDR_BROADCAST or INADDR_ANY
* Change the route if source address has changed
* Note the address we are requesting in the broadcast log entry
* When operating on one interface, respect the timeout for in dhcpcd.conf
* Escape | and & characters before passing the value to the shell
  Ensure we set a valid hostname, DNS domain and NIS domain.
  Document the need for input validation in dhcpcd-run-hooks(8).
  Fixes CVE-2011-996
  Based on a patch to dhcpcd-3 by Marius Tomaschewski <mt@suse.de>
2011-04-06 09:06:41 +00:00
jmmv
19180a785c Pull up revision b94e200f2a6ce3d47103339db1f3c8936b7238d3:
Unset TERM when running GDB

GDB inserts some funny control characters in its output when TERM is set to
e.g. xterm.  Workaround this by simply unsetting TERM.

Reported by martin@ and diagnosed by pooka@/martin@.
2011-04-05 17:17:35 +00:00
jmmv
8f2e7abf72 Set LIBISCXX=yes; from joerg@. 2011-04-05 16:37:06 +00:00
joerg
bdc03d8058 Fix typo to embed the right path for N64 2011-04-05 10:48:47 +00:00
agc
13f6fd89a7 get rid of most (but not all) lint on amd64 2011-04-05 06:24:42 +00:00
agc
0b168fdfde remove function parameter names from function prototypes
make the lzf_compress() prototype match the function definition - the
prototype always added the state table argument, although it should be
conditionally compiled in.  use the same cpp magic as in the source
file to prototype the function in the header file.
2011-04-04 20:37:48 +00:00
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
mrg
8816a0ba06 add missing x11-xcb.pc. 2011-02-26 09:27:20 +00:00
mrg
d507ad9bb4 build Xge now that it builds, bump the minor. 2011-02-24 08:18:40 +00:00
mrg
3706e3a97f libxcb depends upon libXau. 2011-02-24 08:15:13 +00:00
mrg
eef460d389 move libxcb earlier than libX11, which now wants to link against it. 2011-02-23 20:03:58 +00:00
mrg
eba43c4a50 enable USE_XCB in libX11.
install missing libX11-xcb and Xlib-xcb.h.
2011-02-23 07:53:28 +00:00
mrg
3bade72918 libxcb doesn't need or want to link against libXaw. avoids
implicit cyclic dependancy loops, which crash rtld right now.
2011-02-23 06:04:31 +00:00
joerg
213144e1de Update LLVM/Clang snapshot. This brings improvements for the integrated
assembler and support for -cxx-isystem in the driver.
2011-02-23 03:09:02 +00:00
sborrill
d66709fd74 Update HISTORY to show that iscsifs was in NetBSD 5.0 2011-02-22 17:15:55 +00:00
wiz
68b1a98bc8 Markup fix. 2011-02-22 14:23:37 +00:00
sborrill
75f0848d7d Note limitations of CHAP implementation in BUGS section. 2011-02-22 13:17:20 +00:00
sborrill
cbedc267b9 Skip target if TargetName is empty.
Use relevant TargetAddress, not just first one we happen to find.

Following improvement based on feedback from Daisuke Aoyama (author of istgt):
Handle NOP-OUT CmdSN and immediate bit.
Handle NOP-IN TransferTag=0xffffffff.
Interim solution for dealing with Underflow bit in iSCSI response.

iscsi-initiator now talks to istgt and other targets.

Remaining issues:
CHAP support will not work with most targets (maximum 16 octet challenge is
used, but other initiators use up to 1024). However, CHAP can now be
bypassed by not specifying a username.
2011-02-22 13:10:55 +00:00
sborrill
f7bc64b9db Retry read capacity. Device may not be ready on first access, so need to
wait and re-issue. From Daisuke Aoyama (author of istgt).
2011-02-22 13:04:31 +00:00
sborrill
c3d1c80eb5 Release 20110222 2011-02-22 13:00:05 +00:00
sborrill
83d439db6d Skip .orig files 2011-02-22 12:56:50 +00:00
sborrill
a96e357c94 Document -D option (discover LUNs).
iscsi-initiator was NOT in NetBSD 5.0.
2011-02-22 10:34:12 +00:00
sborrill
ff607cd15b man page claims that you can use auth type = none, but in reality this
didn't work (insisted on a username being given and then used, plus always
advertised CHAP to the target). Make initiator work as advertised (i.e.
defaults to auth type none and so don't require a username).

To use CHAP you should explicitly request CHAP:
iscsi-initiator -a chap -u user -h targetname /mountpoint

For backwards compatibility, if a username is given (-u) and no auth type
is specified (-a), it will default to CHAP, i.e. to use none, just give no
username:
iscsi-initiator -h targetname /mountpoint
2011-02-21 17:48:43 +00:00
sborrill
4fd58d7036 Remove hostname from pathname to storage in mount point.
This means /mnt/mytarget.domain.local/target0/storage is now
/mnt/target0/storage.

Rationale is as follows:
- The hostname used may vary (i.e. name vs FQDN vs IP) which can mess up
  mountpoints (especially across multiple hosts e.g. in a shared xen pool)
- Target name is given in the mount anyway so it is redundant

OK agc@
2011-02-21 17:24:19 +00:00
mrg
5d1c95e7b4 install geometry/sanwa, symbols/ph and symbols/rupeesign. 2011-02-21 05:10:27 +00:00
mrg
b6bcd34d19 define HAVE_GETPAGESIZE. 2011-02-21 05:09:53 +00:00
mrg
1a8c47fa93 find the moved man page from xkbcomp 1.2.1. 2011-02-21 04:54:52 +00:00
mrg
afa05ee8cd define PCVT_SUPPORT ofppc anywhere other ppc platforms do.
part of the way to getting xorg working on ofppc.
2011-02-21 04:42:16 +00:00
mrg
70c2c252ae define HAVE_ASPRINTF and find the moved man page after xrdb 1.0.8 update. 2011-02-21 04:40:55 +00:00
mrg
49ab6df5a5 find config.h and the man page after xbiff updates. 2011-02-21 04:40:24 +00:00
mrg
6edd3eb6b1 build the new evergreen files in xf86-video-ati 6.14.0 2011-02-21 01:01:54 +00:00
jmmv
a3b86068ff Fix the values of atf_arch and atf_machine: the former is supposed to be
the cpu name and the latter the port name.  They had been reversed until
now due to some "smart" stupidity^Wlogic in the upstream configure script,
which is now gone.

This is a pullup of revision f9329ca68da7e8557e0803b5747a12f8c10b1258
plus the corresponding reachover build changes.

Addresses PR bin/44305.
2011-02-20 20:56:34 +00:00
jmmv
4d916cb08c Set DPADD to point to the static versions of libatf-c and libatf-c++ as
appropriate.
2011-02-20 20:18:56 +00:00
ws
191e94cd7e Fix return values.
OK christos.
2011-02-20 19:05:32 +00:00
agc
78b8953550 manual page improvements, from enami tsugutomo, with thanks. 2011-02-20 03:56:36 +00:00
aymeric
be644fb029 merge pkg_install 20110215 2011-02-18 22:36:00 +00:00
aymeric
997253ffc3 Import pkg_install 20110215.
--- 20110215:
Fix audit-history subcommand to include patterns making use of [x-y] notation.

--- 20101212:
Don't warn about _ALPHA, _BETA, _PATCH, _RC, _STABLE mismatches when
pkg_add'ing on NetBSD.

--- 20101122:
Fix crash in pkg_info -X on hand-written packages.

--- 20100915:
Allow https URLs.

--- 20100914:
Add -D flag to pkg_install, to override the "pkg_add -U" check that
all depending packages have their dependencies satisfied by the new
package.  Essentially, split off this particular behavior as a special
case of -f, so that -f works as before, unforced works as before, and
one can give -D to override exactly this check, leaving all other
checks intact.

The -D flag is in support of make replace, as the workflow for make
replace is that inter-package dependencies are sometimes violated (but
then one must replace the depending packages, which is what
pkg_rolling-replace does via the unsafe_depends flags).

Add missing break statement in option parsing of "pkg_add -C", riding
the version bump.
2011-02-18 22:32:27 +00:00
christos
a913237f1e undo the thread and atomic lossage of the import. 2011-02-18 21:25:06 +00:00
jruoho
5f9b9b3433 Build this for NetBSD, not Linux. Thanks to Takahiro HAYASHI
for pointing this out.
2011-02-18 17:34:22 +00:00
jmcneill
a22e191681 Get rid of stray /usr/X11R6 references 2011-02-17 23:50:18 +00:00
joerg
daf6c4152f Update LLVM/clang snapshot. This brings in support for
.pushsection/.popsection and fixes clang -B to be incremental.
2011-02-17 18:35:35 +00:00
jruoho
b7ca446498 Fix iasl(8). 2011-02-17 18:26:20 +00:00
joerg
b8e7b32e9a clang is more restrict matching input and output constraints.
Input is long, but used are only the lower 32bit. The cast actually
saves a byte in the output.
2011-02-17 17:14:56 +00:00
wiz
07445f37aa Add .An -nosplit to AUTHORS to avoid a new line for Jukka. 2011-02-17 17:07:55 +00:00
jruoho
1385e1c0d9 Retire src/external/intel-public. 2011-02-17 07:56:37 +00:00