Commit Graph

3481 Commits

Author SHA1 Message Date
thepish
70d5cc4b8a PR: conf/2284
Submitted by:	faulkner@asgard.hos.net
Correct termcap entry for ibm3163 (arrow keys)
1998-05-31 06:49:30 +00:00
mph
6c732f9403 Correct a minor spacing error. 1998-05-31 04:53:30 +00:00
sos
bc60c8025e ELF preparation step 2:
Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...
1998-05-26 20:12:56 +00:00
steve
a1ad8f645b Norwegian dates should have a dot after day of month.
PR:		6749
Submitted by:	Hans Petter Bieker <zerium@webindex.no>
1998-05-25 18:51:47 +00:00
julian
33ee3bc8fe Hide the interface name in the sin_zero section of the sockaddr_in
passed to the user process for incoming packets. When the sockaddr_in
is passed back to the divert socket later, use thi sas the primary
interface lookup and only revert to the IP address when the name fails.
This solves a long standing bug with divert sockets:
When two interfaces had the same address (P2P for example) the interface
"assigned" to the reinjected packet was sometimes incorect.
Probably we should define a "sockaddr_div" to officially hold this
extended information in teh same manner as sockaddr_dl.
1998-05-25 08:44:31 +00:00
jkoshy
759ba2f9e3 Fix example in manual page.
PR: 5443
Submitted by: AMAGAI Yoshiji <amagai@nue.org>
1998-05-25 07:11:41 +00:00
phk
69aa2593da /usr/src/share/timedef/data/no_NO.ISO_8859-1.src uses initinal
upper case in weekdays and months instead off all lower case.

PR:		6721
Reviewed by:	phk
Submitted by:	Hans Petter Bieker <hanspb@persbraten.vgs.no>
1998-05-23 07:55:47 +00:00
jkoshy
67e94bf861 Added contributed entry for Linux consoles.
PR: 5977
Submitted by: Christian Weisberger <naddy@bigeye.rhein-neckar.de>
1998-05-21 09:10:55 +00:00
wpaul
2a6334d0d1 Add man page for ThunderLAN driver. 1998-05-21 03:20:39 +00:00
jkh
2a7e0ddebf Complete back-out of the bsd.locale.mk change.
OK'd by:	asami
1998-05-20 22:27:18 +00:00
jkh
879f637d9d Back out locale change until it's better understood by all just
what it is we're trying to do here. :)
OK'd by:	asami
1998-05-20 22:24:48 +00:00
mph
2e1caaecd6 Add rcsid. 1998-05-20 05:43:01 +00:00
mph
fa6007f7a2 If LOCALE is not defined, default to USA. Otherwise, bsd.locale.mk
blows up with errors.
1998-05-20 05:41:20 +00:00
mph
c6d2a02045 Add bsd.locale.mk to the list of files. Whether bsd.locale.mk is
the right solution or not, bsd.port.mk is broken unless bsd.locale.mk
is installed.

Note that if LOCALE is not defined, port-building explodes:

"/usr/share/mk/bsd.locale.mk", line 135: if-less elif
"/usr/share/mk/bsd.locale.mk", line 135: Need an operator
(For each .if testing LOCALE)
1998-05-20 04:57:16 +00:00
thepish
c3415a2524 PR: misc/6031
Patch applied as per PR - enables preferential fetch from local mirrors
1998-05-19 13:14:11 +00:00
thepish
3b0c06fb6c PR: misc/6031
Patch applied as per PR - enables preferential fetch from local mirrors
1998-05-19 13:02:04 +00:00
wosch
09b90b62ab Add rules to generate PDF files. 1998-05-18 16:57:10 +00:00
jb
baa71ce565 syscons is i386 specific due to machine/console.h 1998-05-15 11:55:47 +00:00
bde
b50e223076 Oops, forgot references in previous commit.
Submitted by:	Brian Cully <shmit@erols.com>
PR:		6178
1998-05-15 09:34:48 +00:00
bde
680f5e79ae Support Objective C almost as well as C++.
Notes:
- We no longer use -fgnu-runtime in bsd.lib.mk, since it is the default
  and bsd.lib.mk is the wrong place to override it.
