Commit Graph

4533 Commits

Author SHA1 Message Date
wiz 6db93e0e58 Replace some .Xr with .Ic (programs non-existing or not in base system). 2001-05-08 17:20:02 +00:00
wiz 7d87aacf52 Add RCS Ids. 2001-05-08 17:04:56 +00:00
sommerfeld 390fe67281 Add .WAIT barrier for parallel make 2001-05-08 02:03:18 +00:00
kleink a0649bd297 getopt(3): EOF -> -1. 2001-05-07 14:00:22 +00:00
wiz 7da30c83ac Change xref for vmstat(8) to vmstat(1).
Whitespace, punctuation and spelling fixes while I'm here.
2001-05-06 23:48:31 +00:00
wiz ccb6f40539 Improve usage of `comprise' according to Webster and misc/10893
by Jim Bernard.
2001-05-06 12:29:18 +00:00
tron 90eb7ba34c Add support for decoding PPPoE packages on an ethernet interface. 2001-05-06 07:57:08 +00:00
ichiro 16aa429153 sys/dev/pcmcia/if_wi_ieee.h was moved to sys/dev/ic/wi_ieee.h 2001-05-06 03:28:57 +00:00
wiz 0ebf74a84b Logical markup. Reported in bin/12816 by Tetsuya Isaki. 2001-05-03 16:45:01 +00:00
garbled 804fb9a962 Add some stuff and tidy up the TODO list 2001-05-03 07:46:29 +00:00
matt 1ac7180770 Enable ELF32 for vax re: mdsetimage. 2001-05-01 20:35:19 +00:00
fvdl 0979d803f6 For the local case, return serv_uaddr in addrmerge, not the address
by which the client contacted rpcbind.

Also fix a missing \n in a debug printf.

From Martin Blapp, mb@imp.ch
2001-04-30 00:36:07 +00:00
martin a1ff386294 Add an example for PPPoE configuration. 2001-04-29 11:41:02 +00:00
wiz b0cdcfe61b Add RCS Id, formatting improvements, and typo fixes. 2001-04-29 10:46:02 +00:00
martin d53224619c Use this to configure pppoe interfaces as well.
This feed more oil to itojun's suggestion to move some of this into
ifconfig and deal more generically with others.
2001-04-29 10:30:41 +00:00
martin fa10c3107d Make tcpdump work with the current pppoe code.
Will be revisited when a generic PPP sheme is implemented.
2001-04-29 10:27:03 +00:00
hubertf 01b66ea788 * add function strip_txz() to strip off any .tgz, .tbz, .t[bg]z from a
given filename.
 * Use strip_txz() inside the FTP-wildcard-depends handling code to
   prevent it handing a combination of glob and dewey pattern to pmatch(),
   which our pattern matching code currently does not handle. Bugfix!

XXX The other places that could be changed to use strip_txz() are not
    touched in this commit to keep the impact of this change small in the
    light of the approaching 1.5.1 release. I'll revisit them.
2001-04-28 20:55:33 +00:00
agc 248b28d16b Size the columns in the table of related files better.
Be a bit more precise about the location of example files.
2001-04-27 09:13:35 +00:00
wiz dc8f675935 Fix date, and comment. 2001-04-27 00:10:05 +00:00
wiz 7a345e6d38 Fix date, and add RCS Id. 2001-04-26 23:28:42 +00:00
wiz 301a2dbf8e Fix date and whitespace mininits. 2001-04-26 23:27:44 +00:00
wiz 9c3be95203 Fix date and some whitespace nits. 2001-04-26 23:26:34 +00:00
wiz af6f773871 Fix date and whitespace nits. 2001-04-26 23:19:50 +00:00
itojun 4db33fdf62 avoid null pointer deref. sync with kame. 2001-04-25 11:25:51 +00:00
atatat c0da9e56cb Provide an easy way for someone to erase all arp entries as opposed
to the common practice of inventing an unwieldy shell construct each
time.

Note: -f (ala route -f) is in use already, and FreeBSD provides "prior
art" for the use of -d and -a together to accomplish this.
2001-04-24 23:11:06 +00:00
bjh21 f7bfe29cb1 Compile with ELF support on ARM systems. 2001-04-24 19:02:06 +00:00
fvdl 17a51bfa67 Don't allow -mask for v6 addresses, otherwise there could be confusion
leading to incorrect masks being used. Problem pointed out by
Martin Blapp (mb@imp.ch) who ported the code to FreeBSD, fixed
differently for the time being.
2001-04-24 15:04:27 +00:00
fvdl a5164578ec For an AF_LOCAL connection, don't attempt to do the address merge dance.
While here, fix some memory leaks in error cases.
2001-04-22 21:43:05 +00:00
wiz 0f1257e6a3 Add arch to Dt. 2001-04-21 14:45:12 +00:00
wiz 43de32aa6c Add arch to Dt, since it's only installed for i386. Whitespace nits. 2001-04-21 14:42:32 +00:00
hubertf 965773e0ca Check for return value of getenv() before handing it to strdup().
Fixes a bug in last commit when PKG_ADD was not set.
2001-04-21 01:38:14 +00:00
drochner 115d871078 regen with --enable-parse-clocks as it was intended 2001-04-19 17:52:29 +00:00
drochner d615c1c1ed link against libparse which is needed for the generic serial driver 2001-04-19 17:50:11 +00:00
drochner 2acdce8cfd build libparse from the ntp distribution which is needed for the generic
serial driver
2001-04-19 17:48:18 +00:00
dmcmahill b80446717f Allow PKG_PATH (or part of that) to contain a local directory, and
still let "pkg_add foo" work:

        setenv PKG_PATH /usr/upkgsrc/packages/All
        pkg_add -v kde2

Depending pkgs will be pulled in as usual.

If PKG_PATH contains a mixture of local paths and ftp://-URLs, the local
paths will be searched first.

Patch provided by Hubert.
2001-04-19 12:31:59 +00:00
kleink 2c30ea4c58 Add missing quotes to test -z argument; from Tim Preston in PR bin/12687. 2001-04-17 23:25:38 +00:00
ad fae451430d Nits. 2001-04-17 13:32:39 +00:00
hubertf dcdc94af10 Don't warn about @src being deprecated any longer - we add it per default
to each binary pkg again (via pkg_create -L) to assist DESTDIR builds.

Noted by Dan McMahill in private mail.
2001-04-17 10:42:11 +00:00
hubertf 152216c60d on pkgdb_remove, don't retain old errors - clear errno before.
This prevents some warnings from being printed over and over again
after one error was found.
2001-04-17 10:33:35 +00:00
martin bdbf64075a Add basic support for PPPoE interfaces. 2001-04-14 12:31:34 +00:00
hubertf 5db44bee09 Include lsall and lsbest in usage message. 2001-04-14 00:01:28 +00:00
christos 8689c0d412 make the remove route code look exactly the same like the add code. 2001-04-11 21:53:26 +00:00
christos a775b3feee general cleanup:
1. Use standard shell indentation
2. Use [ expr -a expr ] instead of [ expr ] && [ expr ] (same with -o and ||)
3. Cleanup 0 length string tests
4. Factor out the routing code
5. Use a large switch statement based on $reason instead of the endless
   if elif's
6. Use variables for filenames used
7. Test in all cases for the existance of domainname and hostname
8. No need for individual command redirections in structured statements.

Thanks to kleink for testing and fixing my typos!
2001-04-11 21:22:53 +00:00
wiz 394b1e523e Fix date, xrefs and whitespace. 2001-04-11 19:36:59 +00:00
wiz 2deb62b7ad Fix date. 2001-04-11 19:35:31 +00:00
wiz 83dadeb5b0 ether_hostton(3), not ether_hton(3) (thanks, Klaus!) 2001-04-11 19:32:25 +00:00
wiz 4aa3a2d18b Fix date. 2001-04-11 19:26:40 +00:00
jhawk 4ac5e36af2 Improve error messages; instead of "getfile failed", now:
getfile can't resolve client %s
  getfile can't resolve server %s for %s
  getfile lookup failed for %s
(the second condition had me chasing my tail for a while recently...)
2001-04-11 06:21:49 +00:00
enami fdb519152d Descent into subdirs so that pstat -v prints files on fdescfs symbolically. 2001-04-10 06:11:27 +00:00
enami 68109f4f6e - Cosmetic changes like:
* Put space after keyword `switch'.
	* Explicitly dereference pointer to function.
