Commit Graph

2763 Commits

Author SHA1 Message Date
agc 7bdbc205e5 Use the same table for input and output of PLISTs. 1998-10-09 19:51:21 +00:00
tron d7d750d262 Fix build problems if object directories are used. 1998-10-09 19:30:02 +00:00
agc 9daf7cc9b2 More cleanup - various bits of KNF.
Use another table when parsing PLIST files - makes this much more extensible.
1998-10-09 18:27:31 +00:00
agc 16ae233008 Some minor KNF.
Lots more to be done.
1998-10-09 11:16:57 +00:00
agc 3679178e31 Make pkg_info a tad more extensible by using a table to hold the strings
to be printed. Also, don't error out if any unexpected input is read -
just log the error, and keep on going.
Fix a slight bug along the way - if there was an @option in the package,
then pkg_info would die.
1998-10-09 11:05:58 +00:00
agc 82f2922229 Fix a bug in pkg_info -f with @pkgcfl entries. 1998-10-09 09:35:39 +00:00
agc 65e1849228 Garbage collect unused variable..
Update documentation accordingly.
1998-10-09 09:22:15 +00:00
jtk 46510bb5d4 make network-location-changed actually work 1998-10-08 14:13:25 +00:00
agc 70c6765099 Eliminate all use of sprintf(3), and replace it with snprintf(3).
Bounds check the @exec and @unexec commands when they are constructed.
1998-10-08 12:57:58 +00:00
agc b6bd49da4e One more piece of lint. 1998-10-08 12:22:54 +00:00
agc e5d1fd5f5a Get rid of some lint.
No functional changes.
1998-10-08 12:15:24 +00:00
tron c8eb5cc943 Copy "named-xfer" binary to "/usr/libexec" not to "/usr/sbin".
Fixes bin/6261 by Geoff C. Wing.
1998-10-08 07:41:57 +00:00
wsanchez c45946d27c Use u_int32_t rather than Sys-V u_long.
Rename err() to mtree_err(), to avoid conflict with libc.
1998-10-08 02:04:55 +00:00
aidan 2169ed2a6f An environment variable name can no longer have spaces in it. This is to
let commands of the form
* * * * * command flag=value
be interpreted as commands instead of environment settings.
1998-10-07 23:18:29 +00:00
christos c7b4cd5f50 Explain what happens when there is no host set specified in the exports
line, or when a netgroup that has no host is in the set.
1998-10-07 14:52:30 +00:00
christos f491057836 Explains what happens when we get SIGTERM... 1998-10-07 14:51:36 +00:00
christos 479c0bbe47 - Add some MIT KRB/NFS pieces, someday I'll commit the rest.
- fix prototypes for signal handlers.
- use constants from rpcsvc/mount.h, instead the RPCMNT crap.
- don't core-dump when finding a netgroup that has no host part,
  complain instead
1998-10-07 14:50:35 +00:00
fvdl 778592d8c3 Shut up gcc. 1998-10-06 15:50:30 +00:00
mrg 16d7f0c241 let chroot take "-u user", "-g group" and "-G group,list,group,..." arguments 1998-10-06 03:47:50 +00:00
matt 224e79dde2 Teach rarpd about interface aliases. 1998-10-06 00:23:55 +00:00
kim 463d00633e Allow "chown/chgrp -R -h" so we can change trees with symbolic links without
affecting stuff pointed to.  Don't allow "-R -L -h" as it would not make sense
(at least not to me) to follow all symbolic links and then use lchown.
1998-10-05 21:37:38 +00:00
tron d5a92147c7 Add support for "limit". 1998-10-05 21:37:18 +00:00
tron 6ed9191311 Fix bug in converting "sortlist", add support for "xfrnets". 1998-10-05 21:06:23 +00:00
itohy ec8a0e8dad Eliminate a memory leak. 1998-10-05 19:50:40 +00:00
tron f8433e7cf9 Invent "USE_BIND8" switch to select BIND 8.1.2 instead of BIND 4.9.6. 1998-10-05 18:15:12 +00:00
tron 55b173081e These files shouldn't have been here at all. 1998-10-05 18:09:54 +00:00
tron a4b6188cd5 Import BIND 8.1.2. 1998-10-05 18:01:57 +00:00
ross a258e2c9b1 Squelch minor LP64-related compiler warning/error (-Werror) 1998-10-05 09:02:28 +00:00
kleink 3eefada6a0 sigemptyset() sa_mask of sigaction to be installed. 1998-10-04 18:43:21 +00:00
hubertf 4cc256a5d1 fix some egcs warnings 1998-10-04 01:48:15 +00:00
hubertf 0151583b9c Teach our tools about dependencies containing wildcards. 1998-10-03 16:24:07 +00:00
hubertf 4c0a9c52a7 In an ideal world, make_playpen() and leave_playpen() would maintain
a stack of directories, we'll do with a save/restore_dirs cludge for
now. => Fixes the bug I mentioned yesterday that shows when one pkg
installs another (depending) pkg via FTP.

