Commit Graph

3008 Commits

Author SHA1 Message Date
thorpej fe124d16bb Add support for the new NetBSD PPP data link types, add some more
PPP definitions, and handle Cisco-format frames that come in off
of sync PPP interfaces.
1999-05-11 02:54:29 +00:00
thorpej e1db0debfa Fix one that Christos missed. 1999-05-09 21:22:53 +00:00
christos 9fae9a1863 Pass NULL for checking only 1999-05-09 16:07:20 +00:00
christos 405991437d Adjust for dot_quad_addr() changes 1999-05-09 16:05:35 +00:00
jeremy 60d83bcb76 [PR/5685] Set ONLCR bit in oflags of tty mode to prevent hanging in
absence of carrier.  From Simon J. Gerraty <sjg@quick.com.au>.
1999-05-06 08:59:21 +00:00
perseant 5415bc30ff Reversed (corrected) sense of superblock timestamp comparison; added the
disk address of the reported superblock to the "master superblock" line
of the report.
1999-05-02 00:26:01 +00:00
sommerfe 88201e4f1b Fix PR 7196: bad udp checksum reported when capture barely too short 1999-04-29 21:20:13 +00:00
thorpej 44ee87006e Add support for kern.mbuf.* 1999-04-26 22:13:52 +00:00
mellon 3c82a97a8d Merge with ISC source. 1999-04-26 15:47:03 +00:00
mellon 58d7576468 Patchlevel 27 1999-04-26 15:43:06 +00:00
abs bf094b728a If -s and/or -d set, report invalid host entries in bootparams when parsed.
Currently an invalid entry will cause any subsequent entries to fail
if hostlookups take take several seconds (This can happen with DNS).
Now we can more easily detect this situation.
1999-04-26 02:35:17 +00:00
lukem 04833e78b6 split line 1999-04-25 06:28:10 +00:00
mycroft ce477983b4 The previous change didn't even compile due to a warning.
Also, fix the same core dump in the case where there are no `_build' lines.
These should probably both emit a warning, so the user knows what happened.
1999-04-20 14:22:32 +00:00
dante 554cdf7fe9 No more core dump if _crunch section is missing in man.conf 1999-04-20 10:59:13 +00:00
mrg 3e4fcb2e57 newlfs -> newfs_lfs. 1999-04-20 07:15:38 +00:00
mycroft a6b6e0db55 Don't rebuild the cat page if the time stamp is the *same*; this can happen
just because `make install' ran quickly.
1999-04-20 05:02:36 +00:00
bouyer 3cbd4c8d82 Integrate fix from bin/7378: call the extra get_nfs_version() after
we make sure nfs_proto is initialised, and only if we have a valid ip.
1999-04-14 09:07:01 +00:00
augustss caf9aabb3e Make opyrights conform. 1999-04-13 20:50:48 +00:00
thorpej 246f73e1a0 Fix a printf format warning on the Alpha. 1999-04-13 00:16:24 +00:00
pk 5c3c96216b Software_Distribution => Software.Distribution. 1999-04-12 20:48:07 +00:00
drochner fe2da22c81 correct an error message 1999-04-12 17:29:31 +00:00
hubertf 3adf761c0b Use absolute path to tar(1) in execl() call.
*** This makes retrieval of pkgs via ftp work again!

