Commit Graph

2170 Commits

Author SHA1 Message Date
lukem ea2eef1424 resolve conflicts 1997-09-16 03:13:18 +00:00
mrg f4d8afa436 make a link from ipf.5 to ipf.conf.5 1997-09-16 02:06:41 +00:00
enami 241ba6ead1 If f->f_type is F_FORW, don't close f->file. 1997-09-15 03:25:42 +00:00
lukem aa125494d1 - use .Nm instead of .Xr
- don't refer to the command as /sbin/mountd - it's not there anymore
1997-09-14 02:26:14 +00:00
enami 747812c50c Store constant `F_UNUSED' into the right place f->f_type
rather than f->f_file.
1997-09-13 07:53:10 +00:00
cjs 25e1ee9531 Sendmail 8.8.7 merge. 1997-09-09 06:35:00 +00:00
cjs c75d7d513a Sendmail 8.8.7 import. 1997-09-09 06:19:07 +00:00
mikel f13c41584f add missing newline in usage(); from Hubert Feyrer in PR bin/4064 1997-09-08 03:18:19 +00:00
mikel 312c78327b kill excess newlines in debug output; from Enami Tsugutomo in PR bin/4076 1997-09-08 02:21:52 +00:00
veego 2e55dbcfd0 Sync it for libamu/Makefile. 1997-09-07 21:56:12 +00:00
fvdl d2200ee791 Add missing argument to 2 warnx() calls. From <msaitoh@spa.is.uec.ac.jp>,
PR 4086.
1997-09-05 10:52:10 +00:00
is 3845c4168d Make it recognize ICMP_UNREACH_ADMIN_PROHIBITED (type 13) as !A, and print
!{number} for unknown numbers.
This patch is part of PR 4038 by Havard Eidnes <he@vader.runit.sintef.no>,
who in turn did loosely base his patch on the FreeBSD 2.2.2 version.
1997-09-02 21:48:50 +00:00
mikel 31cff31e63 use correct name for default accounting file; from Hubert Feyrer in
PR bin/4063.
1997-09-01 23:32:45 +00:00
lukem 77735b9c46 update for WARNS?=1
check getopt() against -1 not EOF
1997-08-28 08:09:53 +00:00
lukem 5010818f51 Prevent info gathering attacks by returning EACCES when a directory
doesn't exist as well as when there aren't enough privileges.
As highlighted on BUGTRAQ.
1997-08-28 05:49:15 +00:00
mikel 480894feb2 xref sliplogin(8), not nonexistent sliplogin(1) 1997-08-27 07:59:19 +00:00
thorpej aeeac5d7fd Fix usage with NIS+ servers in NIS compat mode, which was lost in the
last amd update.  From Matthieu Herrb <matthieu@laas.fr>, PR #4023.
1997-08-26 19:47:19 +00:00
lukem b9aadef1e0 cleanup for WARNS?=1. as a side effect, close [bin/4036] 1997-08-25 22:44:40 +00:00
kleink 66105c37fc Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
agc f642bb0d2f Add -U flag, checking for mismatch. This is the same as the old -u flag,
except that an error which was corrected is deemed not to be an error.

Necessary for use in the FreeBSD ports system.
1997-08-20 15:14:51 +00:00
mikel e72c8b76e8 eliminate extra dashes before option arguments; from Enami Tsugutomo
in PR bin/4000.
also add xref to syslog(3) and fix some typos.
1997-08-19 04:20:40 +00:00
bouyer 2d20417591 Add MOUNT_EXT2FS to the list of filesystem which need to be deleted from
the export list in the kernel when re-reading /etc/exports.
1997-08-13 12:36:04 +00:00
kleink 971842faad Typo. 1997-08-06 19:52:18 +00:00
fair 4c55c4068f patch from PR#3944 1997-08-06 11:50:57 +00:00
christos 031eafc65a PR/3939: enami tsugutomo: amd fails to detect endianness. 1997-08-05 12:02:49 +00:00
christos 8c55e294ce Add -q flag for quiet operation. 1997-08-04 22:03:52 +00:00
mikel be93e7feff add missing backslash in ENTER() macro (#ifdef DEBUG); noted by
Kenneth Stailey
1997-08-01 04:51:48 +00:00
jtc 87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
thorpej 1a9c5f5f48 Arithmetic between "int" and "size_t" is promoted to "long" on the Alpha;
use the %ld printf format, and cast to (long) for printing.
1997-07-30 17:43:55 +00:00
christos afc018f838 If a directory gets deleted in the master tree, but the client has it in
his last.<collection> list, this directory did not get removed in the client
since the code just tried rmdir(foo) and gave up when that failed. This
has been changed to be more agressive and do an rm -fr when rmdir fails.
1997-07-30 15:35:13 +00:00
christos 6613161476 - Don't botch varargs: the are not always an array of void * in the stack...
Write a separate function to convert a list of function parameters to
  an argv array.
- explain why execv failed.
1997-07-30 15:33:22 +00:00
veego 81fde155b7 Print the interlace and doublescan flag for the converted mode line and
not only default which is wrong.
1997-07-29 23:41:12 +00:00
veego c0a29b25ea Add 'WARNS?= 1' 1997-07-29 18:03:34 +00:00
veego 5fac362982 - Note that hblank_stop and vblank_stop are gone and describe the new disp_flags
for interlace, doublescan, sync-on-green and horizontal/vertical sync polarity.
- Add a HISTORY section which describes the changes of the mode format.
- Use a TNF copyright, with the permission from Ezra Story.
1997-07-29 17:40:47 +00:00
veego 44b9795e1b Major mode format restruction:
- Remove gv->hblank_stop and gv->vblank_stop
- Add gv->disp_flags to select interlace, doublescan, sync-on-green and
  horizontal/vertical sync polarity.
- Add many checks for old and wrong modes.
- Use a TNF copyright, with the permission from Ezra Story.
1997-07-29 17:39:52 +00:00
mikel a86b9a7361 pushed ethers, not hosts 1997-07-29 05:56:48 +00:00
thorpej 5780269849 Document new UDP and TCP tunables. 1997-07-28 22:24:01 +00:00
fair 1f7596052f fix a compile error on non-sparc 1997-07-28 19:29:54 +00:00
veego fef34ddd17 Add config_local.h to SRCS so it is created before a make depend.
Finnaly fixes pr#3919.
1997-07-28 13:08:05 +00:00
thorpej b54686772c Fix a bunch of compiler warnings. 1997-07-28 06:03:54 +00:00
thorpej 4902da1c96 Fix compiler warnings, build with WARNS. 1997-07-28 05:39:16 +00:00
christos 3b1ba66d76 - Make the yacc .h file generation more sane from Juergen Hannken-Illjes
- PR/3919: Thorsten Frueauf: Add config_local.h to CLEANFILES and remove
  it from the repository.
1997-07-28 00:46:55 +00:00
mrg f644e619a5 find "namespace.h" correctly... 1997-07-25 06:54:00 +00:00
christos 5653c61f64 Restore from death. 1997-07-25 00:29:21 +00:00
christos 4c3f8ff516 Remove unnecessary files. 1997-07-25 00:21:57 +00:00
christos eab39f597e Commit am-utils6.0a8 1997-07-24 23:16:10 +00:00
christos 5feec48523 Import of Erez Zadok's am-utils 1997-07-24 21:19:53 +00:00
phil ffdae81455 Add parameter to call of pw_copy, don't use it, just pass NULL. 1997-07-24 08:54:56 +00:00
thorpej 70e9bf3e24 Oops, somehow the last commit got screwed up. 1997-07-23 21:02:39 +00:00
thorpej 2434f06806 - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
1997-07-23 20:58:36 +00:00
thorpej 865d47e9aa Add argument to .OS macro. 1997-07-23 20:27:16 +00:00
thorpej d44f4bba41 Build with WARNS. 1997-07-23 20:23:16 +00:00
thorpej 35a6561e44 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-23 20:22:48 +00:00
thorpej 8f8a2e37ef - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Now
works on crash dumps, as well as live kernels.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings.
- Fix potential bad pointer arithmetic interaction with sort comparison
  function.
- Build with WARNS.
- Update copyright.
1997-07-23 18:20:46 +00:00
thorpej a2d326c63c Fix potential bad pointer arithmetic interaction with sort comparison
function.
1997-07-23 16:41:43 +00:00
thorpej b8a640f6ab Fix thinko in previous. 1997-07-23 16:27:50 +00:00
thorpej aba777d837 Garbage-collect some now-incorrect text. 1997-07-23 08:39:33 +00:00
thorpej 1f6eefecf8 - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Remove
all of the old 4.{2,3}BSD VM goop.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings (including a Metric *load of printf formats).
- Build with WARNS.
- Update copyright.
1997-07-23 08:19:59 +00:00
mikel 3c7bdeebc9 RCSid police 1997-07-23 06:43:08 +00:00
mikel 35c642e5b1 merge lite-2 changes, RCSid police 1997-07-23 06:31:43 +00:00
mikel bd9a24e449 merge lite-2 changes, RCSid police 1997-07-23 06:16:44 +00:00
mrg 7e01ed9cf6 find "namespace.h" ... 1997-07-23 04:12:37 +00:00
mrg bda99ff7a0 find "namespace.h" ... 1997-07-23 03:10:54 +00:00
perry 6db6d0fc76 fix 3905 docubug from Saitoh Masanobu 1997-07-22 15:19:30 +00:00
christos 49c4c10580 gethostnamadr.c -> gethnamaddr.c 1997-07-21 03:51:57 +00:00
mouse 2ebe693d57 Mark my changes, per Vixie's license at the top. 1997-07-20 02:54:55 +00:00
thorpej 1569c18c63 Fix typo in previous. 1997-07-18 23:08:45 +00:00
thorpej 1c4fcb7069 Cast pointers to u_long before casting to another integral type. 1997-07-18 23:07:44 +00:00
thorpej 1f01636e14 Cast time_t's to long, and use %ld format, when printing. 1997-07-18 22:48:31 +00:00
thorpej 3d8138fc0e Fix compiler warnings (and an awful lot of annoying little bugs). 1997-07-18 21:57:00 +00:00
jtk ce7e4557dd Don't generate defines for locators or bus attachments which have spaces
or tabs in the names; we can't generate reasonable #defines in those cases.
fixes PR# 3880.
1997-07-18 11:27:37 +00:00
thorpej 79f6630e5a Rearrange a little, and build with WARNS. 1997-07-18 08:16:57 +00:00
thorpej 587f144521 - Fix compiler warnings.
- KNF.
1997-07-18 08:10:41 +00:00
thorpej e17f9e900e Teensy change to use WARNS. 1997-07-18 07:57:55 +00:00
thorpej a5e58d3dda Fix compiler warnings. 1997-07-18 07:47:26 +00:00
fvdl 87dd567ffa Fix PR 3799, make sure the procedure number is handled as unsigned, to
prevent bad things happening
from Azuma OKAMOTO <lfo@sayori.dais.is.tohoku.ac.jp>
1997-07-18 01:01:33 +00:00
mikel 1b1fe0b84e use <sys/cdefs.h> __COPYRIGHT and __RCSID macros
garbage-collect old set_ttyflags() and ctime() declarations
1997-07-17 05:51:18 +00:00
mikel fff865d146 use <sys/cdefs.h> __COPYRIGHT and __RCSID macros
include <arpa/inet.h> for inet_ntoa() prototype, nuke local declaration
1997-07-17 05:49:13 +00:00
mikel 95abafa1a6 use <sys/cdefs.h> __RCSID macro, add prototype for local c_key function 1997-07-17 05:46:51 +00:00
mikel c27996f625 use <sys/cdefs.h> __RCSID macro 1997-07-17 05:44:32 +00:00
phil d09cbc12c6 Add cf to install directories. 1997-07-16 23:58:21 +00:00
phil 45d8517405 Add Makefiles to install sendmail/cf source into /usr/share/sendmail.
cv/cv: Modified Makefile to install source into /usr/share/sendmail and
to only make netbsd-proto.cf.  (all other .cf files were made, but never
installed anywhere.  So why burn CPU building files we don't use.  Added
a target called "other" to make all other .cf files.)
1997-07-16 23:01:51 +00:00
mikel 48f58872a4 xref pac(8) not nonexistent pac(1), sort xrefs 1997-07-16 05:54:25 +00:00
christos 7d52497961 When in compress mode, don't overwrite the destination file directly,
write a temp file and use rename when it is done. (From James Mathiesen
<james@deshaw.com>)
1997-07-15 18:15:55 +00:00
mikel 3353aa13c7 xref inetd(8) not nonexistent inetd(1), add utmp(5) xref 1997-07-15 07:10:31 +00:00
mikel 97ff055e3e delete references to obsolete dbm(3); this is a strictly local change 1997-07-15 02:41:29 +00:00
veego a5c8682ccb Use .PATH: instead of creating a link. 1997-07-14 14:54:19 +00:00
thorpej 6b7bb49adb There hasn't been machine-dependent code in pstat since the introduction
of the kernel tty list; garbage-collect -D${MACHINE}.
1997-07-14 08:33:35 +00:00
mikel 05938835d7 gethostname(3) is no longer a syscall 1997-07-14 01:43:49 +00:00
mikel 7fedc67b9e xref gethostname(3) not gethostname(2), RCSid police 1997-07-14 01:42:20 +00:00
cjs ca1323ff94 Remove undefines of DPADD and LDADD. 1997-07-13 20:42:17 +00:00
cjs 25ec838cfd Remove left-over conflict marker. 1997-07-13 20:15:16 +00:00
cjs ca2841a3d7 Resolve conflicts in 8.8.6 import. 1997-07-13 19:42:38 +00:00
cjs fce01e04e2 Resolve conflicts in 8.8.6 import. 1997-07-13 19:42:13 +00:00
cjs e6246fdae8 Resolve conflicts in 8.8.6 import. 1997-07-13 19:41:48 +00:00
cjs d33c43659d Resolve conflicts in 8.8.6 import. 1997-07-13 19:41:37 +00:00
cjs ddfce6c70c Sendmail 8.8.6 import. 1997-07-13 19:04:12 +00:00
cjs ba5056b1bb Sendmail 8.8.6 import. 1997-07-13 19:03:32 +00:00
mouse 82b0af12ec Document the @ commands (@reboot, @hourly, etc).
Closes the rest of PR 2806.
1997-07-13 11:01:16 +00:00
mouse f454390b54 Oops, also document day-of-month values as starting from 1, not 0. 1997-07-13 10:52:19 +00:00
mouse ac5c1e0f93 Document allowed month numbers correctly, per PR 2806.
(@ command docs on their way.)
1997-07-13 10:42:58 +00:00
kleink 8c011ed85f Fix list_swap() argument order; from Dan Winship <danw@mit.edu> in PR bin/3856. 1997-07-13 02:23:40 +00:00
perry b5b0d91666 c-style rcsid comments changed to nroff style, from Dave Huang in pr-3855 1997-07-12 14:50:44 +00:00
mikel fb325bad88 fix printf() formats, make explicit comparisons to NULL (gcc -Wall) 1997-07-11 07:05:29 +00:00
mikel 712b20e8f2 include <unistd.h> for get{,e}uid() prototypes 1997-07-11 06:43:51 +00:00
mikel 2d7dc926c1 xref execve(2) not nonexistent execv(2), reorder xrefs 1997-07-11 04:36:16 +00:00
veego ff9b739e1a Add #include <stdio.h> for struct FILE. 1997-07-10 10:44:48 +00:00
mikel 1e7f2b7da9 fix printf formats and implicit comparisons (gcc -Wall) 1997-07-10 06:28:58 +00:00
mikel 3bf6872439 index array with int, not char 1997-07-10 06:26:44 +00:00
mikel 31e6ca8cc3 add prototypes for ksearch(), msearch(), and __ivaliduser() 1997-07-10 06:24:55 +00:00
mikel 4a711f6dd1 add parens (gcc -Wall) 1997-07-10 06:21:51 +00:00
mikel ad1d686121 make explicit comparisons to NULL (gcc -Wall) 1997-07-10 06:19:53 +00:00
mikel 764d9a9d44 fix typos 1997-07-10 06:18:52 +00:00
mikel b38a221a9e oops 1997-07-10 06:09:27 +00:00
mikel 0b0a21a5e8 clarify assignments used as conditionals (gcc -Wall) 1997-07-10 05:38:54 +00:00
mikel 7d65d1af46 clarify conditional in for-loop (gcc -Wall) 1997-07-10 05:34:48 +00:00
mikel d74bc9dc39 xref chown(8) not chown(1), kill extra comma 1997-07-10 05:14:15 +00:00
jtc a6d081153f Changed pathnames to correspond to current reality. 1997-07-09 02:34:42 +00:00
jtc afdf5dcf23 Changed /var/spool/* to /var/spool/output/*, to be consistant with reality. 1997-07-09 02:04:26 +00:00
christos 44b323ecef PR/3837: Enami Tsugutomo: Incorrect printf format.
(use %p not %x to print pointers)
1997-07-08 14:23:54 +00:00
mikel 8bbb2dbf1c check geometry string more carefully; from Enami Tsugutomo in PR bin/3809.
free string from rawdevice(); part of Enami's PR bin/3810
include <unistd.h> for close() prototype, prototype config(), and
  other misc. cleanup
1997-07-08 06:37:16 +00:00
christos 58564b9a61 Fix another typo: falsticker -> falseticker. 1997-07-08 05:07:47 +00:00
mikel abbcc05d81 avoid last.temp filename collision by using rel-suffix;
from Scott Stevens <s.k.stevens@ic.ac.uk>
1997-07-08 05:01:15 +00:00
mikel e513e4a964 include release suffix when reporting update times; from my PR bin/1344. 1997-07-08 04:37:11 +00:00
christos 814dad83a9 PR/3828: Geoff Wing: Typos in man page. 1997-07-07 19:12:29 +00:00
christos b4a2ff6df4 PR/3828: Geoff Wing: Typos in man page 1997-07-07 19:10:39 +00:00
lukem d65e85e261 * use _yp_invalid_domain() (from libc) to validate the domainnames
* cleanup for -Wall
* use __RCSID

the following were inspired by openbsd:
* only allow connections from reserved ports
* implement -insecure, which turns off the above restriction (required
  for sunos 3.x and ultrix)
* prevent more than 100 domains from being bound at once, preventing
  a denial of service attacks
1997-07-07 02:27:05 +00:00
thorpej d190114742 Use the _correct_ version of ip_compat.h. (Why there are two very different
files in the IP Filter distribution called "ip_compat.h", please don't
even get me started on.)
1997-07-06 22:48:19 +00:00
thorpej 808fe191ef Need ip_auth.o 1997-07-06 22:34:34 +00:00
thorpej 3eb73cbc72 ipftest needs ip_auth.o 1997-07-06 22:33:46 +00:00
thorpej 7a42fa660c Update for new ip_auth.* files. (This should be done BEFORE running
it on a tree for import.)
1997-07-06 05:09:04 +00:00
darrenr 7cf4820f1c these files are already found in /sys/netinet 1997-07-05 06:46:10 +00:00
darrenr 729f0dc597 fix conflicts from import 1997-07-05 05:38:14 +00:00
darrenr 3c3c919d28 import 3.2beta1 IP Filter sources 1997-07-05 05:12:39 +00:00
christos a838817b21 Add WARNS=1 1997-07-01 20:49:59 +00:00
phil 9b302417d7 change "retry period" to "retry_period" to make it look like a single
value.  (Closes PR 3820.)
1997-07-01 20:16:53 +00:00
christos 5d5c4ad42a PR/3819: enami tsugutomo: pppd; netmask option doesn't actually set netmask 1997-07-01 19:28:01 +00:00
mikel 58aea378cf use strtoq() instead of atoi() to generate offset argument for lseek()
(Todd Miller)
include <fcntl.h>, <stdlib.h>, and <unistd.h> for prototypes
include <sys/ioctl.h> instead of <sys/sgtty.h>
add explicit return types and prototypes for internal functions
use STD{IN,OUT}_FILENO instead of manifest constants
fix off-by-one buffer overflow error in getstring()
KNFify and RCSid police
1997-07-01 07:42:28 +00:00
mikel 181be486b9 RCSid police 1997-07-01 07:31:26 +00:00
mikel 3ea752d97e swap arguments of L command to match code 1997-07-01 07:20:33 +00:00
phil 96af70a1c9 Rewrite of wait/nowait information in light of identd(8) use of wait.
Removed some blank linkes that made bad formatting.  (PR 3647)
1997-06-30 20:55:06 +00:00
bouyer 8750fc1da2 Correct 'SYNOPSIS' spelling 1997-06-30 15:56:19 +00:00
christos 3c795cb2e0 - Fix warnings
- Use ttymsg from libutil.
1997-06-29 18:57:44 +00:00
christos fea2a44541 PR/3798: Dave Huang pap authentication leaks file descriptors. 1997-06-27 14:44:46 +00:00
kleink 52a3f39615 POSIX.2 utilities must call setlocale(LC_ALL, ""); 1997-06-26 23:18:05 +00:00
kleink 8ac2f8880a Fix typo; from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp> in PR misc/3796. 1997-06-26 19:58:17 +00:00
fvdl 5276454896 Document new options. 1997-06-24 23:53:20 +00:00
fvdl 08700bff7f Enable exporting filesystems the WebNFS way. Add the -public, -webnfs
and -index option for that purpose.
1997-06-24 23:50:57 +00:00
mikel cb723ebbdd set NOOBJ if !amiga because nothing is built 1997-06-24 08:01:39 +00:00
mikel a1d9dc4ca0 set NOOBJ if !hp300 because nothing is built; also RCSid police 1997-06-24 07:55:11 +00:00
mikel 308f4db973 bring bad144 into at least the 80s:
include <stdlib.h> and <unistd.h> for prototypes, remove old declarations
add prototypes for internal functions
make all implicit int return and argument types explicit, make some void
eliminate 'register'
cast lseek(2) offset arguments to off_t
1997-06-24 07:48:12 +00:00
thorpej 24ebb55ba7 Update for changes to the vnd driver:
- Add optional "geomspec" argument as third argument when configuring
  a vnode disk.  Format is: secsize/secpertrack/trackpercyl/ncylinders,
  e.g. 512/18/2/80.
- Add optional "-t typename" argument, mutually exclusive with "geomspec",
  that will look up "typename" in /etc/disktab and use the geometry
  specified in the entry.
- Update verbose output accordingly.
1997-06-23 21:11:06 +00:00
christos 228c411fb5 PR/3774: Torsten Duwe: Add missing clocks to xntp; fix some bugs in xntp2netbsd 1997-06-23 17:34:15 +00:00
christos 085df7da2f Adjust the Makefile for the new clocks and make this compile cleanly 1997-06-23 17:31:38 +00:00
christos 30bc5bd182 Fix bugs from the distribution. 1997-06-23 17:30:42 +00:00
christos 50b2781909 Per Jonathan Stone's request... 1997-06-23 17:30:07 +00:00
christos aa009acb0e PR/3774: Add parsers for the reference clocks. 1997-06-23 17:28:33 +00:00
mrg 78033298f7 decend all subdirs for man pages. 1997-06-23 14:48:02 +00:00
lukem 37def5da97 Don't incorrectly warn about a subdirectory of 'foo' called 'bar' when there's
directory at the same level as 'foo' called 'bar'. (e.g, a definition
of usr/obj exists, and a def for usr/bin, but none for usr/obj/bin. don't
warn about usr/obj/bin because of the usr/bin entry).
Fix from enami tsugutomo <enami@ba2.so-net.or.jp> in [bin/3365]
1997-06-23 14:34:52 +00:00
mrg d784866e5a reword some things here. 1997-06-23 14:15:33 +00:00
mrg a51fab1e8f merge iteconfig again. 1997-06-23 14:11:01 +00:00
mrg 1829865649 add iteconfig.8 1997-06-23 13:59:08 +00:00
mrg 0553741950 move man pages into share/man. 1997-06-23 04:51:16 +00:00
lukem 045cfc87d2 Add a CAVEATS section explaining that making this setuid root is bad.
As per discussion generated by [misc/2634].
1997-06-22 08:26:10 +00:00
veego 10042202c7 Use ../sbin/ to get the right path after quotacheck has moved to usr.sbin. 1997-06-21 19:16:19 +00:00
lukem 12c67164dc * use MAXHOSTNAMELEN+1 instead of 256
* don't use LOG_CONS - it's unnecessary and spams the console if syslogd
  fails (a bad thing, really)

From [misc/873] by Giles Lean <giles@nemeton.com.au>:
* explain why the name lookup failed
* always send debug() via syslog(3) (unlike the PR, which added a -s flag)
* enhance the man page a bit (even in the commented out section which
  is only relevant to the -DREQUIRE_TFTPBOOT case
1997-06-21 14:30:03 +00:00
lukem 885db8b7ed remove unnecessary CFLAGS+=-I${.CURDIR} and SRCS=rarpd.c 1997-06-21 14:23:57 +00:00
lukem 068fe25da7 Display quota type in quotaoff verbose messages, and in warnings.
From Joao Carlos Mendes Luis <jonny@gaia.coppe.ufrj.br> in [bin/2099]
1997-06-21 09:36:48 +00:00
lukem 1375baa210 * convert to using getopt instead of parsing argv[] by hand, solving
part of [bin/1500] - from Peter Svensson <petersv@df.lth.se> - as
  a side effect.
* ensure ty: is set when -d is used (from [bin/1500])
* only ask for bad144 support for SMD disks (from [bin/1500])
* add prototypes, and ensure structures are initialised correctly
* fix up prior conversion of gets() to fgets(); the former removes
  trailing \n, the latter leaves it.
* check return value of fgets() so that EOF won't infinatly loop
* fix a couple of man page typos
1997-06-21 09:07:07 +00:00
pk 13f64269f3 Add `dumpfs', `dumplfs' and `quotacheck'. 1997-06-20 20:19:23 +00:00
christos 801ce09dea Make sure you set _base, otherwise we core dump. 1997-06-18 15:25:42 +00:00
christos c7a226af02 When creating directories, make sure you remove previous non-directories
before doing so, otherwise sup fails.
1997-06-18 15:23:52 +00:00
christos 1933233e0b Cleanup unsigned char -> char and #if __STDC__ -> #ifdef __STDC__
inconsistencies
1997-06-17 21:38:23 +00:00
christos 7a1ede0553 - add $NetBSD$
- remove all $Log$ instances and the extra logs caused by our local changes.
1997-06-17 18:56:02 +00:00
christos 12f6930b5a Avoid coredump in svrfinishup. 1997-06-17 18:37:59 +00:00
cgd 5b0861d013 don't include newline in warnx format string 1997-06-17 06:10:47 +00:00
christos 7b4f0552a5 PR/3746: Olaf Seibert: not really an innetgr problem, but...
netgroup_mkdb screwed up reverse maps that contained recursive
	 netgroup names.
1997-06-16 23:18:50 +00:00
thorpej 05297fb9f5 Sync "which nlist formats should I support?" with libc's nlist code.
Makes kvm_mkdb work properly on MIPS and PowerPC.
1997-06-15 23:51:09 +00:00
thorpej 9fec93804a Changes to config(8) to support dump configuration in the wake of the
new swap system.  The dump specification syntax is now more flexible,
and supports constructs like the following:

config netbsd root on ? type ? dumps on ?
	- wildcarded root, fstype, and dump device

config netbsd root on ? type ffs dumps on sd0b
	- wildcarded root, ffs root fs, always dump on sd0b

config netbsd root on de0 type nfs dumps on wd0b
	- mount an nfs root using de0, and write kernel crash dumps
	  to wd0b

Also, garbage-collect some now unused code, now that swap configuration
is no longer handled by config(8).
1997-06-14 04:25:55 +00:00
agc 04cc1342e6 Fix for misuse of NULL definition, from Arne Juul
(<arnej@math.ntnu.no>). Fixes bin/3745.
1997-06-13 16:10:15 +00:00
mrg 4a5d7f4d75 bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:03:43 +00:00
mrg 7d9c89b0ce remove "swap" configuration. 1997-06-12 15:03:09 +00:00
bouyer 558f2d0ebe Make this compile again, and add support for ext2fs.
Also 2 ufs->ffs conversions in pstat.8.
1997-06-12 07:45:28 +00:00
agc 937e3175e7 Add pkg_install. 1997-06-09 16:45:01 +00:00
agc cafa757ff8 Use malloc and free in extract.c, not alloca.
Minor mods to English in pkg_info.1
Add a mandatory argument to Synopsis section of pkg_create.1
1997-06-09 15:24:32 +00:00
lukem fff951788c for some reason, the last 3K of this was missing. update from a copy
of named.8 from 4.9.5-p1, doing the @xxx@ substitutions by hand.
1997-06-08 05:44:15 +00:00
mellon 2d333f8ed0 970607 snapshot 1997-06-08 04:53:30 +00:00
veego 07ce26bfc3 Update the manpage for hw.machine_arch. 1997-06-06 23:23:14 +00:00
kleink ba5c221ead Fix a reverse test botch, causing the exit code to be contaminated on success. 1997-06-06 06:55:07 +00:00
mellon 1a51a4cc68 ISC 970605 snapshot 1997-06-06 02:18:40 +00:00
thorpej 3dcfaef872 NetBSD Makefiles use "MAN=foo.3" not "MAN3=foo.0". However, since we
do not install this library, do not even bother with the ftpio.3 manpage.
1997-06-05 20:43:28 +00:00
agc 2ad13dba57 Don't install libinstall.a (from Bernd Ernesti)
pkg_delete manual page mods got lost in previous commit.
1997-06-05 14:25:49 +00:00
agc 153272e388 Add NetBSD Ids
Un-munge pkg_install/lib/Makefile which I'd overwritten on libftpio commit.
Make it compile on NetBSD.
Install pkg_* programs in /usr/sbin

XXX agc - Still to do XXX
Cleanup call to mktemp (for a tmp dir) in pkg_install/lib/pen.c
Create ftperr.c in the correct directory.
1997-06-05 12:59:18 +00:00
agc 5d78b65530 Initial import of FreeBSD libftpio.
Placed here (under pkg_install) to make it private to that tool.
1997-06-05 09:11:59 +00:00
agc 5d4508e153 Initial import of FreeBSD packaging tool. 1997-06-05 08:54:23 +00:00
mikel 5f77ad2313 indicate more clearly that [Tfstv] options are mutually exclusive;
fixes PR misc/2655.
1997-06-05 06:14:16 +00:00
mellon e888b2d22b Lose message on short icmp echoreplies 1997-06-04 21:04:10 +00:00
mellon 57eeaacdcc Add dns.c and resolv.c 1997-06-04 00:31:53 +00:00
mellon 185e701358 970602 snapshot 1997-06-03 02:49:04 +00:00
kleink f8c2019a61 Add chrtbl(8). 1997-06-02 10:17:41 +00:00
kleink 06b78a313c Add a utility to create character classification and upper <-> lower conversion
tables, as well as numerical formatting specifications.

Thanks go to Christos Zoulas for reworking this into SVR4/Solaris style,
and to Matthias Scheler <tron@lyssa.owl.de> for contributing his initial
work in PR/3592!
1997-06-02 10:16:41 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 83498d7e88 Remove empty libinstall target and add NOINSTALL=1. 1997-05-30 13:43:06 +00:00
mikel 46e8e30c38 fix typos; from Paul Goyette in PR bin/3676 1997-05-29 07:47:05 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
pk 7c7220b290 Macros take no more than nine arguments. 1997-05-28 22:03:34 +00:00
pk 29afaac55f Display VDIROP vnode flag (so we're congruent with the man page). 1997-05-28 19:26:52 +00:00
thorpej 153eb09cc6 Avoid type-size problems converting a pointer (in kernel memory) to
an off_t passed to lseek() (used for reading kernel memory).
1997-05-28 03:08:40 +00:00
thorpej 643e2915e1 Add a comment about why we don't copy ipfilter's tcpip.h. 1997-05-28 03:05:55 +00:00
thorpej 30c04b997f We cannot use the tcpip.h that comes with ipfilter, as the license on
that file does not allow redistribution; use the version in <netinet/tcpip.h>
instead.  FIXME WHEN A NEW tcpip.h IS INCLUDED WITH IPFILTER!
1997-05-28 03:04:44 +00:00
thorpej c4aac2cbce Resolve conflicts from merge of 3.2a7, take 2. 1997-05-27 22:51:36 +00:00
thorpej 57d41e13fb Resolve conflicts from merge of 3.2a7, take 2. 1997-05-27 22:34:05 +00:00
thorpej f265273d8b Correct several mistakes:
- Don't make copies of ip_frag.c, ip_state.c, and ip_nat.c for ipftest.
  These should be .PATH'd in from sys/netinet.
- Get paths to ipmon and ipnat correct when we copy the manual pages.
- ipsend/ipresend/iptest actually live in the "ipsend" subdirectory
  of the ipfilter distribution.  Take this into account when copying
  the sources.
- Add ip_proxy.h to the list of #include directives that we fixup.
- ipsend.h needs to include a copy of ip_compat.h that is private
  to ipsend/ipresend/iptest.  Perform a fixup on that file to take
  that into account.
- Clean up any CVS residue from the conversion process.
- Update Makefile output to reflect new .PATH directives, etc.
1997-05-27 22:24:25 +00:00
thorpej a920c55e26 ipfilter2netbsd did not produce correct output for last import of
3.2a7.  Re-import it now that ipfilter2netbsd is fixed.
1997-05-27 22:16:47 +00:00
thorpej 772cb9b986 Don't make separate copies of these files; .PATH them in from sys/netinet. 1997-05-27 22:01:47 +00:00
mrg a307477d27 strip dollar signs from incoming RCSids 1997-05-27 07:16:24 +00:00
darrenr 24ca7d0e94 fix rcsid conflicts 1997-05-26 15:16:38 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
thorpej 267e8357fc Implement an unfortunate, and temporary, kludge to address the problem
reported in PR #3668 from maximum entropy <entropy@tanstaafl.bernstein.com>.

The problem: The unit number is not being conveyed to the configuration
crosscheck with root is a network interface; the device number is set
to NODEV, which sets up the (correct) defaults for swap/dump devices.
We can't change NODEV to a unit number, as the PR's patch suggests, as
this breaks the swap/dump defaults.  Rewriting that code is not really
justified, since it's soon to be obsoleted.

The kludge: add an "nv_ifunit" member to struct nvlist, which convey's
a network interface's unit number to the crosscheck routine.  It's not
pretty, but it's not terribly invasive, and can be garbage-collected
easily when the swap/dump goo is obsoleted.
1997-05-25 18:42:54 +00:00
darrenr 87427f3d2e fix conflicts 1997-05-25 12:04:53 +00:00
darrenr 2cae843bdc Import version 3.2alpha7 1997-05-25 11:45:50 +00:00
thorpej 3c8f9e9de8 Fix a comment. 1997-05-23 03:09:56 +00:00
lukem b6572fdce5 free returned value from yp_match() if an error occurs 1997-05-21 07:20:13 +00:00
mikel 7c77aacfb1 separate option argument from description; from Enami Tsugutomo in PR 3637.
also RCSid police.
1997-05-20 04:53:12 +00:00
mikel d066405291 fix typo, from Enami Tsugutomo in PR bin/3636 1997-05-20 04:42:56 +00:00
christos 2916e1d817 Resolve conflicts 1997-05-17 22:14:13 +00:00
christos f7f066707a resolve conflicts 1997-05-17 21:33:06 +00:00
christos 63f466a41d Resolve conflicts 1997-05-17 21:23:04 +00:00
pk 80bb266e0e NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:31:15 +00:00
christos f0fe357c91 eliminate struct sigcontext 1997-05-17 15:52:52 +00:00
christos ac58fd7ef4 Fix sighandler signature. 1997-05-17 15:48:50 +00:00
veego 924c7fcffa Add y.tab.h to CLEANFILES 1997-05-15 10:04:27 +00:00
mikel 09e3ffba3e fix typos; from Dave Huang in PR bin/3611. 1997-05-13 04:55:33 +00:00
mikel 71f0bfd8cc refer to proper key file, not gettytab; from Dave Huang in PR bin/3610. 1997-05-13 04:38:20 +00:00
mikel b674a8fd0e fix typos noted by Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>. 1997-05-13 04:15:06 +00:00
mikel 5ea01ec0b8 use ../../Makefile.inc instead of defining BINDIR locally.
eliminate redundant SRCS definition.
1997-05-11 05:27:09 +00:00
christos ffb5f0fbd1 Include ../../Makefile.inc 1997-05-11 01:06:01 +00:00
mycroft 2c0b6f8e7f Use DPSRCS. 1997-05-09 13:56:04 +00:00
mycroft 6ae00799f3 Correct .PATH after this was moved down. 1997-05-09 09:36:28 +00:00
mycroft cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
mycroft a7f6387809 Remove the extraneous SUBDIR line. 1997-05-09 04:43:01 +00:00
gwr 10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
christos 71cc8337ed Move pppd in its own directory. 1997-05-08 18:07:28 +00:00
lukem a18d6f1948 fix typo. from msaitoh@spa.is.uec.ac.jp, [misc/3584] 1997-05-07 23:19:03 +00:00
mycroft 185b24dd5b Use libinstall::, not install:, to prevent instaling LIB. 1997-05-07 16:20:26 +00:00
mycroft 1b437a22e5 Use SCRIPTS to install this. 1997-05-07 16:17:40 +00:00
mycroft 8306be60f4 Use afterinstall, not proginstall, to run post-installation crap. 1997-05-07 16:03:15 +00:00
mrg 78c51899a9 use ${.CURDIR} correctly. from enami tsugutomo in pr#3582 1997-05-07 13:20:40 +00:00
mycroft 77baecd155 Don't try to create pain.cf, which no longer exists. 1997-05-07 08:29:42 +00:00
mycroft fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
gwr a6437aa465 backout previous 1997-05-06 22:38:46 +00:00
gwr 012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
mrg a3ca95f80d move ipfilter2netbsd, and remove extra copies of opt.c that got added. 1997-05-04 15:10:36 +00:00
veego 8071a0d69a Remove a . 1997-05-04 09:52:49 +00:00
jtc 93eaf3dc87 A user name can be invalid, but not illegal 1997-05-02 01:36:18 +00:00
mrg fbb54fd51b meantion ppp(4) rather than README.bsd (inspired from PR#3548 from Martin Husemann) 1997-04-28 04:22:24 +00:00
lukem 0dbf4ab9b1 Determine filesystem level (ref: fsck_ffs(8) -c ...) and display it.
Code was derivied from observing how fsck_ffs `upgrades' to a given
level, and has been tested on recent NetBSD filesystems (reports as "3"),
SunOS ("1"), and ULTRIX ("0"). I haven't found a filesystem of level
"2" to test, but the code should detect it. Fixes [bin/1353]
1997-04-26 05:41:32 +00:00
mrg 151d9c8a60 add 0 and 0x prefixes for octal and hex numbers, in debug messages (based on pr#2964). 1997-04-26 05:12:32 +00:00
mrg dca7ab624c do not write pid file in debug mode. (pr#2825) 1997-04-26 05:08:29 +00:00
mikel b4f13ff0c4 use appropriate strto*() functions, and cast results when appropriate;
fixes PR bin/1582.
1997-04-25 05:45:24 +00:00
cjs 8b76947495 added net.inet.ip.allowsrcrt 1997-04-23 08:09:08 +00:00
mrg a64b21ab51 expand a bit on the sematics required. 1997-04-23 00:28:03 +00:00
mrg d16c8bdb59 merge in missing change from upgrade. 1997-04-21 06:19:13 +00:00
mrg 057f4195a8 handle 64-bit warnings. 1997-04-21 05:53:58 +00:00
mrg 72fe828af4 pull in <string.h> as required. 1997-04-21 05:49:00 +00:00
mrg ec59f26fc3 ctime() takes (time_t *) not (long *). 1997-04-21 05:46:59 +00:00
christos c98409d753 PR/3519: Brad Spenser: xntpd now uses sysctl to get clockrate info. 1997-04-21 03:07:28 +00:00
mycroft 52aae8dc8a Don't do libwrap checking for UDP services; they must do it internally on
every packet to be correct.
1997-04-20 22:04:59 +00:00
christos 5620f08591 - Remove remnants of html [from Kim]
- Fix perl script to use %% NetBSD <comment-prefix>
1997-04-20 21:53:19 +00:00
pk 01c7186f85 Compute object subdirectories correctly. 1997-04-20 20:27:07 +00:00
thorpej b6c41d0d18 getc() returns an int, not a char. 1997-04-19 06:33:13 +00:00
thorpej e612682b6c getopt() returns an int, not a char. 1997-04-19 06:27:03 +00:00
thorpej 95a1173e37 icmpcode() returns an int, and, more importantly, -1 on failure. So,
make this work on systems with unsigned chars by placing the return
value of icmpcode() in a temporary variable, checking for failure, and
then only setting fil.fr_icode (a char) upon success.
1997-04-19 06:25:10 +00:00
cgd a30d503d4e casts to avoid warnings on alpha 1997-04-18 21:01:37 +00:00
christos a148a58d6d Don't put an extra $NetBSD$ in the domestic/libntp Makefile 1997-04-18 19:04:58 +00:00
christos 13d79cda56 Add version.c to the lib Makefiles 1997-04-18 14:28:04 +00:00
christos cff982ecc5 Add BINDIR=/usr/sbin in Makefile.inc and the script 1997-04-18 14:06:15 +00:00
christos 468a1180c0 Add xntp 1997-04-18 13:58:50 +00:00
christos 19c64a2a37 Use mkstemp on BSD4_4 systems. 1997-04-18 13:51:44 +00:00
christos a165c1628c Make this compile under gcc; cast away volatile pointers. 1997-04-18 13:50:40 +00:00
christos 7222699681 Perl script to aid future importers. 1997-04-18 13:49:37 +00:00
christos 098fd1d087 Xntp 3-5.90 from louie.udel.edu 1997-04-18 13:22:49 +00:00
mikel e6c909f2ac argument given to -t flag is in minutes; from SAITOH Masanobu in PR
misc/3509.  nuke a typo while I'm here.
1997-04-18 05:22:35 +00:00
christos 697285d609 - Move common definitions to Makefile.inc
- Revert change common/os.h -> os.h. From Mats O Jansson.
1997-04-17 21:08:57 +00:00
christos 32b4ce594c PR/3504: Brian Baird:
- Do what the manual page says; don't create the log file if it does not exist.
- Limited support for ypserv v1; apparently sunos4 clients use it and sunos5
  server provides the same.
1997-04-17 17:46:16 +00:00
cgd e3149f181c sort cloning units for a given devbase after non-cloning units. Addresses
the same problem as PR 3503, but with different code.
1997-04-17 05:01:09 +00:00
christos eaf28d8fab Correctly prototype the signal handler. 1997-04-16 17:45:05 +00:00
christos b14c47df8b Tyop oplice. 1997-04-16 13:48:46 +00:00
christos c0988e0e24 Don't include "os.h", include "common/os.h" like it does for the other
includes.
1997-04-16 13:30:57 +00:00
christos 193fd51548 Don't need to .PATH: .. or -I${.CURDIR}/common and -I${.CURDIR}; it will
actually break things in the future.
1997-04-16 13:29:57 +00:00
mrg 8ac5819cc1 normalise all these. 1997-04-14 09:46:24 +00:00
veego 1ef9434f47 We don't use %INDOT%. Add it to the sed line. 1997-04-14 08:49:09 +00:00
veego 137ca06f6c We don't use %INDOT%. Add it to the sed line.
Add a FILESMODE to install it with execute bits.
1997-04-14 08:48:38 +00:00
veego ae77d25de7 We don't use %INDOT%. Add it to the sed line. 1997-04-14 08:47:26 +00:00
mrg c4fc1d57cf eliminate scanf. 1997-04-14 08:18:36 +00:00
veego b97a9a425b ipf is build with -static and installed in /sbin 1997-04-13 18:42:20 +00:00
veego 5386901ec4 build it static. 1997-04-13 18:31:07 +00:00
mrg f1467295f1 look for ipf sources in ../ipf 1997-04-13 14:49:38 +00:00
mrg b6bb351e9c be safe with buffers. 1997-04-13 13:45:02 +00:00
mrg a9437d1189 be safe with buffers. 1997-04-13 13:36:46 +00:00
mrg 1e8283acfe GC these. 1997-04-13 12:27:03 +00:00
mrg 9af7a40037 merge in bind 4.9.5-P1 1997-04-13 10:50:07 +00:00
mrg 1297123066 we don't need these files. 1997-04-13 09:58:19 +00:00
mrg 6c5a8afbd7 we don't need these files either. 1997-04-13 09:55:08 +00:00
mrg 70ec5be749 we don't need these files. 1997-04-13 09:23:05 +00:00
mrg 6d2a687f9c BIND 4.9.5-P1 1997-04-13 09:06:10 +00:00
mrg c4f6f69f43 install this in /sbin still. 1997-04-13 02:06:04 +00:00
mrg d459462a6c ipf is now here. 1997-04-12 23:57:37 +00:00
mrg bf62e97c3b ipf goes into src/usr.sbin/ipf/ipf now. 1997-04-12 23:51:04 +00:00
lukem ed2bf17af1 use rm -f ... to remove the script before creating
refer to $@ not the explicit name
1997-04-07 07:56:13 +00:00
lukem fe17ee6907 use rm -f ... , incase it doesn't exist
refer to $@ not ndc
1997-04-07 07:55:37 +00:00
lukem 84610801c2 remove ndc before rebuilding it 1997-04-07 07:48:53 +00:00
cgd ecaada7dec fix up various bogons (bogus casts, missing prototypes for functions
which return pointers, incorrect types for variables) that kept this from
compiling on the Alpha.
1997-04-04 01:52:45 +00:00
mikel 9d6bac5230 fix misplaced parens in sizeof exprs; from Simon Burge in PR bin/3427. 1997-04-03 06:14:37 +00:00
scottr bb2149b938 Remove trailing space from last commit 1997-04-01 18:10:01 +00:00
mellon 56748ee1ef Build dhclient with -static and install in /sbin unless BINDIR is overridden 1997-04-01 00:52:37 +00:00
mellon a79541acb5 Must include bsd.obj.mk to get __objdir before testing it 1997-04-01 00:50:12 +00:00
mellon 012ad58baa use ${__objdir} instead of obj - pointed out by Matt Ragan 1997-03-31 23:50:17 +00:00
jonathan f9d83c5401 Update sbin and usr.sbin Makefiles for mountd, nfsd, nfsiod in /usr/sbin. 1997-03-31 23:48:11 +00:00
mellon a3962d667b Import a couple of NetBSD fixes from CGD 1997-03-31 23:45:45 +00:00
fvdl f7d4d2acec Split handling reserved port handling for NFS rpcs and mount rpcs up;
-noresport -> -noresvport, and new option: -noresvmnt

Include a warning in the exports manual page on how -alldirs does
not guarantee that all accesses from a client stay below the mounted
subdirectory.
1997-03-30 20:53:31 +00:00
veego d21fe25380 Add missing .include "${.CURDIR}/../../Makefile.inc"
otherwise the binaries are installed into / instead of /usr/sbin
1997-03-30 12:00:33 +00:00
mellon 55622d465e Small but significant bug fix from ISC code 1997-03-29 23:57:54 +00:00
mellon 2a0680d372 Obsoleted by new dhcp/ tree 1997-03-29 23:27:49 +00:00
mellon 89c5dd24ac Obsoleted by new dhcp/ tree 1997-03-29 23:24:49 +00:00
mellon 19fea7dfee Build dhcp, not dhcpd. 1997-03-29 23:22:39 +00:00
mellon 6d30ac6583 Move common declarations to single file 1997-03-29 23:20:52 +00:00
mellon 8814b58c39 Top-level BSD-style Makefile 1997-03-29 23:19:13 +00:00
mellon 1f376e9eef Not needed by NetBSD 1997-03-29 23:17:25 +00:00
mellon 33d15ff158 Move common declarations to single file 1997-03-29 23:09:00 +00:00
mellon 97241bca9e Not needed by NetBSD 1997-03-29 23:00:38 +00:00
mellon 0c5591b0e4 BSD needs makefile to install client script 1997-03-29 22:46:12 +00:00
mellon c835f908cb BSD-style Makefile 1997-03-29 22:45:09 +00:00
mellon 3658d198d1 Not needed by NetBSD 1997-03-29 22:44:52 +00:00
mellon 8b59da0ca0 BSD-style Makefile 1997-03-29 22:28:44 +00:00
mellon bbdaa0dea3 Not needed by NetBSD 1997-03-29 22:27:46 +00:00
mellon a2dbbb23a4 BSD-style Makefile 1997-03-29 22:25:08 +00:00
mellon 2b041c374a Not needed in NetBSD 1997-03-29 22:24:43 +00:00
mellon 5432e7db26 Don't need bogus non-BSD Makefile 1997-03-29 22:17:30 +00:00
mellon 1d8d24c579 BSD-style makefile for libdhcp.a 1997-03-29 22:17:08 +00:00
mellon 2a70b408dc Not needed in NetBSD 1997-03-29 22:08:11 +00:00
mellon 78832e06d1 Not needed by NetBSD 1997-03-29 22:06:45 +00:00
mellon f5aacd55fe March 29 snapshot 1997-03-29 21:52:15 +00:00
thorpej c18ae5ec1d Bring this in touch with reality. 1997-03-29 20:28:17 +00:00
thorpej 9620a4f12a remove unneeded -I directive from CFLAGS 1997-03-29 20:23:31 +00:00
thorpej 7d74a4ae8d remove unneeded -I diretive from CFLAGS 1997-03-29 20:19:48 +00:00
thorpej 2acf8851b4 remove unneeded -I directive from CFLAGS 1997-03-29 20:07:26 +00:00
thorpej 6acb22838b Remove unneeded -I directive from CFLAGS. 1997-03-29 20:00:36 +00:00
thorpej 2e11c06394 - Use IPL_NAME defined in <netinet/ip_fil.h>
- Make these compile in light of is-newarp
1997-03-29 19:49:02 +00:00
darrenr fa592ade6f fixup changes from import 1997-03-29 04:31:10 +00:00
darrenr e7fbefddb2 add extra ipfilter programs 1997-03-29 04:30:30 +00:00
darrenr 4632a3d666 add extra directories to CFLAGS and PATH to pickup all the required .h and .c
files for these programs.
1997-03-29 04:28:28 +00:00
darrenr e8fb8bd3a9 Properly import usr.sbin/ipf updates 1997-03-29 02:49:40 +00:00
thorpej 91d0b1474b Resolve conflicts from import of 3.2alpha2. 1997-03-28 21:54:38 +00:00
christos cc117ae3ac Don't keep trying getpwuid(0) when ll_time == 0! This brings down the
execution time from 5 minutes -> 1 second in our password file.
1997-03-27 17:25:49 +00:00
darrenr fe3bc025d0 Bring in entire 3.2alpha2 source tree 1997-03-27 15:13:58 +00:00
cgd 34732bad50 log date changes to wtmp, in the same way that 'date' does. 1997-03-26 21:12:58 +00:00
thorpej 87ca1d62e0 Print Ethernet and FDDI addresses in the same format as ether_ntoa().
From Matt Thomas <matt@3am-software.com>
1997-03-26 01:49:44 +00:00
is 45ae7d19f3 Mention correct PID file location. 1997-03-25 16:06:55 +00:00
thorpej fcab4c339d RCS id police. 1997-03-25 03:06:58 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
fvdl 4df5a6390b Checking for the use reserved ports by clients (both for mount/umount
and individual NFS requests) now depends on the '-noresport' option
in the exports file. Checking for reserved ports is the default.

The -n option has become obsolete but is maintained for backwards
compatibility.
1997-03-23 20:58:14 +00:00
cgd b241147c80 fix some u_long vs. u_int32_t bogons in uses of nameserver lookup results. 1997-03-23 00:48:15 +00:00
lukem 789002a23e use O_EXCL with O_CREAT when making the temporary db files 1997-03-22 03:32:36 +00:00
lukem cd08442b0d use O_EXCL with O_CREAT when making the tempfile 1997-03-22 03:20:38 +00:00
mycroft 14656f0069 Don't attempt to use libwrap for `stream wait' services, where
we only have the listening socket.
1997-03-19 00:05:05 +00:00
mycroft 95c740d58b Oops; for waiting stream services, we don't do an accept(); we
pass down the fd of the listening socket.
1997-03-18 04:47:22 +00:00
veego 80109470c6 s/if_ether.h/if_inarp.h/ 1997-03-17 10:39:53 +00:00
cjs ec30dbdca7 Added mopd. 1997-03-17 00:02:02 +00:00
cjs ed137f7c05 Import of Mats O Jansson's MOP boot program for DEC machines. 1997-03-16 22:23:34 +00:00
veego 3a388c65c6 s/if_ether.h/if_inarp.h/ 1997-03-16 17:20:48 +00:00
is 00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
perry 729632280d transations -> transactions per pr 3333 from SAITOH Masanobu 1997-03-14 23:24:23 +00:00
perry 2b46e80f93 transations -> transactions per pr 3333 from SAITOH Masanobu 1997-03-14 23:23:24 +00:00
jtk 0b044b117e . NULL terminate the list of locator names on each attachment
. link to the list of locator names from each entry in cfdata[] (for
future use by programs to print out the device tree nicely and/or
for boot-time configuration tools)
1997-03-14 22:54:08 +00:00
leo 0b28c6c0b1 Don't dump when a non-existent root device is specified. (missed a
param to error()).
1997-03-14 20:43:05 +00:00
mycroft 6ebf01d197 Output a + line for the tcpmux `help' service, and list itself. 1997-03-14 03:18:25 +00:00
christos 95e251ee4e Better fix for the va_list problem from paulus. 1997-03-14 01:53:29 +00:00
mycroft 16cc2efbbd Change _PATH_MASTERLOCK to /var/run/lpd.pid. 1997-03-14 01:17:34 +00:00
jtk 0f6d8d88b8 Add hash table walking functions to emit manifest constants for locator
offsets within cf->cf_loc[].
Also include locator names as strings in ioconf.c.

Still to do: wire the locator names into the cfdata.
1997-03-14 00:14:09 +00:00
mycroft b860cb428b Move all of the libwrap checking and subprocess startup into a separate
function.  Arrange for tcpmux() to be called like other builtins, and have it
call the aforementioned function recursively.  This allows tcpmux to be
wrapped, and always runs it after forking, so we don't freeze everything
else.
Also, use FD_CLOEXEC to close file descriptors, rather than iterating through
them ourself.
1997-03-13 20:15:04 +00:00
christos 28b883a7db put back filtering options, and rcsid police. 1997-03-13 19:08:15 +00:00
christos aae03a189a Fix for the void * arg hack; reported by cgd 1997-03-13 19:05:51 +00:00
mycroft a68a078f3e Fix typo. 1997-03-13 18:39:50 +00:00
mycroft 51fa5e9be7 Make the previous dependent on LIBWRAP_INTERNAL, which is not defined by
default.
1997-03-13 18:36:35 +00:00
cgd f919d5c499 fix an 'if' that could never be true to do what it really meant to do. 1997-03-13 18:23:19 +00:00
mycroft 249eced8da If we forked for an internal service, make sure we always exit afterward. 1997-03-13 18:19:35 +00:00
mycroft df6ec691b5 If we're using libwrap. always fork. This only affects the time and daytime
services anyway.
1997-03-13 18:08:19 +00:00
mycroft cf5f8c252d Slight rearrangement to forking code. Also, always close the new descriptor
after a fork failure, even for a waiting service.
1997-03-13 18:06:15 +00:00
mycroft 84626a507f Another bug fix to tcpmux. 1997-03-13 17:35:39 +00:00
mycroft cb666b197f Merge changes from Lite2 (with bug fixes). Adds tcpmux. 1997-03-13 17:22:23 +00:00
mycroft 7c7f4379a0 When rejecting a UDP connection, make sure to flush the right socket. 1997-03-13 14:57:34 +00:00
mycroft d6dc78d4c1 Oops; subprocess must exit when rejecting connection. 1997-03-13 14:29:15 +00:00
mycroft 9df028750a Do libwrap access checking *after* forking. 1997-03-13 14:15:40 +00:00
mikel 2b8bc7438f RCSid police 1997-03-13 06:19:07 +00:00
christos 86276488dc Resolve conflicts cleanup warnings. 1997-03-12 20:17:18 +00:00
christos e287272422 Import the latest pppd from Paul Mackerras. 1997-03-12 19:38:04 +00:00
mycroft 411b988dfb Use POSIX signal functions, and add an `interval' argument. 1997-03-12 19:10:54 +00:00
mycroft 5f00f8f048 Merge with 4.4BSD-Lite2 version. 1997-03-12 18:50:06 +00:00
scottr 6a8f5a85fd RCS Id police 1997-03-11 04:13:02 +00:00
is dd80c3d309 Back out the back-out. Don't ask. 1997-03-10 20:21:01 +00:00
is 9d29e526db backout previos change; was not intended for trunk. 1997-03-10 19:36:40 +00:00
is 4ce26afebe back out previoius commit---wasn't intended for The Trunk 1997-03-10 19:26:23 +00:00
is 0edaa1c1e5 adapt to new ARP code. still needs work for non-Ethernet. 1997-03-10 19:18:42 +00:00
scottr ed0d9160f1 Build rpc.lockd and rpc.statd 1997-03-10 06:30:32 +00:00
scottr 24ce527b89 Status monitor daemon by A.R. Gordon, ported from FreeBSD. While the
functionality was not significantly altered, the code was KNFed and
the build process cleaned up considerably.
1997-03-10 06:28:29 +00:00
scottr a6fdc939ab NFS locking daemon by A.R. Gordon, ported from FreeBSD. While the
functionality was not significantly altered, the code was KNFed and
the build process cleaned up considerably.
1997-03-10 06:26:19 +00:00
cgd 72b0837ae3 fix one more goofup in the buffer safety changes: snprintf() should be
called with enough space for the trailing NUL, because it (unlike strn*())
always NUL-terminates.
1997-03-10 06:13:16 +00:00
cgd 7262daa78a fix two bugs pointed out by Paul Sijben <Paul.Sijben@huygens.org>:
(1) incorrect check on length of data being written (fix provided by
    Paul Sijben <Paul.Sijben@huygens.org>), and
(2) inadequate buffer (too small) for data being sent to remote meant
    that properly-formed messages couldn't be created, so job removal
    didn't work properly.
1997-03-08 22:50:52 +00:00
cgd dd7fbd1461 doesn't need libkvm any more 1997-03-08 22:21:55 +00:00
cgd 1e9c4131dc update structure definitions for 64-bit safety (already done in the relevant
header files), and kill the note about checking /netbsd's nlist, since that
is no longer done (since the kernel namelist isn't actually used for
anything).
1997-03-08 22:20:21 +00:00
mikel 3190ec8ac6 prototype internal functions so this will build 1997-03-08 21:39:06 +00:00
mouse 9dd8997bcf alternate -> alternative, per PR 2643 1997-03-08 14:34:56 +00:00
mouse ee6a5b2cd6 alternate -> alternative, per PR 2643 1997-03-08 14:24:19 +00:00
mouse 80c0d60f84 alternate -> alternative, per PR 2643 1997-03-08 13:47:08 +00:00
mikel ba2d9f692b merge lite-2 changes.
also RCSid police, and add return types to all of the functions.
1997-03-08 08:01:26 +00:00
mikel 6aeb76c1f1 merge lite-2 changes.
also replace index -> strchr, add <string.h> for strchr prototype, and
  clean up .Nm usage.
1997-03-08 07:24:40 +00:00
mikel 54d63208ce RCSid police 1997-03-08 06:48:00 +00:00
mikel 961a0bd020 we don't need 'pseudo-device ether' anymore. also misc mdoc-macro-usage
cleanup, and add a missing quote (font-lock strikes again).
1997-03-07 07:41:25 +00:00
mikel 38e37321ab merge lite2 changes 1997-03-07 07:04:42 +00:00
thorpej 2622084d37 Fix possible buffer overflow, from Rick Byers <rickb@iaw.on.ca>,
PR #3293.
1997-03-06 23:37:04 +00:00
thorpej d214be029a Fix arithmetic botch that caused incorrect results for configs like:
config netbsd root on sd1a

Noted by Taras Ivanenko <ivanenko@ctpa03.mit.edu> in PR #3203
and by others.
1997-03-06 23:11:55 +00:00
mikel e65788c58e merge lite-2 changes.
RCSid and getopt() return type police.
1997-03-06 07:00:50 +00:00
mikel d917a6370d RCSid police; getopt() return type police; rindex() -> strrchr() 1997-03-06 06:26:07 +00:00
mikel bcecfb0095 merge lite-2 changes (just SCCS IDs).
RCSid police, update 'struct dkbad' definition in manpage.
1997-03-06 06:12:18 +00:00
mikel af995d547a RCSid police 1997-03-06 05:41:37 +00:00
mikel 2488f833e1 merge Lite2 version; RCSid and getopt() return type police. 1997-03-06 05:40:10 +00:00
mikel 96a22fa65f RCSid police, and eliminate obsolescent comment. 1997-03-06 05:23:00 +00:00
mikel 0bd8d27ab1 merge Lite2 manpage 1997-03-06 05:19:10 +00:00
mikel c4ecd9537c don't write the PID file until after calling daemon(3); from Enami
Tsugutomo in PR bin/3280.
fix a typo in the error message while I'm here.
1997-03-05 07:19:52 +00:00
mikel b5ce435d24 set proper length for sockaddr_un. fixes PR bin/3281 from Enami
Tsugutomo, but slightly differently; the code I added is basically
  identical to SUN_LEN(), but avoids the unecessary strlen() call.
1997-03-04 06:12:44 +00:00
jtk 46764eff41 PR # 3271: ignore SIGPIPE to avoid nasty clients causing apmd to die.
From Lennart Augustsson <augustss@cs.chalmers.se>.
1997-03-01 19:10:49 +00:00
christos cb8aa82b0c compare only the prefix "nfs", not the whole word, so we match "nfs3" too. 1997-02-26 15:06:46 +00:00
mrg 1cf9e54f49 link ipl.4 to ipfilter.4 1997-02-18 21:28:53 +00:00
mrg cda4cfcedd note that ipfilter also includes PFIL_HOOKS. 1997-02-18 21:28:19 +00:00
mikel cdc053b0b4 fix some typos and .Nm usage 1997-02-18 06:34:01 +00:00
mrg a4cf268e76 lite2 1997-02-13 05:39:12 +00:00
cgd dd84b718ce Re-fix the PR 3209. The right thing to do is cast to (long long) and
print with %qd.  'off_t' is _NOT_ 'long long' on all platforms, and gcc
complains with -Wformat %qd is used on an off_t on those platforms.
1997-02-11 22:40:25 +00:00
pk 3bb6ed1979 Fix format for quad argument (PR#3209) and two other format string
mismatches.
1997-02-11 22:26:14 +00:00
phil ec39037613 Add lastlogin to the list of subdirectories. 1997-02-11 18:47:04 +00:00
phil 38d6f43246 Import of lastlogin from John M. Vinopal, from PR #1932.
RCS ID changes from PR.  Updated man page for NetBSD 1.2 instead
of NetBSD 1.1.   If this program is merged with last(1), then
it will be removed.
1997-02-11 18:36:51 +00:00
mikel e405a28573 Xr Trpt -> Nm Trsp; pull in other bug fixes from trpt(8).
RCS ID police.
1997-02-07 06:53:17 +00:00
mikel f3b151f572 fix PR misc/3184, but somewhat differently.
include <unistd.h> for getopt() prototype, reorder includes.
eliminate some leftover unused variables.
1997-02-07 05:07:13 +00:00
thorpej c9fe001e3a Cross-reference options(4). While I'm hear, garbage-collect the
reference to config(8) left over from when this program was called
config.new.
1997-02-05 19:17:28 +00:00
thorpej f12fb4ba31 Patch from Gordon Ross to make this build under SunOS, useful in
cross-compiling environments.
1997-02-03 21:18:21 +00:00
cgd 1c4dda6b52 include string.h for protos 1997-02-03 20:12:34 +00:00
cgd f429382aa8 add bad144 to the alpha's SUBDIR list 1997-02-03 20:11:45 +00:00
thorpej e14a0d029f Add support for generating "option headers". These allow options to
be included in object dependencies.  config(8) is told to generate
a header for a particular option with the new "defopt" keyword, used
in the files.* system description files.  Options that are placed in
header files are not given -D... cpp flags.

This approach allows options to be turned into headers incrementally,
rather than all at once, and allows for non-header options, as well.
1997-02-02 21:12:30 +00:00
carrel eb7a3e7987 Display names for more frame buffer types
Patch from Klaus Klein.  Fixes port-hp300/3039
1997-02-01 13:04:36 +00:00
carrel 3d7d96333d add NetBSD CVS ids 1997-01-31 23:12:12 +00:00