Fixed another bug with extract-in-place when the destination dir is
already there.
1998-10-01 21:16:26 +00:00
briggs 67c67dafdc -v shows the version of the mopd suite, not of mopprobe, specifically. 1998-09-30 15:05:01 +00:00
briggs 21cf1380f9 s/contence/contents/ 1998-09-30 14:58:56 +00:00
hwr 9e33951d8e Verify mini-header checksum.
Rearange printing of S-flag.
1998-09-30 08:57:01 +00:00
hwr 59a88e1c7f Update for IPPROTO_MOBILE 1998-09-30 06:16:07 +00:00
mrg 35d49164e0 use daemon(). remove spurious \n from rarperr() call 1998-09-29 09:21:35 +00:00
lukem 9d8ba54bed don't install in /usr/share if NOSHARE is defined 1998-09-29 07:03:37 +00:00
lukem 67fe57924e don't install in /usr/share if NOSHARE is defined 1998-09-29 06:59:53 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
christos ce88ebe827 Propagate the fix to Makefile.inc 1998-09-27 16:30:31 +00:00
christos ee5bcaffb1 Don't add LDADD dependencies in the libamu build. 1998-09-27 16:28:54 +00:00
hwr fadc6762f7 Add for packtes of IPPROTO_MOBILE (55). This is yet another
tunneling protocol which is described in RFC2004.
XXX There is no verification of the miniheader checksum at the moment.
1998-09-25 19:10:25 +00:00
jtk 5372885234 fix synopsis, per pr #6194 1998-09-25 00:47:01 +00:00
marc 3386dbf8ac refer to dhclient-script(8) 1998-09-24 04:45:32 +00:00
marc d09fc7c471 include the appreviation in the synopsis so that man -k works
intelligently.
1998-09-24 04:33:45 +00:00
itohy 20b86c5f48 The return value of setmode(3) is a pointer to malloc()'ed area
and must be freed to avoid memory leaks if called repeatedly.
1998-09-23 19:46:00 +00:00
matt 08e1d890a4 Changes so that BPF readers will get the data in fddi packet aligned along
normal boundaries.  This makes tcpdump much happier.
1998-09-20 02:36:08 +00:00
hwr f781823236 Main is int. From Soren S. Jorvang <soren@t.dk>. 1998-09-17 07:41:11 +00:00
frueauf c548010b99 Fix pr 5071 better after feedback from the Originator Havard Eidnes. 1998-09-14 21:23:07 +00:00
frueauf 988c143116 Add (ugly?) code to prevent core dump as described in pr 5071 by Havard Eidnes.
XXX Maybe someone with more taste and understanding should have a look
XXX at this? At least I prefer this over the solution provided in the pr.
1998-09-14 11:52:21 +00:00
tv 1428a599bf Rethink the origins of LDSTATIC. Instead, use an option NOLINKLIB, which
builds and installs only what is necessary to link and run binaries, when
the library is not externally useable.
- NOPIC: Create and link against a static library.
- PIC: Create, link against, and install a shared object.
- PIC+LDSTATIC: Create and link against a static library; create and
  install a shared object.
