Commit Graph

9599 Commits

Author SHA1 Message Date
jmmv dd2f8250cc Add the bsd.test.mk file
This file simplifies the build of test programs, either written in C++
or in sh.  It hides the internals of atf, e.g. by silently linking
against -latf or calling atf-compile.

It also takes care of installing an Atffile for each new test directory.
2007-11-12 15:05:15 +00:00
jmmv dc55116c56 Add the ATF documentation
This change adds the ATF manual pages that are not tied to any specific
tool nor library.  It also adds some distribution documentation to the
system, as this is linked to by the manual pages (plus we have to install
the license text to comply with its terms).
2007-11-12 15:04:02 +00:00
jmmv ce8090f1b4 Add the atf configuration files
This change adds the directory used by atf to look for its configuration
files.
2007-11-12 15:02:57 +00:00
jmmv 78bb0388d3 Add the ATF data files
This change adds example files shipped with ATF as well as other data files
required to support some of its features.
2007-11-12 15:01:50 +00:00
jmmv 9d5a9c0d86 Add the atf tools
This adds reachover Makefiles to build and install the atf tools.
Some are public, thus installed in /usr/bin, and others are internal
and therefore installed in /usr/libexec.
2007-11-12 15:00:00 +00:00
jmmv fa5c7fcfae Add the atf shell subroutines
This adds the atf shell subroutines: i.e. the code that implements test
programs and is shared among all of them to avoid duplication.
2007-11-12 14:57:34 +00:00
jmmv 096ebe7672 Add the libatf library
This adds reachover Makefiles to build the libatf library and enables it in
the parent Makefile.

Things to review in this change:

* Add proper version numbers in the shlib_version files.

* Is libatf properly listed in lib/Makefile?  It theoretically needs
  libstdc++, but the resulting binary library is not linked against it.
2007-11-12 14:56:24 +00:00
jmcneill 77deea4733 Add man page for pseudo-audio device driver. 2007-11-11 17:45:18 +00:00
reed dc638c10e7 Fix typo, merge sentences. From Adrian S. in PR #37357. 2007-11-11 05:17:59 +00:00
yamt 110566cad5 install kmem.h for pstat. 2007-11-10 07:41:51 +00:00
marty 673ffdc2c8 Adding myself as per Welcome email. 2007-11-10 07:28:17 +00:00
plunky e5a7441d16 Add a new utility 'btkey' for managment of Bluetooth Link Keys stored
in the NetBSD key cache (/var/db/bthcid.keys) and Bluetooth controller
memory.
2007-11-09 21:18:22 +00:00
dogcow 7b88afe00e also bump the /usr/lib version of libkvm.so. (hi, joerg!) 2007-11-09 05:54:42 +00:00
joerg dafa796a4f libkvm was bumped. 2007-11-08 21:02:32 +00:00
drochner 2a6ead9f9c also install zone.tab and iso3166.tab from tzdata, some applications
(evolution, KDE) want the former at least, and other OSes install it
(as the Makefile in tzcode suggests)
2007-11-08 20:14:07 +00:00
ad bdd61de26b Add _lwp_setname/_lwp_getname to libc. 2007-11-07 00:52:25 +00:00
ad 1569e06e16 Install callback.h for kmem grovellers. 2007-11-06 23:39:25 +00:00
martin 6c62888809 Compile a special version of the default locale into libhack - we can
not use real locales, but this at least allows single byte character
locales to work as expected (i.e. the existing translations for sysinst).
Once we get a sysinst translation that needs more, we'll have to drop this
and the castrated setlocale(), and go for a real solution.
2007-11-06 19:27:07 +00:00
xtraeme d61d03fbde Sync with NetBSD-4.0.xml 1.35, which fixes a typo in the sparc changes
section caught by pavel@.
2007-11-05 22:58:33 +00:00
xtraeme b29ea9f980 Sync with NetBSD-4.0.xml 1.34 for the updated list of changes.
With instructions from pavel@.
2007-11-05 22:33:42 +00:00
tls b21c402a7b Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
2007-11-04 23:28:16 +00:00
christos a2dd15b5a4 add bitops.h 2007-11-02 21:26:55 +00:00
pavel 273be3c5e5 bump date. 2007-10-29 20:28:26 +00:00
pavel 03c46b4379 regen the list of changes from
htdocs/releases/formal-4/NetBSD-4.0.xml#major-changes, rev. 1.28.
2007-10-29 20:25:08 +00:00
xtraeme cc39c5b4b9 Add coretemp(4). 2007-10-29 00:54:18 +00:00
isaki 4553314da2 Stop installing inst.fs.gz (and kern.fs).
inst.fs of 1200KB is too small to contain a recent image.
2007-10-28 13:59:53 +00:00
jnemeth 62ce053780 no such user as _authpf, just a group 2007-10-28 09:36:01 +00:00
jnemeth 2fa555aeb3 group rwhod -> _rwhod and add user _rwhod 2007-10-28 09:31:15 +00:00
jnemeth e5922f73c9 sort users/groups to be manually created 2007-10-27 19:55:35 +00:00
plunky ad0b47dec4 add mention of _sdpd/_sdpd user/group in the compatibility section 2007-10-27 07:11:58 +00:00
pavel e6a486ad7b use .Sy for emphasis instead of .Ic 2007-10-26 21:09:49 +00:00
pavel b2ed8dc81d Add a blurb about sendmail->postfix transition.
Do not say that one should extract etc.tgz into a temporary directory
before running postinstall, postinstall does it itself.
Mention that sysinst runs "postinstall fix".
2007-10-26 21:08:53 +00:00
christos 83bb8db055 Add seeprom. 2007-10-25 17:34:06 +00:00
jmmv 240f26990b Translate oldsendmail per Pavel's request. 2007-10-25 15:47:51 +00:00
nisimura fedf46d32a change MAKEDEVTARGETS= for floppy-less installation. 2007-10-25 14:48:00 +00:00
nisimura a2c7664889 finish to relocate md-kernel/ and ramdisk/ directories. 2007-10-25 14:34:37 +00:00
nisimura e02c97f69c relocate md-kernel/ and ramdisk/ directories one level up. 2007-10-25 14:20:55 +00:00
martin 4c5676b9c4 Translate oldsendmail message. 2007-10-23 13:26:09 +00:00
degroote 868baf8f75 Translate in french the new oldsendmail message 2007-10-21 21:20:16 +00:00
pavel 7af5b3f24d When upgrading, check (using postinstall) if /etc/mailer.conf selects the
old, now removed sendmail. If yes, display a warning menu that offers to
replace it by a current version that selects postfix.