- Gnu C doesn't have a special compiler driver for Objective C like it
  does for C++.  The defaults are suitable for Gnu C.  Use `OBJCLIBS='
  in /etc/make.conf for POC.
1998-05-15 09:30:13 +00:00
jkoshy
64f8615387 Removed misleading claim that login classes are no longer implemented.
Added Xref to pw(8).
1998-05-15 09:19:03 +00:00
pst
dedd1364d0 Add an example showing how to build a UFS floppy 1998-05-14 06:42:47 +00:00
wosch
cf33162fa6 Add upcoming NetBSD 1.3.2
Submitted by: Sune Stjerneby <stjerneby@usa.net>
1998-05-12 14:33:37 +00:00
wosch
5759523a09 Add upcoming FreeBSD 2.2.7 and FreeBSD 2.2.8
Add NetBSD-1.3.1.
1998-05-12 08:04:27 +00:00
bde
6970f26be5 Oops, the lex and yacc sources must be added to SRCS before ${SRCS}
is used in the dependency list for ${DEPENDFILE}.  `make depend' was
broken for a few days.  `make world' only uses `make depend' when
NOCLEAN is defined, so only a few people noticed the bug.

Submitted by:	mostly by jmg
1998-05-11 15:37:13 +00:00
steve
6b9fca235c Change NBPG to PAGE_SIZE to match one of phk's recent commits.
PR:		6573
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1998-05-11 03:41:51 +00:00
wosch
3ec3412568 Print a human-readable warning and die if $INFODIR do not exist.
PR: bin/6138
Reviewed by: bde
1998-05-09 22:15:19 +00:00
phk
bade6f18a8 Add a crucial missing _ in NO_SENDMAIL
PR:		6545
Reviewed by:	phk
Submitted by:	Jos Backus <jbackus@plex.nl>
1998-05-08 20:15:39 +00:00
bde
ea52868070 Moved lex and yacc source handling from bsd.prog.mk to bsd.dep.mk
so that it applies to libraries (and lkms) as well as programs.
1998-05-08 06:31:05 +00:00
bde
719d62b3b0 Only include bsd.dep.mk in `mk'files that handle C sources. Abuse
bsd.obj.mk instead of bsd.dep.mk for defining the _SUBDIR target
and a default tags target.  Abuse bsd.obj.mk for defining default
cleandepend and depend targets.
1998-05-06 18:44:04 +00:00
andreas
e10a5f74a6 Overlooked, that newer naming convention is xxx_program instead of xxx_prog.
So changed it to ntpdate_program and xntpd_program.
Backout last change, now we have again named_program, sorry.
1998-05-06 17:36:16 +00:00
andreas
e222e3b541 document ntpdate_prog and xntpd_prog
fix: named_program -> named_prog to reflect "real life"
(I suggest keeping this shorter name convention as it is
actually used in the config file)
1998-05-06 17:26:48 +00:00
wosch
3329d1e567 Delete stale comment.
Pointed out by: bde
1998-05-06 16:53:53 +00:00
bde
e6e7e77dcf Regress to generating foo.c from foo.y via y.tab.c for crufty applications
that want a y.tab.h file.  This want must be specified by putting y.tab.h
in SRCS (and defaulting to or putting -d in YFLAGS).  This only works if
there is only one yacc parser, of course.  One improvement:  copy y.tab.c
to foo.c instead of renaming it, so that `#line...y.tab.c' statements in
it refer to an existing file.

Regress to not generating explicit rules for .l and .y sources containing
slashes.  This case is unusual and hard to handle properly.

Don't generate an unused dependency when -d is not in YFLAGS.
1998-05-06 15:01:18 +00:00
phk
9bd8332bf8 devfs_add_devswf(9) and devfs_link(9) don't tell you how to
remove the device once it's added or linked.

