Commit Graph

3852 Commits

Author SHA1 Message Date
bde
61f94cc545 Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first).  Sorted sources lists.
1998-05-09 11:32:43 +00:00
guido
656f78b87c Unblock SIGPIPE before execv(); convert from sigvec to sigaction
Obtained from: OpenBSD
1998-05-08 19:15:44 +00:00
guido
779723654b Redo tcpmux stuff. tcpmux handling is now performed after inetd
forks. Furthermore, invalid input for tcpmux does not lead to
an exiting inetd.
This patch is recommended for people running tcpmux (which is NOT
enabled by default)
1998-05-07 18:32:00 +00:00
jmg
952a7718da fix a core dump problem when you don't give -f a parameter... also compare
results of strcmp against 0 instead of !'ing results...

Closes PR: 6538
1998-05-07 14:13:16 +00:00
brian
5cc7cdec73 Make syslogd function in non-secure mode.
Log the correct ^2 packet as per the last commit comment.
1998-05-07 00:39:56 +00:00
bde
b11e33ba51 Backed out previous backout. Put y.tab.h back in SRCS. 1998-05-06 15:27:57 +00:00
bde
bed88a664a Backed out previous backout.
Added y.tab.h to SRCS.  Dependencies on it were missing until recently.
1998-05-06 15:23:53 +00:00
bde
216aef2a42 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Use `DIR!= cd ...libbind; make -V .OBJDIR' to find libbind's object dir
if it doesn't seem to be in its usual place relative to ${.OBJDIR}.
This fixes `cd /usr/src/usr.sbin/nslookup; mkdir obj; make'.
1998-05-06 13:23:39 +00:00
jkh
376f7a509e XFree86 3.3.1 -> 3.3.2 1998-05-06 12:01:20 +00:00
des
d0c92c2cc8 Fix the search sequence for keymaps.
PR:		bin/6522
Submitted by:	Rudolf Cejka
1998-05-05 19:02:01 +00:00
bde
34c86699f0 Don't generate y.tab.h, since it is not used. 1998-05-05 13:19:13 +00:00
bde
9667ed0a16 Added y.tab.h to SRCS. This should have been used to get dependencies
on y.tab.h generated.  It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.
1998-05-05 13:16:35 +00:00
bde
dba406f638 Backed out previous commit. It was tested, but not for the case where
a separate object tree doesn't exist.  Crufty makefiles will have to
put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
1998-05-05 07:36:55 +00:00
bde
4360d3bb5d Backed out previous change. Generating vgaio.h from vgaio.y clobbered
the source file vgaio.h, and y.tab.h is used so we can't simply avoid
generating the yacc header.
1998-05-05 06:52:09 +00:00
bde
f701fbc7d5 Fixed races in `make -jN' using new yacc rules. 1998-05-04 20:09:06 +00:00
bde
4c2ff0579d Simplified by using new lex rules. 1998-05-04 20:00:14 +00:00
bde
93e8eab928 Simplified by using new yacc rules. 1998-05-04 19:54:56 +00:00
bde
ed633ada06 Simplified by using new lex and yacc rules. 1998-05-04 19:40:12 +00:00
peter
ea57ac3951 Put named-bootconf (the script to convert named.boot to named.conf) in
/usr/sbin rather than in /etc/namedb (make install isn't supposed to touch
/etc)
1998-05-03 05:25:09 +00:00
peter
1257b29af5 Add nsupdate 1998-05-03 05:17:28 +00:00
peter
d835322e55 Update for bind-8 1998-05-03 05:16:58 +00:00
peter
6222ef77b8 Update for bind-8. Also use /proc in preference to the (seemingly) always
broken ps(1).
1998-05-03 05:14:04 +00:00
peter
3f861866b3 These are no longer shipped with bind, but are a well established
interface that's simple to maintain.
1998-05-03 05:11:52 +00:00
peter
7e6fd22ce6 New bind8 program 1998-05-03 05:10:23 +00:00
peter
2d541c8c46 Update for named v8 1998-05-03 05:09:13 +00:00
bde
1aa46dab33 Backed out previous commit. chown(8) doesn't follow symlinks by
default, at least in BSD.  This used to be automatic, because chown(2)
didn't follow symlinks.  When chown(2) was changed to follow symlinks
in BSD4.4, chown(8) was changed to not follow symlinks by default.
The previous commit broke this.  The first victim was bsd.prog.mk,
which uses a plain chown in an attempt to change the ownership of the
symlinks to `dm' in /usr/games.  This fails when it is done before
dm is installed, or messes up the ownership of dm if dm is installed.