Thank much to Martin Husemann for extensive testing and suggestions.

XXX translations need updating.
2007-10-21 20:21:01 +00:00
minskim fdb3f2ed81 The man page for rcs2log(1) is not installed when MKCVS=no. 2007-10-20 15:47:27 +00:00
njoly a478f23b9e Add compat_linux and exec_linux_elf lkm support for amd64:
- Add needed COMPAT_OSSAUDIO to GENERIC.
- Add missing includes needed by linux_syscallargs.h.
- Add lkm building.
2007-10-19 18:52:09 +00:00
jmmv 4f0f9d66ad Mark old versions of libpthread_dbg as obsolete so that they get cleaned
during an update build.  (Hi ad@!)
2007-10-19 13:16:51 +00:00
njoly a4213fb81e Add httpd.debug 2007-10-19 13:11:23 +00:00
pavel eb133809df Remove /usr/share/sendmail and subdirectories under it from the obsolete
list. I already removed the files under /usr/share/sendmail from the
obsolete list in src/distrib/sets/lists/misc/mi rev. 1.145, but forgot
about the directories. This avoids "postinstall check obsolete" failing
needlessly.
2007-10-19 12:32:32 +00:00
dogcow cf74c1eb07 obsolete csh.a, bring in csh.ap. (hi, thor!) 2007-10-19 03:00:33 +00:00
yamt 21ac91dd00 sync with kernel after the merge of yamt-x86pmap branch. 2007-10-18 15:30:43 +00:00
garbled c4c235482e Fix up the set lists to reflect the move of the pmppc section 4 manapages
to evbppc and removal of the section 8 pmppc pages.
2007-10-17 23:20:01 +00:00
garbled 81d85de62e Part 1 of pmppc removal as a port. (the machine is still supported, but
now under the evbppc port)
Note, have not touched the set lists yet, as I would like to preserve the
manpages.
2007-10-17 22:59:26 +00:00
ad bc9419f99a Crank libpthread_dbg major. 2007-10-16 15:11:27 +00:00
tls 215e50961e Add httpd to the build. Add _httpd to passwd and groups and postinstall.
Add /var/www to mtree, add example line to inetd.conf.
2007-10-16 02:47:12 +00:00
pooka 430c2395ef - uvn_attach.9
+ ubc_uiomove.9
2007-10-15 14:00:49 +00:00
xtraeme 3d4634dd53 Remove me from the mumbo-jumbo list now that I use a two-clause style
license in all my code.
2007-10-11 15:21:16 +00:00
martin 96c59cac10 Minor cosmetics 2007-10-09 18:45:56 +00:00
martin e9705aba47 Clear the remainder of the status line after updating it - this allows
messages to be of arbitrary length w/o leaving garbage from previous
ones.
2007-10-09 18:43:26 +00:00
martin d69eb5cf2d Minor cosmetics 2007-10-08 00:21:47 +00:00
jnemeth dfe9b7a3bb expand details about removed components 2007-10-07 23:46:16 +00:00
hannken 3856acafe2 Update the file system copy-on-write handler.
- Instead of hooking the handler on the specdev of a mounted file system
  hook directly on the `struct mount'.

- Rename from `vn_cow_*' to `fscow_*' and move to `kern/vfs_trans.c'.  Use
  `mount_*specific' instead of clobbering `struct mount' or `struct specinfo'.

- Replace the hand-made reader/writer lock with a krwlock.

- Keep `vn_cow_*' functions and mark as obsolete.