Also don't just call exit() if the execl() call fails, but print some
error (via err()).
1999-04-12 00:29:51 +00:00
hwr f6aa0f509c Prevent sending udp data to the obvious bad ports that are used for
DoS attacks (e.g. looping packets between two echo ports).
This should "fix" PR bin/2455.
Could please anyone with an appropriate "hacker tools" check this?
1999-04-11 15:40:58 +00:00
simonb 2350b6d9ea Fix tyop. 1999-04-10 13:05:18 +00:00
hubertf c7cd57bc07 Fix off-by-one error. (This was detected using libefence) 1999-04-10 02:17:21 +00:00
mellon 177a06d1a4 Resolve conflicts from Patchlevel 25 import. 1999-04-09 17:55:01 +00:00
mellon 95518966c2 Patchlevel 25 1999-04-09 17:52:05 +00:00
perry 57cd21e2b5 Turn on catman. Thanks to dante, it now works right. 1999-04-09 15:12:22 +00:00
cjs d49fc436a6 Reduce default crontab size limit to 32K. Use the limit in
/var/cron/maxtabsize, if that file exists.
1999-04-09 02:47:03 +00:00
cjs a1d7b99e1e Make sure that the crontab is not an unreasonable size.
(Currently MAXCRONTABSIZE is 256 KB.)
1999-04-08 21:30:02 +00:00
bouyer da5122af6d Hack to work around a problem in either SunOS 4.1.4 or our RPC code:
once we determined the rigth protocol to use, recall get_nfs_version()
so that the last RPC call was a successfull one. Otherwise with a SunOS 4.1.4
server (which doesn't accept TCP mounts) UDP mounts would fail.
1999-04-07 11:21:49 +00:00
pk 1cd395375d 1, 2, 3 and.. 4! 1999-04-06 20:24:37 +00:00
cgd b22750720f change:
.Sh "SEE ALSO"
to:
	.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
mycroft 9052a41924 Display fs_maxfilesize, and clean up some other formatting. 1999-04-05 19:54:45 +00:00
chopps 1b017ba3a8 fix the cksum routine and parse ESH packets. 1999-04-05 00:58:29 +00:00
dante 7678969db4 catman now use config.c and config.h from usr.bin/man 1999-04-04 16:52:34 +00:00
dante a7d911d5b7 Reference config.c and config.h from usr.bin/man 1999-04-04 16:50:47 +00:00
dante bea7444699 Add catman.
It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages.
It handle symbolic links, but at this time no hard links.
config files are stolen from man with few changes to support "_crunch" section.

catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
1999-04-04 10:56:38 +00:00
gwr 5a4e7b6de7 Make this build on Solaris (make -f Makefile.boot) 1999-04-02 06:36:30 +00:00
veego d698215572 Define __POOL_EXPOSE for <dev/vndvar.h>. 1999-04-01 17:24:03 +00:00
drochner 5faf61eaf6 add some notes and an example 1999-03-31 15:37:47 +00:00
drochner 719a8b0d1d add some notes and an example 1999-03-31 15:15:57 +00:00
abs 542d17320b Update - quotacheck is run from rc, not rc.local 1999-03-30 23:58:46 +00:00
abs 4bd70a584f If -a, we do not want to pay the cost of processing every group and password
entry if there are no filesystems with quotas. Speeds up boot on a large YP
site without quotas considerably. If a filesystem has quotas we process
/etc/fstab twice, which is very cheap in relative terms.
1999-03-30 23:56:26 +00:00
ross 740ba5bf1a Missing .El. 1999-03-30 20:38:33 +00:00
ross 376b343025 LP64 tweak. 1999-03-30 20:36:58 +00:00
mycroft afd308129a Output a dependency on `newvers' for *every* kernel. It only gets run at most
once per make(1) invocation anyway, and not doing this screwed up parallel
makes.
1999-03-30 12:36:50 +00:00
bouyer 0d0babaea9 Defaults to UDP mounts again. The move to TCP mounts by default was too
intrusive, even without bugs on the NetBSD side.
1999-03-30 08:23:26 +00:00
mellon a20da108b1 Merge patchlevel 22. 1999-03-30 03:12:28 +00:00
mellon 2edefbc506 Import 2.0b1pl22, the pecked-to-death-by-ducks patchlevel. 1999-03-30 03:10:46 +00:00
mellon 6ad36e81ac Re-add README file and RELNOTES, as they may actually be of some interest. 1999-03-30 01:54:50 +00:00
mellon ba99fde8c5 Merge patchlevel 21 1999-03-30 01:53:57 +00:00
mellon 1cc8443c6f Patchlevel 21 1999-03-30 01:51:44 +00:00
mellon 029f7c27bf Resolve conflicts in pl20a merge. 1999-03-30 00:12:14 +00:00
mellon 4f34fd30b5 Patchlevel 20 fixes 1999-03-30 00:10:08 +00:00
mellon 579e9efdc7 Resolve conflicts in pl20 merge. 1999-03-29 23:08:21 +00:00
mellon 3b4ecb27b5 Patchlevel 20 1999-03-29 23:00:49 +00:00
kleink b43136023b Forgot to add these a while ago. 1999-03-28 17:18:45 +00:00
tron 5acbe335e0 Forgot to commit this: install "named.conf.5". 1999-03-28 00:28:17 +00:00
perry 80fe8aba57 only build postfix if BUILD_POSTFIX is set 1999-03-27 03:22:49 +00:00
perry 9864ccf0b9 activate postfix 1999-03-27 03:03:17 +00:00
tron 6a6b1bb99f Because this manual page describes DNSSEC features not available in
BIND 8.1.2 add a disclaimer about its origin at the top.
1999-03-27 00:10:47 +00:00
tron 7414e58610 Import "named.conf" manual page from BIND 8.2 distribution. The only
configuration command added after the 8.1.2 release is not even mentioned
so this one will do fine until the rest of 8.2 is imported.
1999-03-26 23:36:02 +00:00
drochner 61e1563f2b Revert to the last ISC version. The local modification breaks bootp
clients which have the requested filename fixed in ROM.
The intended echoing behaviour is already provided by the ISC version
(if no special bootfile name is specified in dhcpd.conf).
1999-03-26 20:15:01 +00:00
kim 9b05f342df Revert to the version of host installed by the BIND distribution by default.
The contrib version was tagged `bind-contrib-host' before this change.
1999-03-26 20:12:44 +00:00
kim 45402fd3fc Install dig, dnsquery, host, nslookup, nsupdate and pawd in /usr/bin. 1999-03-26 20:04:50 +00:00
mellon 7ccf21d94d Fix conflicts in merge. 1999-03-26 17:52:45 +00:00
mellon 28f100096f Patchlevel 19 1999-03-26 17:49:19 +00:00
lukem e1a9005721 fix comments 1999-03-26 07:15:23 +00:00
perry e55f6bace6 bind 8 has been the default for months. remove bind 4. 1999-03-25 19:31:19 +00:00
perry 7699b5f8ec Nuke bind 4. bind 8 has been the default for months. 1999-03-25 19:27:09 +00:00
is 059e654914 Split off /etc/mailer.conf manual page from mailwrapper manual page. 1999-03-25 16:40:17 +00:00
itohy 060a955d94 Make it compile on big-endian platforms. 1999-03-25 05:07:34 +00:00
nathanw 88e775014b Avoid using a long to store an IP address and simplify slightly.
Makes this work on the Alpha.
(What, nobody's netbooted a sun from an alpha before?)
1999-03-24 22:01:38 +00:00
mycroft 68d6f4bf44 Remove spurious .ne's. 1999-03-24 06:27:49 +00:00
thorpej bc5e782935 Don't rely on an `rcsid' being present. 1999-03-23 22:53:30 +00:00
bad d1b189e801 Make this understand Token-Ring.
From Onno van der Linden.
1999-03-23 00:02:24 +00:00
aidan 3d3560d6aa Apply soda's patch to make environment sets act like the man-page
documentation.  i.e., strip the spaces around the '=' sign.
1999-03-22 22:18:45 +00:00
garbled d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
abs 7960b91475 Ignore files in /var/db/pkg (hint 'pkg_info pkgdb.byfile.db') 1999-03-22 06:04:16 +00:00
hubertf 04417da166 Replace static array of packages given to pkg_perform() with linear
list, using chopss' list functions (moved to lib/lpkg.c and
lib/lib.h).

Properly handle wildcards in arguments to "pkg_info", "pkg_delete" and
"pkg_admin check".

Some other minor cleanups.
1999-03-22 05:02:39 +00:00
abs 0dee719066 Fix '-f'. 1999-03-22 03:24:04 +00:00
mycroft 3320901baa Add my NAT configuration as an example. 1999-03-22 02:53:22 +00:00
hubertf 2b8601f04f be more cautious about preserving cwd 1999-03-20 00:29:19 +00:00
perry 45d01efb13 /var/run/log. 1999-03-19 00:53:31 +00:00
perry 98c39393e3 symlink /var/run/log to /dev/log for transition period. 1999-03-19 00:43:03 +00:00
fair 47d8058ff9 Patch from PR#6570 to correct for some drift in the calculation of how
many seconds to sleep before next queue run.
1999-03-17 20:57:05 +00:00
mycroft 3e2eeb485c Eep. SMART_HOST was a bad idea. 1999-03-16 07:06:13 +00:00
is 908cc38079 /dev/log moved to /var/run/syslog.socket. 1999-03-15 17:01:00 +00:00
christos ae673e9f58 Shut-up gcc-2.8.1 warnings. 1999-03-15 08:57:12 +00:00
kleink d08845709f Minor cleanups; g/c a dead assignment variable. 1999-03-14 19:36:05 +00:00
kleink ce8b13e364 Oops, missed global data in static sweep. 1999-03-14 01:47:09 +00:00
kleink 882fe49366 Add KNF-style RCS Id at start of file. 1999-03-14 01:42:20 +00:00
kleink afe8703841 * Use id_t instead of making guesses about the definitions of [gu]id_t.
* Declare internal helper functions static.
* G/C unused globals and declarations.
1999-03-14 01:39:48 +00:00
lukem 7e1c62baf8 set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:17:46 +00:00
lukem a3b1d07c9b set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:16:55 +00:00
drochner 04937535d2 cleaner error message, from "Soren S. Jorvang" <soren@t.dk> 1999-03-13 17:25:55 +00:00
christos d961b8d40f PR/7133 Mathias Drohner: Add insecure flag.
Also use err() and __progname instead of argv[0] and correct usage
string.
1999-03-12 18:06:12 +00:00
tron 137c04ccf1 Fix string handling bugs introduced by last patch. 1999-03-12 17:32:20 +00:00
erh 55f3a4b91b Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +00:00
erh 9d7d8174c5 Add missing .El line. 1999-03-10 08:33:15 +00:00
erh 65e6435539 Add missing .El lines. 1999-03-10 08:25:37 +00:00
erh 0f61c6801e Add missing .El line. 1999-03-10 08:17:35 +00:00
erh ab43bc629f Add missing .El line. 1999-03-10 08:15:28 +00:00
mrg 84e08b1a6a use this namespace.h to redefine the bits of libresolv we need, to avoid clashes with the resolver in libc. 1999-03-09 13:23:08 +00:00
agc 530dddb95a Define TAR_CMD and TAR_FULLPATHNAME, and use them in preference to
hardcoded strings "tar" and "/usr/bin/tar". This allows the package
tools to use GNU tar with a different name (it's often installed as
gtar), and from a directory other than /usr/bin.
1999-03-09 11:10:39 +00:00
agc 4a5e3913cb Include <fcntl.h>, so that the definitions for O_* are defined. 1999-03-09 10:01:12 +00:00
ross eef3b62aca Missing .El. 1999-03-09 03:04:25 +00:00
hubertf e23d146ee6 TAILQ_FIRST and TAILQ_NEXT are not available on NetBSD 1.3 and 1.3.1,
define them for now.
Also fix a (unjustified) "variable may be used uninitialized" warning.
1999-03-09 02:20:49 +00:00
hubertf 4db56769f5 Add -R flag (similar to -r but the other way 'round) 1999-03-08 00:20:21 +00:00
mycroft d77575d3c8 Clean up SYNOPSIS formatting. 1999-03-07 11:58:22 +00:00
mycroft 9b3b0907e1 Don't use .Po/.Pc; this creates a diversion which overflows. 1999-03-07 04:49:50 +00:00
mycroft 30d4082b82 Fix minor formatting error. 1999-03-07 04:05:44 +00:00
mycroft 18d04fc573 Fix minor formatting error. 1999-03-06 22:50:14 +00:00
hubertf 2428218e4b update comment for findmatchingname() 1999-03-06 02:16:25 +00:00
mycroft 867aa13949 Remove bashism, so this actually works. 1999-03-05 22:37:43 +00:00
mellon 0c19a76c66 Add some documentation on customization. 1999-03-05 18:10:36 +00:00
mellon 83ec6e889e Merge with 2.0b1pl18 1999-03-05 17:52:44 +00:00
mellon 9c2d0f125c 2.0 Beta 1 Patchlevel 18 1999-03-05 17:43:43 +00:00
mycroft 8336bf2055 Fix the order so allmasquerade works. 1999-03-05 01:32:11 +00:00
mycroft 7218bf528e More vanity domain stuff... 1999-03-05 01:10:33 +00:00
hubertf dc7b712a59 Prevent printinv of empty "Requires:" section. 1999-03-04 01:45:22 +00:00
hubertf 7964a11f60 Do not only display the packages which require this package
(-> +REQUIRED_BY), but also show which package this package wants
installed (-> @pkgdep).
1999-03-04 00:35:05 +00:00
hubertf 5909aead8e Back out last fix to remove knowledge about LogDir from require_delete(),
because it wasn't in LogDir when it was enterred. :-/

XXX A better fix to this would be to put this save-and-restore-CWD back
in and also add it to recurse_require_find() and require_find(), but
this is too much action for nothing now.
1999-03-03 20:12:06 +00:00
hubertf fe7b9b969f Add -O option to only delete things from the pkgdb, and do not touch
anything else of the package or it's files. To be used on "make reinstall"
by the buildsystem (quite exclusively).
1999-03-03 17:29:58 +00:00
christos f81a7584c8 Add ELF for i386 and sparc (Andrew Gillham) 1999-03-03 12:26:07 +00:00
hubertf 9f766d7071 More helpful message on failure 1999-03-03 00:35:16 +00:00
hubertf 3667be3444 More helpful message on failure 1999-03-03 00:24:21 +00:00
agc 21fa5d1385 Cosmetic but annoying - no need to append a newline character in warnx()
string - it's done by warnx() itself.
1999-03-02 10:32:23 +00:00
hubertf bae5f0c988 use mkdtemp also on 1.3I and up 1999-03-02 03:04:06 +00:00
hubertf c9234a4571 - Put no assumptions into require_delete() on where the old CWD was
- Fix check for circular dependency
 - Most importantly: DO NOT remove the package if something depends
   on it, and -r isn't given!!!!! Without this change, pkg_delete was
   happily nuking away any package even if it had some dependencies.
1999-03-02 02:31:23 +00:00
agc fc1bcfe208 Quieten braindead gcc 2.8.1 unused warning. 1999-03-01 12:11:42 +00:00
agc d7c7ee9aba Include <fcntl.h> for the O_* definitions. 1999-03-01 12:06:57 +00:00
tron f41d893cec Because the old bound check is used at several places we need to make
sure that the array is really NULL terminated. Fixes PR bin/7062.
1999-02-28 11:46:26 +00:00
pk 4bcb8b3a48 Correct precedence in calculation of storage for pollfds. 1999-02-28 11:30:18 +00:00
tron 925f506372 - Don't use static array hack if neither "-p" nor "-P" are used.
- Because the logsocket array is not NULL terminated use the entry number
  for bound checks.
1999-02-28 11:16:18 +00:00
tron c87ec3954b Use correct expression "sizeof(char *)" instead of "sizeof(char **)"
to calculate memory size.
1999-02-28 11:03:35 +00:00
christos 974dcb4997 We have RAW_OPTIONS so enable them. 1999-02-26 22:43:03 +00:00
chopps 862b113538 remove strequal, strcmp provides the functionality we need 1999-02-26 17:04:13 +00:00
chopps ad9eaac8ec add -r flag to delete all packages that require the user specified one 1999-02-26 10:49:30 +00:00
explorer 3004daca95 Allow non-root users to use ALIASES on real interfaces or on lo0. 1999-02-24 21:21:24 +00:00
mellon e7b0bff792 Resolve conflicts in 2.0b1pl15 1999-02-24 04:14:34 +00:00
mellon 984693e047 V2 Beta 1 Patchlevel 15 1999-02-24 04:11:01 +00:00
itohy de08a5e37e Add minimal dependency to make "make depend" optional
after cleandir.
1999-02-24 02:58:42 +00:00
mrg 6ef324e7de getopt returns -1 not EOF. clear grouplist also if setting gid. 1999-02-23 15:54:26 +00:00
mrg 2aa01ad0b9 if we are chrooting, write a symlink for the pid file so that ndc, etc,
continue to work as normal.  this allows named to run in a chroot jail
with zero loss of functionality.  with the bind8 -u <user> flag, we can
also make it run as non-root.  "stay tuned."
1999-02-22 02:37:27 +00:00
tv 6e539bc485 Include <bsd.own.mk>, noticed by <darcy@druid.net>. 1999-02-22 00:39:00 +00:00
mrg 19ef5d758f - allow -p /log/socket to appear more than once (and work as expected
if given this).  this is extremely useful for chrooted daemons that
  still want to create log entries via a local mechanism.

- create a new -P option that takes a filename of log sockets (equiv.
  of calling syslogd which -p <each line of file>.  this is useful
  for the case of many chroot areas and keeping this information in
  one place rather than having to remember it all.

if no -p options are given, the default (_PATH_LOG) is used as normal.
1999-02-21 13:30:15 +00:00
thorpej 0d7a8dcb83 - Rewrite to use fparseln(), strspn(), strsep(). Avoids statically-sized
buffers and allows for line continuation.
- Use __progname instead of chopping argv[0] into a statically-sized
  temporary buffer.
1999-02-20 22:10:07 +00:00
mellon aa0c70bd9e Merge Patchlevel 14 with trunk. 1999-02-19 22:39:06 +00:00