PR:		6524
Reviewed by:	phk
Submitted by:	Brian Cully <shmit@kublai.com>
1998-05-06 09:13:53 +00:00
bde
0500cc5c9f Oops, the symlink from y.tab.h doesn't work until its target exists. 1998-05-05 03:59:27 +00:00
bde
9c5d362f0a Fudge local variables better in the yacc rules so that multiple yacc
sources are handled properly.
1998-05-04 17:43:46 +00:00
bde
bcde8eae1d Generate explicit rules and other infrastructure for lex and yacc
sources.  This will be used to fix `make -jN' races in many
Makefiles in /usr/src, and to simplify these and other Makefiles.

To get the fixes and simplifications, application Makefiles should
put the raw lex and yacc source names (foo.l and bar.y) in SRCS and
not put the names of any generated files in SRCS or CLEANFILES.  A
few Makefiles already do this, although it didn't actually work before
(mkdep couldn't create complete dependencies because there is no
intermediate .c file for the .y.o and .l.o implicit rules).

Complications: if bar.y is in SRCS and -d is in YFLAGS, then bar.h
will be generated whether or not it is used, even if this clobbers a
real source file.  This is so that bar.c can be generated using the
-j-safe and debugger-friendly -o option to YACC.  There are smaller
warts for handling y.tab.h.  y.tab.c and lex.yy.c are not supported.
1998-05-04 13:54:41 +00:00
phk
0aafd4bf0d Just the sans-serif console font that I use on my system; I've made the
letters one pixel taller, and the ()[]{} are more distinct.  Nice if
your monitor is small.  8x16 and 8x8 fonts included.

PR:		4208
Reviewed by:	phk
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1998-05-04 11:24:05 +00:00
steve
7ca8d65654 Change a couple 'make' to '${MAKE}'.
PR:		6341
Submitted by:	Niall Smart <rotel@indigo.ie>
1998-05-04 04:01:26 +00:00
jraynard
0db69331c5 Typo fixes 1998-05-03 22:59:47 +00:00
steve
c835de3f06 Typo and grammer fixes.
PR:		6482
Submitted by:	Allen Campbell <allenc@verinet.com>
1998-05-03 17:57:39 +00:00
bde
f5d79ab0c0 Added -ansi to CWARNFLAGS so that ANSI errors don't come back. 1998-05-01 18:13:37 +00:00
jkh
1b9c37d2c0 Add -pipe to default CFLAGS. The optimization it provides is cheap
and does not require any special action on the part of the user to
take advantage of it.  And no, it probably won't work with c89. Cry me
a river!
1998-05-01 11:36:59 +00:00
andreas
e4bced7382 Fixes incorrect company and product names in uha(4) manpage and
LINT config file. Should be merged to -STABLE as well.
PR:		closes 6447
Submitted by:	Steven Plite splite@purdue.edu
1998-04-29 17:09:41 +00:00
bde
8327dd798b Don't include ../Makefile.inc here. bsd.man.mk is always included
in another .mk file which has already included ../Makefile.inc, so
including ../Makefike.inc again mainly messed up `+=' definitions.
1998-04-27 15:08:07 +00:00
jb
e61bac8591 Add an example supfile for the gnats database.
Submitted by:	A Joseph Koshy <koshy@india.hp.com>
1998-04-20 11:26:29 +00:00
brian
116081d5f2 Add natd support.
PR:		6339
Submitted by:	cdillon@wolves.k12.mo.us
1998-04-18 10:27:19 +00:00
ache
ca30ae9dd4 Add commented out common INSTALL and FORCE_PKG_REGISTER knobs 1998-04-16 08:21:24 +00:00
ache
4030e2a5bd Add missing commented out MOTIF_STATIC example 1998-04-16 08:01:27 +00:00
phk
2e0f496de3 In light of the fact that several widespread sendmail alternatives exists
is reason enough to make the compilation & installation of sendmail an
make.conf option.  I know that you hate negative options Bruce.

PR:		6284
Reviewed by:	phk
Submitted by:	Adrian Colley <aecolley@world.std.com>
1998-04-15 16:37:42 +00:00
bde
731782c1da Finished previous commit. Just revert to rev.1.9.
Bruce
1998-04-13 15:05:43 +00:00
jkh
272a96cddb Fix comment.
Scolded by:	bde
1998-04-12 14:02:33 +00:00
sos
3da360fe42 omehow Jordan got 07.lpd in -current enabled again... 1998-04-12 12:33:59 +00:00
phk
df627a5b3a In these enlightened times there are more and better places to find
this information.  PR 2789 mentions:

     http://www.pacbell.com/about-pb/areacodes/

     http://www.bellcore.com/NANP/