- Welcome to NetBSD 4.99.32 - `struct specinfo' changed size.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2007-10-07 13:38:53 +00:00
joerg 18d2e98d25 Include sysctl on the amd64 boot floppy. This is useful for allowing
people to test suspend/resume and can be used to find other values as
well.
2007-10-07 13:12:15 +00:00
xtraeme 73b39c8d03 Add envsys.conf(5). 2007-10-07 04:17:15 +00:00
reed 0b6846c2d6 Add sysctl.conf man page. 2007-10-05 21:32:02 +00:00
dyoung 60149b1ce8 Work in progress: use a raw socket for GRE in IP encapsulation
instead of adding/subtracting our own IPv4 header.

There are many benefits:  gre(4) needn't grok the outer encapsulation
header any longer, so this simplifies the gre(4) code.  The IP
stack needn't grok GRE, so it is simplified, too.  gre(4) will
benefit from optimizations in the socket code.  Eventually, gre(4)
will gain an IPv6 encapsulation with very few new lines of code.

There is a small performance loss.  A 133 MHz, 486-class AMD Elan
sinks/sources a TCP stream over GRE with about 93% the throughput
of the old code.  TCP throughput on a 266 MHz, 586-class AMD Geode
is about 96% the throughput of the old code.  A 175-MHz ADM5120
(MIPS) only sinks a TCP stream over GRE at about 90% of the old
code; I am still investigating that.

I produced stripped-down versions of sosend() and soreceive() for
gre(4) to use.  They are guaranteed not to block, so they can be
called from a software interrupt and from a socket upcall,
respectively.

A kernel thread is no longer necessary for socket transmit/receive,
but I didn't get around to removing it, yet.

Thanks to Matt Thomas for suggesting the use of stripped-down socket
code and software interrupts, and to Andrew Doran for advice and
answers concerning software interrupts, threads, and performance.
2007-10-05 03:28:12 +00:00
bouyer 784da043be Use the correct name for the iso image. Fix the acorn32 part of PR 37033. 2007-10-01 17:28:56 +00:00
kiyohara 83276945d6 Add bcsp.h 2007-09-30 13:10:52 +00:00
kleink f6166193d2 Update for tzdata2007g. 2007-09-30 11:29:43 +00:00
kiyohara 621909efb7 Add bcsp. 2007-09-30 04:25:26 +00:00
martin 7179dab5b0 Fix column alignment in partition size display 2007-09-29 21:54:13 +00:00
pavel 6fb3a9fdf6 regen the list of changes from NetBSD-4.0.xml rev 1.25 . Also, do not
add extra whitespace at the end of some lines.
2007-09-29 16:53:13 +00:00
tsutsui b2791a870b Remove ugly port ifdefs around install media of MS-DOS floppy and Tape.
I don't think users will complain that their machine doesn't have it,
and it's worthless to maintain which ports support these devices or not.
2007-09-28 19:45:56 +00:00
tsutsui 3a408b6a40 Update sgimips kernel names. 2007-09-28 19:40:24 +00:00
tsutsui f9c4ad0965 Several update for ews4800mips.
XXX: set sizes should be updated by list-setsizes.sh
2007-09-28 19:14:33 +00:00
tsutsui 668270d69e Remove "text only" from description of XA framebuffer on NWS-5000
since we have Xserver for it.
2007-09-28 18:27:42 +00:00
tsutsui f780efe971 - alpha now requires three floppies
- newsmips now requires two floppies
2007-09-28 18:26:47 +00:00
tsutsui cf02cebf04 First cut at NetBSD/ews4800mips install notes. Not well confirmed.
(I guess very few people will actually require it...)
2007-09-28 18:20:13 +00:00
wiz 8fe4056934 Add piixpcib(4), based on the one provided by Stephan Meisinger in
PR 37021.
2007-09-25 06:27:04 +00:00
lukem e9aa053c09 Add raise_default_signal(3) -- raise the default signal handler.
Can be used by applications that have their own SIGINT (et al)
handlers and want to exit in a manner that correctly
signals to the parent that the process was terminated by a signal.
See http://www.cons.org/cracauer/sigint.html for more info.
Discussed on tech-userlevel@.
2007-09-25 01:13:54 +00:00
wiz 804d4ddaaf Document aprint*_dev and aprint*_ifnet. Requested by joerg@ 2007-09-24 20:44:23 +00:00
agc 903cd8368b Sync with reality - add <sys/gcq.h> 2007-09-23 21:27:34 +00:00
martin 3d0c5d6936 Add a warning that booting the install kernel from a Solaris root partition
may fail for non obvious reasons. Fixes for the bootloader will not be
available in-time for 4.0, unfortunately.
2007-09-16 21:41:16 +00:00
xtraeme 189cf45ffd Forgot to add aps(4)... sorry phone :-) 2007-09-11 21:54:54 +00:00
chris 5e02e37306 Fix bug which causes cats builds to not produce an a.out install kernels,
which are needed to boot from Cyclone firmware.

Bug reported on port-cats mailing list:
http://mail-index.netbsd.org/port-cats/2007/09/08/0000.html
2007-09-08 14:25:09 +00:00
rmind 2cecf9bbe9 Implementation of POSIX message queues.
Reviewed by: <ad>, <tech-kern>
2007-09-07 18:56:02 +00:00
tshiozak 260d6cea73 add manpage for uchcom(4). 2007-09-03 18:02:16 +00:00
jnemeth 28af2a6c6b add CDEXTRA for specifying a directory of extra stuff to put on a CD 2007-08-31 14:20:29 +00:00
macallan eb432e069e let build.sh build the ag10e driver 2007-08-30 04:45:02 +00:00
jnemeth 44f91e0e38 cd to previous directory after copying files so subsequent copies won't fail 2007-08-30 04:27:04 +00:00
xtraeme c52324299f Add a manpage for the ichlpcib(4) driver. This needs some wizd-ification. 2007-08-26 18:05:43 +00:00
skd 1e30d70843 /libexec, not /usr/libexec. 2007-08-24 17:11:58 +00:00
he 582037c8a5 Add libexec to SRCDIRS so that the source of the newly added
lfs_cleanerd can be found.
2007-08-23 12:24:14 +00:00
skd e066a10613 Enable LFS from sysinstall. 2007-08-21 02:20:55 +00:00
drochner 9d8b5fa74e Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.
2007-08-20 16:01:28 +00:00
kiyohara 10448cd503 Add support for AnyCom BlueCard. 2007-08-20 00:29:43 +00:00
tnn 449902fc06 Add spdmem(4) driver. This decodes technical specifications stored in
the eeprom on common types of memory modules. The specifications are
displayed during boot and can later be queried in the hw.spdmemN sysctl
subtree. Stub driver written by Nicolas Joly and greatly improved upon by
Paul Goyette. From PR 36745, with additional improvements by Paul and me.
2007-08-18 11:26:35 +00:00
pavel c0f560c80e struct plistref does not reference other proplib data types, so split it
in its own header file to be included by dkio.h. Fixes breakage due to
pollution from proplib.h in programs which include ioctl.h. Tested and OK
by dogcow@.
2007-08-17 11:05:03 +00:00
kiyohara 8e7888075a Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html

And import gcq.
http://mail-index.netbsd.org/tech-kern/2007/06/18/0020.html
2007-08-16 03:09:01 +00:00
kiyohara b095a2da1f Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
  gcq is Generic Circular Queues.  Used by slhci.
2007-08-15 16:43:10 +00:00
pooka f49fa2014c add mount_sysctlfs.8 2007-08-10 07:59:32 +00:00
pooka ba4e596bc9 move sysctlfs from examples to base 2007-08-09 22:01:25 +00:00
nonaka fad0ea915b build and install zbsdmod.o. 2007-08-09 16:08:58 +00:00
he fd961c4429 Add a new socket option for unix domain sockets: LOCAL_PEEREID, to make
it possible to get the pid, euid and egid of the process at the remote
end at the time it did bind() or connect().

Add a new libc function, getpeereid() to easily get at the euid and egid.
As a consequence, bump libc's minor number.

Document the LOCAL_PEEREID socket option in unix(4).

Based on contribution by Arne H. Juul, minor modifications by myself.
2007-08-09 15:23:01 +00:00