Commit Graph

4713 Commits

Author SHA1 Message Date
itojun 4acce1d060 include version number into binary to help diagnosis 2001-08-02 15:27:21 +00:00
itojun 366bd307b0 sync with 2001/8/2 KAME racoon/libipsec. 2001-08-02 12:15:00 +00:00
itojun de2695eefc copyright clarification. via openbsd 2001-08-02 03:41:42 +00:00
itojun 2b18b04c59 updated copyright notice from Xerox. via openbsd 2001-08-01 16:45:28 +00:00
garbled c63c221b86 Fix a bug in the multilist noted by Brett Lymn. When nothing was selected
from the popup, don't populate the field with a NULL buffer.

Edit the TODO list, removing a few fixed items from my bughunt tonight.
2001-08-01 09:08:55 +00:00
garbled 3815ce799a Add a -l argument to ypinit that allows adding servers in the format
server1,server2,server3 on the command line.  This allows the user to
optionally avoid the interactive mode of ypinit.  If the -l flag is not
supplied, the old behavior is retained.

This allows users to do things like rsh out creation of YP clients, and
sushi to generate yp clients/servers/slaves.
2001-08-01 07:01:03 +00:00
garbled 249cbcd0e5 add two more bugs 2001-08-01 01:02:55 +00:00
garbled 1092eb0c9d Add some known bugs for sushi.. lest I forget them. 2001-08-01 00:53:58 +00:00
chs 2df1fdaa53 remove spurious newline in an error message. 2001-07-29 21:24:57 +00:00
lukem 1c37a982fa enable WARNS=2 2001-07-29 09:59:12 +00:00
hubertf b352d63150 Document -f option in synopsis 2001-07-27 22:35:51 +00:00
wiz d2c504636c aquire -> acquire 2001-07-26 22:50:57 +00:00
lukem bdf152b906 fix time display bug introduced in previous commit [hi christos! ;]
because it was using an unitialised variable.  change:
	ctime(&t); foo.bar = t
into
	t = foo.bar; ctime(&t)
