Commit Graph

7964 Commits

Author SHA1 Message Date
lukem
600b0d8d67 Implement LIBDPLIBS, which is a list of the tuples:
libname  path-to-srcdir-of-libname

For each tuple;
     *	LIBDO.libname contains the .OBJDIR of the library `libname', and
	if it is not set it is determined from the srcdir and added to
	MAKEOVERRIDES (the latter is to allow for build time optimization).
     *	LDADD gets  -L${LIBDO.libname} -llibname    added.
     *	DPADD gets  ${LIBDO.libname}/liblibname.so  added.
2004-08-04 08:00:27 +00:00
lukem
a606b4af8b Revert most of previous, and move the LIB<libname>?= assignments
back to bsd.prog.mk from bsd.own.mk.

pkgsrc uses <bsd.own.mk>, and setting LIB<libname> in it causes
problems with various package builds.
This should fix PR #26542 submitted by Jim Bernard.

(I'll be implementing the DPADD for shared libraries in a different
manner that generally won't depend upon ${LIB<libname>}.)
2004-08-04 05:32:47 +00:00
dsainty
915ce3f9ef Insure -> Ensure 2004-08-02 08:50:14 +00:00
rumble
e6e2e32ac1 Mention SC1100 support and chipset bugs. 2004-07-30 23:12:16 +00:00
wiz
83d61f406a De-__P, fix a typo. 2004-07-30 17:14:52 +00:00
jmmv
10415be889 Add 2004 to copyright date, as there have been significant changes lately. 2004-07-30 15:18:44 +00:00
jmmv
a8f1cb84ac Document the ("recently" added) getwschar, putwschar, scroll, getborder and
setborder accessops.  Document the new replaceattr emulop.

While here, add a paragraph explaining the purpose of each emulop (just as
done in accessops).  I believe I got them right, but a review could be good.
2004-07-30 15:17:26 +00:00
jmmv
adda7c4307 Document the WSDISPLAY_BORDER_COLOR, WSDISPLAY_CHARFUNCS,
WSDISPLAY_CUSTOM_BORDER, WSDISPLAY_CUSTOM_OUTPUT and WSDISPLAY_DEFAULTSCREENS
kernel options.

Also document the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls.
2004-07-30 14:00:18 +00:00
lukem
d57516168e Move the LIB<libname>?= assignments from bsd.prog.mk to bsd.own.mk so
that they may be used by non PROGs (e.g., LIBs).

Improve some comments.
2004-07-30 04:18:48 +00:00
jmmv
2a08d54a9a Implement border color customization in wscons(4), only available for vga(4)
at the moment.

This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively.  Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).

It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.

Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others).  The later is always commented out, leaving the usual black
border as a default.

wsconsctl is modified to allow accessing this value easily.  For example,
'wsconsctl -d -w border=blue'.
2004-07-29 22:29:35 +00:00
thorpej
52aef894d6 Assign STOBJS the value of OBJS, and use that when referring to static
library objects, rather than using OBJS to refer to them.  This gives us
a separate variable to refer to static library objects that does not affect
profile library objects (which has POBJS) or shared library objects (which
has SOBJS).
2004-07-29 03:14:04 +00:00
jmmv
92f81ea7d3 Implement support to dynamically change wscons console and kernel colors.
Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it.  This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
  change the colors dynamically from userland.  This is enabled by default
  in the GENERIC kernel (as well as others) but disabled on all INSTALL*
  kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
  which specify the default colors for the console at boot time.  These have
  the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
2004-07-28 12:34:02 +00:00
wiz
11fcc8f947 New sentence, new line; use Aq Pa for header file inclusion;
no parentheses at eol.
2004-07-27 14:24:18 +00:00
wiz
0343a4abb9 Do not put parentheses on their own line; bump date for previous. 2004-07-27 12:45:35 +00:00
yamt
23ee682b3d PFIL_NEWIF -> PFIL_IFNET. 2004-07-27 12:25:36 +00:00
yamt
ff5b999530 document recent changes.
provided by Peter Postma.  PR/26068
mdoc tweaks by me.
2004-07-25 23:10:49 +00:00
mrg
2839ebd42d Hauke Fath's port of the openbsd SUNW,spif driver from PR#26061.
the driver was originally written by Jason L. Wright.

XXX: i haven't tested this on sparc64 at all...
2004-07-25 09:32:37 +00:00
mrg
4e68049874 install spif(4). 2004-07-24 19:42:49 +00:00
wiz
6342bdaf2f Mention COMPAT_NETBSD32 applies to amd64 too.
Noted by Nicolas Joly in PR 26393.
2004-07-22 15:12:23 +00:00
wiz
769a05ea90 New sentence, new line; use more markup; next release
will be 3.0; sort sections; use \*[Lt]\*[Gt] instead of <> for HTML output.
2004-07-22 15:10:01 +00:00
atatat
d2dd73eec2 More better description of current state of sendmail stuff in more
places.  This is intended to make some people a tad happier.
2004-07-22 03:44:12 +00:00
tshiozak
39597367e4 add locale.alias(5) manpage. 2004-07-21 19:49:21 +00:00
tshiozak
3407ed183f add the default locale.alias. 2004-07-21 19:02:17 +00:00
wiz
c60f137c23 Uncomment xrefs to elf(5) and ld.elf_so(1) now that we have the man pages. 2004-07-21 11:08:54 +00:00
heas
d341ae4496 Fix typo in the text I added in the previous.
Thanks wiz.
2004-07-21 00:14:28 +00:00
heas
a3f3869414 Add WSDISPLAYIO_[GS]MODE type _DUMBFB - mapped fb (no registers)
Add WSDISPLAYIO_LINEBYTES ioctl - # bytes/row

Used by ffb driver and XFree wsfb driver module - From OpenBSD
2004-07-20 20:28:20 +00:00
heas
f3921bd4aa typo; date -> data 2004-07-20 14:34:27 +00:00
wiz
841c5d51f8 Add ptm(4). Christos thinks it's minimal but ok :) 2004-07-20 09:04:47 +00:00
xtraeme
5727d6c2d9 + SIP 2004-07-16 01:07:02 +00:00
wiz
20aac67434 Bump date for previous. 2004-07-15 10:47:43 +00:00
wiz
cb255f199c Bump date for previous; mark up path with Pa. 2004-07-15 10:45:33 +00:00
atatat
89fc8be761 Change the default settings for sendmail.
(1) The stock sendmail.cf will only listen on the loopback interface.
(2) The stock submit.cf specifally connects to "localhost." which
    should be less susceptible to being confused or looking confused.
(3) The smtp listener starts by default, if needed.  The setting in
    /etc/default/rc.conf is still "no", but rc.d/sendmail detects the
    default setting and will change it to yes if need is determined.

Need is defined as "nothing else seems to have been changed about the
mail configuration but we'd like locally originated and locally
destined mail to be delivered".  If you change, eg, mailer.conf to
point to postfix or some other MTA, sendmail will not start.
2004-07-15 03:47:18 +00:00
atatat
5f89bdd921 Make the directory into which crash dumps are saved into something
that can be controlled via rc.conf.  The default is, of course,
/var/crash.
2004-07-15 03:29:55 +00:00
sekiya
0a541ba0ea Enable "loadable module" dlopen() scheme. Necessary to crossbuild the XFree86
server on platforms that are not supported by the Metrolink module loader
(i.e., MIPS).

Enabled for sgimips in bsd.x11.mk.
2004-07-13 09:29:45 +00:00
wiz
ae14ac53a8 Mark up EST, and bump date for previous. 2004-07-11 09:54:40 +00:00
cube
e287e9e65c Document EST_FREQ_USERWRITE. 2004-07-11 09:45:04 +00:00
wiz
5d64ce31b3 Mention geodeide(4). Bump date. 2004-07-09 23:17:08 +00:00
bouyer
8e03c54653 Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).
2004-07-09 18:38:37 +00:00
mycroft
7c8b7720b2 Add a missing .PHONY. 2004-07-06 12:07:34 +00:00
fredb
dcc20fe368 Add mention of Norwegian, Portuguese, and Spanish built-in keymaps. 2004-07-06 04:00:23 +00:00
sketch
18b6ee6d42 Complete removal of uvm_useracc(9), as described in
http://mail-index.netbsd.org/source-changes/2003/11/13/0011.html
2004-07-05 11:08:37 +00:00
mycroft
ace8694948 Attempt to make Perry less confused. 2004-07-03 20:04:03 +00:00
mycroft
a10e4d1f3a Cardbus -> CardBus 2004-07-03 17:36:51 +00:00
mycroft
02bab8c5fb There is no "DWL-G520B". There is, however, a "DWL-G520", which actually
works now.
Also, spell "CardBus" consistently.
2004-07-03 16:58:18 +00:00
junyoung
b774e487ce - Add missing .YorN
- Fix typos in previous commit
2004-07-02 18:20:27 +00:00
sjg
3a0c68edfd Add support for SHA1 hashed passwords.
The algorithm used is essentially PBKDF1 from RFC 2898 but using
hmac_sha1 rather than SHA1 directly (suggested by smb@research.att.com).

 * The format of the encrypted password is:
 * $<tag>$<iterations>$<salt>$<digest>
 *
 * where:
 *      <tag>           is "sha1"
 *      <iterations>    is an unsigned int identifying how many rounds
 *                      have been applied to <digest>.  The number
 *                      should vary slightly for each password to make
 *                      it harder to generate a dictionary of
 *                      pre-computed hashes.  See crypt_sha1_iterations.
 *      <salt>          up to 64 bytes of random data, 8 bytes is
 *                      currently considered more than enough.
 *      <digest>        the hashed password.

hmac.c implementes HMAC as defined in RFC 2104 and includes a unit
test for both hmac_sha1 and hmac_sha1 using a selection of the Known
Answer Tests from RFC 2202.

It is worth noting that to be FIPS compliant the hmac key (password)
should be 10-20 chars.
2004-07-02 00:05:23 +00:00
kleink
2d356478dd Make the spelling of reentrant match the rest of the system. 2004-07-01 10:38:28 +00:00
junyoung
844c9270d0 Add missing MKCVS, MKKERBEROS4, MKPOSTFIX, MKSENDMAIL, and MKUUCP.
Note that some variables are still missing, since i'm not sure how
to describe them...
Bump date.
2004-07-01 06:09:57 +00:00
jmc
f648d12d47 Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
snj
d4652fb7f7 Add TNF. 2004-06-29 18:12:13 +00:00