1998-09-13 23:25:18 +00:00
hwr 1374569d41 Add a tool to set/display the configuration of gre(4) interfaces. 1998-09-13 20:50:55 +00:00
hwr bdf6e1db02 Also build greconfig 1998-09-13 20:48:57 +00:00
hubertf 966a060e98 minor fixup for -e option 1998-09-12 21:59:18 +00:00
kim cc01fea167 Before running "rm -rf" on a directory try to turn on the S_IRWXU bits. 1998-09-12 07:36:49 +00:00
pk f6ed324c42 Deal with superblock changes; from PR#6032. 1998-09-11 21:22:53 +00:00
kleink c039c662a2 GMT -> UTC 1998-09-10 19:30:37 +00:00
mouse b95116821c Create tcp.keepidle, tcp.keepintvl, tcp.keepcnt, tcp.slowhz sysctls. 1998-09-10 10:46:03 +00:00
tron 63ef9847d5 Fix broken package dependence handling mentioned by Brook Milligan on
"tech-pkg@netbsd.org".
1998-09-08 21:54:01 +00:00
kim 06f0e05806 Fix paths to match the current code. 1998-09-06 06:25:59 +00:00
lukem 72549586a8 distclean is a synonym for cleandir 1998-09-05 14:57:41 +00:00
christos b5b77bba54 Back out accidental removal of CDTRCTS and fix rcsid's 1998-09-04 19:13:04 +00:00
mellon f0ee4a66e9 Oops, release the lease _before_ deconfiguring the interface. 1998-09-04 18:03:56 +00:00
mellon 2c64334bb9 Build sysconfd and statmsg 1998-09-04 18:01:59 +00:00
mellon 17cf92b7ae Reincorporate sysconfd support. Add support for releasing leases. 1998-09-04 18:01:14 +00:00
mellon f397d4ea4a Add prototype for client_reinit() 1998-09-04 18:00:17 +00:00
mellon 65a4f4bad8 Mention that statmsg depends on sysconfd. 1998-09-04 17:58:16 +00:00
mellon a8737b8da6 Documentation for sysconfd. 1998-09-04 17:57:33 +00:00
mellon 753854cd53 Add release-current-dhcp-leases message. 1998-09-04 17:51:36 +00:00
mellon d424c62366 Document statmsg command. 1998-09-04 17:50:23 +00:00
mellon b9680f85dc Add sysconf message to release DHCP-acquired leases. 1998-09-04 16:47:56 +00:00
christos 44d3b0974b Apply diffs from patchlevel 5. 1998-09-02 20:55:55 +00:00
enami 692962babe add -Dunix to CPPFLAGS to suppress cpp warning. 1998-09-01 03:16:48 +00:00
pk 3237c34e03 Emit device name to device major number table. 1998-08-30 21:33:27 +00:00
nathanw b757463521 Add braces to satisfy egcs. 1998-08-30 03:20:09 +00:00
nathanw a542b8e8e3 Add braces to satisfy egcs. 1998-08-30 01:40:15 +00:00
hubertf e6c468e777 Make really sure to only nuke LogDir when it's been set. Fixes problem
described in PR 5308, code was contributed by Eivind Eklund <eivind@yes.no>.
1998-08-28 00:35:51 +00:00
hubertf 90c872591e Allow symlinks to directories instead of pure directories in several
places (/usr/pkg, /var/db/pkg, ...). Closes PR 6009 by Jim Bernard
<jimjbernard@ox.mines.edu>.
1998-08-27 23:37:35 +00:00
ross b1934d6034 {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
ross 206d54f97f LP64 fixes for recently added code. (In LP64, ptrdiff_t != int.) 1998-08-27 20:11:31 +00:00
ross 5b1f2d4c8c Add {} pairs to shut up egcs. 1998-08-27 18:03:42 +00:00
agc 8bdbb59a69 Add csh(1)-style alternates to pkg_info -e.
Add dewey-decimal relational number matching for package version numbers.
1998-08-27 12:54:03 +00:00
christos 73270b4cf4 Add the default route as static, so that routed does not delete it. 1998-08-27 06:55:16 +00:00
lukem f6a3acc90d in -x, print MB/s two 2 decimal places. noted by enami@netbsd.org 1998-08-27 03:17:49 +00:00
tv 2ba70f299c #include <string.h> 1998-08-27 03:11:37 +00:00
enami cb5c756e90 add -x in usage. 1998-08-27 01:59:38 +00:00
enami b8d6676d67 add missing endif. 1998-08-26 02:11:58 +00:00
lukem 26afa02db6 * implement -x; extended disk statistics. option inspired by solaris' iostat.
* fix a few typos
* a bit of KNF and egcs cleanup
* add a HISTORY (hopefully correct)
1998-08-25 08:05:47 +00:00
hubertf 2fb1caee16 Pass prefix for depending pkgs. 1998-08-25 01:16:03 +00:00
hubertf d54f140300 Remove some trailing (extra) "."s. 1998-08-25 00:54:08 +00:00
hubertf 1285035fe7 Don't exit cleanup() functions if not called from signal handler - this
will show error messages before aborting.
Patch supplied by Jim Bernard <jbernard@ox.mines.edu> in PR 6010, cleanup()
in delete/perform.c prepared to be used as signal handler by me.
1998-08-25 00:12:16 +00:00
tron 6986701b82 Sync manual page and usage() with reality, patches supplied by
Jim Bernard in PR pkg/6005.
1998-08-23 10:16:19 +00:00
bouyer 95abfb960b note that messages are send to syslog daemon using facility LOG_DAEMON. 1998-08-21 09:39:32 +00:00
bouyer fe94b8f229 - Makes ypbind use syslog() (with LOG_DAEMON) instead of warn()/err().
Messages will still be printed to stderr if ypbind is started in debug mode.
- Don't exist if none of the servers listed in
  /var/yp/binding/<domainname>.ypservers are reacheable. It's a temporary
  failure that can be recovered from.
1998-08-21 09:39:04 +00:00
tv 767b9acc8e "featch" -> "fetched" 1998-08-19 12:29:00 +00:00
msaitoh d06e28b7f7 eliminate duplicated protos 1998-08-17 17:51:54 +00:00
christos 3511f44e2e Fix typos... 1998-08-12 14:25:08 +00:00
christos a7a81d1b02 Resolve corn-flakes 1998-08-12 14:11:49 +00:00
mycroft 6bbe486e22 If we get a weird vendor ID, just send it back. This is necessary to make at
least one type of system (old NeXTs) boot.
1998-08-09 16:47:52 +00:00
christos 01c4ec85f3 Change amq string size to 10K from 1K so that we can print large versions. 1998-08-08 22:52:59 +00:00
christos ac8587765d Resolve corn-flakes and remove obsolete files 1998-08-08 22:33:27 +00:00
christos 0d352ac375 Import a16, with some local fixes... 1998-08-08 22:05:22 +00:00
mycroft f350d95237 NetBSD.ORG -> netbsd.org 1998-08-07 13:55:12 +00:00
kleink ee14eecc51 Change the primary/secondary WINS Configuration Option Type IDs (128, 130) to
match those specified by RFC1877 (130, 132); from Terry Moore <tmm@mcci.com>
in PR bin/5701.
1998-08-06 20:13:14 +00:00
tv c166f15971 NetBSD doesn't support the tahoe. 1998-08-06 14:56:17 +00:00
mikel f48c684893 handle negative arguments correctly 1998-08-04 04:33:15 +00:00
sommerfe ff9a2c8d5c oops, KNF that 1998-07-31 21:38:43 +00:00
sommerfe c13b52407e Fix long-standing bug which causes dhclient to clobber interface configs on uninvolved interfaces 1998-07-31 21:27:08 +00:00
tron 0ffcc8e911 Use "[host]: " as prefix for forwarded messages to distinguish them
from message originated by the forwarding host, fixes PR bin/5860 by
Greg A. Woods.
1998-07-30 23:29:29 +00:00
frueauf d7e113cce6 Use the variable u instead of p in line 641 to prevent sup coredumping. 1998-07-30 21:03:48 +00:00
fair 72dfb07bbe usage & comment string patch, per PR#5859 1998-07-29 07:26:29 +00:00
simonb d3eedb9246 Remove useless BINOWN=root, BINMODE=555 and BINDIR=/usr/sbin 1998-07-29 01:19:00 +00:00
mycroft af3e07f7d1 __AUDIT__ cleanup. 1998-07-28 19:27:39 +00:00
mycroft 2e9ada3aff const propagation. 1998-07-27 15:11:06 +00:00
mycroft c77b5a980c const poisoning. 1998-07-27 01:07:01 +00:00
mycroft 1f86e5830d const poisoning. 1998-07-27 00:52:00 +00:00
mycroft 3d7514132e const poisoning. 1998-07-26 16:01:12 +00:00
mycroft 160249f79c const poisoning. 1998-07-26 15:48:43 +00:00
mycroft 3c0eeb1ed3 const poisoning. 1998-07-26 15:34:18 +00:00
mycroft 66427701ea const poisoning. 1998-07-26 15:23:39 +00:00
mycroft 907740b591 Nuke redundant extern. 1998-07-26 13:27:34 +00:00
mycroft 48ba78aafd const poisoning. 1998-07-26 12:00:43 +00:00
explorer d1c69e189b HAVE_HDLC, not just HDLC 1998-07-25 11:39:53 +00:00
explorer 5aab21dfbb changes to print hdlc framing info 1998-07-25 11:30:43 +00:00
mycroft b21020c6b1 SPARC uses 8k virtual pages for linking. 1998-07-25 06:01:13 +00:00
augustss a07569cb70 Fix typo in getopt string. 1998-07-23 18:39:53 +00:00
augustss cf835b8a8d Update man page.
Be a little more verbose with -v when no controllers were found.
1998-07-23 13:57:51 +00:00
drochner 017037d6b1 adapt to changed dkinit() in ../../usr.bin/vmstat/dkstats.c 1998-07-19 17:48:15 +00:00
lukem 786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
is a9f772b8bb Add path mtu discovery. Idea and code fragments by W. Richard Stevens. 1998-07-17 23:45:24 +00:00
tron ec7c8ec161 From "buqtraq": avoid file descriptor leak if service is looping. 1998-07-16 08:55:43 +00:00
fvdl e2380de37c Clarify -n comment. 1998-07-15 22:00:59 +00:00
lukem ee2b020c89 pull in /etc/rc.conf if it exists, and use $named_flags as an arg to named 1998-07-15 02:44:52 +00:00
frueauf 6711f91976 Fix typo, closes pr 5753 by Mason Loring Bliss. 1998-07-14 21:19:08 +00:00
mrg 84ce584a5f - standardise some option processing
- don't bother copying the exports filename, it isn't necessary
- unblock SIGHUP after returning "mount refuse" error
- KNF, and remove the singular register
1998-07-13 14:24:24 +00:00
mrg 99b44231f5 minor KNF nits. 1998-07-13 12:01:03 +00:00
augustss 6b7023e319 Fix some typos. 1998-07-13 11:01:50 +00:00
mrg 5c8240d257 KNF. be safe with buffers. use setsid(). 1998-07-13 06:31:31 +00:00
mrg 7899faca6b KNF. 1998-07-13 05:43:50 +00:00
augustss 3ac7469e03 Remove some Makefile cruft and improve an error message. 1998-07-12 20:40:44 +00:00
augustss 81565845ef Add missing copyright notice. 1998-07-12 20:32:30 +00:00
augustss deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
veego dd81fd7d91 Resolve conflict from the import. 1998-07-12 15:01:49 +00:00
veego 2e7d01894c Import IP Filter 3.2.9 1998-07-12 14:48:00 +00:00
veego 1fdca009c8 ups, forgot to remove the #'s. 1998-07-12 14:45:10 +00:00
veego 8b98bfa257 Fix the 'RCS tag' conversion. 1998-07-12 14:39:11 +00:00
hubertf 89f14c0f4e Prevent args of pkg_info -e from expansion (in case wildcard matching is requested) 1998-07-12 14:05:51 +00:00
mrg 1cd9ed7799 minor KNF. 1998-07-12 09:13:27 +00:00
mellon e7910d8d32 Hard-code NetBSD-specific directory names 1998-07-11 00:04:23 +00:00
mellon dac2726066 Document NetBSD-specific system requirements. 1998-07-11 00:02:39 +00:00
mellon b13a0491e0 Hard-code NetBSD-specific directory names 1998-07-11 00:02:08 +00:00
mellon 53904df9e4 Document NetBSD-specific system requirements. 1998-07-10 23:58:27 +00:00
rvb a7bec6f8a2 The .o files should depend on the h file, not the .c files 1998-07-10 16:37:55 +00:00
msaitoh 4944940fcf Declare ints, too, don't default them. 1998-07-09 18:32:52 +00:00
hubertf 7a033bd0d4 Extend "pkg_info -e" to allow pkg-globbing, and allow using it. 1998-07-09 17:49:51 +00:00
hubertf ad11dcd500 Replace FreeBSD's libftpio with our calls to our great ftp client. 1998-07-09 16:47:26 +00:00
cgd da88f08f26 if you're going to length-check a field before using it, length-check
the field you're actually going to use.  (bp_sname was being checked
instead of bp_file.)
1998-07-08 22:14:10 +00:00
mrg 31283e2cd0 fix error in previous pointed out by bad. minor KNFing. 1998-07-08 15:17:57 +00:00
hubertf cab003200b Abort on "rm -rf /"... 1998-07-08 07:17:30 +00:00
mrg 18ae3abbcd fix "-s" option 1998-07-07 17:05:28 +00:00
mrg c0aa4ce503 oops, missed this in gethostname sweep. 1998-07-07 03:36:53 +00:00
mrg 33c0bbba35 add "lp -s" switch, from darcy@druid.net in pr#5713. document "lp -s" and "lp -o" 1998-07-07 02:01:37 +00:00
mrg 80efe80bc9 - change setgid kmem programs (that lend themselves to this) so setegid(getgid())
and the top, and then set the effective gid back to kmem around the call to
  kvm_openfiles().  this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
  kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg 32f519716b - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:56:06 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