2001-07-26 05:49:00 +00:00
wiz 64662a0528 Fix `pkg_add -u' for packages without dependencies.
Patch by Hubert Feyrer.
Addresses pkg/13536.
2001-07-24 14:45:16 +00:00
itojun 2dde33d97b sync with latest kame code. ndp -i won't print info for yet-to-be-initialized
interface.
2001-07-23 14:47:43 +00:00
itojun 71aa31a75a support multiple batteries (currently only # of batteris is visible -
need to tweak ioctl API more).  PR 10545.
2001-07-22 16:05:17 +00:00
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
itojun 338143f0e5 follow kame p2p interface management rule. use /128 when we specify
both src and dst addr on p2p interface.  sync with kame
2001-07-21 02:28:06 +00:00
taca 6e662bb75d Put pidfile after daemonize. This would fix newsyslog(8) error. 2001-07-19 00:15:32 +00:00
lukem c0e6fdedfc - add parsetype() (a la parsekey()) to parse the "type=xxx" arg. this improves
the error detection for invalid types, as well as shrinking binary size
- implement inotype() using ftype(), rather than duplicating the switch
- change "char *" arguments to "const char *"
2001-07-18 04:51:54 +00:00
wiz e46d80027f Close some memory leaks.
Reported (incl. patch) by YAMAMOTO Takashi in pkg/12830.
2001-07-16 13:50:41 +00:00
manu 764096179a - No more lost error messages during syslogd startup, they now all appear on
stdout before syslogd becomes a daemon.
- Flags for setuid/setgid/chroot syslogd after initialization is completed
- Warning instead of silent ignoring for malformed lines (with spaces instead
of tags)
Approved by Christos
2001-07-16 05:04:47 +00:00
manu ba6302b854 Removed two debug messages commited by mistake. Sorry about this. 2001-07-15 17:27:32 +00:00
hubertf 861dbe4370 Interface change for strip_txz(): now stores suffix 2001-07-15 00:34:14 +00:00
hubertf f990f4a5a2 * Bugfix: if PLIST_SRC directly follows PLIST_CWD, ignore
the PLIST_CWD in creating the tar pipe.

   This takes care of pkg_create -p PREFIX -L FAKE
   where PREFIX does not exist at pkg creation time.

   From OpenBSD's rev. 1.9->1.10

 * Register PLIST_SRC before dependencies and conflicts so that the
   PLIST_CWD != PLIST_SRC hack works with dependencies present.

   From OpenBSD's rev. 1.10->1.11

 * improve error message to tell full path of exec() that failed
2001-07-15 00:23:14 +00:00
manu 6248c5cc45 strtol -> strtoul because we use an unsigned type (uid_t/gid_t)
isdigit with an unsigned char cast
2001-07-14 21:56:45 +00:00
manu 3ac4f70df5 errno is not tested any more if dbopen succeeds (to quote errno(2), "It
should only be examined after an error")
Added an additionnal chdir so that -o works with a file in the current
directory.
2001-07-14 14:50:44 +00:00
perseant 4e3fced95b Merge the short-lived perseant-lfsv2 branch into the trunk.
Kernels and tools understand both v1 and v2 filesystems; newfs_lfs
generates v2 by default.  Changes for the v2 layout include:

- Segments of non-PO2 size and arbitrary block offset, so these can be
  matched to convenient physical characteristics of the partition (e.g.,
  stripe or track size and offset).

- Address by fragment instead of by disk sector, paving the way for
  non-512-byte-sector devices.  In theory fragments can be as large
  as you like, though in reality they must be smaller than MAXBSIZE in size.

- Use serial number and filesystem identifier to ensure that roll-forward
  doesn't get old data and think it's new.  Roll-forward is enabled for
  v2 filesystems, though not for v1 filesystems by default.

- The inode free list is now a tailq, paving the way for undelete (undelete
  is not yet implemented, but can be without further non-backwards-compatible
  changes to disk structures).

- Inode atime information is kept in the Ifile, instead of on the inode;
  that is, the inode is never written *just* because atime was changed.
  Because of this the inodes remain near the file data on the disk, rather
  than wandering all over as the disk is read repeatedly.  This speeds up
  repeated reads by a small but noticeable amount.

Other changes of note include:

- The ifile written by newfs_lfs can now be of arbitrary length, it is no
  longer restricted to a single indirect block.

- Fixed an old bug where ctime was changed every time a vnode was created.
  I need to look more closely to make sure that the times are only updated
  during write(2) and friends, not after-the-fact during a segment write,
  and certainly not by the cleaner.
2001-07-13 20:30:18 +00:00
manu 2e20a48c80 Moved the errno=0 in the loop for opening the temp file. The problem was that
successful syscalls never set errno, and hence we could have had an inifinite
loop if the opening failed once and succeded on second attempt.
2001-07-13 15:54:22 +00:00
manu 7e7825ce44 FIxed a problem with string length (a leading / was appearing in w, who and others)
We were using rename() to create the target file from the temp file. Now the temp file is created in the same directory of the targer file so that rename() will always work (it needs to have the files in the same filesystem)
Using the -o file, the output file may be on a world writable directory, we hence open the temporary file using O_EXCL, and we loop trying different names until it works.
2001-07-12 20:46:39 +00:00
ad e1036d7e68 Couple of nits. 2001-07-09 17:46:39 +00:00
ad 773c9cf920 errx() prints the newline for you. 2001-07-09 17:30:37 +00:00
itojun 48375d983c copy necessary variables from sys/netinet/tcp_debug.c.
not sure if it is the right way to deal with this.
2001-07-09 07:54:59 +00:00
itojun 052c0d9a64 sync with kame.
KAME rtsold.c 1.28
watch routing socket, and check for pcmcia card removal.
if pcmcia card gets removed, bring the interface state into IFS_DOWN.

KAME rtsold.c 1.29
changed the timeout period after sending MAX_RTR_SOLICITATIONS solicitation
from RTR_SOLICITATION_INTERVAL to MAX_RTR_SOLICITATION_DELAY according to
the last paragraph of RFC 2461 Section 6.3.7.
in response to a comment from Pekka Savola <pekkas@netcore.fi>
2001-07-09 06:04:28 +00:00
manu 896577bca5 We use rename() to produce the dev.db file, and rename() is not able to move
files across filesystems. Hence we use /var/run for dev.tmp, since dev.db
will be in /var/run.
2001-07-08 20:01:43 +00:00
wiz dd75462fd1 Uppercase cpu. 2001-07-08 18:19:16 +00:00
simonb 79f5a137af Xref getbsize(3). 2001-07-08 15:34:13 +00:00
abs 46bc122c3c Do not try to reference dbm(3) 2001-07-06 18:07:15 +00:00
manu b971cc2b24 - Moved the temp file to /tmp instead of /var/tmp
- Added a O_EXCL flag so that we cannot open an existing file for temp file
2001-07-05 20:35:33 +00:00
manu 12cb15934b Added a missing .El 2001-07-05 20:33:56 +00:00
manu b70b2499b0 Added flags to choose the location of the input device directory and the
output device database. Goal is to be consistent with other *_mkdb
utilities such as pwd_mkdb or kvm_mkdb.
2001-07-04 20:42:02 +00:00
christos 26dfd4a9a0 Fix bogus awk + sed combination to handle continuations and empty lines.
It broke a sequence of:

	key1 \
		value1 \
		value2 \
		value3 \


	key2 \
		value4 \


	etc.

Handle both the netgroup rule and the amd.home rule using a .USEBEFORE
macro rule, since they contain the same code.
XXX: Needs new make(1)
2001-07-03 18:15:06 +00:00
itojun a42562635c sync .Fl with reality 2001-07-03 08:52:00 +00:00
itojun 338aa1c650 -DLIBWRAP will enable libwrap-based filtering on UDP socket messages.
PR 13348
2001-07-01 16:23:42 +00:00
gmcgarry 32fc55d6d2 Don't pack locators. Introduce a new commandline option to
restore the previous behaviour of packing locators.

Results in a 2.5KB increase in size for the current i386 GENERIC
kernel.  My custom kernel resulted in a 12-byte increase.
2001-07-01 02:46:47 +00:00
itojun 55ae625187 faith(4) is now documented in RFC3142. 2001-06-30 01:01:36 +00:00
itojun 5237fd7778 have sshd listed in use_libwrap[].
From: Frederick Bruckman <fredb@immanent.net>
To: <tech-userlevel@netbsd.org>
Date: Fri, 29 Jun 2001 11:57:14 -0500 (CDT)
2001-06-30 00:56:28 +00:00
enami ab05795faa Fix tcpdump path. 2001-06-27 05:17:32 +00:00
itojun b12a7f19d9 drop setgid. suggested by deraadt 2001-06-26 17:10:33 +00:00
itojun d54eb3a39d change tcpdump dir to refer to. Daniel Carosone <dan@geek.com.au> 2001-06-26 13:43:29 +00:00
itojun 230b44a44a switch to use src/dist/tcpdump. source code has been checked and the new
tree organization should give the same (or more) decoding functionalities.
2001-06-25 19:41:19 +00:00
mrg b5ca908e21 extend file size lossage message. 2001-06-25 16:40:50 +00:00
mrg e1633c19d7 printer of "" becomes the DEFLP (the default printer, "lp") 2001-06-25 15:29:12 +00:00
mrg a062d79672 use DEFLP instead of "lp". 2001-06-25 11:04:51 +00:00
ad 0767fc8d4b Missing space in usage(); from OpenBSD. 2001-06-25 08:47:29 +00:00
itojun 85856f18c0 do not make "useradd foo -s bar" to ignore "-s bar" silently. require
exactly one username.
2001-06-23 02:42:32 +00:00
christos 44f22a6994 make things compile again with -DSMALL 2001-06-23 00:10:06 +00:00
eeh 09af009af3 Fix typo in previous. (damn vi.) 2001-06-21 22:58:36 +00:00
eeh 5e8c69237f Add sparc64 support for both sparc and sparc64:
ELF64 for 64-bit sparc64 kernels.
ELF32 for 32-bit sparc and sparc64 kernels.
a.out for old sparc kernels.
2001-06-21 22:57:25 +00:00
christos e01ff467fb order the eE options as the others. 2001-06-21 20:58:18 +00:00
drochner 65ae86a522 more obsolete files 2001-06-19 14:55:30 +00:00
drochner e47db61069 some more files which disappeared in the distribution 2001-06-19 14:45:46 +00:00
drochner 9eb0a9bd7a add missing comma 2001-06-19 14:34:08 +00:00
drochner e3ef27af9b iron out some unnecessary differences between the distribution and the
NetBSD version
2001-06-19 14:22:45 +00:00
drochner ad33c4e9c3 these are not in the original distribution anymore 2001-06-19 13:58:30 +00:00
drochner d94b2b3963 fix some obviously botched error returns 2001-06-19 13:54:58 +00:00
wiz 3f9984fc90 `existent', not `existant' 2001-06-19 13:42:07 +00:00
wiz f3f6c5b675 `accessible' only has one `a'. 2001-06-19 12:52:20 +00:00
ad 14edc766df Check for transport failure before looking at the status code in the reply. 2001-06-19 10:46:16 +00:00
ad c8adbae640 Refer to the i2ocfg package. 2001-06-19 10:44:03 +00:00
christos a2458a3f05 use better/quicker shell syntax 2001-06-18 19:43:55 +00:00
drochner 8d1282dd17 update for moved toisc.c 2001-06-18 19:16:10 +00:00
drochner ef869f8376 merge 3.0rc8 2001-06-18 19:01:50 +00:00
drochner 5233105195 ISC DHCP 3.0rc8 2001-06-18 18:13:13 +00:00
wiz ccfe29f3cf Symmetric has one s and two m's. 2001-06-18 11:23:00 +00:00
lukem 6a56b422c8 use mktemp(1) as appropriate 2001-06-18 11:21:54 +00:00
itojun 993a4807cb copyright clarification. sync with tcpdump.org.
based on communiation with the author, Jeffrey Mogul <mogul@pa.dec.com>.
by Jakob Schlyter <jakob@openbsd.org>
2001-06-15 02:07:06 +00:00
fredette fd8d9e615b Merge in ndbootd-0.5. 2001-06-13 21:38:30 +00:00
fredette 74cc4fdaac Import of Matt Fredette's ndbootd-0.5 boot program for Sun2 machines. 2001-06-13 21:35:57 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
itojun a167adffce need va_start/end for every vfprintf(). from markus@openbsd. sync with kame 2001-06-13 04:31:52 +00:00
wiz 0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
wiz 40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
wiz 5811c27b4d Remove trailing dot from .Nd, and a bogus comment line (probably left
over from example man page).
2001-06-08 23:57:43 +00:00
fredette de800ed660 Added support for listing multiple additional names on
a `machine' line.  For each of these subarches, its
arch/${SUBARCH}/conf/files.${SUBARCH} is included, and
a symlink ${SUBARCH} -> arch/${SUBARCH}/include is made.
This will for a "richer structure" and easier code
sharing under sys/arch.
2001-06-08 12:47:06 +00:00
mrg 5d9bc91556 new `-n' switch to avoid looking up hostnames. 2001-06-08 04:16:28 +00:00
wiz d422b80ea9 Uppercase Dt argument. 2001-06-05 11:58:55 +00:00
wiz 1375e0081d Minor fixes. 2001-06-05 11:40:04 +00:00
wiz bca0e833cf Uppercase .Dt argument. 2001-06-05 11:38:42 +00:00
wiz 5b6ad2d2f5 Drop argument of .Os. 2001-06-05 11:31:21 +00:00
wiz 9322798d06 No argument for .Os. 2001-06-05 10:27:02 +00:00
wiz 2c753b6eca Add .Os. 2001-06-05 10:26:26 +00:00
wiz 48a36de9c0 Don't give .Os an argument, not even 'NetBSD' (default includes version). 2001-06-05 10:08:03 +00:00
mrg 7276c20511 don't #define _LKM to work around header lossage; it is no longer necessary. 2001-06-05 09:20:12 +00:00
itojun dc1b085d64 prevent overflow of lifetime value. sync with kame 2001-06-03 09:26:04 +00:00
itojun 45b2928589 do not visit mtrace6 2001-06-03 06:09:10 +00:00
itojun 780e7ac88c remove pim6[sd]d from the tree. the software had a restrictive license
than we can handle.  hope to re-enable it as pkgsrc, or to re-enable it
into basesrc if license updates.
2001-06-02 00:34:00 +00:00
joda 073d0b6122 (usage): correct number of arguments to fprintf 2001-05-28 07:59:53 +00:00
itojun 8d42ab239c remove extra \n even more. sync with tcpdump.org 2001-05-27 04:57:19 +00:00
itojun 59dea86dc0 disable DNSSEC build, for two reasons. (1) restrictive license
(2) due to protocol changes BIND8 DNSSEC code is not really useful
2001-05-27 04:39:40 +00:00
itojun 840fe8eadc put -NOESW to version number if MKCRYPTO != yes, to sync better with original
BIND8 makefiles.
2001-05-27 04:08:04 +00:00
he ccc114118a Add `E' to getopt string, so the -E option is recognized.
Should fix PR#13008.
2001-05-26 21:20:28 +00:00
itojun 46636f1249 remove too many \n for icmp6 too big 2001-05-26 12:31:56 +00:00
christos 4fce6523d7 make the -DSMALL option work again. 2001-05-26 00:37:45 +00:00
fredette 735202e79f Merge in ndbootd-0.4. 2001-05-23 02:59:35 +00:00
fredette bbf2feac6e Import of Matt Fredette's ndbootd boot program for Sun2 machines. 2001-05-23 02:49:37 +00:00
fredette f2f22b5de0 sunndd has been renamed ndbootd. 2001-05-22 14:52:24 +00:00
fredette ee3099f75d Note that sunndd has been renamed ndbootd. 2001-05-22 14:50:31 +00:00
fredette ab467667c7 Finished the 3rdparty import procedure for the ndbootd
package: Added RCS IDs, a Makefile, added to 3RDPARTY.
Also removed sunndd from 3RDPARTY.
2001-05-22 14:41:59 +00:00
fredette 2d0f1618a6 Import of Matt Fredette's ndbootd boot program for Sun2 machines. 2001-05-22 14:20:49 +00:00
agc bd6e892efe Apply the -I substitution logic for @cd as well as @cwd (just for
completeness, as @cwd will be used almost everywhere, and @cd is
deprecated).
2001-05-21 12:06:30 +00:00
agc 8f6a8bb131 When adding the checksums for the individual file entries in the generated
+CONTENTS file, if the entry is also the last in the package's list, adjust
the tail pointer accordingly.
2001-05-21 12:05:20 +00:00
agc 83dc57abd5 Display the correct directory for the @src directive if -I has been
specified.
2001-05-21 12:03:53 +00:00
agc 95a52b2709 Add -I argument to pkg_create so that the real prefix can be specified
for the @src and @cwd PLIST directives.

Bump version number.
2001-05-21 09:17:28 +00:00
uwe 2e8ee296d6 Don't discard all the hard work of setdefentries() and uniquepath().
Fixes bin/12742.  Reviewed by jdolecek.
2001-05-20 22:05:30 +00:00
agc 6ccfedb598 Add -U argument to pkg_create - by default, all files are added to the
pkgdb.byfile.db database. If -U is specified on command line to
pkg_create, don't add the PLIST entry to pkgdb.byfile.db.

Bump version number.
2001-05-18 13:21:38 +00:00
minoura 81e8dc3cac Correct a typo.
Pointed out by MAEKAWA Masahide <maekawa@kbug.gr.jp>.
2001-05-18 07:48:07 +00:00
itojun 4cd3525823 upgrade to 8.2.4. 2001-05-17 22:59:37 +00:00
fredette 1605cd00aa Build sunndd, used to netboot Sun2 machines. 2001-05-17 21:08:54 +00:00
fredette a83cae8ce3 Finished the 3rdparty import procedure for the sunndd
package: Added RCS IDs, a Makefile, added to 3RDPARTY.
2001-05-17 20:42:08 +00:00
fredette d21eeebf46 Import of Matt Fredette's sunndd boot program for Sun2 machines. 2001-05-17 20:15:26 +00:00
tsubai eef5fa50d3 Big-endian support. 2001-05-16 10:45:36 +00:00
kleink 80fd97ca8d Need <bsd.own.mk> now. 2001-05-15 17:07:49 +00:00
kleink dccee15238 Don't install the example config if MKSHARE=no. 2001-05-15 17:05:54 +00:00
assar 0eaf453fc3 handle badly formattted access RPC
should fix PR bin/12765
2001-05-15 05:59:13 +00:00
ichiro a420303a55 It enabled it to control roaming mode and authentication mode. 2001-05-15 04:16:21 +00:00
veego 221a388192 Regenerated for am-utils 6.0.6.
The configure script was fixed, so the default output of configure is now
fine.
2001-05-13 18:11:56 +00:00
veego 2f8b710391 Bump the minor number because of the addition of haseq and hasmnteq. 2001-05-13 18:11:12 +00:00
itojun f8ce289dc0 remove -g from CFLAGS. 2001-05-10 18:50:33 +00:00
itojun 30901383d9 correct ip6 option header chasing. sync with tcpdump.org. 2001-05-09 02:50:02 +00:00
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