- Remove unnecessary cast.
2001-04-10 06:08:12 +00:00
itojun 939a343de8 have EXAMPLES section. 2001-04-10 01:39:44 +00:00
martin 361a81bda9 Don't duplicate essential #defines from if_sppp.h, instead include
that properly.
2001-04-09 21:18:00 +00:00
wiz 0a6334cf3a Update paragraphs for isdntxdel-incoming and isdntxdel-outgoing
(not using timeout()).
2001-04-09 19:34:16 +00:00
mellon 54c97cebbb Take out the reference to the dhcp-contrib man page. 2001-04-09 18:11:33 +00:00
wiz ad64d63177 Remove reference to pppdump(8), because it's not in our tree. 2001-04-09 17:38:10 +00:00
wiz b94f4637c4 AUTHOR -> AUTHORS 2001-04-09 13:46:36 +00:00
wiz 7058e975ea Add RCS Id, AUTHOR -> AUTHORS, fix date and some whitespaces. 2001-04-09 13:45:15 +00:00
wiz 9803ac91bf Add RCS Id, sort SEE ALSO, whitespace fixes, slight markup improvements. 2001-04-09 13:44:21 +00:00
wiz 81c62ebf99 Add RCS Id, sort SEE ALSO, whitespace fixes; AUTHOR -> AUTHORS,
and slight markup improvements.
2001-04-09 13:43:47 +00:00
wiz d27920b6f6 Add RCS Id, whitespace fixes, AUTHOR -> AUTHORS. 2001-04-09 13:42:48 +00:00
wiz 99e152842c Add RCS Id, sort SEE ALSO, AUTHOR -> AUTHORS, whitespace fixes.
Also, comment out mentions of rptrio, which we don't support right now.
2001-04-09 13:41:16 +00:00
wiz c399ab10a8 Add RCS Id, whitespace fixes, sort SEE ALSO, AUTHOR -> AUTHORS. 2001-04-09 13:38:50 +00:00
wiz 4a12cbfc0c Add RCS Id, whitespace fixes, AUTHOR -> AUTHORS. 2001-04-09 13:37:58 +00:00
wiz 2b29f989ed Add RCS Id, whitespace and markup improvements. 2001-04-09 13:23:42 +00:00
wiz f1c81e4a91 Add RCS Id, AUTHOR -> AUTHORS, and whitespace improvements. 2001-04-09 13:22:21 +00:00
wiz 156ad75475 Add RCS Id, fix date, and some whitespace improvements. 2001-04-09 13:21:45 +00:00
wiz 83c73426c9 Add RCS Id, correct section (1, not 8, though perhaps it should be in 8),
and xref daic(4). Slight markup improvements.
2001-04-09 13:20:58 +00:00
wiz 8357706e0f lowercase Lpq in xref, and some whitespace fixes. 2001-04-09 12:50:59 +00:00
wiz 9552f78610 Whitespace, and remove unnecessary "" after .Nm. 2001-04-09 12:48:37 +00:00
wiz 71c4cdb33c Fix date, and whitespace fixes. 2001-04-09 12:48:09 +00:00
wiz b5f78004d1 Whitespace fixes. 2001-04-09 12:47:37 +00:00
wiz 4058e24dfa Fix date, and improve markup. 2001-04-09 12:47:09 +00:00
wiz 0037cd4f1b Whitespace fixes. 2001-04-09 12:46:47 +00:00
itojun 3e4d36b9a4 do not terminate on EINTR. with previous behavior pkg_add terminates
if we suspend/change window size.
2001-04-09 08:13:37 +00:00
kim 47ba06c69f Fix man page section for networks(5). 2001-04-09 02:21:13 +00:00
mellon 69ee0ea676 Don't use BPF_WORDALIGN in the midst of unpacking the packet. 2001-04-08 20:48:52 +00:00
mellon b12f23920f Oops, dhclient-script is now expected to be in /sbin. 2001-04-08 19:57:12 +00:00
hubertf 741e17c0cd * Invent ZOULARISBASE, defaulting to $LOCALBASE/bsd
* allow overriding CHOWN/CHGRP/CHMOD (= -> ?+)
2001-04-08 14:11:48 +00:00
mellon 64ce71d1cd If SMALL is defined, don't support the OMAPI protocol. 2001-04-06 19:01:06 +00:00
mellon 9cc24a09b7 Merge 3.0b2pl24 2001-04-06 17:08:51 +00:00
mellon f9a2f32ef8 ISC DHCP 3.0b2pl24 2001-04-06 17:00:09 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
garbled 6ee451eb01 Oops.. forgot to back a change out 2001-04-06 07:57:05 +00:00
simonb 20f99292d1 Disable tracing in the distrib client (controlled by #ifdef SMALL in
includes/site.h).
2001-04-06 06:39:54 +00:00
thorpej fa10675c86 No need to report that we're going into daemon mode. 2001-04-06 04:12:02 +00:00
lukem 8d7585309c check that too many supplementary groups aren't given 2001-04-06 02:34:04 +00:00
lukem 847cf9865a improve parsing of users, groups, and grouplists 2001-04-06 02:24:14 +00:00
lukem f2ed791ee4 enable WARNS=2 2001-04-06 02:19:27 +00:00
lukem b990482c33 knf 2001-04-06 02:14:52 +00:00
thorpej 181cfc19d2 From KAME:
kjc         2000/12/29 15:39:28 JST

  Modified files:
    kame/kame/altqstat   qdisc_cbq.c
  Log:
  typo fix: "Mbps" should be just "bps".

  Revision  Changes    Path
  1.3       +3 -3      kame/kame/kame/altqstat/qdisc_cbq.c
2001-04-06 00:39:53 +00:00
thorpej aac786d5d0 Put tbrconfig(8) into /sbin so it's usable during early
setup, and can be executed from ifconfig.xxx.
2001-04-05 21:48:05 +00:00
mellon 0f97eb2a40 Undocument SIGHUP behaviour, which is no longer present. 2001-04-05 21:38:05 +00:00
wiz 8a9489155e Fix possible security problem (euid swapout in error handling).
Based on a similar patch in OpenBSD, reported there by
j@ida.interface-business.de.
Fix the second occurrance of a similar problem in that file, too, though.
2001-04-05 13:30:02 +00:00
wiz 6e20d67676 Add sections to xrefs. Whitespace fixes. 2001-04-05 11:53:46 +00:00
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