PR:		2789 (in a backewards kind of way)
1998-04-11 20:45:16 +00:00
jkh
07739d329d MF22: build lpd docs 1998-04-11 15:10:35 +00:00
jb
ab575a6efe Add a reference to the gcc linker option -pthread that is part of
the FreeBSD configuration LIB_SPEC.
1998-04-10 09:33:09 +00:00
sos
0fd7f986bb Add the LBA addressing flag. 1998-04-09 22:31:47 +00:00
jb
a6ff3fe2e9 This function compiles with the standard, so say so. 1998-04-03 09:12:19 +00:00
jb
449d1d74af This function compiles with the standard, so say so.
Add a note about not touching errno and warn about previous drafts
of the standard which changed the level of indirection to the thread
argument. POSIX had a bit of trouble deciding what to do. So anyone
coding to both draft 4 and draft 10 (the final draft) will get burnt
by this function. I did. Grrr.
1998-04-03 09:11:15 +00:00
charnier
25cfad1aac .Sh AUTHOR -> .Sh AUTHORS. 1998-04-01 06:24:20 +00:00
jmz
2a67e29c69 Document the WORMIOCFIRSTWRITABLEADDR ioctl. 1998-03-31 01:55:11 +00:00
imp
2d201f9c99 fkey61 is the same thing as del, kinda. Make sure that we really swap del and
bs.

Reported by: Chuck Robey
1998-03-30 04:25:42 +00:00
eivind
c72d59a60b Support for fine-grained external control of subdir building. 1998-03-29 01:10:09 +00:00
dufault
8ed0defc6e Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work.  Changes:

Change all "posix4" to "p1003_1b".  Misnamed files are left
as "posix4" until I'm told if I can simply delete them and add
new ones;

Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux;

Add man pages for _POSIX_PRIORITY_SCHEDULING system calls;

Add options to LINT;

Minor fixes to P1003_1B code during testing.
1998-03-28 11:51:01 +00:00
imp
bab5db63ea Add us.unix.kbd. Just like us.iso.kbd except:
ESCAPE and `~ are swapped
	CTRL and CAPS LOCK are swapped
	BACKSPACE and DELETE are swapped

Suitable for keymap=us.unix in your rc.conf file or for setting on the
fly with kbdcontrol -l us.unix.  This is the keyboard layout of many of
the more traditional unix workstations and terminals that have been around
for a very long time.  Older Sun keyboards and VT100's had a layout
very similar to the PC, with the above exceptions.
Idea Reviewed by:	Many people in -hackers
1998-03-28 06:42:43 +00:00
eivind
fe6e694b6b Remove special handling of 'tags' for complex subdir systems
(presently only used in tip; should have been used by e.g. pkg_add).

Submitted by:	bde
1998-03-26 16:02:44 +00:00
dima
821e00d70f Don't build sperl if you don't want to. 1998-03-26 06:06:22 +00:00
asami
553a1bce6d Don't delete "Latest" link if NO_LATEST_LINK is set. 1998-03-24 03:34:51 +00:00
peter
4c78c6be81 Updates for the new si driver.
Obtained from:  Nick Sayer <nick@specialix.com>, and tweaks by me.
1998-03-23 20:24:31 +00:00
eivind
c1186a0b4b Support new version of global.
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
Tested by:	make buildworld
1998-03-23 14:58:30 +00:00
bde
ad583a7187 Fixed a function arg type in the synopsis. 1998-03-23 13:07:17 +00:00
bde
ccd7117cf6 Use gzip's -n flag so that simple regression tests of `make world'
work better.
1998-03-19 13:32:43 +00:00
bde
b256fa6d48 Fixed CLEANFILES. Some temporary files were missing. 1998-03-19 13:22:46 +00:00
jkh
09a5001447 style tweak. 1998-03-18 08:00:25 +00:00
jkh
c3633b55b1 Document NOPERL 1998-03-18 07:58:49 +00:00
bde
1dbe6d5685 Improved comparison of ${DPADD} with ${LDADD} for the checkdpadd target.
`BINFORMAT=foo make checkdpadd' in /usr/src now reports only 2 false
negatives (in libss and init).  (BINFORMAT=foo is to turn off better
handling of the a.out case.)
1998-03-14 14:08:29 +00:00
eivind
4e506c209b Introduce the 'regress' target.
Silently approved by:	-hackers, -current
1998-03-12 20:02:17 +00:00
charnier
1ccad14adc .Sh AUTHOR -> .Sh AUTHORS according to mdoc specs.
Use .An/.Aq.
1998-03-12 07:31:21 +00:00
jkh
181b9496fd Add man page for the bktr driver.
PR:		5954
Submitted by:	wlloyd@mpd.ca (with tweaks from reviewer)
1998-03-09 10:56:22 +00:00
jkh
dc96ced4d9 Document rarpd flags. 1998-03-09 08:50:59 +00:00
jkh
f2ffce9385 Typo fixes.
PR:		5951
Submitted by:	Doug <Studded@dal.net>
1998-03-09 02:21:17 +00:00
dufault
d3dd91fcbc Reviewed by: bde
Changes to support building with _POSIX_SOURCE set to 199309L:

1. Add sys/_posix.h to handle those preprocessor defs that POSIX
says have effects when defined before including any header files;

2. Change POSIX4_VISIBLE back to _POSIX4_VISIBLE

3. Add _POSIX4_VISIBLE_HISTORICALLY for pre-existing BSD features now
defined in POSIX.  These show up when:

_POSIX_SOURCE and _POSIX_C_SOURCE are not set or
_POSIX_C_SOURCE is set >= 199309L

and vanish when:

_POSIX_SOURCE is set or _POSIX_C_SOURCE is < 199309L.

4. Explain these in man 9 posix4;

5. Include _posix.h and conditionalize on new feature test.
1998-03-08 17:25:38 +00:00
jraynard
9af8f68c3d Revert previous commit. Despite the names, these files contain
troff input, not C source.
1998-03-07 22:34:23 +00:00
bde
0dc53f4655 Pass -nostdinc to mkdep for assembler and C files (it was already
passed for C++ files).

Don't pass -nostdlib to mkdep for C++ files.

Don't use temporary variables to obfuscate the main rule.
1998-03-07 13:57:37 +00:00
bde
59afc22831 Fixed generation of extra dependencies:
- the two `_EXTRADEPEND::' targets potentially clobbered each other for
  `make -jN'.  In practice, the output for the second target sometimes
  disappeared.
- bogus dependencies were generated for static libraries.
1998-03-07 13:13:41 +00:00
bde
c21943079a Reverted part of previous change and improved formatting. Switching
from `?=' to `=' for BINDIR was a mistake.  Sub-makefiles may need
to set BINDIR.
1998-03-07 09:06:09 +00:00
jkh
d90fc7eec4 Documented moused flags.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-07 09:04:24 +00:00
asami
a7987039c3 Add ${CXX} to list of variables passed in the environment when
invoking configure.

