Commit Graph

4639 Commits

Author SHA1 Message Date
wiz 57feeb4802 Xref ntpd(8), not NTP. Whitespace fixes. 2001-04-05 11:53:11 +00:00
wiz 96078f3a14 tcpdump(8), not (1), and syslogd(8), not syslog(1). Whitespace fixes. 2001-04-05 11:52:18 +00:00
wiz f1eb267290 uucico(8), not (1). Whitespace fixes. 2001-04-05 11:50:48 +00:00
wiz 837f3243f8 moptrace(1), not (8). Whitespace fixes. 2001-04-05 11:50:06 +00:00
wiz 2ff26b9838 Improve markup, and add sections to xrefs, as well as the obligatory
whitespace fixes.
2001-04-05 11:49:14 +00:00
wiz 01140dad65 dhclient.conf lives in 5, not 8. Whitespace fixes. 2001-04-05 11:47:17 +00:00
wiz c496d212b3 Improve markup a bit. 2001-04-04 11:18:07 +00:00
wiz c106ab288c Comment out reference to tlid.conf in the SEE ALSO section. 2001-04-03 12:05:12 +00:00
wiz 248b28b11a Mention path to font files in FILES section, and remove outdated
section about their non-existance.
2001-04-03 12:02:22 +00:00
wiz 2b5b6da8ef Xref wskbd 4, not 8. 2001-04-03 12:01:39 +00:00
wiz 7557a03344 Don't xref old name of the command, just Ic it. Whitespace fix. 2001-04-03 11:42:40 +00:00
wiz 9bd00f5b56 Add sections to some xrefs. 2001-04-03 11:29:47 +00:00
wiz aa3d785edc Add section to a .Xr. 2001-04-03 11:28:44 +00:00
wiz 4dea69431e Add sections to some xrefs. Whitespace fixes while I'm here. 2001-04-03 11:28:21 +00:00
wiz 9ce3f772a3 Xref tcpdump 8, not 1. 2001-04-03 11:27:42 +00:00
wiz c177247450 Xref inet 4, not 5. 2001-04-03 11:27:01 +00:00
wiz 6542c07106 Xref apm 8, not 1. Whitespace fixes while I'm here. 2001-04-03 11:24:20 +00:00
wiz a0550347cb Xref login 1, not 8. 2001-04-03 11:23:35 +00:00
mellon f22201f8eb Oops, minires->dst in DSTOBJDIR 2001-04-03 01:00:03 +00:00
mellon a7a21c452b Fix various makefile glitches 2001-04-03 00:49:15 +00:00
mellon 48c3fd90d7 No longer pertinent 2001-04-03 00:01:32 +00:00
mellon fcb927dc03 Make a BSD-style Makefile. 2001-04-02 23:59:16 +00:00
mellon 4400cf656e No longer pertinent 2001-04-02 23:55:16 +00:00
mellon b6b233a9ba Merge of 3.0b2pl23 2001-04-02 23:45:52 +00:00
mellon 7ac99333ec ISC DHCP 3.0b2pl23 2001-04-02 21:56:50 +00:00
wiz a519e87244 This gets installed as tcpdump.8, so make it's section 8 (was 1). 2001-04-02 18:34:23 +00:00
itojun 94cdb4e17c copy config hint docs to /usr/share. 2001-04-01 23:47:45 +00:00
thorpej 4576721e6c Add some glue to let us easily use Boehm-GC to track down
memory leaks.  Requires some (not yet committed) changes to
the racoon sources.
2001-03-30 06:38:25 +00:00
hubertf 6890588691 If a package is already installed, this is *not* a fatal error. Do not
report error code 1, as this will abort installing pkgs if a dependency is
already found installed under certain conditions.
2001-03-28 12:46:01 +00:00
simonb a378517ea4 80 column police. 2001-03-28 03:17:41 +00:00
christos f69fcce6d5 improve readability of error messages by quoting the string that we
did not understand. Avoids lossage like "unknown group named".
2001-03-25 20:02:01 +00:00
martin f3c869b6c5 Oops: there was a userland visible change in the recent layer 1 <-> upper
layers change inside the kernel, a struct exported in (diagnostic) trace
data has changed.
Adopt the trace utility to cope with this.
2001-03-24 18:08:11 +00:00
tron d059ac0ad9 Use "tar" included in latest Zoularis under SunOS. 2001-03-23 14:06:16 +00:00
hubertf 35be797120 Set return code != 0 if the given pkg (file) cannot be found.
E.g. try "pkg_add foo ; echo $?". This hits is in bulk builds.
2001-03-22 13:41:35 +00:00
cgd 42bf2daf5b use setprogname 2001-03-21 23:56:35 +00:00
cgd bea3342290 slight cleanup: KNF, and one line breaking tweak to make usage() slightly
more diffable w/ the BFD version in pkgsrc.
2001-03-21 23:46:48 +00:00
cgd 7760ae7215 check for size_t overflow using cast, rather than comparison with
SIZE_T_MAX.  The latter is less portable.
2001-03-21 23:27:33 +00:00
itojun bbde910f4e plug memory leak. PR 12444. 2001-03-21 17:02:43 +00:00
itojun 205669dc96 avoid dereferencing null pointer. from kame. 2001-03-21 15:28:29 +00:00
ad 4dda75dadb Actually pad the pg buffers this time. 2001-03-21 14:27:29 +00:00
wiz 47acaa6b2d Update path in example to a more recent package. Noted by zuntum. 2001-03-20 19:43:36 +00:00
bouyer 0023d0f38f Enlarge inode fields (for quotas with more than 99999 inodes). 2001-03-20 13:38:26 +00:00
ad 2b5d9695ea - dev/i2o/iopvar.h is replaced by iopio.h.
- Handle message transport failure when retrieving parameters.
- Pad the parameter group buffer for Intel devices.
- Display the TID <-> device map upon request.
- Complain properly if we don't know about the command that was given.
2001-03-20 13:07:51 +00:00
itojun 722e18b9a5 avoid zombies on abnormal disconnects. sync with kame 2001-03-20 01:13:46 +00:00
fair 0ea0f71aad modified patch from PR 8566 to print the interface name for each ARP table
entry, in addition to the MAC address to IP address mapping. Tested on
NetBSD/alpha 1.4.3 and NetBSD/sparc 1.5.1_ALPHA
2001-03-19 19:49:30 +00:00
msaitoh 1af40d9ce4 Fix a long standing bug.
Old kvm_mkdb had a possibility to check old kernel's version
string retained at a hole between text segment and data segment.
It might happen a misunderstanding that the running kernel's version
matches kvm.db's version.

This had been caused by checking current kernel's version string
via /dev/kmem. The version string can get via sysctl, so use it!
2001-03-19 15:18:59 +00:00
lukem 5bb4d7013b use Ar macro appropriately 2001-03-19 03:41:42 +00:00
hubertf 648fa44a28 Add -u switch to pkg_add to do a very rudimentare form of pkg upgrading:
When invoked with 'pkg_add -u ...', and the package to be installed is
found already being installed, the old (installed) package is removed
with pkg_delete, and the new one is installed.

A very crude handling of dependencies is done (by moving the +REQUIRED_BY
file aside before pkg_delete, and back into place after the new pkg is
installed).