Unfixed problems:
1. When lchown(2) was implemented, chown(8) wasn't changed to implement
   the historical behaviour of changing ownership of symlinks.  I'm not
   sure if it should have been.  The -HLP options give more complete
   control, but they unfortunately don't apply unless the -R option is
   specified (a problem shared with other commands, e.g., cp; I guess
   we're supposed to use -R even for non-recursive traversals).
2. If we implement the historical behaviour, then -h would become a no-op
   and should be left undocumented.
3. The man page suggests that without option -h, all symlinks (to files
   specified in the command line?) are followed.  It's not clear what
   "the file" is.  These bugs were introduced when -h was documented.
4. The correct interaction of -h with the other flags is not clear.
1998-05-03 04:17:48 +00:00
helbig
52007a8cf8 Don't ignore symbolic links in the absence of -h, -H or -L options.
Instead change the user ID/group ID of the file that the link points to.
1998-05-02 12:57:57 +00:00
kato
60e8af1f2f Support PC-98 machine. 1998-05-02 01:57:39 +00:00
bde
23e7859bb4 Undouble. 1998-05-01 15:51:23 +00:00
bde
f68c853da9 Removed self-inclusion-prevention ifdef. It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.
1998-05-01 15:39:46 +00:00
peter
17853abae1 Don't give examples or use the depreciated usage to nfsd
PR: 5635
1998-05-01 13:45:04 +00:00
bde
a4d60e5ed7 Fixed syntax error for `make checkdpadd'. libfl.a should never be
used.  ${LIBFL} is set to a weird value in an attempt to inhibit
its use, but only breaks properly in some contexts.

Fixed the usual style bugs for DPADD and LDADD (disorder, and += for the
initial assignment).
1998-04-28 05:31:41 +00:00
bde
ddb80fc7dd Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first).  Sorted sources lists.
1998-04-26 16:31:14 +00:00
tegge
281bfe1bda Don't clobber errno when reaping child processes. 1998-04-26 01:00:00 +00:00
hosokawa
de1c025be0 Keywords "iosize" and "memsize" are unused since 1.5. Removed. 1998-04-25 18:10:10 +00:00
hosokawa
3513b406d6 #define'd KWD_XXX for keywords. 1998-04-25 17:52:15 +00:00
brian
dff8855500 Quieten gcc-2.8.1 1998-04-25 09:16:23 +00:00
brian
42fda990ad Fix diagnostic typo. 1998-04-25 00:20:23 +00:00
phk
8ad123ff43 Augment the last change after some deliberation with rgrimes & peter.
It is important that we keep the ability to send packets to a remote
server and that the packets come from our well-known port, also in
that case.

Reviewed by:	peter, rgrimes.
1998-04-24 17:32:23 +00:00
des
49c359a7e6 There is no "rwho" service, it's "who"
PR:		bin/6396
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-23 19:12:41 +00:00
bde
6cfa12f63a Don't generate code with syntax errors (hard newlines in string constants
in config.c).
1998-04-23 16:37:06 +00:00
phk
bd583b94c4 Even with '-s', syslogd still creates an AF_INET socket, although
it is not bind(2)ed.

PR:		6366
Reviewed by:	phk
Submitted by:	Soren S. Jorvang <soren@dt.dk>
1998-04-22 06:28:18 +00:00
rnordier
8b08bdc237 Spelling/typo fix: (proccessed). 1998-04-20 20:57:16 +00:00
rnordier
b7baaa948a Spelling/typo fixes: (proccessed, og). 1998-04-20 20:55:43 +00:00
nate
d41836ff17 - Argh, fix stupid logic error in the laststate/state fix previously. That's
what I get for trying to do too many things at once.
1998-04-20 16:24:03 +00:00
bde
c1d7e6cda4 Don't build files at install time (just to be consistent; the problem
is almost harmless here).

Submitted by:	Arne Henrik Juul <arnej@stud.math.ntnu.no>
PR:		6330
1998-04-20 15:28:02 +00:00
nate
56e458e6ec - Don't try and keep track of the previous state, since the kernel may
change it w/out informing the program.  Instead, use the (now available)
  previous state returned by the kernel to make intelligent card
  removal/insertion decisions.
1998-04-20 15:24:28 +00:00
des
25761cb8b7 fd(4) referenced in HISTORY has nothing to do with floppy disks;
changed to fdc(4).
1998-04-20 11:34:47 +00:00
jkh
9c68b72e7b Note usage of Linux PLIP peer. 1998-04-20 06:18:36 +00:00
nate
54cd1c491d MF22: Finish fixing 'looping' bug. 1998-04-20 05:42:26 +00:00
nate
be1676525f - If we see a tuple we don't expect, don't spin forever. Withouth this fix,
I can't run pccardc dumpcis on my Wavelan card. :(

Obtained from:	PAO
1998-04-19 18:41:45 +00:00
phk
408ddd8b1c Allow specification of cache-size to pwd_mkdb
PR:		5193
Reviewed by:	phk
Submitted by:	Nick Hilliard <nick@foobar.org>
1998-04-19 07:15:34 +00:00
brian
4b10a45736 Fix incorrect flag spec
PR:		6339 (part of)
Submitted by:	Chris Dillon <cdillon@wolves.k12.mo.us>
1998-04-18 10:05:38 +00:00
obrien
af5311ec6f Make ``-h'' follow the manpage, and suppress the burst page reguardless of
the number of ``-h'' given.
1998-04-17 17:25:49 +00:00
ache
cbfaf2a1ee Add ftp4.ru 1998-04-16 13:55:11 +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
wollman
e131b51194 Document the requirement for TCPMUX to also be enabled as an internal
service if any external TCPMUX servers are desired.

PR: 826
1998-04-13 15:05:14 +00:00
dfr
72618c7990 Fixes for using amd with non-NFSv3 servers and for choosing the right address
for a multihomed server.

PR:		bin/6231, bin/4678
Submitted by:	Mika Nystrom <mika@cs.caltech.edu
1998-04-13 12:11:24 +00:00
jkh
19752a54b2 Fix dependent-package loading when pkg_adding with an FTP URL. I broke
this when I changed the playpen code to disallow recursion.  I know
this fixes a PR someplace but I can't seem to find it with the GNATs
search tool.
1998-04-12 16:01:10 +00:00
cracauer
0009308669 (evil) hackers -> crackers 1998-04-08 12:00:48 +00:00
roberto
0835cba6a5 Fix bug in rarpd:
Explanation of the bug: when processing its first request, rarpd
     opens a routing socket to send requests to the arp table. It keeps
     that socket open afterwards, while waiting for new RARP requests.

     Meanwhile, the data received on the routing socket fill up until
     they are about 8Kbytes in size. Any additional data is lost.

     When rarpd receives its next RARP request, it tries to access the
     ARP table via a routing socket call, then waits for the answer to
     its own request. This answer is lost because the received data is
     already filled: when looking for the reply, rarpd receives only
     8kbytes worth of data, then loops waiting forever.

     Someone please test it on -STABLE and commit it. We can close the PR
     when testing on STABLE is done.

PR:		bin/5669
Submitted by:	Pierre Beyssac <pb@fasterix.freenix.org>
1998-04-02 13:20:15 +00:00
eivind
9f3f2581d7 Scaffolding for High Availability code. The actual code will probably
come tomorrow.

Submitted by:	Simon Shapiro <shimon@simon-shapiro.org>
1998-04-02 04:25:41 +00:00
jkh
4d666c93b4 MF22: NOSHARED=YES 1998-04-01 15:19:23 +00:00
phk
914c02ee25 Chnage the profiling printout to reflect that they are not
struct timeval anymore.
1998-03-30 10:09:05 +00:00
jkh
ed971831e6 Sync with 2.2-stable branch. 1998-03-24 09:51:58 +00:00
jb
fc17422716 A few things won't compile on alpha, so make them i386 specific for
the time being.
1998-03-23 22:21:34 +00:00
jmb
17769a8ebd grr....forgot a bug fix in rewrite rules on hub
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-03-23 21:32:10 +00:00
jmb
37177207cf update to match configuration currently in use
on hub.freebsd.org
1998-03-23 20:52:57 +00:00
jkh
5f1d9ae555 MF22: resync. 1998-03-23 08:36:27 +00:00
charnier
6e321f37d4 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
charnier
b32e728fc6 .Nm pw -> .Nm. 1998-03-23 08:28:12 +00:00
charnier
e56b3f0e3d .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
Use rcs Id instead of rcs Header.
1998-03-23 08:26:31 +00:00
yokota
8764cba6bd - Remove the notice that psm0 must be enabled before using the PS/2 mouse;
the device is enabled by default in the GENERIC kernel.
- Kill the mouse daemon, if any, when the user wants to disable it.
- Minor update on mouse menus.
1998-03-23 06:08:55 +00:00
jkh
9eca46b7d8 MF22: catch up with recent changes. 1998-03-23 05:59:18 +00:00
jb
57958943e6 Cast an argument to int for a printf field width the way that gcc
prefers it. This source is compiled with -Werror so the slightest
warning is enough to ruin my day.
1998-03-22 20:19:27 +00:00
peter
108c1ee193 ppp-2.3.x ships with a bad compression number for deflate. It uses number
24 (which is magnalink!) rather than the correct (according to the rfc) 26.

Initial attempt at a compatability kludge that will negotiate for either
but will prefer to use the correct deflate compression type.
1998-03-22 06:57:20 +00:00
peter
485f592474 Merge ppp-2.3.3 changes onto mainline 1998-03-22 05:33:08 +00:00
brian
e678d7822c Quiet -Wall in gcc-2.8.1
Obtained from: OpenBSD
1998-03-22 00:43:04 +00:00
peter
166f281a88 Update from ppp-2.3.3 1998-03-21 20:50:31 +00:00
peter
d0a0b2bbfb merge ppp-2.3.3 changes onto mainline 1998-03-21 20:47:53 +00:00
peter
52ccca8b5d Fix pathname to contrib/ipfilter botch. 1998-03-21 14:50:14 +00:00
peter
52325b1595 Initial bmake scaffolding for ipfilter userland stuff.
Obtained from: large chunks stolen from OpenBSD and NetBSD
1998-03-21 13:53:18 +00:00
jkh
ae412a3109 MF22: install correct kernel 1998-03-21 02:08:52 +00:00
jkh
b36c7cab56 MF22: create raw slice entries. 1998-03-20 23:39:57 +00:00
jkh
47d8389025 Ack, fix typo in last commit. 1998-03-20 18:26:04 +00:00
jkh
e72a0d1082 My face is red - make the code for creating slices actually work now. 1998-03-20 18:07:02 +00:00
bde
1a100b72e7 Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.
1998-03-20 12:20:43 +00:00
hosokawa
f4dbb36a3e Some parameter was left uninitialized when the card with incomplete
"Version 1" CIS tupple is plugged after normal card.
1998-03-20 04:49:19 +00:00
bde
f6fc75a961 Don't use the beforedepend target. It was a no-op here except for
helping bsd.dep.mk break `make -jN depend'.
1998-03-19 15:12:05 +00:00
jkh
9b84fa1107 correct checks for "already written" case. 1998-03-19 15:07:20 +00:00
jkh
336f2b1796 Add noatime option to new filesystems to speed up initial extraction.
Suggested by:	bde
1998-03-19 15:02:09 +00:00
charnier
437e812465 Use .An/.Aq. 1998-03-19 07:40:27 +00:00
hoek
e46f4af1d6 MF22: Remove confusing comma 1998-03-18 16:21:55 +00:00
jkh
97f546d2b8 1. If device node already exists, don't gratuituously try to make it
again.

2. Don't create slice entries when running multi-user; it adds far too
   much to sysinstall's startup time.  User is expected to have correct
   slice entries after system is installed.
1998-03-16 14:33:18 +00:00
bde
386d3e7f4c Don't build an unused obj dir.
Install all files in one step.
De-bogotified the .includes.
1998-03-16 11:46:09 +00:00
eivind
c5fc4aa131 Add message when using obsolete command line option.
Suggested by:	joerg
1998-03-16 11:19:10 +00:00
eivind
b56f0166c2 Style & message change.
Submitted by:	bde
1998-03-16 11:15:45 +00:00
brian
b3e0fb3e16 Cosmetic: .Dq -> .It 1998-03-16 07:33:57 +00:00
jkh
a2e844d5d7 Fix some bogons with variable handling. 1998-03-15 19:30:49 +00:00
jkh
1ee67c14f7 Reformatting, more sanity checks. 1998-03-15 17:10:17 +00:00
jkh
5626073a6e When doing "make unders", also remember to make entries for
any slices that exist.
1998-03-15 16:15:47 +00:00
pst
6e818c9e9f Add "-F" (force) flag to newsyslog.
Submitted by:	Terry Lambert <terry@freebsd.org>
1998-03-14 22:28:25 +00:00
jb
641af3254e Some things only work on i386.
Removed unsupported machines.
1998-03-13 19:43:12 +00:00
jkh
23a772e83e Add Danish mirrors.
Submitted by:	phk
1998-03-13 11:30:44 +00:00
jkh
dc04bde8c2 Be careful not to spam ld.so.hints in multi-user case.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-13 11:12:53 +00:00
jkh
206a0af8ed Fix bogusly shadowed variable.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-13 11:09:03 +00:00
brian
302c593c3a Correct #ifdef for __FreeBSD__ < 3 1998-03-13 03:24:05 +00:00
brian
92beba7e57 Add missing include 1998-03-13 01:55:47 +00:00
brian
95c31de535 Add extraneous braces to stiffle warnings from gcc-2.8 1998-03-13 01:36:10 +00:00
brian
016c85730a MFMP: Don't send LQRs when the peer has LCP REJ'd them. Send
ECHO LQRs instead.
1998-03-13 00:55:16 +00:00
yokota
96f309afbd - Describe the -I option in the man page.
- Add the -I option in the usage line.
1998-03-12 15:00:06 +00:00
eivind
11d4ee5605 Style police. 1998-03-12 12:54:25 +00:00
brian
a847940420 o Fix a few comment typos.
o Fix ``set timeout'' usage message and documentation.
o Change ifOutPackets, ifOutOctets and ifOutLQRs to `u_int32_t's
  so that they wrap correctly.
o Put the LQR in network byte order using the correct struct size
  (sizeof u_int32_t, not sizeof u_long).
o Wrap LQR ECHO counters correctly.
o Don't increment OutLQR count if the last LQR hasn't been replied
  to.
o Initialise HisLqrData (last received LQR) in StartLqm.
o Don't start the LQR timer if we're `disabled' and `accepted'.
o Generate LQR responses when both sides are using a timer and
  we're not going to send our next LQR before the peers max timeout.

LQR should now be fully functional.
1998-03-12 02:23:42 +00:00
jkh
279390da0f Update man page to note that idleprio can't be used by normal
users either.
1998-03-12 01:29:12 +00:00
jkh
e87fd2716b Correct misfeature with quoting, better error reporting. 1998-03-10 17:24:08 +00:00
jkh
8469212ae0 MF22: installEnvironment() fix, reshuffle, vidcontrol on correct vty. 1998-03-10 13:42:05 +00:00
jkh
6ae979dd46 Update to XFree86 3.3.2 - I had to remove the entries for the VFB and
PRT servers since the extra PC98 servers have eaten all my flag bits.
Time to redo the way distribution masks are calculated, definitely, but
for now I guess people can always install those two components by hand
if they really want them.
1998-03-10 02:37:29 +00:00
jkh
d285a03de7 Remove deprecated XIG support - that project never
happened.
1998-03-09 15:01:02 +00:00
ache
1f1344c8da Fix RFC number 1544 -> 1644 1998-03-09 14:24:21 +00:00
jkh
aa24d4726b Make a /var/run directory before starting ppp so that it doesn't
complain.
1998-03-09 08:57:22 +00:00
jkh
8c2e3b0218 Allow -R and -h to be combined as long as no symlink-following flags
are also requested.
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1998-03-09 08:54:31 +00:00
jkh
48a409bf2d MF22: nuke compat slice for root. 1998-03-09 08:39:46 +00:00
hosokawa
971d61ef3e Reviewed by: mike@smith.net.au
Submitted by:	nate@mt.sri.com
Removed global variables. (and style(9) fix.)
1998-03-09 05:18:59 +00:00
brian
762d9b5e3c Explicitly call caused' an int'.
Sugested by: gcc-2.8
1998-03-08 23:39:33 +00:00
bde
9261b686f3 Added forgotten new file for -Lfoo -lbar' -> foo/bar.a' change. 1998-03-08 00:19:19 +00:00
bde
ab37e4723b Set the input and output buffer sizes and the input buffer watermarks
dynamically depending on the line speed(s).  This should give the old
sizes and watermarks until drivers are changed.

Display the input watermarks in pstat and sicontrol.
1998-03-07 15:36:29 +00:00
bde
d3607b7ed9 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
Override the default it it is wrong.

Don't override defaults when the defaults are correct.

Don't give absolute paths to man page sources.
1998-03-07 09:49:12 +00:00
bde
2f15ee6724 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
Override the default it it is wrong.

Don't override defaults when the defaults are correct.
1998-03-07 09:48:14 +00:00
bde
adad8e3b30 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
1998-03-07 09:46:17 +00:00
jkh
6617de6e25 Add -I flag.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-07 09:03:43 +00:00
jkh
75d39d7a55 Add a mouse configuration menu.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1998-03-07 08:59:32 +00:00
bde
6682846885 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.
1998-03-07 08:55:00 +00:00
bde
1eec1ef17a Fixed `make -jN' for large N, as usual. 1998-03-06 15:02:45 +00:00
bde
e8b7940ca2 Fixed `make -jN' for large N, as usual. Too usual for yp programs. 1998-03-06 14:51:35 +00:00
bde
a176b07ddd Fixed `make -jN' for large N. version.h was missing from SRCS,
SRCS was disordered to work around the bug for plain `make', and
the version number was bumped twice by building two copies of
version.[ch] concurrently.
1998-03-06 14:47:53 +00:00
bde
919903f2b1 Fixed `make -jN' for large N, as usual. 1998-03-06 14:40:42 +00:00
bde
b0864038a9 Fixed `make -jN' for large N, as usual. 1998-03-06 14:34:47 +00:00
jkh
461239a13c MF22: various doc bogons noticed. 1998-03-06 07:23:08 +00:00
bde
8609d653b2 Don't use the FreeBSD misfeature DPSRCS or give explicit dependencies
on generated headers.  Just put generated headers in SRCS so that
bsd.*.mk can generate better dependencies.
1998-03-06 07:00:28 +00:00
yokota
372d0890a6 Add 4th button support for the "MouseMan" protocol. The latest
trackball model from Logitech has four buttons.
1998-03-06 03:09:31 +00:00
brian
5541d07a93 Use the correct device name in -direct mode. 1998-03-06 00:35:30 +00:00
guido
fb33e403b2 bit_nset was not correctly used. 1998-03-02 20:51:06 +00:00
guido
8b76f70d01 Fix use of bit_nclear. Amazing that we didn't get more complaints
about inserting 2 pcmcia cards.
1998-03-02 19:00:01 +00:00
jraynard
aaccbfd01d Don't assume sigset_t and int are equivalent. Also, get
sigprocmask arguments the right way round.
1998-02-28 15:14:00 +00:00
hosokawa
68d701fa42 Removed a confusing "#if 0 ... #endif". 1998-02-27 09:47:36 +00:00
hosokawa
d746039957 Removed "#define EXTERN" because this file doesn't have main(). 1998-02-27 08:40:53 +00:00
hosokawa
ffec1d6f3e Moved main() to a new file (pccardd.c). 1998-02-27 08:19:25 +00:00
hosokawa
7dc5b867a8 Removed unused #include and unneccesary comments. 1998-02-27 08:00:18 +00:00
hosokawa
43502abbcd "pccardc dumpcis" does not need write permission of /dev/card?. 1998-02-27 07:27:27 +00:00
nate
1587a18c3e - <pccard/card.h> doesn't exist in -current, so use the include file
<pccard/cardinfo.h>.  I don't know if this will compile, but at least
  it's using an include file that exists.

Forgotten by:	hosokawa
1998-02-27 05:12:48 +00:00
hosokawa
728f78d263 added "rdattr" (read attribute memory) function. 1998-02-26 14:36:01 +00:00
pst
b89888f153 Make maxchild and max child-per-minute default values configurable from
the command line or Makefile.
1998-02-24 21:55:14 +00:00
ache
7631a418b9 Add DESTDIR to afterinstall
Submitted by: jhay
1998-02-24 10:24:22 +00:00
ache
4062b72b6c Oops, back out DESTDIR addition, handled automatically by bsd.prog.mk 1998-02-24 10:15:33 +00:00
bde
4410603cb4 Don't #include implementation header <machine/types.h> directly.
#include <sys/types.h> before the headers that depend on it.
1998-02-24 01:11:47 +00:00
ache
d7649e6694 Add missing DESTDIR 1998-02-23 09:15:01 +00:00
jkh
8521cad29e Edit a message so that people stop sending me weird emails. :) 1998-02-22 09:54:17 +00:00
wpaul
932fd732a9 *sigh* I will not commit late at night. I will not commit late at night.
I will not commit late at night. I will not commit late at night.