Submitted by:	obrien
1998-03-07 04:40:19 +00:00
jkh
8be390df7c MF22: add ports-biology 1998-03-06 13:36:05 +00:00
jkh
31ba7c266a Fix fprintf() here too. 1998-03-06 13:29:37 +00:00
jkh
32df54dafd \e should have been \n (don't know when this was broken). 1998-03-06 13:28:17 +00:00
bde
3875d4d80e If .depend doesn exist, then pretend that all objects depend on all
headers in ${SRCS}, as in bsd.lmod.mk and bsd.prog.mk.  This helps
`make [-j]' work when .depend doesn't exist.  Even plain `make'
sometimes only worked because of magic ordering in ${SRCS}.
1998-03-06 08:08:36 +00:00
bde
beffd6fcac Removed support for now-unused FreeBSD misfeature DPSRCS. 1998-03-06 07:28:01 +00:00
bde
02ba4c143f Fixed dependency of ${PROG} on ${DPSRCS}. There were various races
for `make -j'.  There are one-off fixes for the problem in a few
Makefiles, e.g., amd/amq/Makefile.
1998-03-06 06:48:39 +00:00
bde
1d5c36420a Fixed dependencies of ${PROG} on ${DPSRCS} and `all' on ${_ILINKS}.
There were various races for `make -j'.  Half-built versions of
vnode_if.h were sometimes #included...

Removed a null dependency.
1998-03-06 05:43:46 +00:00
dufault
e28788f2a4 Reviewed by: msmith, bde long ago
POSIX.4 headers and sysctl variables.  Nothing should change
unless POSIX4 is defined or _POSIX_VERSION is set to 199309.
1998-03-04 10:27:00 +00:00
jkh
68bfdcd644 syntax error in /usr/share/examples/sliplogin/slip.hosts
PR:		5873
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-03-02 02:52:38 +00:00
phk
c5228af8cf Make it possible to indicate that we don't care about the remote
sides IP address, as long as it isn't 0.0.0.0
1998-02-28 21:01:09 +00:00
jraynard
e34d61643b Fix a few typos. 1998-02-28 15:37:25 +00:00