This needs a lot more work to TRT, but it's a first start.
2001-03-18 03:20:28 +00:00
christos 097d846614 use fparseln() 2001-03-17 20:43:55 +00:00
tron ba90c54610 Don't force numeirc IP address for "-h" argument when invoking "ypxfr"
because neither "ypxfr" nor the YP bits of "libc" can handle IPv6. If the
hostname is used there will be an automatic fallback to IPv4 which makes
server pushed work again in mixed IPv4 and IPv6 environments. This fixes
bin/11755 by myself.
2001-03-16 22:14:45 +00:00
agc 22e9dcf29e Prevent a core dump if a kernel doesn't have a valid symbol section
header - instead, fail gracefully with a "no symbol section header
found" message.
2001-03-16 14:12:43 +00:00
garbled d0d9366447 Back out part of last change. it had an undesired effect. 2001-03-16 12:54:47 +00:00
fair 1cab78c82a Document TCPmux internal service, per additional discussion of PR 12325.
The text was snatched directly from the comment about it in inetd.c and
modified for better clarity.
2001-03-16 08:19:13 +00:00
garbled db9db9cc00 Handle the error case that the script specified in an escript-like form
function does not exist a little better, rather than dying later in fgetln.
Also fix up a wierd corner case in escript where the programmer forgets
to put in the scriptname.
2001-03-15 09:10:31 +00:00
bouyer 154b1d1121 Fix int overflow for large quota, PR bin/12383 from mori@tri.asanuma.co.jp 2001-03-14 19:34:37 +00:00
garbled dc4794cae1 Fix a few bugs in the handling of INVIS and NOEDIT fields. Mostly having
to do with very large fields being cut off by the end of the screen.
Also.. change the max-width of an onscreen field to 19 from 21..  I don't
know where I got 21 from.. but it was definately wrong.
2001-03-14 08:22:00 +00:00
hubertf ee1019de50 Update description a bit - inspired by Jeremy C. Reed <reed@reedmedia.net>
from tech-pkg.
2001-03-13 18:25:30 +00:00
wiz 6b37581cf5 Restore default handler for SIG_CHLD before starting grand-children.
Idea by Christos Zoulas. Fixes bin/11778.
2001-03-13 17:51:50 +00:00
christos 4b374bca7a add -lcurses 2001-03-13 16:30:13 +00:00
christos c4e5d9e2b5 add -DSTATETOP to enable top(1) style display for ipfstat. 2001-03-13 16:29:42 +00:00
itojun 0dff585654 cope with malformed packets better.
ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-01:28/timed.patch
2001-03-13 00:14:39 +00:00
wiz 63f7d31eeb Fix -r: Show REQ/+REQUIRE file for a package, if existing. Fixes pkg/12210.
Patch by Hubert Feyrer.
Note: REQ support has been taken out of bsd.pkg.mk in v1.628; since
pkg_create still supports it, we should support it in pkg_info too,
though.
2001-03-10 18:41:45 +00:00
wiz c62849a451 Minor cleanup, no functional change. Patch by Hubert Feyrer. 2001-03-10 13:18:09 +00:00
fair 232ed76f81 Add text to more clearly document that tcpd is not needed, per PR 10754.
Add a FILES section. Add a few more references to SEE ALSO.
Clean up nroff nits (e.g. spaces at end of line).
2001-03-10 11:52:51 +00:00
simonb 7cbb4e05a0 ANSIfy, KNF, in preperation for more work. 2001-03-09 03:09:45 +00:00
itojun ac2d37627a correct delroute() against host routes. clarify ROUTE6D p2p advert behavior
(no behavior change for normal use).  sync with kame
2001-03-08 03:24:47 +00:00
garbled 3812bc3f00 Remove __FILE__ and __LINE__ from a normal error message reported via
syslog.  Closes PR 5875
2001-03-07 21:46:04 +00:00
garbled 2566752a91 Add IPV6 and IPV4 field types to sushi. 2001-03-07 10:10:20 +00:00
wiz a456915f39 Bump version to 20010307 (yesterday's bugfix, and a 1.4 build fix). 2001-03-07 10:04:33 +00:00
wiz 2bf9002908 This header file needs no __RCSID. 2001-03-07 09:44:40 +00:00
wiz f2496b9080 Test matching entries in /var/db/pkg on if they are directories.
Fixes pkg/12073 by Dan McMahill.
2001-03-06 10:30:54 +00:00
wiz e0fc1c5416 Fix typos in comments 2001-03-06 10:29:11 +00:00
wiz 45678a8082 version.o depends on version.h. 2001-03-05 18:24:58 +00:00
wiz 429d019073 Don't allow NULL version packages to match. Patch by hubertf.
Bump version to 20010306.
2001-03-05 18:12:49 +00:00
wiz 2ba98ef9a1 Add -V option to all pkgtools, which reports the version of the pkgtools.
Document it. While there, fix the ordering of the option descriptions in
some man pages. Set version to 20010305.
2001-03-05 16:53:12 +00:00
wiz fcf23e4f53 Using strcmp with NULL pointers is a bad idea. Fixes pkg/11647. 2001-03-05 16:48:35 +00:00
wiz 6c81e9b559 Fix command line for tar in the case that the file to be handled doesn't
end in 'z' or 'Z'.
2001-03-05 16:46:23 +00:00
hubertf 4b8c25f151 Prevent some minor descriptor leaks. 2001-03-04 18:16:42 +00:00
mrg 9f716be17e quote argments to .Nd 2001-03-04 15:59:55 +00:00
bjh21 e4fc14ba1d Mention relevant RFCs in "SEE ALSO". 2001-03-04 14:18:32 +00:00
garbled bde8ce5b17 Change the scripting and logging functions to flip the value, rather than
require an on/off argument.  Change the little bottom-label so the user
can see what the current value of scripting and logging is at all times.
2001-03-03 13:54:22 +00:00
itojun f57618a4b7 sync cisco hdlc packet printer with tcpdump.org. 2001-03-01 15:13:31 +00:00
cgd 82f3142780 fix NetBSD RCS id tags 2001-02-27 19:04:39 +00:00
christos b0d96d85f8 make this compile again. 2001-02-23 08:52:00 +00:00
itojun 96863758b7 remove WARNS=0. from enami 2001-02-22 03:11:24 +00:00
itojun a5316a5fa5 sync with 2/22 code. -B and -Z,
bundle proposal interpretation, and some other fixes.
XXX WARNS?=0 in racoon/Makefile is necessary to compile yacc-generated files
(static function, generated by yacc, is never used).
2001-02-22 02:33:06 +00:00
hubertf 55a4568c92 Make usage message match that of other pkg_* programs:
* user lowercase "usage"
 * do not use __progname/getprogname() to make this build on old systems
   (the pkg_install pkg is intended to run on 1.4 and maybe 1.3 too...)
2001-02-21 13:12:47 +00:00
minoura 271f6f5585 Accept INSCSI0, EXSCSI3, etc. as the boot.device setting.
Code from Tetsuya Isaki <isaki@se.hiroshima-u.ac.jp>.
Plus, some const'ify.
2001-02-21 13:09:18 +00:00
agc 542fb8cd9a Mention that pwd_mkdb(8) is used to update the database, and that it may
take some time to complete at large sites, as in vipw(8).

Cross-reference pwd_mkdb(8)
2001-02-21 12:16:07 +00:00
agc 2add959bb8 Mention that useradd(8), userdel(8) and usermod(8) all conform to the
locking scheme, and cross reference those utilities.
2001-02-21 12:14:37 +00:00
itojun aa13ada450 print multiple question section. improve TSIG printing.
sync with tcpdump.org.
2001-02-21 05:59:25 +00:00
cgd 040de26f85 call setprogname(argv[0]) at start of main() 2001-02-21 00:06:22 +00:00
cgd c2bdafab79 use getprogname() 2001-02-20 23:51:59 +00:00
hubertf 1156c833f6 Remove all the "#ifdef __APPLE__" code, to make this actually
build again on Darwin. The code in question is outdated.

OK'd by Wilfredo Sanchez wsanchez@MIT.EDU.
2001-02-20 19:45:51 +00:00
joda 7478bd5e34 convert parameters to host byte order before printing them 2001-02-20 19:18:32 +00:00
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
enami 8eaad363dc s/preffered/preferred/ in message. 2001-02-19 09:53:50 +00:00
tsutsui 3a7ec5d5cd Define both NLIST_ELF32 and NLIST_AOUT on m68k. 2001-02-18 05:58:35 +00:00
bjh21 d47ff437ed Make both ARM ports support both NLIST_AOUT and NLIST_ELF32. 2001-02-17 21:18:40 +00:00
enami 62589880a5 No need to invoke extra shell. 2001-02-16 01:05:32 +00:00
enami 5d315aaaf9 Run make in compat mode while evaluating rhs of != op. 2001-02-16 01:01:39 +00:00
itojun 20540573e7 pull latest faithd from kame. /etc/faithd.conf allows you to filter by prefix.
manpage cleanups.
2001-02-15 17:58:55 +00:00
simonb 785b754775 Use separate printf()s instead of using a saved format string. Fixes
compiles with "FORMAT_AUDIT=yes WFORMAT=2".
2001-02-15 02:32:26 +00:00
simonb 32f6d71ea4 Remove a duplicated "md->name" in a warnx call.
Noticed by Tyrel Beede on current-users.
2001-02-15 01:59:54 +00:00
lukem e379b8ae5f groupmod: ensure that the modified group has the trailing newline 2001-02-13 21:27:03 +00:00
assar 03d6b1489a update make infrastructure and shlib versions numbers for heimdal 0.3e 2001-02-11 18:02:04 +00:00
itojun 9e66537acb use version identification same as ISC's. 2001-02-11 06:45:59 +00:00
enami d80b31fd76 Don't rely on the struct e_vnode since it isn't a part of KERN_VNODE sysctl
interface and it actually breaks pstat -v on an architecture on which
compiler emits padding between the struct's members.
2001-02-11 03:01:05 +00:00
enami 693aff020e Protect statement macro with do { ... } while(0). 2001-02-11 02:44:27 +00:00
lukem c1c612f728 link named-xfer statically, to make building chroot-ed named cages much easier 2001-02-11 01:33:59 +00:00
enami 1cfd16779b Pull in decl. of memset() so that this can be compiled on alpha. 2001-02-09 01:31:52 +00:00
itojun 5cb09b1c66 sync with latest kame tree. ndp -n -a is prettier with longer addresses.
-l is obsolete (igored).
2001-02-08 07:37:18 +00:00
joda aaa8b0ecdc only link against -lkadm5srv 2001-02-07 14:07:47 +00:00
itojun 0a7bed1113 bring in latest kame code.
- correct RTA_NETMASK processing
- correct -A filter behavior (do not advert aggregated route to other if)
- better signal handling
- mandate getifaddrs
- do not advert connected routes on !IFF_UP routes.  experimental
sync with kame
2001-02-07 13:46:04 +00:00
pk 39ca30e495 setindex2ifc(): after a realloc(), zero the newly acquired entries. 2001-02-07 13:24:42 +00:00
joda 31a9ada156 link against -lkadm5clnt instead of -lkadm5srv (this makes the `get'
command actually do something on non-kdc machines)
2001-02-07 10:38:02 +00:00
ad 77c450a230 Squash some nits. 2001-02-06 12:53:48 +00:00
itojun 56f2ea71f0 typo. ntohl -> htonl. 2001-02-05 06:04:41 +00:00
lukem 9b7718e15b set *errmsg to errbuf, preventing coredump if no interfaces are up 2001-02-05 02:37:34 +00:00
ad ea0d957018 Add a control utility for `mlx' devices. Derived from FreeBSD's `mlxcontrol'. 2001-02-04 17:30:35 +00:00
mrg f0c3971950 use -msoft-quad-float on the sparc64. 2001-02-04 14:42:31 +00:00
minoura f42a521bf9 Class names can be specified in list mode.
Code contributed by Tetsuya Isaki <ti@hiroshima-u.ac.jp>.
2001-02-04 08:37:33 +00:00
itojun 0393c88566 avoid infinite loop when -s is specified (select loop mistake).
make agetent() 32bit clean.  KAME PR 127.
disable -R (router renumbering receiver).  sync with kame.
2001-02-04 06:19:40 +00:00
itojun bcbf09100a listen to the port number specified on argument, as advertised
in document.  part of PR 12112 from feico@pasta.cs.uit.no.
2001-02-02 14:20:33 +00:00
hubertf 1a23840177 Make this look ok when formatted.
Fixes PR 12078 by Nigel Reed <nigel@nelgin.nu>
2001-02-02 03:33:50 +00:00
garbled 25a0bdc99a Fix handling of the backspace and delete keys when editing a field. 2001-02-01 08:43:46 +00:00
garbled aa592358be Add a popup message telling users how to use the multiple selection and
list field types, so users aren't mystified when they encounter one.
2001-02-01 08:29:46 +00:00
minoura c87a3782c4 Add .Dd (date). 2001-02-01 00:51:58 +00:00
minoura 8ecdc3e510 Correct the `usage' message.
Pointed out by Tetsuya Isaki <isaki@se.hiroshima-u.ac.jp>.
2001-02-01 00:51:22 +00:00
garbled 305f1af6ff Major cleanup:
Add new form keyword, iscript, which allows script generated integer fields.
This uncovered a whole host of bugs, which uncovered a whole host of memory
leaks, which hopefully I've fixed most of now (in this file at least).
2001-01-31 09:35:42 +00:00
bjh21 a9e45dc961 Put both .S and .s files in SFILES. Fixes bin/12051. Patch from Richard
Earnshaw via Chris Gilbert.

The right solution here is to have every port use .S, but that might take a
while...
2001-01-31 00:15:40 +00:00
jmc 5ec07d55ff Hmm...My last change was a bit too drastic. Sun3's would never run the inner
bit of checksum code. Restructure #ifdef's. Really, use_openprom should just
be visible on all ports and set to 0 on sun3 or something.
2001-01-29 03:11:50 +00:00
jmc f8c082d5a5 Cleanup last set of cleanups so this compiles on systems without
openprom (ala sun3).
2001-01-28 22:22:25 +00:00
itojun ca89dc0998 minimize diffs to tcpdump.org tree, even if cosmetic.
changes include:
- do not chase header if ip/ip6 datagram is framgented, and it is not the
  first fragment
- u_short -> u_int16_t
- buffer boundary checks, including sprintf -> snprintf
- cleanup truncated packet cases
- pull tcpdump.org enhancements/corrections for RIP, IPv6 options, ICMPv6,
  OSPFv3, IPv4 options, BGP

there are a lot of local/conflicting changes.  we'd gradually decrease
# of diffs by synchronizing both ends, and then move to src/dist/tcpdump
and reachover makefile.
2001-01-28 10:05:05 +00:00
itojun 3915684b18 remove extra space after typename. sync with tcpdump.org 2001-01-28 07:56:56 +00:00
itojun b3d0e180ed print A6, DNAME and bit string label correctly.
sync with tcpdump.org.
2001-01-28 07:51:33 +00:00
itojun 64a4efdbfa for sha.o target, use decl very similar to bsd.lib.mk 2001-01-28 01:43:26 +00:00
martin 3966d2696b Disable optimization when compiling sha.c.
This is a know bug (see our libc sha1 implementation and the associated
doc/hacks entry) with the toolchain used on sparc64 currently.

XXX - somebody please check/fix OBJDIR handling for this
XXX - somebody please fix the ****** toolchain
2001-01-28 00:42:20 +00:00
itojun cd938b3400 enable DNSSEC code (using -DDNSSAFE) if MKCRYPTO=yes 2001-01-27 08:14:43 +00:00
itojun ad5df36306 update $VER 2001-01-27 07:35:32 +00:00
itojun 1a7fc7b687 upgrade to BIND 8.2.3. the upgrade is critical (security fixes).
please test.
2001-01-27 07:21:56 +00:00
hubertf 6c1d54c4cb * Make error messages from open(2) include the file/device that was
not open-able
 * Add -v switch to dump some font-stats before loading them.
2001-01-26 20:25:25 +00:00
jlam c5d65e2d74 Improve grammar slightly in the description for IPsec policy settings. 2001-01-25 21:49:31 +00:00
chuck 739ac42b5e be more picky about running /etc/apm/{battery,line} in response
to APM_POWER_CHANGE event.   some BIOS post this event periodically
while the battery is charging/discharging (no change in a/c state).
on these systems this prevents /etc/apm/{battery,line} from being
run multiple times.
2001-01-25 00:48:59 +00:00
garbled 18d0882a77 Add a function to fetch a list of different package categories that are
available to the user to install binary packages with.

Modify the function API so it can handle preforms like it is supposed to.
2001-01-24 09:30:30 +00:00
garbled 1dc7842166 Deal with null returns from script entry field types in a semi-sane manner 2001-01-24 08:29:56 +00:00
garbled 18e0c94727 Fix an off-by one error in run.c having to do with the down arrow, and fix
some minor display glitches in the form routines.
2001-01-24 07:46:23 +00:00
garbled 69f61c7f62 Fix the editing popup window so it's actually readable. 2001-01-24 07:23:51 +00:00
garbled fdb7bdb2c0 Fix some bugs pointed out by Brett Lymn where I wasn't checking the return
value of field_buffer.
2001-01-24 07:17:10 +00:00
itojun 2355131777 make sure to initialize prefix information struct before use. sync with kame 2001-01-23 15:35:54 +00:00
is 083ffe26fe This should fix PR 11865 by Petri Koistinen: modelines too short by more
than one entry would only be detected by a (core dumping) strtol().
2001-01-22 21:11:23 +00:00
garbled 73ffa92b18 Fix one of the bugs in the TODO list, sushi would die with a bad endpoint
if you hit enter on one of the blank lines in the main menu.
2001-01-22 07:12:49 +00:00
itojun 69622e75ab sync with latest kame.
- make icmp6.h spec conformant to 2292bis-02, regarding to router reumbering
  flag bit.
- latest rtadvd.
2001-01-21 15:39:32 +00:00
itojun 14296ba1e6 make it clearer that /etc/rtadvd.conf is optional (normally,
configurations were derived from kernel interface settings).

install rtadvd.conf into /usr/share/exapmles/rtadvd, instead of /etc.

sync with kame.
2001-01-21 15:01:36 +00:00
itojun 45c9804017 avoid memory leak. sync with kame 2001-01-21 07:51:17 +00:00
kleink f46c3b8662 Teach tcpdump(8) to dump VRRP. 2001-01-19 09:10:13 +00:00
garbled b0ee440a2f Update the TODO list a little bit. Add a few items that were brought to
my attention.
2001-01-19 07:50:20 +00:00
enami f93a8a97b8 Parse nfs file handle better on NetBSD. On little endian machine,
it was completely broken.  On big endian machine, it was detected as SUNOS4
and thus 32bit dev_t isn't handled properly.

XXX: The auto detect code should be integrated more cleverly if possible.
XXX: In addition, it is better if there is a way to specify server os type.
2001-01-19 01:28:50 +00:00
lukem 3b32ee2ae2 this is ntpq(8) not pq(8). (conversion problem from the html???) 2001-01-19 01:25:32 +00:00
thorpej ed7ec7c142 Make this work again for the case where there are devices
configured, but none of those devices happen to have locators.
2001-01-18 07:09:47 +00:00
mycroft 5087e52718 Kill .NOPATH, and fix some DPADDs. 2001-01-18 03:28:19 +00:00
scottr acef071496 Fix the sorting introduced in rev 1.9 for the netgroup map:
handle entries that span multiple lines correctly.
2001-01-16 07:15:18 +00:00
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
cgd bcc8ec9959 include stdlib.h for prototypes (typically for exit()). 2001-01-16 02:44:43 +00:00
cgd fdfcf1962d labels (even default:) _must_ be followed by statements! usr.bin/fgen/fgen.l 2001-01-16 02:43:37 +00:00
cgd c338834cd9 use expr to do subtraction. shell math isn't as portable. 2001-01-16 02:42:39 +00:00
cgd 9cfe468c74 avoid C sequence point issues warned about by development version of gcc. 2001-01-16 02:41:17 +00:00
cgd e209ced86f include string.h for prototypes. 2001-01-16 02:38:36 +00:00
cgd 3e8fb298b1 Avoid accidental use of trigraphs. Pointed out by development version of gcc. 2001-01-16 02:37:03 +00:00
cgd ede451d831 comment about the backslash used to avoid trigraph 2001-01-16 02:36:29 +00:00
cgd 4edf8bff8e Don't forget the trailing newline. 2001-01-16 02:34:34 +00:00
cgd f762cf8294 for linking, libraries should be named _after_ the libraries that need them.
In this case, curses should come after cdk & form.
2001-01-16 02:34:14 +00:00
martin 7d77421729 Comparing ch != -1 when ch is of type char is no good idea.
Fix this for ports where char is unsigned by making ch an int.

Pointed out by Matthias Pfaller.
2001-01-15 09:26:15 +00:00
itojun a88307ab86 sync with latest kame tree.
- reduce chances for signal handler rae condition
- decrease chances for misconfiguration
- feedbacks from router renumbering protocol bakeoff
2001-01-15 06:14:05 +00:00
garbled 3c1becf72b Fix a buffer overrun in the parsing of the searchpaths, and check the return
values of some curses functions I overlooked.
Pointed out by Brett Lymn in private email.
2001-01-14 21:23:23 +00:00
christos d4f4672be8 move target definition after including bsd.prog.mk so that target protection
works.
2001-01-14 10:36:11 +00:00
christos b4d783f6b6 move target after including bsd.prog.mk so that target protection works. 2001-01-14 10:34:57 +00:00
christos b420e5eb3e don't include bsd.nls.mk; bsd.prog.mk does it for us. 2001-01-14 06:26:56 +00:00
itojun 48110adac6 correct fd_set allocation. from deraadt 2001-01-12 18:53:20 +00:00
itojun 606c47534d make signo a volatile variable. sync with kame 2001-01-12 17:48:37 +00:00
itojun 5e43f4d020 make signal handler very short, to avoid possibility of race conditions.
commented by deraadt.  sync with kame
2001-01-12 14:55:13 +00:00
cgd e3e65b0f8d When building gethnamaddr.o and getnetnamadr.o from libc sources,
define _LIBC so that the weak aliases those files normally define if
built in libc get set properly.  Otherwise, this doesn't link statically.
Static linking tested on NetBSD/i386 by sommerfeld, correct runtime
operation not verified (but should be no different than before).
2001-01-12 01:43:48 +00:00
jhawk 0d99070cf2 Change wi(4)'s default from ad-hoc mode to BSS mode. Also
some minor manpage fixes.
2001-01-11 19:33:51 +00:00
enami 30fc09dacc Use PRINTOBJDIR. 2001-01-11 13:15:06 +00:00
enami 5e2a856773 Kill no longer used variable decl. 2001-01-11 13:06:28 +00:00
lukem e4099568d7 minor knf 2001-01-11 07:58:04 +00:00
lukem 06680ddb2d fix tyop 2001-01-11 03:28:03 +00:00
lukem 30724dba3e LOG_ODELAY is deprecated; it's the default 2001-01-11 03:05:42 +00:00
lukem cb4cea7120 don't use LOG_CONS 2001-01-11 02:44:03 +00:00
lukem 631bc8fbd3 oops, forgot syslog.h 2001-01-11 01:54:08 +00:00
lukem 27f625d619 use LOG_WARNING for warnings and LOG_ERR for fatal errors 2001-01-11 01:47:55 +00:00
lukem f0ccfb9aa0 skip past / if we found one in argv[0] 2001-01-11 01:45:07 +00:00
lukem 13220245b2 use explicit name rather than __progname in openlog 2001-01-11 01:43:25 +00:00
lukem 7890e93e47 remove unnecessary ":" in openlog ident 2001-01-11 01:43:10 +00:00
lukem 39c3c68f55 when calling openlog():
- don't use LOG_CONS
- use explicit name rather than __progname
2001-01-11 01:42:50 +00:00
lukem 0645f2f67b use explicit name rather than __progname in openlog 2001-01-11 01:34:28 +00:00
lukem a78cb15fc9 use "ypxfr" instead of __progname as ident arg to openlog
wrap all debug syslogs in #ifdef DEBUG (rather than just most of them)
2001-01-11 00:35:49 +00:00
lukem 48565a8e05 use "ypserv" instead of __progname as ident arg to openlog 2001-01-11 00:34:51 +00:00
lukem 74590d002a add openlog(...,pid, daemon) 2001-01-11 00:16:11 +00:00
lukem 43b126d3f1 no need for LOG_PERROR if we're about to daemon()ize (and close
stderr in the process)
2001-01-10 23:48:14 +00:00
jdolecek c7121de1da use getcwd() instead of getwd() - mainly to avoid link warning, this
particular usage is safe
2001-01-10 22:53:22 +00:00
thorpej e153fd2620 CPPFLAGS is for CPP flags, not COPTS. 2001-01-10 18:11:05 +00:00
garbled b4aac50fda Changes to sushi to allow users to bind different keys to the various
built-in functions.  This allows users to change F1 to say, ^X, in the case
where a function key might not be available, or perhaps is bound to a window
manager.

problem noted by Nathan Williams
2001-01-10 10:00:29 +00:00
jmc ca4a8d27dc Move routines which fill in tbuf in addrmerge(). The fixes in 1.4 pick a new
interface but don't fill in tbuf which results in clients getting garbage back
in part of the answer. This makes sure there's something in tbuf.

At some point this whole logic should be looked at, as just picking a random
local up interface for non-local requests doesn't feel right.
2001-01-10 05:23:43 +00:00
garbled ee3a00e29e de-lint 2001-01-10 03:05:48 +00:00
garbled 259b42afe7 Some cleanups in how help is handled. Now print a dialog box saying that
help could not be found when no help files are available.  When the help
window dissapears, redraw the screen so the menu isn't invisible.
2001-01-09 21:38:53 +00:00
garbled 009ea1962a Fix a segfault when the user hits ESC inside the F4 selection box for a
list field.
2001-01-09 19:32:35 +00:00
garbled f6177aaaba When dropping out to a shell for the user via F9, use $SHELL if it's
available, rather than hardcoding /bin/sh.  Problem noted by itojun on
tech-userlevel
2001-01-09 19:01:57 +00:00
augustss 54f9960ad3 Update usage message. 2001-01-09 17:35:45 +00:00
augustss d56c24a854 Make this compile again.
(Compile before commit...)
2001-01-09 17:08:47 +00:00
garbled 4ce5fb6f63 Handle finding help for F1 better in the toplevel menu.
TODO: print a dialog message if help cannot be found.
2001-01-09 09:41:41 +00:00
garbled 74db0945af Backout the addition of timeout(). This did not have the desired effect
at all.  problem noted by itojun on tech-userlevel.
2001-01-09 08:06:22 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
garbled a2633f6a37 Add better handling of a failure to find any menus at all for sushi to
process.  Document the ability to use "quicknames" in the sushi manpage.
2001-01-08 21:19:31 +00:00
itojun 6931d9c234 do not decode non-first IPv6 fragment. sync with tcpdump.org code 2001-01-08 16:42:29 +00:00
garbled ff9d32a832 Add a bug that I forgot about in here.. so that I don't forget to fix it. 2001-01-08 08:33:24 +00:00
garbled 5a95f8151c Add the sushi manpage to the makefile. 2001-01-08 08:24:17 +00:00
garbled 729ebd2d8e Write a manpage for sushi. Closes PR 11902 by Lennart Augustsson. 2001-01-08 08:12:54 +00:00
martin 6f9aebaaf0 Cleanup startup error message handling, copy fatal messages to stderr
too when not (yet) running in background.
Avoid calling endwin() when curses has not been initialized. Fixes a core
dump reported by Bernd Ernesti when running full-screen mode with
configuration file errors.
2001-01-08 07:18:54 +00:00
martin a6df9f9ad3 Fix coyp&pasto bug when parsing the ppp-expect-password option, reported by
Thomas Moestl against the FreeBSD version.
2001-01-07 21:01:03 +00:00
martin d6af3290ae Remove accidently imported generated y.tab.h file and make sure it's
removed by "make cleandir".
2001-01-07 09:03:21 +00:00
martin 9093099039 Fix configuration of isp* (ISDN ppp) devices via isdnd.rc,
patch from Christoph Badura.
2001-01-07 09:00:49 +00:00
enami 270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
hubertf f4f6931307 Alphabetize options. 2001-01-07 01:39:20 +00:00
veego df22eba7da len is size_t and not int.
Fixes compile problem on alpha.
2001-01-06 15:04:05 +00:00
jdolecek 4723e61556 rename sushi.msg.en to C.msg
build and install message catalog
2001-01-06 14:00:33 +00:00
martin bb3d9aa044 Enable ISDN userland utilities. 2001-01-06 13:03:49 +00:00
martin fbf08005d7 Import of essential ISDN4BSD userland utilities and their documentation.
The left out parts (which have not been installed by ISDN4BSD on NetBSD
anyway), may be added as pkgs later (if demand exists).
2001-01-06 13:00:10 +00:00
christos f5e6028400 Get rid of the TRY_AGAIN kludge. It is completely counter intuitive to have
every DNS lookup fail after the first TRY_AGAIN failure.
Also take care of minor lint stuff [extra h_errno declaratation/NULL vs. 0 etc]
2001-01-05 19:34:13 +00:00
thorpej 33191e72a1 Use ${PRINTOBJDIR}. 2001-01-05 19:01:59 +00:00
thorpej 8463038876 Fix some things that were missed when this program was renamed to
"sushi".
2001-01-05 18:57:25 +00:00
agc f1eeab30f5 Language police:
"It's" is short for "it is".
	The possessive pronoun is "its".
2001-01-05 17:05:26 +00:00
garbled c235d349be Enable Sushi 2001-01-05 15:46:10 +00:00
lukem c2aa46e7c2 use %ll_ instead of the less standard %q_ 2001-01-05 03:27:26 +00:00
lukem 2537f730fa always use %lld for INT64_FORMAT (rather than %ld on __alpha__ and __sparc_v9__
and %qd on everything else), and always cast the vars to (long long).
2001-01-05 03:21:53 +00:00
shin 745fabb2ce MACHINE_ARCH for MIPS machine is "mipsel" or "mipseb". 2001-01-05 01:35:45 +00:00
garbled fbbe4d12db Initial import of sushi.
Sushi is an interactive, menu-based program that is designed to aid
the user or administrator with administrative and complex tasks on thier
machines.

Sushi provides a menu of various functions that the user can perform on
his or her machine.  Once the user selects a desired function, the
function is either performed outright, or in most cases, the user is
asked to fill in a simple form with required and option information,
which is then processed by sushi, and the action occurs.

The programming interface for sushi is very simple.  There are
directories containing various files, such as menu indexes, or forms for
the user to fill out.  These files are interpreted by sushi to generate
the menus the user sees on his/her screen.  When the form is filled out
by the user, the entries are passed as command-line arguments to a
program, or script contained in one of the subdirectories.  In this way,
it is possible to add new entries to the sushi menu structure, by simply
adding a new menu item, form and script, the binary does not need to be
recompiled to take advantage of this new menu.
2001-01-05 01:28:33 +00:00
itojun 4519a2cf89 libc has clnt_sperrno(), no need to pull it into libamu.
this also raises problem when we try to link amd statically.  PR 11187.
bumps libamu major.
2001-01-04 14:21:09 +00:00
itojun 92ee339d1c sh3 split 2001-01-04 09:43:05 +00:00
itojun 11a8150bad unbroken it. dev/i2p/iopvar.h requires sys/device.h for sizeof(dv_xname).
not sure if it is the right fix or not.
2001-01-04 06:16:02 +00:00
itojun 06b30834dd ${PRINTOBJDIR} 2001-01-03 15:57:00 +00:00
itojun 9857da78ba s/make/${MAKE}/ 2001-01-03 08:43:05 +00:00
hubertf 6e6337b43d * findmatchingname():
When the bzip-pkg handling was introduced, a dewey pattern (foo>1) may get
   a character-class-pattern attached (.t[bg]z), and the code was not prepared
   to match that. I've special-cased handling of character-class pkg suffixes
   for ".t[bg]z", and when scanning a dir in findmatchingname() now both the
   'first' part of the pattern (e.g. "foo>1") and the suffix (e.g. ".t[bg]z")
   must match the file, hence the two pmatch() calls.

 * findbestmatchingname_fn():
   Caught a case where ".t[bg]z" was not properly handled. Must do the same
   suffix-processing again here!

Fixes PR 11856 by Dan McMahill <mcmahill@mit.edu>
2001-01-01 22:07:35 +00:00
martin 8679c35174 More va_list vs. _BSD_VA_LIST_ lossage 2000-12-30 21:45:44 +00:00
martin 8d2fdb358e Don't duplicate system declarations (vsprintf and friends) already
present in system headers. Even worse: those declarations have slightly
different argument types (va_list vs. _BSD_VA_LIST_)
2000-12-30 21:36:23 +00:00
augustss 26ebe4297f Add a flag to show the device driver(s) associated with each device. 2000-12-30 13:57:44 +00:00
augustss 7f426f36c1 ANSIfy. 2000-12-30 13:50:43 +00:00
itojun 4a49026fe0 move .PATH after bsd.prog.mk 2000-12-29 05:22:07 +00:00
itojun 3207cfe8dd install sample configuration files into /usr/share/examples/racoon.
make variable "SBIN_RACOON" will build static racoon binary, and installs
it into /sbin (nonstandard)
2000-12-29 03:16:39 +00:00
itojun 31daf71078 visit usr.sbin/racoon in build process (if MKCRYPTO != no). 2000-12-29 02:41:55 +00:00
itojun 54e4101852 synchronize with latest tcpdump.org tree 2000-12-29 02:38:23 +00:00
itojun 66927d4789 move racoon build framework from sbin/racoon to usr.sbin/racoon. 2000-12-29 02:33:38 +00:00
thorpej 7490542205 Document the name forms of the ICMP and TCP field offsets/values
recently added to libpcap's compiler.
2000-12-28 22:43:39 +00:00
wiz 1d1f43e05c Improve handling of -l with -m, and update documentation.
Based on an idea by Alistair Crooks in bin/11707.
2000-12-23 17:19:48 +00:00
wiz a73ca31ff8 Clarify what happens if -d is specified without -m.
Fixes second part of bin/11707.
2000-12-23 16:30:21 +00:00
wiz 39df6581fe Fix moving a user's home directory with 'useradd -md /new/home/dir user'.
Clarify code (newpwp was referencing the same struct as pwp).
Fixes first part of bin/11707.
2000-12-23 16:29:35 +00:00
itojun 8537da23ad use strlcpy/at throughout the code. more strct argument validation.
revoke setuid privilege earlier.

sync with kame.
2000-12-22 15:12:04 +00:00
cgd 8d81e0e116 __CONCAT does token pasting, not string concatnation. if something like:
__CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" as separate strings, and then ANSI string concatenation
is performed on that.  It's more straightforward to just use ANSI string
concatenation directly, and newer GCCs complain (rightly) about misuse
of token pasting.
2000-12-20 01:34:39 +00:00
cgd 94e108c80f avoid accidental use of ANSI C trigraphs. 2000-12-20 01:30:26 +00:00
cgd d87582beba avoid use of ANSI C trigraph ??) 2000-12-20 01:29:21 +00:00
itojun 10fb60e4ee do not declare errno on our own. from: Patrick Welche <prlw1@newn.cam.ac.uk>
sync with the latest kame tree.
2000-12-19 23:55:02 +00:00
nathanw 95ecff2f0d Pull in ${DESTDIR}/usr/include before ${DESTDIR}/usr/include/openssl, so
that we get the system's err.h, not openssl's.
2000-12-19 21:18:32 +00:00
scw ab70197801 Select the object format in the Makefile, to allow selecting on
%MACHINE when deciding what object formats to support.
2000-12-18 20:43:58 +00:00
mike ba39d0a858 Correct display of invalid username error and cache duplicate password
lookup (fixes PR#11695).
2000-12-17 22:47:14 +00:00
thorpej 893fdc80cf Descend into altq. 2000-12-17 03:06:53 +00:00
thorpej 28f0042b51 Build glue for ALTQ programs. 2000-12-16 18:57:34 +00:00
thorpej d4bf5787dc Token bucket regulator config program for altq. 2000-12-16 17:53:19 +00:00
thorpej 8726857e6b Import the altq status program. 2000-12-16 17:40:16 +00:00
thorpej 09dce659bf Import the altq configuration daemon. 2000-12-16 17:39:40 +00:00
thorpej 95a6556014 Import the altq library. 2000-12-16 17:38:07 +00:00
lukem 1d0a6f62b8 revert 1.51 and 1.52 (_KERNEL_foo stuff), due to loud objections from
a couple of people.  we'll just have to go back to adding this manually
to our config files...
2000-12-14 22:14:45 +00:00
scw eee03f150e No need to initialise a global to zero. 2000-12-13 23:00:32 +00:00
ad ad2150de6f Remove debug printf. 2000-12-13 12:34:02 +00:00
enami f0f66cd139 ..., and fix new warning on i386. 2000-12-13 11:07:16 +00:00
mrg e7d5c1b188 fix LP64 warning. 2000-12-13 10:56:43 +00:00
enami 2285fa8eab Print address of lower vnode of layered fs vnode. 2000-12-13 05:50:33 +00:00
enami 7ec21d4438 Use va.va_type instead of va.va_mode to determine if a nfs vnode is a
deivce node or not, since latter contains permission bits only.
2000-12-13 05:34:55 +00:00
hubertf 3d76df0ee0 Strip not only .tgz but also .tbz etc. (missed from last commit) 2000-12-13 03:49:56 +00:00
hubertf 5382dffae7 * Accept ".tbz" as an alternative pkg suffix to ".tbz" for pkg_add and
pkg_info
 * In pkg_create, compress with bzip2 if a .tbz suffix is given
 * Fix pkg_info to work via ftp, either via URL specified on command line
   or via one made up from PKG_PATH (if set)

XXX ALWAYS tacks on ".t[bg]z", NOT ".t[gb]z" !!!
2000-12-13 03:17:53 +00:00
lukem ea03d7ba8e change KERNEL_foo -> _KERNEL_foo, as suggested by matt green 2000-12-12 17:49:20 +00:00
lukem f125ced5a1 Add option `KERNEL_foo', where `foo' is the basename of the build directory.
This will get added to the Makefile's IDENT= as -DKERNEL_foo.
2000-12-12 08:46:02 +00:00
ad 3998cc1155 Nits. 2000-12-11 19:33:55 +00:00
ad c87303f168 Put back missing line break. 2000-12-11 14:38:43 +00:00
ad d299ad2a0f Fix compiler warnings. 2000-12-11 13:58:46 +00:00
ad 18900b7349 Note a bug. 2000-12-11 13:55:16 +00:00
ad 9af5448e0a Add a basic control program for iop devices. 2000-12-11 13:48:52 +00:00
thorpej 1c3d23d12c More IPv6-friendliness. 2000-12-09 22:39:12 +00:00
thorpej c7b5409a74 Rewrite this to use getaddrinfo(), and to use the canonical name of the
host rather than the hostname as returned by gethostname() if the hostname
does not appear to be fully qualified.
2000-12-09 00:47:57 +00:00
tron 7ebe3b4a17 Add a new "-d" option which allows to define the directory of the
password file as the "-d" options of "pwd_mkdb" and "vipw".
2000-12-08 22:23:14 +00:00
tron f937707eab Improve description of "-d" option. 2000-12-08 22:21:44 +00:00
tron 6deb512a7c The "-m" option makes onyl sense with at least one argument. So enforce
that and update the documentation accordingly.
2000-12-08 21:51:21 +00:00
tron 48698d8229 Remove obsolete "domake" variable. 2000-12-08 21:24:16 +00:00
tron e5d0716506 Fix broken argument parsing:
- "-m" shouldn't option be passed to "make".
- Avoid buffer overflow while construction shell command to invoke "make".
2000-12-08 21:09:37 +00:00
thorpej e0d4418a25 Convert to TI-RPC, modeled after mountd(8) since we do host-based
access checking (via libwrap) like mountd(8) does.

Also, garbage-collect a bunch of stuff that is normally created by
rpcgen(1) that we'll never use in this program.
2000-12-08 20:08:43 +00:00
wiz 89d963e947 Don't try to create or move directory if only '-d' is given (man page
says '-m' is needed for that). Problem reported by Johnny C. Lam.
2000-12-07 17:44:03 +00:00
tron f4136e8234 Document ``/'' as default directory to avoid confusion of the users. 2000-12-07 12:55:06 +00:00
tron d78c1c9e2d Back out last change on sugestion by Klaus Klein:
While it was technically correct it was confusing for the user.
2000-12-07 12:53:14 +00:00
tron 32a56dbd39 Add a new "-d" option which allows to specifiy the root directory of the
password database.
2000-12-06 14:04:25 +00:00
tron 1bfef38d9b The default directory is "", not "/". 2000-12-06 13:54:08 +00:00
itojun aac23d3263 correct pathname 2000-12-04 16:11:56 +00:00
itojun 1b5622c854 correct location of config file 2000-12-04 16:11:07 +00:00
itojun c9236bb0cc $KAME$ cleanup. address PR 11615 (CMSG_SPACE should be CMSG_LEN).
lots of stabilization/spec cleanup.  sync with kame.
2000-12-04 07:09:35 +00:00
itojun b1ba1c6a53 $KAME$ cleanup. address PR 11616 (CMSG_SPACE should be CMSG_LEN).
couple of stability/protocol conformance fixes.  sync with kame.
2000-12-04 07:05:47 +00:00
itojun a2ca80c86b $KAME$ cleanup. address PR 11616 (CMSG_SPACE should be CMSG_LEN).
sync with kame.
2000-12-04 07:04:37 +00:00
itojun 8b87a48e0e $KAME$ cleanups. sync with kame 2000-12-04 07:03:17 +00:00
matt a2877b394c Don't emit MACHINE/MACHINE_ARCH. Instead emit a TARGET_MACHINE=machine
instead.
2000-12-03 07:06:15 +00:00
matt 5cde4cf735 If a port-specific Makefile.<port> doesn't exist, try a arch-specific
Makefile.<arch>.
Emit MACHINE=<port> and MACHINE_ARCH=<arch> to the emitted Makefile.
2000-12-02 23:01:54 +00:00
is e077acfb61 Document that text (console) modes need a depth field of 4. 2000-12-02 21:58:10 +00:00
hubertf 1e2914d00b Document that the path to the configuration file given on the command
line must be absolute, unless the -d option is given on the command line.
2000-12-02 02:15:34 +00:00
simonb 0833efd07d Remove extern variables and functions now declared in dkstats.h. 2000-12-01 02:10:22 +00:00
simonb 80bd9216d2 ANSIfy. 2000-11-30 23:59:03 +00:00
hubertf 4b8a7a0e49 Fix pkg_info w/ URLs (*sigh*) 2000-11-30 10:09:15 +00:00
mrg 6ce96c999f several clean ups:
- don't include eeprom support on sparc64.
	- work out if we are eeprom or openprom from the results of open()
	and/or ioctl(), rather than grovelling the kernel.
	- move all eeprom specific code to eehandlers.c
	- update manpage for sparc64 usage, remove delete -N switch

