Commit Graph

2223 Commits

Author SHA1 Message Date
lukem
ca32e63825 getopt returns -1 not EOF 1997-10-17 00:10:42 +00:00
lukem
df4958aa0b getopt returns -1 not EOF 1997-10-17 00:07:21 +00:00
lukem
409801916f WARNSify 1997-10-16 23:46:38 +00:00
lukem
95dff5caaf WARNSify 1997-10-16 23:41:32 +00:00
lukem
3fbb7cea25 WARNSify 1997-10-16 23:39:17 +00:00
christos
c36a502364 msync needs a third argument. 1997-10-16 23:32:27 +00:00
lukem
07ed891089 - WARNsify
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:50 +00:00
lukem
b3f8f59032 - WARNsify
- KNFify (a bit)
- use int32_t & u_int32_t instead of long and u_long
- clean up man pages a bit
1997-10-16 23:24:18 +00:00
mikel
0ed58c18f2 fix typo in CLEANFILES 1997-10-16 08:26:50 +00:00
lukem
c518f62858 - compile common code once (into libcommon.a), and link that in.
cut's compilation time by half!
- build a common version.c in libcommon.a
- don't build version.h - nothing uses it
- comment out the ifdef INFO and -DINFO stuff - it's always compiled in
- XXX: don't compile mopprobe with -DNODL (which actually changes the
  compilation of stuff in common/*). nothing else does this, and it
  meant that mopprobe would have had different behaviour. if this behaviour
  is desired, a workaround can be put in place
1997-10-16 07:36:12 +00:00
lukem
29689d8440 clean up previous 1997-10-16 05:22:37 +00:00
lukem
f0923775df fix race condition when building libamu with make -j 1997-10-16 05:18:41 +00:00
lukem
4d10189f4c fix race condition when building libcommon with make -j 1997-10-16 05:10:14 +00:00
hubertf
ca6157bdca - document $PKG_PATH
- use -v on pkg_add for dependent packages (forgot on last commit)
 - most important: do string-magic on the right variable when trying
   to find dependent packages on the local disk (i.e. package given as
   filename, not URL)
1997-10-16 00:55:01 +00:00
hubertf
508ee08a34 Second part of intrgration of FreeBSD pkg_install as of 971013.
This patch adds @option preserve and handling for -s (SrcDir)
option.
1997-10-16 00:50:20 +00:00
hubertf
d0245e3952 First cut on importing pkg_install as of FreeBSD 971013:
- warn()/err() instead of whinge()/barf()
 - Update RCS Id strings
 - Update manpages (mostly)
1997-10-16 00:31:32 +00:00
lukem
7cb9d0d79c database routines:
- rename OPTDB to OPTIMIZE_DB
- if OPTIMIZE_DB, in ypdb_open(), close a database if the open failed
  with ENFILE or EMFILE [from openbsd].
- because of the above, don't bother checking first if any FDs are
  available (with open("/", RDONLY) - it's a superfluous check.
- ensure that *map_info is set if a database was a cached open -
  without this fix OPTIMIZE_DB didn't work too well...
- enable OPTIMIZE_DB by default - should speed up lookups

secure map support:
- add ypdb_secure(), which returns non-zero if the map has the YP_SECURE
  private key set (which makedbm(8) -s adds) [from openbsd]
- modify various functions to check if a map is secure, and if so,
  refuse to serve information to clients not requesting from an
  IPPORT_RESERVED port [from openbsd]
- ensure that domainnames and map names are valid (don't contain
  "/"'s, aren't too long, etc) [idea from openbsd, but using our
  _yp_invalid_domain() et al, which does more checking.]

misc:
- add rcsid's
- implement _yp_invalid_map() (complements _yp_invalid_domain() in
  libc - eventually _yp_invalid_map() may move to libc...)
- use %#x instead of 0x%x in debug log messages
1997-10-15 05:01:07 +00:00
lukem
b252d2a436 - major cleanup of Makefile.yp to use modern make(1) variables, and
follow our formatting convetions.
- add support for aliases, amd.home, master.passwd and netgroup maps
  [initially from openbsd, reworked as above]
- if INSECURE != "yes" then the passwd.by* maps will not contain the
  encrypted version of the passwd - privileged clients will request
  info from the master.passwd.by* maps.
  FreeBSD originally implemented this, and & OpenBSD supports it too.
  [from openbsd].

  By default, passwd maps are INSECURE, but in a *BSD-only environment,
  this could be disabled to allow for a [slightly] higher degree of
  security from non-root users...
1997-10-15 03:01:57 +00:00
mellon
8e6f88f680 Fix command-line argument processing 1997-10-14 20:38:09 +00:00
cjs
808e7bd9b8 Add hack to avoid gcc warnings. 1997-10-14 05:17:35 +00:00
cjs
5e411157a1 Ugly hack to make this compile without warnings on alpha. 1997-10-13 20:45:40 +00:00
cjs
83c227ec28 If you're going to pass a u_char as an int, cast it first. 1997-10-13 20:44:09 +00:00
lukem
ec79495f83 add rcsid 1997-10-13 07:44:01 +00:00
lukem
16199f1de9 don't use home-grown ether_ntoa() - ether_toa(3) in libc works fine... 1997-10-13 07:41:48 +00:00
lukem
88b87b1582 add rcsid 1997-10-13 07:38:09 +00:00
lukem
7eaa3f736a add rcsid 1997-10-13 04:00:27 +00:00
lukem
2a43cbe64c add rcsid 1997-10-13 03:51:58 +00:00
lukem
9e8a6cf527 s/LINT/lint 1997-10-13 03:48:49 +00:00
lukem
21504c46eb - ignore trailing NUL in database key/value pairs (which sendmail's
aliases.db has)
- add rcsid
1997-10-13 03:47:07 +00:00
lukem
652dc94093 - hack ypdb_open() to try the standard hash (for sendmail's aliases.db)
if the initial open fails with EFTYPE. if a different database
  format is found to be more efficient, just add the code to open it
  prior to that of the other formats; this maintains backward
  compatibility with older databases whilst providing new functionality...
- add rcsid's
1997-10-13 03:42:27 +00:00
lukem
64718e58ff add rcsid 1997-10-13 03:15:30 +00:00
veego
066829337c Only install the available m4 files. 1997-10-12 19:14:27 +00:00
mycroft
ccacc504e5 Make this work again, and add ethers to the list of recursive targets. 1997-10-12 11:53:11 +00:00
hubertf
e10ebcabe2 pass the "-v"-switch on pkg_add to any pkg_add-calls
made for dependent packages
1997-10-11 22:25:16 +00:00
christos
3a2d682898 Fix for WARNS?= 1 1997-10-11 21:48:50 +00:00
christos
f8dba09cca Cleanup for WARNS = 1
- add prototypes
- comment out rfc931(); it conflicts with the one in -lwrap and is not needed
  anyway.
- remove unused variables
- add NetBSD rcsids.
1997-10-11 21:41:34 +00:00
mycroft
26a3dbe1c4 GC some garbage variables. 1997-10-11 20:26:58 +00:00
hubertf
0df6d19df1 add case PLIST_UNEXEC in show_plist();
makes "pkg_info -v" barf no more when @unexec command are present in PLIST
1997-10-11 20:26:22 +00:00
mycroft
3ec2ebdb68 GC some garbage variables. 1997-10-11 20:25:53 +00:00
veego
e288b27b29 Don't install this libraries, we only this during the build. 1997-10-11 19:42:34 +00:00
veego
0751ae9b9b Use \" for /'s in Makefile defines. 1997-10-11 18:11:41 +00:00
enami
136d7f791b Add -h option to usage. 1997-10-11 03:14:12 +00:00
christos
fcc796698e Fix printf format warnings. 1997-10-10 16:12:10 +00:00
christos
81dbba7d10 PR/4082, PR/4149: amd dumps core if a server is down, amd cannot mount
filesystems from servers that fail the portmapper version test [lanman].
1997-10-10 16:11:12 +00:00
mycroft
e8f7fd90c1 Actually, punt the library' keyword; it does the same thing as object',
and we really only need one of them.
1997-10-10 10:41:18 +00:00
mycroft
7d58ce9471 Add object' and library' keywords to pull in precompiled .o and .a files.
Syntax is like the `file' keyword; e.g.:
object	arch/i386/i386/mumble.o		[mumble] [needs-flag]
Largely from Michael Richardson in PR 3833, with some changes by me.
1997-10-10 10:27:53 +00:00
mycroft
054b6cb773 Allow options and makeoptions to take an empty string as a value. 1997-10-10 09:32:03 +00:00
lukem
0acf0ef008 only compile common_source/* once (25% faster), remove unused printcap.c 1997-10-10 09:26:35 +00:00
mrg
74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
hubertf
b979def939 Fix typo: hte -> the 1997-10-10 03:42:18 +00:00
cjs
b1caf63d0a Build smrsh to use /usr/libexec/sm.bin and install in /usr/libexec/smrsh. 1997-10-09 20:09:38 +00:00
cjs
cec80a9c8c Bring sendmail/cf fully into sync with sendmail-8.8.7. 1997-10-09 19:39:51 +00:00
mrg
38811f7fea document -d, -s. remove bogus #port. fix getopt(). 1997-10-09 07:58:39 +00:00
jtc
3bc5599f8b Fix tipo inherited from old version of TNF copyright template. 1997-10-08 22:19:18 +00:00
cjs
faa16d67af Include <string.h> and use proper types for str*() so that this compiles
on the Alpha. Also remove register decl's while I'm here.
1997-10-08 20:47:38 +00:00
cjs
2c695bcd2a Include <string.h> and use proper types for str*() so that this compiles
on the Alpha. Also remove register decl's while I'm here.
1997-10-08 20:25:24 +00:00
veego
98d951955c s/CURDIR/.CURDIR/ and add a missing " 1997-10-08 18:59:38 +00:00
mycroft
b1f70b30ce Byte-swap the ethernet type field as required. From Dave Huang in PR 4215. 1997-10-08 16:57:04 +00:00
kleink
fde532da89 getopt(3) usage police: EOF is deprecated, check against -1. 1997-10-08 16:55:41 +00:00
lukem
f5eefd0a1d - set the umask to 077, to protect the created directory
- clean up a couple of the messages
1997-10-08 14:09:19 +00:00
lukem
7b926dd1c9 - print a message and exit if the port returned by clnt(udp|tcp)_create isn't
a reserved port
- don't define optarg/optind - it comes from <unistd.h>
- deprecate register
1997-10-08 13:45:21 +00:00
mycroft
c5aacdd3b3 Don't sleep if we get EINTR from select(2) (e.g. because we got
a SIGCHLD when something died).  From PR 4056, by David Holland.
1997-10-08 07:15:59 +00:00
lukem
91b6547967 fix cutnpasto 1997-10-08 00:11:51 +00:00
lukem
87ca3b181a minor KNFify 1997-10-07 15:00:35 +00:00
lukem
93c1ffe13c use err instead of errx, so the user has some idea why the file wasn't opened 1997-10-07 14:59:37 +00:00
lukem
5f88ebd1a3 fix & simplify test for skippable lines 1997-10-07 14:56:11 +00:00
lukem
6ea62c3327 simplify test for skippable lines 1997-10-07 14:46:48 +00:00
lukem
0d2bc0fdb6 use err instead of errx, so the user has some idea why the file wasn't opened 1997-10-07 14:45:18 +00:00
lukem
618db68108 grabage collect this 1997-10-07 14:43:44 +00:00
lukem
55d8f20490 use err instead of errx, so the user has some idea why the file wasn't opened 1997-10-07 14:42:32 +00:00
lukem
c0495ebb45 nuke register & unnecessary extern's, factor out common code 1997-10-07 14:39:06 +00:00
lukem
dc497bdd46 cleanup typos, grammaros, thinkos, and misuse of mdoc macros 1997-10-07 14:23:50 +00:00
thorpej
738a90b1b7 Build sup. 1997-10-07 01:36:21 +00:00
thorpej
b7b213b4f5 Add a README describing how to build this on a non-NetBSD system (yes,
that's actually useful :-) using the Makefile in the source/ subdirectory.
1997-10-07 01:33:30 +00:00
thorpej
b92a5b9b37 Add NetBSD Makefile infrastructure for building the sup programs. 1997-10-07 01:31:07 +00:00
thorpej
42d99e64c5 Garbage-collect the USE_CRYPT stuff. 1997-10-07 01:27:14 +00:00
hubertf
c6393b5c9a Fix off-by-one error, closing PR bin/4067 by myself. 1997-10-07 01:24:05 +00:00
enami
b6cd49460e Document -h flag, option to manupilate symbolic link. 1997-10-06 13:33:54 +00:00
enami
7bb0a4feb9 Change the noop flag -h to do the real work. Now if -h is given,
owner/group of symbolic link is changed.
1997-10-06 13:28:00 +00:00
lukem
07e169df74 add mkalias & revnetgroup 1997-10-06 06:55:50 +00:00
lukem
7307c9a9a5 KNF & WARNSify 1997-10-06 06:54:09 +00:00
lukem
6a8388c539 - KNFify
- cleanup for WARNS
- cleanup man page
1997-10-06 06:10:15 +00:00
lukem
42f1aa0434 revnetgroup - generate extra netgroup maps for YP 1997-10-06 05:01:30 +00:00
lukem
56b7c4c7c7 mkalias - generate YP version of sendmail aliases 1997-10-06 04:59:13 +00:00
lukem
e14f5c8e03 clarify that "domainname" in various pathnames is the actual domain name 1997-10-06 01:20:15 +00:00
lukem
a2de9f91bf use WARNS?=1 not WARNS=1, cleanup manpage 1997-10-06 00:57:08 +00:00
lukem
b34611f260 use WARNS?=1 not WARNS=1 , cleanup manpage typo 1997-10-06 00:52:51 +00:00
lukem
af8294fc63 - WARNS?=1 not WARNS=1
- fix .Nm usage
1997-10-06 00:33:18 +00:00
lukem
132501b5d3 rcsid facism 1997-10-06 00:08:43 +00:00
mrg
1bb06f8aab fix alpha compile warnings. 1997-10-05 16:45:43 +00:00
mrg
2d06dcebcd WARNS?=1 1997-10-05 16:40:24 +00:00
mrg
7d7091ccdd merge lite2 [actually, just update ucb sccs id's] 1997-10-05 16:16:10 +00:00
mrg
d66fe73851 in rcleanup() don't unlink() the dfname if it contains a /. noted
by matt power <mhpower@mit.edu>.
1997-10-05 15:21:46 +00:00
mrg
fe7ed7ce37 - WARNS?=1
- be safe with unlinking files (from freebsd)
- remove register
- clean up $NetBSD$'s.
- use inet_ntoa() in one place (from openbsd)
- nul terminate after a bunch of strncpy()'s
- #ifdef __STDC__ rather than #if (from freebsd)
- be safe with a bunch of string operations (from freebsd)
- use warn()/err() over home grown versions (some from freebsd)
- rename warn() to nodaemon() to remove conflict with above
- check errno from failed kill(2) against ESRCH (from freebsd)
- use getopt() rather than home grown versions (from freebsd)
- clean up a bunch of man pages (some from freebsd)
- check for hostname spoof (from freebsd)
- use POSIX wait() interfaces
- use sysconf(_SC_OPEN_MAX) in preference to NOFILE (from freebsd)
- deal with fork() failure
- index/rindex -> strchr/strrchr (some from freebsd)
- add B57600 and B115200 speeds (from freebsd)
- some KNF
- be safe with files passed in over the network (some from freebsd)
- check return value of malloc(), calloc() and strdup()
1997-10-05 15:11:58 +00:00
mrg
90778e67aa add rcsid, use FILES, etc., in Makefile. 1997-10-05 12:48:35 +00:00
mrg
bf7db08c40 freebsd's lp frontend for lpr 1997-10-05 12:40:42 +00:00
mrg
cf3fe2a0b6 oops; did not mean to import these. 1997-10-05 12:35:50 +00:00
mrg
e6a91a0997 merge 4.4 lite2 1997-10-05 11:52:17 +00:00
mrg
e5d28dbbe3 lite-2 1997-10-05 11:20:29 +00:00
christos
f2a271f76d Make imports easier. 1997-10-04 16:33:04 +00:00
christos
89ab9fcd0f Fix conflicts. 1997-10-04 16:31:24 +00:00
mrg
3bf140db34 merge BIND 4.9.6 1997-10-04 15:11:25 +00:00
mrg
25916a62c6 BIND 4.9.6 1997-10-04 14:08:21 +00:00
christos
313a9cff6b Import LBL's traceroute-1.4a5 1997-10-03 22:25:12 +00:00
christos
0382099526 Revert decrementing the length too early; this was broken before the merge... 1997-10-03 20:38:03 +00:00
christos
f9b3c069f3 Import assistance. 1997-10-03 20:04:32 +00:00
christos
b03548c3bc Resolved conflicts. 1997-10-03 19:54:07 +00:00
christos
f42c6d42a2 Import LBL's tcpdump 3.4a5 1997-10-03 17:24:11 +00:00
mikel
7e0384f892 replace -W flags in CFLAGS with WARNS?=1, cleanup 1997-10-03 05:39:03 +00:00
mikel
f06175c4c6 apm is new in 1.3, update HISTORY to say so 1997-10-03 05:37:05 +00:00
lukem
ac64718550 - build common/* once, into a library, rather than recompiling each of
the files multiple times in the other subdirectories (saves about
  10% on compilation time)
- clean up the manual pages
1997-10-02 14:16:12 +00:00
enami
3aeffdc83c - Xref opendisk(3).
- Refer vnode disk as vnd0 instaed of vnd0c.
- Rename argument to specify vnode disk from special_file to vnode_disk.
- Explain that vnode_disk is a special file or name like vnd0.
- Add one example which uses vnd0 instead of /dev/vnd0c.
1997-10-01 01:32:59 +00:00
christos
16848faf66 PR/4145: Dave Huang: pppd unable to change interface addr when demand dialing
w/unspecified local address
1997-09-30 16:45:16 +00:00
scottr
dbeee4956b Implement the -T flag, used to (optionally) specify the kernel text
start address for a.out executables.  This is useful in the case that
kernel text starts in the second physical page, in which case the
clever hack to work around the problem is defeated.

This option was patterned after the -T flag documented in the ld(1)
man page.  (It does not support the undocumented '-Ttext <addr>'
usage, however, since that would require a parser or getopt(3) hacks.)
1997-09-30 06:20:16 +00:00
christos
6a39b449bc Add back the NetBSD specific lack of ppp in kernel message, and remove a
NetBSD1_2 ifdef
1997-09-29 19:05:53 +00:00
christos
ac0debcff2 Set clocal while processing chat scripts [this was changed on 2.3.1 and
broke all existing chat scripts].
1997-09-29 16:57:51 +00:00
enami
24a227ce40 In the function config(),
- Back to use `rdev' which the name of raw partition, since now opendisk(3)
  initializes `buf' except in very trivial case (it is `buf' is NULL).
- Use `rdev' instead of `dev' in verbose output.
- Output `rdev' when warn ioctl failure.
1997-09-29 06:43:14 +00:00
enami
9babafd737 In the function config(),
- Use `dev' instead of `rdev' to warn, since latter may not initialized.
- Don't use device file name as a format of warn().  Instead, pass "%s"
  explicitly.
1997-09-29 05:44:19 +00:00
enami
7dcf4bfe8e Use opendisk(3). 1997-09-29 05:24:24 +00:00
christos
2f3fcf9d35 Enable CBCP support by default. 1997-09-29 03:53:38 +00:00
christos
64b94f4c92 PR/2705: Jim Bernard: pppd exits with 0 error code when connection fails 1997-09-29 03:52:37 +00:00
christos
3e6d71d911 We don't have if_ether.h... 1997-09-26 20:28:47 +00:00
christos
d9447f387e From Stephen Ma, discussed in tech-net and verified by paulus
mru computation was off-by-one
1997-09-26 20:24:12 +00:00
christos
16f22c5efc remove unused variable 1997-09-26 20:23:00 +00:00
christos
a5eb79afe9 PR/4136: Geoff Wing: pppd writes wtmp, but not lastlog. 1997-09-26 20:22:26 +00:00
christos
6272590b95 Fix gcc warnings. 1997-09-26 20:14:42 +00:00
christos
651d523cbe Resolve conflicts 1997-09-26 19:52:08 +00:00
christos
b94f88cd02 PR/4141: Daniel Hagerty: DTRT with appletalk. 1997-09-26 18:12:35 +00:00
christos
c1b53cf091 Fix remaining warnings. 1997-09-26 17:08:09 +00:00
christos
5d124d82c6 Resolve conflicts; Damned RCSid's... I should fix the amd2netbsd script
to strip them.
1997-09-26 16:59:40 +00:00
christos
04c4910102 Import am-utils-6.0a12 1997-09-26 16:05:48 +00:00
fair
99d14e3181 correct man page pathnames to reflect reality, per PR#4148 1997-09-25 06:49:59 +00:00
thorpej
d10050d5b9 sizeof() returns a size_t which is an unsigned long on the Alpha. We have
to use %lu and a cast to u_long to print these in a portable way.
1997-09-25 01:45:14 +00:00
pk
2d32cc7658 Only reap children that are ready to be reaped from the SIGCHILD handler
(PR#4143; Uwe Arndt).
1997-09-24 13:22:06 +00:00
jeremy
fe56753f5e Add sun3x to the list of machines using this program. 1997-09-24 07:22:37 +00:00
veego
c219cd3ba0 Restore revision 1.3: 'make depend' needs a config_local.h in the SRCS=
line of libamu/Makefile
1997-09-23 08:46:25 +00:00
veego
1a9080a871 Restore one change from revision 1.4: 'make depend' needs a config_local.h
in the SRCS= line of libamu/Makefile
1997-09-23 08:40:57 +00:00
mrg
ddc2dd4f02 be safe with buffers, from dholland@eecs.harvard.edu in pr#4138 1997-09-23 07:28:29 +00:00
christos
2903fbdf71 Resolve conflicts. 1997-09-22 22:09:51 +00:00
christos
30d4fdf78e Import am-utils-6.0a11 1997-09-22 21:11:12 +00:00
christos
1b45de5df5 String overflow bugs (from OpenBSD) 1997-09-22 13:57:36 +00:00
veego
968d3837cd We no longer need this header file. 1997-09-21 18:13:28 +00:00
veego
c505e9ce05 GC. 1997-09-21 18:12:01 +00:00
veego
4508fb4354 Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 18:00:54 +00:00
veego
6a116d459c Resolve conflicts from the merge of ipf 3.2beta5. 1997-09-21 17:02:33 +00:00
veego
985ac74a98 Import ip-filter 3.2beta5 1997-09-21 16:47:50 +00:00
veego
4f72ff44fd Changes for ipf 3.2beta5:
- Add the main Makefile and Makefile.inc for src/usr.sbin/ipf
- New rules subdirectory
- Remove a include directory from ipftest/Makefile
- Add a MLINKS for ipnat.5 -> ipnat.conf.5
- Add new Manpages: ipresend.1, ipsend.1, ipsend.5, iptest.1
- Add new iplang files for src/usr.sbin/ipf/ipsend
- Copy the tcpip.h. It has now a BSD license and remove a comment about it
- Add ip_log.c to sys/lkm/netinet/Makefile
- Add *.y and *.l files to the list of transformed files
- Remove the ipsend.h fix because we now use only one ip_compat.h
- Fix file and directory permissions during the import
1997-09-21 16:34:31 +00:00
mikel
c833d17bf1 xref rmail(8) not nonexistent rmail(1) 1997-09-20 06:02:44 +00:00
mikel
f1b4d4127e fix xrefs: signal(2) -> signal(3), syslog(8) -> syslog(3) 1997-09-20 05:16:29 +00:00
christos
6807fc37b2 Fix uninitialized variable 1997-09-19 21:22:38 +00:00
leo
a539aec784 Commit userland part of pr-1891. 1997-09-19 19:17:17 +00:00
lukem
a9c0a86a3c fix .Nm usage 1997-09-16 13:10:29 +00:00
lukem
375567dca2 * resolve conflicts from lite-2 merge
* cleanup for WARNS=1
1997-09-16 13:07:59 +00:00
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