I swear it's been Monday all week for me.

Apply proper fix for services target submitted by Andre Albsmeier
<andre.albsmeier@mchp.siemens.de>. Sorry for botching this that last
time, Andre. (Could have been worse: t least I didn't break the build.)
1998-02-21 18:14:30 +00:00
hosokawa
3ac086b2ac Updated my e-mail addresses. 1998-02-20 07:17:48 +00:00
wpaul
d7895ddcdd Arghhh.... another missing backslash. Yes, I feel stupid. 1998-02-20 04:00:48 +00:00
guido
e1ce88a831 Reenable building of /etc/passwd.
Pointed out by: "Julie M. Juracich" <julie@xaqti.com>
1998-02-19 08:12:11 +00:00
charnier
ac7a269d57 Convert to mdoc + typos. 1998-02-19 08:05:46 +00:00
brian
5b9c68270e MFMP: Allow 8 character login names.
Do the login()/logwtmp()/logout() as id 0.
1998-02-19 02:10:13 +00:00
eivind
ab0c84a191 Style police service brought to you by: bde 1998-02-19 00:51:49 +00:00
eivind
d2daf125ee Re-introduce '-n' - now a no-op for backwards compatibility only.
Requested by:	David Quattlebaum <sasdrq@unx.sas.com>
1998-02-19 00:45:33 +00:00
brian
c30c1e89da MFMP: LogWARN rather than LogERROR when we can't create
our diagnostic socket.
1998-02-18 20:40:32 +00:00
brian
4d644306f0 Don't leak memory when the peer sends PROTO_COMPD packets
without negotiating compression first.
1998-02-18 19:38:43 +00:00
msmith
2a88b53c7d Disconnect (nonexistent) qcamcontrol
Submitted by:	pst
1998-02-18 13:48:37 +00:00
msmith
892f7dbda1 Remove qcam support programs.
Submitted by:	pst
1998-02-18 13:46:23 +00:00
eivind
6c500cca36 Make '-n' the default, and introduce a new flag '-r' to get old
behaviour.  Also indicate which option(s) are unknown if there are any
old-style options.
1998-02-18 04:15:04 +00:00
wpaul
fb3f84b8bf Doh! Replace backslash that got eaten by gremlins in the last commit. 1998-02-18 04:11:49 +00:00
guido
977c976366 Apparently, if fprintf() fails, it can return any negative value
Pointed out by: Bruce
1998-02-16 19:08:18 +00:00
jkh
7836fb80f5 Eliminate the idea of nested "playpens" entirely - it just obfuscated
the code and, in at least one case, made it more dangerous to no gain.
1998-02-16 17:16:51 +00:00
guido
bfe224349b Check return values of fprintf, fclose (this one is overdone I guess)
and pw_db->close.
PR:		4202 (probably, I askd the submitter)
Obtained from:	OpenBSD
1998-02-15 22:31:40 +00:00
steve
b0853d61f8 Clarify the -batch arguments.
PR:		5677
Submitted by:	Adrian Filipi-Martin <adrian@virginia.edu>
1998-02-14 22:55:23 +00:00
steve
89c1054333 Overhaul this manpage - removing typos, awkward phrasing, and addressing
a few technical faults.

PR:		5692
Submitted by:	dannyman@arh0300.urh.uiuc.edu
1998-02-14 18:33:37 +00:00
jkh
7fe482c8b0 MF22: correct bogus failure return. 1998-02-13 08:01:01 +00:00
wpaul
8fe3eebc42 Close PR #2206: fix the services.byname target so that it can handle
/etc/services entries with any protocol instead of just udp and tcp.
Rather thani having the awk script explicitly search for 'udp' or 'tcp'
in the second field using index(), use split() to break up the field
at the '/' character if it exists, which extracts the protocol from
the field no matter what it is.

PR: 2206
1998-02-13 03:38:41 +00:00
yokota
6f7f019629 Add an entry for the Brazilian keymap with accent key definitions
in the keymap menu.
1998-02-12 17:53:19 +00:00
wosch
95821ff4ba pwd_mkdb option '-c' was renamed to -C some weeks ago.
PR: bin/5715
Submitted by:  dannyman <dannyman@arh0300.urh.uiuc.edu>
1998-02-11 23:31:24 +00:00
wpaul
02d038fd99 Fix a bug in the database handle caching. This has to do with the way the
underlying database code works. When dealing with first/next queries, you
have the notion of a database 'cursor,' which is essentially a file pointer
for the database. To select the first entry, you do a fetch with the
R_FIRST flag set, then you can use the R_NEXT flag to enumerate the other
entries in the database. Unfortunately, doing a direct fetch with no flag
does _not_ set the 'cursor,' so you can't do a direct fetch and then
enumerate the table from there.

The bug is that cached handles generated as the result of a YPPROC_MATCH
were being treated as though they were the same as handles generated by
a YPPROC_FIRST, which is not the case. The manifestation is that if you
do a 'ypmatch first-key-in-map map' followed by a yp_first()/yp_next()
pair, the yp_first() and yp_next() both return the first key in the
table, which makes the entry appear to be duplicated.

A couple smaller things since I'm here:

- yp_main.c and yp_error.c both have a global 'int debug' in them.
  For some reason, our cc/ld doesn't flag this as a multiply defined
  symbol even though it should. Removed the declaration from yp_main.c;
  we want the one in yp_error.c.

- The Makefile wasn't installing ypinit in the right place.
1998-02-11 19:15:32 +00:00
brian
78287d51b2 Move handle_signals() to before the FD_SETs. handle_signals()
may result in a our modem closing after it's made its way into
the fd_set, resulting in a program exit (with select(): bad file
descriptor) rather than a dropped link.
1998-02-10 22:33:43 +00:00
jkh
c852558573 Form device names correctly with new unit# syntax. 1998-02-10 18:43:11 +00:00
jkh
7ef8a69bf6 Totally change the way that devices are made in the MFS and subsequently
probed in sysinstall.  Rather than make template devices and use up lots
of inodes, also restricting the number of devices that can be dealt with,
mknod all necessary devices as necessary using built-in information.
This removes a number of constraints on the number and type of devices
that sysinstall can see.
1998-02-10 18:31:27 +00:00
eivind
466933731d All our options are new-style now - enable the warning if unrecognized
(that is, old-style) options are found.
1998-02-09 23:59:51 +00:00
jkh
18cd688d96 Remove some ancient cruft discovered during a recent code review. 1998-02-08 20:18:19 +00:00
jkh
c610f2da03 MF22: reset root flags properly. 1998-02-06 04:35:21 +00:00
guido
1c9cf806f1 This seems to fix my problem that after resume/suspend, sometimes
pccard claims that the driver is already allocated.
It works around a race when pccardd gets woken up too late after a resume.

This is a 2.2.6 candidate.
Reviewed by:	nate@freebsd.org
1998-02-04 20:19:39 +00:00
wpaul
dbf89ade74 Fix Makefile.yp so that it no longer creates a temporary file called
/tmp/ypmake, thereby fixing problems with successive map updates
possibly reading stale copies of this file left behind by a previous
failed run.

PR:	 5571
1998-02-04 16:16:58 +00:00
wollman
5d47725872 Install printcap.5 from here. 1998-02-04 15:59:10 +00:00
ache
db44e17ea5 Add comment describing settings
Use 66 lines on the page
1998-02-04 13:03:57 +00:00
ache
9f7f3c2529 Add Russian printer filters, mandatory because hardware code page 866
is different with KOI8-R
1998-02-04 12:00:46 +00:00
charnier
03381089b1 Convert to mdoc. 1998-02-04 07:30:11 +00:00
ache
daf30b2504 Add Genius PnP Mouse (simple one) 1998-02-04 06:46:33 +00:00
brian
939d87b65e Merge from MP branch:
Correct magic number format string
1998-02-04 01:06:23 +00:00
wosch
91b3d9af94 Typo. 1998-02-02 15:46:44 +00:00
steve
c3bc523e8e setpwent now has a void return type, so remove the now bogus cast. 1998-02-01 17:11:07 +00:00
steve
af45e9528b Typo: PAT -> FAT.
PR:		5593
1998-02-01 05:58:42 +00:00
brian
342874fb3a Don't moan about not creating tunX.pid and ttyX.if if RELEASE_CRUNCH
is defined.
1998-01-29 00:44:15 +00:00
brian
77370f92cc Talk a bit about ongoing development. 1998-01-29 00:42:52 +00:00
brian
d284899e7c Make it clear that aliasing is done on the public interface, not
the private one.
1998-01-29 00:40:41 +00:00
jkh
e62c8eeed6 MF22: only fclose() OpenConn if non-NULL. 1998-01-28 04:42:38 +00:00
brian
1c9a27b464 Cosmetic:
Don't mention the authors name at startup.  He's already credited
  in the man page.  Instead, make the message consistent with the
  one given to the diagnostic port (and fix the grammar when entering
  `term' mode).
  Don't credit the zlib author in the man page as ppp isn't linked
  directly with zlib (it's shared).
  Mention when the OpenBSD port was first made available.
1998-01-27 23:14:53 +00:00
yokota
1fb3fbf762 Update the keymap menu. 1998-01-27 14:01:19 +00:00
julian
d7f7b1e670 A bit of the dpt userland utilities that got left out. 1998-01-26 06:26:41 +00:00
julian
c9bbca52f2 Obtained from: Simon Shapiro
Userland utilities to control, and monitor a DPT RAID system.
1998-01-26 06:20:48 +00:00
jmz
96686a66db The status command prints the audio position, the media catalog and the
volume value for the disc. It is now possible to specify additional arguments
(audio, volume, media) to print only a subset of the full status.
This is particularly useful with drives which stop playing when asked to
return the catalog number.
1998-01-26 00:57:54 +00:00
steve
0344603634 Allow comments to begin with multiple '#' characters.
PR:		4452
Submitted by:	Joao Carlos Mendes Luis <Jonny@mailhost.coppe.ufrj.br>
1998-01-25 17:51:10 +00:00
steve
d934dd8e2d Fix a couple of typos.
PR:		5561
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1998-01-25 16:22:22 +00:00
yokota
42f3b538cd Fix typo.
PR: docs/5562
1998-01-25 15:49:00 +00:00
brian
4b6b8906a0 Fix error message.
Don't complicate the test compilation mentioned at the start of
the file.
1998-01-24 00:03:14 +00:00
brian
2fa1051841 Stop bogus warnings. 1998-01-23 22:29:16 +00:00
brian
b1b36a2e87 Re-implement the proxy arp sockaddr_dl search routine (again).
It now works :-) and searches all interface aliases.
1998-01-23 21:37:27 +00:00
jkh
5930ad49db In !dists case, invoke the custom dist menu rather than the toplevel
dist menu.  This makes a good deal more sense and should have been
this way all along.
1998-01-23 07:53:44 +00:00
brian
f1d93f530b Don't allow manual dialing unless in auto or interactive mode. 1998-01-23 04:36:42 +00:00
jkh
bc80affadb MF22: match entries for wfd 1998-01-22 21:14:31 +00:00
sos
e22d07fc0f Use /bin/pwd instead of a potentially shell builtin that does
not return the "real" path.
This makes it possible to have the .o files put in the /usr/obj
hierachy instead of in the /usr/src one.
1998-01-22 19:34:31 +00:00
charnier
da58dd2ba5 Add rcsid. Add usage() with up to date flag list. Use err(3). 1998-01-22 07:28:26 +00:00
charnier
ffa2a680a8 Convert to mdoc format. Document missing flags. 1998-01-22 07:26:08 +00:00
jkh
d7243159f2 Add entry for SMC 9432TX cards (tx driver). 1998-01-21 19:25:49 +00:00
brian
dc5134f336 Use the sockaddr_dl with the link#, not the ethernet address
when creating proxy arp entries.
1998-01-21 12:52:14 +00:00
brian
a70d82c35d Don't assume that a computer can have no more than
256 interfaces (mine doesn't).  Instead, find local
interface addresses using sysctl().
1998-01-21 10:55:39 +00:00
jkh
e21210fa71 I must have been smoking crack when I made this change. Using sh -c
in a vsystem() call is just a ludicrous way of calling sh -c "sh -c ..."
Whoops!  I don't know my own bloody code here!
1998-01-21 06:08:35 +00:00
brian
8a229af566 Remove unused #includes.
Make various bits static.
Remove unused variables.
Submitted by: eivind
1998-01-21 02:15:33 +00:00
imp
151ed161b7 Quote filenames more agressively.
Reviewed by:	jkh
Submitted by:	Hubert Feyrer
1998-01-21 00:12:56 +00:00
brian
7443167983 Allow an optional delay when specifying "set openmode active".
The delay defaults to 1 sec (as it always has) unless we've done
a ~p in interactive mode or we've actually detected a HDLC frame.
This is now cleanly implemented (via async timers) so that it is
possible for LCP to come up despite the delay if an LCP REQ is
received.

This will hopefully solve situations with slow servers or slirp
scenarios (where ECHO is left on the port for a second or so before
the peer enters packet mode).

Also, ~p in interactive mode no longer changes the value of the default
openmode delay and -dedicated mode enters packet mode in the right state
according to the value of openmode.
1998-01-20 22:47:48 +00:00
bde
e6fb4ea030 Converted to Lite2 mount interface - use vfc_typenum from the
already looked up vfsconf struct for nfs instead of MOUNT_NFS.
Removed related FreeBSD ifdefs.
1998-01-20 15:22:27 +00:00
bde
06cd7b5323 Merged from Lite2. Get the filesystem type name directly from the
statfs struct instead of converting from the filesystem type number.
1998-01-20 15:12:24 +00:00
wollman
28b1a9b739 Properly initialize the printer struct.
PR: bin/5519
1998-01-20 14:43:05 +00:00
bde
d53ef8ee6e Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
charnier
6fa79119c9 Convert to mdoc format. Remove unused vars. Use err(3) and change exit(-1). 1998-01-20 07:30:27 +00:00
yokota
a0e6b8c1d8 Add the PnP string for a Logitech serial mouse model. 1998-01-20 03:38:36 +00:00
jmb
5465048653 update hub's master configuraton file
limit sendmail to 500 messages per run
keeps the process from growing too large
sort the queue by host, not numeric priority
connecting to a host is too expensive,
once we got the connection, ram all the mail down his throat ;>
1998-01-20 01:48:12 +00:00
wpaul
73bd479ece Also fix ypbind to compile with ANSI-fied /usr/include/rpcsvc. One of
these days I really should rerwite this creature from the ground up.
1998-01-19 23:31:38 +00:00
jkh
ec7457e7f1 Add wfd style devices to detection list (we'll have to put them on the
boot floppy too, of course - hope I still have enough inodes! :)
1998-01-19 23:28:41 +00:00
brian
8c6e8375e3 dlopen(..., RTLD_NOW) rather than RTLD_LAZY.
Pointed out by: John Polstra <jdp@polstra.com>
1998-01-19 22:59:57 +00:00
brian
d93811908a sys/types.h -> sys/param.h
Pointed out by: Niklas Hallqvist <niklas@petra.appli.se>
1998-01-19 22:34:20 +00:00
brian
a4acc2b6f9 Reimplement proxy-arp address stuff using sysctl(). 1998-01-19 02:59:34 +00:00
brian
1a8fafd2d2 Allow "set vj" for changing the default number of slots
and whether slot compression is requested.
Don't show current values with "show ipcp" if IPCP isn't
"opened".
1998-01-18 20:49:22 +00:00
bde
965464cfca VVMIO -> VOBJBUF as in pstat.c. 1998-01-17 16:58:55 +00:00
bde
96fd17c703 Started getting rid of the compatibility cruft for the Lite1 mount()
and the pre-Lite2 vfsconf interfaces.

For quot, just back out revs. 1.1 and 1.2 and change MNT_FFS to
"ufs", so that vfsconf isn't used at all.  Revs. 1.1 and 1.2 were
hacks to get around f_fstypename not being in `struct statfs' in
Lite1.
1998-01-17 16:45:03 +00:00
brian
c73933598a Remove the necessity of -ldes and -lalias etc from release/Makefile.
When building a release, RELEASE_CRUNCH is defined for a `make' of
the objects required by the crunch of each program.  The object list
is still obtained in the same way, so you must make sure that all
objects are built (empty if necessary) by this make.  ppp/Makefile
provides an example.

Reviewed by: jkh
1998-01-17 14:21:21 +00:00
jkh
3313481cd8 MF22: fix to install script handling. 1998-01-17 12:26:19 +00:00
bde
1e40ca3634 Removed most unused includes of <net/if_var.h> outside the kernel. 1998-01-16 17:38:56 +00:00
jkh
ca3cb4105e Adapt to new mount(2) argument syntax.
Submitted by:	bde
1998-01-16 15:07:55 +00:00
jkh
73bed33fe3 Benign changes to support Justin's CAM code. 1998-01-16 12:53:04 +00:00
charnier
c95ad531bd Add rcsid. Change exit(-1). Use err() instead of warn()/exit(). 1998-01-16 07:17:45 +00:00
jmb
1b4c140fc6 update hub.mc to match what we are currently using:
both /etc/aliases and /etc/majordomo.aliases
sendmail.cw is *not* optional
command and connection timeouts
common hoststat directory for all queues
add fakenames database
clean up spam filter rules
limit the number of message processed each queue run
dont need to check Vixie's RBL in both check_relay and check_mail
1998-01-15 17:39:50 +00:00
brian
f2896d69aa Free our input mbuf when the FCS is good (oops, memory leak). 1998-01-14 01:47:50 +00:00
brian
653b1ec6a8 Lose __libalias_version.
We now look for the biggest of libalias.so.2.*
1998-01-14 01:23:05 +00:00