with these changes, eeprom(8) no longer needs to be setgid.
2000-11-28 22:31:37 +00:00
sommerfeld 057fcccd0c Default crontab size limit is 256k, not 32k; correct documentation to
match code.
2000-11-28 14:06:13 +00:00
mycroft 9ff73e166a Oops; the increment needs to be in check1pkg() for the case where the user
specifies a list.
2000-11-28 05:23:35 +00:00
mycroft 23451da968 pkgcnt was incremented twice during a `check'... 2000-11-28 05:21:57 +00:00
hubertf fc8a285aa2 Fix timeout in expect():
The FTP coprocess formerly wrote the output of the "get | tar vxf -" pipe
to stderr, which resulted in no output to the feedback pipe (stdout), and
thus the timeout was not updated for any line printed by the "tar" process.
This was now changed to also feed back the chars to the expect() routine,
updating the timeout handler. The "also" part is implemented by passing
the output through "tee /dev/stderr".

At least NetBSD and Solaris have this, so no problem there.

Thanks to Frank van der Linden for helping me to debug this.
2000-11-28 01:16:01 +00:00
mycroft 04adf420b1 Don't terminate the loop after getting a short packet, either. 2000-11-27 17:36:19 +00:00
mycroft a23cc61626 For BPF, we must loop on receive_packet(). BPF may return multiple packets at
once, and we obviously won't get a select() hit for each one in that case.
2000-11-27 17:33:02 +00:00
mycroft 33515cb532 Make sure to BPF_WORDALIGN() the buffer pointer for each packet, as BPF does in
the kernel.  Otherwise the pointers get out of sync and dhcpd goes nuts.
2000-11-27 17:08:16 +00:00
hubertf ec58d85250 Don't mkdir("/usr/tmp") in a desperate try to get some space.
If it's there, use it. If it's not there - bad luck.

Pointed out by Simon Burge <simonb@wasabisystems.com>.
2000-11-26 03:12:01 +00:00
jdolecek c40ad1440d cast isprint() parameter to (unsigned char) - it looses if the character has high
bit set when the architecture is using signed char by default
This fixes bin/11556 by Michael Eriksson.
2000-11-24 09:53:36 +00:00
itojun 50ac5d898b move rcsid to the top 2000-11-24 07:42:07 +00:00
veego 048d058532 Fill in 26 defines for MNT2_NFS_OPT_ which the configure script didn't
find and were lost in the upgrade of am-utils.
2000-11-21 12:14:18 +00:00
enami 6bc7e18094 Don't try to deallocate an object pointed by NULL pointer. Instead,
deallocate the right one.
2000-11-21 03:47:41 +00:00
wiz 45b07c3e8f Since amd compiles with WAUDIT=2, include it in Makefile. 2000-11-21 02:03:26 +00:00
is b002f5435b With RARP, MAC asks, and IP answers. Fixes PR 11330 by Thilo Manske, who
also provided the fix (modulo formatting).
2000-11-20 14:59:30 +00:00
tron f8f9801395 Use empty string as default prefix so that e.g "/etc/spwd.db" is used
instead of "//etc/spwd.db".
2000-11-20 14:09:36 +00:00
wiz 20845d16f4 remove outdated comment 2000-11-20 01:58:43 +00:00
wiz c9669422d2 Make config_local.h more cross-compile safe. Thanks simonb! 2000-11-20 01:56:13 +00:00
wiz d53f0cf553 Fix thinko on my part (we do have setitimer). 2000-11-20 01:23:14 +00:00
wiz 0f1a444c28 restore ID tag (forgot removing $$) 2000-11-20 00:27:23 +00:00
wiz e5d9f656ce Replace old build structure with new reach-over one. 2000-11-20 00:24:41 +00:00
wiz 4f035159de Import of amd reach-over Makefiles for using the sources in dist/am-utils. 2000-11-20 00:16:18 +00:00
bouyer 9c9d109bdd Fix bin/11253: seg-fault in mopd
Once we found the correct slot, make sure dle points to it. dle was left
pointing out of the array by the for(;;) loop.
Fix from Ken Wellsch <kwellsch@tampabay.rr.com>
2000-11-19 16:40:16 +00:00
mrg 7996c8de3a de-__P-ify. 2000-11-19 11:15:01 +00:00
cgd a1a91fd28f if there are no locators or parent, don't output those arrays. (Sometimes
you really want no devices whatsoever.  In that case, you get unused
static var warnings from the compile.)  Reviewed by sommerfeld.
2000-11-18 00:51:29 +00:00
msaitoh c1fd8f00d4 Add forgottern addarg(&al, NULL, 0) before execve() to prevent coredump. 2000-11-16 08:33:33 +00:00
tv a32617f770 This is now 8.2.2-P7, so update VER. 2000-11-13 22:45:05 +00:00
perseant a3bb9e16b4 Report, and detect and correct inconsistencies in, the number of clean
segments.  Patches from Jesse Off <joff@gci-net.com> (PR #11470).
2000-11-13 00:30:48 +00:00
martin d045d83e39 Make ntp work on sparc64 (workaround for toolchain problems) by
adding -msoft-quad-float.
2000-11-12 19:48:55 +00:00
wiz 18c121ba47 ispell 2000-11-12 15:32:57 +00:00
itojun 980886f151 do not advertise dynamic/cloned routes 2000-11-10 18:15:57 +00:00
itojun 7da1bb7a9c synchronize with BIND 8.2.2-P7.
- resolve conflicts (there are many conflicts with $NetBSD$ tags -
  dunno why they happen).
- type pedant (couple of typecasts).

correct yacc-generated file handling.  remove bin/named/ns_parser.h,
use the header yacc generates at compilation time.
2000-11-10 09:56:56 +00:00
wiz efad173586 Add amd.conf.5 from dist/am-utils/scripts here, and install it.
Fixes PRs 5051, 7524, 8999, 10814.
XXX: Why are amd & friends not using reachover Makefiles, but a copy of
the source? This should be fixed...
2000-11-08 12:00:48 +00:00
itojun bfef63a365 do not print "PIM" twice 2000-11-08 07:23:54 +00:00
tron 68fa36f81f Avoid segmentation fault if "dns_zone_lookup()" is called with an empty
string as name. Problem noted by Simon Burge.
2000-11-07 13:21:36 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
lukem ebcd47ebf3 use .Xr 2000-11-07 05:44:50 +00:00
lukem 6ccf8e332e format the option descriptions in a more standard (and imho readable) style 2000-11-05 03:05:48 +00:00