Commit Graph

1706 Commits

Author SHA1 Message Date
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