tron 1ea9bb436f When adding a binary package from a locale file "pkg_add" fails now if
a dependence can't be resolved unless "-f" is used, fixes PR pkg/5625
by Jeremy Cooper.
1998-07-05 21:15:55 +00:00
mrg c2b498a921 KNF. 1998-07-05 06:20:05 +00:00
mrg 5b9ccc383d use destination's size in 2 memcpy calls. 1998-07-04 21:31:59 +00:00
mrg 5a91a6622c KNF + check for fork failure. 1998-07-04 21:04:02 +00:00
mrg 26b338e7f0 ensure we do not overrun errbuf. 1998-07-04 20:47:24 +00:00
jonathan 50ca59e842 Fix braino. 1998-06-30 03:42:23 +00:00
jonathan eaa351c789 * Check that any declared option (def{opt,param,flag}, filesystem
is declared at most once.
* Do option dependency across all def{opt,param, flag}.
* Make the default value of otherwise-unspecified defopt's be 1,
  for consistency with non-defopt'ed options.
* Wrap an abstraction layer (macros) around tests for defopt, filesystem,
  defparam, etc. to catch outdated  defopt-vs-filesystem tests.
1998-06-30 03:30:56 +00:00
nathanw e14ca04293 Document shortcorename support and control. 1998-06-28 21:36:55 +00:00
scottr a5427da04d Add and document the -v flag, and only print option-related warnings
if this flag is specified.
1998-06-28 04:41:36 +00:00
tv bf6bf05ae1 Fix hannken's fix: The correct way to keep pstat.c from looking for any
"opt_*.h" files is to set a flag that tells the header files not to look for
anything in the kernel compile directory, i.e. _LKM.

Just rearranging includes doesn't work because it'll just break again,
eventually, as more stuff is defopted.
1998-06-26 19:52:29 +00:00
hannken 653c43d0f5 Make it compile again. Include <sys/socket.h> before setting _KERNEL.
Otherwise the chain pstat.c -> <sys/mount.h> -> <sys/socket.h> fails
with 'opt_compat_freebsd.h: No such file or directory' ...
1998-06-26 14:17:01 +00:00
jonathan 0925cf4fda Stronger checking of options:
* machinery for nonfatal warnings.
* new backend config-file keywords:
     defparam -- like defopt, but each defparam option is required
		 to have a value when configured via "options".
     defflag -- like defopt, but defflag options may not have a value.
		 Also, on "option FOO",  a needs-count style flag
		 (NFOO, either 0 or 1)  is emitted to the .h file.

* Warn about old-style options that aren't defined via def{opt,param,flag}
  and which are  added to IDENT. (These behave subtly differently
  to defopt options when  no explicit value is given.)
1998-06-24 11:20:54 +00:00
kleink 1f491461e0 Need <time.h> for time(). 1998-06-24 10:26:08 +00:00
tron 00d198478f Fix broken call to dbopen(), fixes PR bin/5637 by Azuma Okamoto. 1998-06-22 20:40:01 +00:00
lukem e31c1515a6 divide (not multiply) ratio by 256 1998-06-18 08:03:08 +00:00
kleink 41dc2c91bd Fix LP64 botches introduced in last commit. 1998-06-11 14:50:46 +00:00
kleink 8bced1141c Fix an LP64 botch introduced in last commit; reported by Tim Rightnour. 1998-06-10 21:15:41 +00:00
scottr e6eb7d0530 Implement option dependencies as part of the defopt action. We currently
restrict depended-on (or "implied") options to those that have been
previously defopt'ed, which inherently eliminates any cycles in the option
graph.
1998-06-10 04:33:31 +00:00
lukem fc90756956 Implement a new manual page category ``SECURITY CONSIDERATIONS''
(suggested by mycroft)
1998-06-08 12:41:41 +00:00
lukem d86c20ef36 remove unnecessary comment 1998-06-08 12:38:41 +00:00
lukem fa0c2d578e everything has bugs; either document them or don't bother with a BUGS section 1998-06-08 12:36:55 +00:00
lukem 211a72a8dc convert from in-house read_line to fparseln() 1998-06-08 06:53:47 +00:00
lukem d595bfe79d add ypinit -c (setup yp client) 1998-06-08 06:29:25 +00:00
lukem 3ed28f5cc1 disable INSECURE=yes now that libc support master.passwd YP maps 1998-06-08 03:44:34 +00:00
lukem c5b39b1d5a treat single "+" as "+:::::::::" (pw_scan() doesnt like former). minor KNF 1998-06-08 03:23:07 +00:00
lukem 77a05c5b00 clear flags before calling pw_scan() 1998-06-07 14:40:29 +00:00
enami fcc684632c Remove comma at the end of SEE ALSO list. 1998-06-07 08:03:50 +00:00
frueauf dd2f801595 Add support for CONFLICTS entry, implement -C switch for pkg_create
and document that new feature.
1998-06-05 11:22:19 +00:00
msaitoh e167016fdb The service name of the rwhod(8) is not "rwho" but "who". 1998-06-04 13:31:40 +00:00
lukem ce2d32b0d7 don't leak unnecessary info 1998-06-03 00:13:02 +00:00
kleink e6be56ae0b Need <stdlib.h> for mktemp() prototype. 1998-06-01 14:05:35 +00:00
kleink cf82cd0b86 Need <stdlib.h> for setkey() prototype. 1998-06-01 14:00:11 +00:00
thorpej c7a84c77fa If the client requests a specific boot file, echo it back, per RFC951. 1998-05-31 00:37:38 +00:00
veego 7176ddee62 Ups, again put the NetBSD rcs id into this files. 1998-05-29 21:01:45 +00:00
veego 42364dd3bb Remove 14 and the hole results directory during a make clean. 1998-05-29 20:59:43 +00:00
veego e8450f8d3b A little better support to make it work in an NetBSD tree. 1998-05-29 20:57:10 +00:00
veego 8ed932e111 Fix a printf compiler warning. 1998-05-29 20:52:04 +00:00
veego 1e27ada63f Fix a compiler warning for the handlehup argument. 1998-05-29 20:50:55 +00:00
veego 1198b69377 Resolve conflicts from the import of IPFilter 3.2.7. 1998-05-29 20:46:45 +00:00
veego 5f1fcd9bd8 Import IP Filter 3.2.7 1998-05-29 20:14:16 +00:00
jeremy 52a7423256 Documented how the require and install scripts interact with the installation
process more clearly.
1998-05-28 02:30:39 +00:00
matt 40841db9cc NetBSD uses "normal" bit order for FDDI addresses. 1998-05-24 21:41:30 +00:00
thorpej 6ac52dea77 Display a more meaningful error message if the bpf open fails. 1998-05-24 20:30:55 +00:00
kleink 2a4b2482f5 Permit checking the availability of the POSIX File Synchronization Option
(a/k/a fsync(2)), System V style message queues, semaphores and shared memory
at runtime by adding a sysctl variable for each.
1998-05-24 19:52:01 +00:00
tv 2c23336179 Add missing colon in error message. 1998-05-22 19:29:00 +00:00
msaitoh f8c66df30b sort entries and delete extra periods in SEE also section. 1998-05-22 18:27:50 +00:00
veego 0d6591bf7b Partly apply the patch from bin/5466. One fix was allready imported during
the last ipf import.
1998-05-20 19:21:19 +00:00
hubertf c086a7443b No need to unpack file after fileGetURL(), which already did the work for us;
Fixes PR 5456 by "Heiko W.Rupp" <hwr@pilhuhn.de>
1998-05-18 23:47:23 +00:00
hubertf 55444efe60 return new dir; fixes PR 5456 by "Heiko W.Rupp" <hwr@pilhuhn.de> 1998-05-18 23:43:57 +00:00
mellon 9f60f89a46 Version 2.0 Beta 1 Patchlevel 1 1998-05-18 06:53:52 +00:00
veego 255d05844a Fix some warnings introduced in the new version:
- unused label finishbuf
- missing protoype for logopts
- unused function handlehup
1998-05-17 17:16:32 +00:00
veego 82423e3d01 Resolve conflicts 1998-05-17 16:50:15 +00:00
kml ac2b8eb7d6 Correct copyright date and NetBSD revision name formatting 1998-05-17 16:47:26 +00:00
veego d7c5c548fb Import IP Filter 3.2.5 1998-05-17 16:29:42 +00:00
veego 8e900f5ee8 Fix mkdir lossage from rev 1.22 and change two Makefiles to match the one
in tree.
1998-05-17 16:05:39 +00:00
kml d073a8144e Adding eshconfig, used to configure esh (HIPPI network interface) 1998-05-16 18:55:17 +00:00
is 6ee3015175 Avoid using FP where its no win. 1998-05-14 21:49:13 +00:00
thorpej 51e30a086a Quote confFOO, pointed out by enami@netbsd.org 1998-05-12 01:23:49 +00:00
thorpej a23636d506 oops, typo 1998-05-12 00:43:08 +00:00
thorpej 59c3272ca2 Add temporary mailer configuration for babylon.netbsd.org 1998-05-12 00:42:35 +00:00
kleink 37bede84a4 Use strerror(3) instead of sys_errlist and sys_nerr. 1998-05-09 17:22:07 +00:00
kleink f6c179f10e Fix arithmetics lossage on typeless pointers. 1998-05-08 19:03:41 +00:00
agc 47f6bce353 Add a check (from FreeBSD) so that the removal of the temporary dir
takes place only once, if pkg_add is interrupted, and exit after the
cleanup is done.
1998-05-06 15:05:29 +00:00
mrg 870d77713b commit BIND 4.9.7-TB1 changes (still no BIND 4.9.7 release): from the
BIND changes file:

808. [security] A number of routines did insufficient bounds checking which
              could cause crashes by reading from an invalid memory
              location. (From BIND-8).

807. [bug]    The server sometimes leaked the flushset (ns_resp.c).
              (From BIND-8).

806. [bug]    add_related_additional() leaked memory if the name
              was already in the related array.  (From BIND-8).
1998-05-06 05:21:45 +00:00
mycroft 9c56569322 Change some variable names to reflect changes in the previous revision. 1998-05-05 08:59:56 +00:00
christos ea4bc98c9f PR/5384: Tom Ivar Helbekkmo: We need a ctty to fsetown. 1998-05-02 15:28:32 +00:00
christos a6551c37bd Resolve conflicts 1998-05-02 14:55:19 +00:00
christos 1e38977381 Resolve conflicts 1998-05-02 14:31:10 +00:00
christos 30402427a8 Import the readme files, setup and FAQ 1998-05-02 14:21:43 +00:00
christos 57daeb39d8 Resolve conflicts. 1998-05-02 14:19:13 +00:00
thorpej 932b5508ac Note net.inet.tcp.ack_on_push. 1998-05-02 04:20:18 +00:00
tv 95fadaa10e Add CLEANFILES+=gram.h as noticed by tron (PR 5383) 1998-05-01 13:02:09 +00:00
thorpej 723fb3cccc Add support for specifying the send and receive socket buffer sizes. This
is especially useful for TCP servers which must specify the receive
socket buffer size before the connection is made so that the connection's
window scale factor can be properly advertised.

Example /etc/inetd.conf configuration line:

shell stream tcp,rcvbuf=1m nowait root /usr/libexec/rshd rshd

That line will cause the rshd to advertise a 1 megabyte window, which could
improve the performance of an rcp in some situations.
1998-05-01 01:57:26 +00:00
thorpej e1a08a949e Note the existence of net.inet.ip.mtudisctimeout. 1998-04-30 21:46:00 +00:00
thorpej 44bd3f51fe Note the presence of net.inet.tcp.: mssdflt, sack, win_scale, timestamps,
compat_42, cwm, cwm_burstsize.
1998-04-30 21:36:03 +00:00
fair 1628920950 Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z] 1998-04-28 07:19:28 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
fair c46ab392dc Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
fair c462d9c37d add documentation of /etc/ptmp and vipw failure modes per PR#5340 1998-04-27 21:10:25 +00:00
kleink 70ae83a7e1 Use <sys/param.h> instead of <sys/types.h>: <netdb.h> and MAXHOSTNAMELEN are
not related to each other, and it should not be assumed that inclusion of the
former makes visible the latter.
1998-04-23 19:32:40 +00:00
tv 5c58321a6f mk-amd-map severe breakage fixes as pointed out by noud@knot.nl:
- use dbm_close() so that the file actually gets written to disk
- rename %s.db, not *s.{dir,pag}; we use Berkeley DB, not ndbm.
1998-04-23 11:51:07 +00:00
agc 62aaf11f0b In isdir() function, use lstat(2) instead of stat(2), so that we do
not traverse through any symbolic link.  This fix means that packages
which make symbolic links to directories can now be de-installed.
1998-04-23 10:40:04 +00:00
mrg b7e46f9175 support /var/run/rarpd.pid 1998-04-23 02:48:33 +00:00
ross aaa420bc1f Restore lost line breaks before .Nm. (David Brownlee PR# 5343)
Two more cases fixed, also.
1998-04-22 06:24:55 +00:00