Commit Graph

5514 Commits

Author SHA1 Message Date
lukem d22f5cff9c - use uint8_t instead of char for boot block blobs
- bbinfo_params:
	- replace "int littleendian" with "bbinfo_endian endian"
	- add comments
- shared_bbinfo_clearboot():
	- add callback method to shared_bbinfo_clearboot()
	- don't clear from 0..headeroffset; use a callback to do that
- add news68k and newsmips support.
  From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>, with a rework by me to
  take advantage of the new shared_bbinfo_clearboot() callback.
  (XXX: untested yet)
2002-05-20 16:05:26 +00:00
lukem ba66837514 more cosmetic tweaks 2002-05-20 15:04:25 +00:00
lukem a59ed8d893 cosmetic tweaks 2002-05-20 14:56:10 +00:00
lukem 2a775954a9 - clean up display of supported machines & fstypes to ensure that last
column gets a trailing "," if there's more entries to come.
- if getmachines() or getfstypes() is called with 3 NULL params, just
  print the list of supported items.
- in usage(), call getmachines() and getfstypes() with 3 NULL params.
  (i got sick of typing "installboot -m asdf" to get a list of
  supported machines during testing :)
2002-05-20 14:38:38 +00:00
wiz 01ff6324be Make ngroups, which is the size of a static array, static too. From
Todd Miller in bin/16871.
2002-05-19 17:38:36 +00:00
lukem b4c170fd08 Enable sun3, using same sun68k backend as sun2.
XXX: sun3 port still needs to be cut over to using sun68k bootxx...
2002-05-17 17:42:36 +00:00
wiz 9e98569eee Space before comment after #endif. 2002-05-16 19:57:22 +00:00
wiz 6e749bff5c Comment out token after #endif. 2002-05-16 19:48:18 +00:00
wiz 77c1358a2b Remove superfluous #endif. bin/16840 by der Mouse. 2002-05-16 09:55:50 +00:00
lukem 86dee8f439 Set pmBootSize of the block 2 applepartmapentry ("NetBSD Partition")
to roundup(size-of-bootxx, 512) instead of hardcoding it to 1024.

(Gets the new boot floppy working slightly further - still broken tho)
2002-05-16 01:35:44 +00:00
lukem a6fac9a778 ensure that members of apple_drvr_map and apple_part_map_entry are big endian 2002-05-15 15:43:01 +00:00
lukem 4ee46bcf79 advertise macppc support. other tart-ups 2002-05-15 13:39:22 +00:00
lukem 2b7c014c1c add setboot callback to write the Apple partition map 2002-05-15 13:38:42 +00:00
lukem 1d0ec965d1 don't print a warning if the callback failed; rely upon the callback
to do that for us.
2002-05-15 13:34:27 +00:00
lukem bc6c7991bf add missing prototype for static function 2002-05-15 09:58:19 +00:00
lukem 35749caf16 bootblock.h:
- unify sparc_bbinfo (1064 bytes, with 256 block entries)
  and sun68k_bbinfo (296 byte, with 64 block entries)
  into shared_bbinfo (512 bytes, with 118 block entries),
  which will be also shared by future bbinfo-using platforms
  (including macppc)
- add datestamp to *_BBINFO_MAGIC strings, to prevent installboot vs
  bootxx version skew.
- add macppc support

*/bootxx.c:
- migrate to new shared_bbinfo structure

installboot:
- add macppc support (still needs applepartmap support and testing)
- improve and add some more warnings & errors to installboot
- implement shared_bbinfo_clearboot() and shared_bbinfo_setboot(), which
  perform the majority of the work for bbinfo-using back-ends
  (rather than replicating that across multiple back-ends).
2002-05-15 09:56:59 +00:00
lukem 966b42a3e6 bootblock.h:
- unify sparc_bbinfo (1064 bytes, with 256 block entries)
  and sun68k_bbinfo (296 byte, with 64 block entries)
  into shared_bbinfo (512 bytes, with 118 block entries),
  which will be also shared by future bbinfo-using platforms
  (including macppc)
- add datestamp to *_BBINFO_MAGIC strings, to prevent installboot vs
  bootxx version skew.
- add macppc support

*/bootxx.c:
- migrate to new shared_bbinfo structure

installboot:
- add macppc support (still needs applepartmap support and testing)
- improve and add some more warnings & errors to installboot
- implement shared_bbinfo_clearboot() and shared_bbinfo_setboot(), which
  perform the majority of the work for bbinfo-using back-ends
  (rather than replicating that across multiple back-ends).
2002-05-15 09:44:54 +00:00
martti 592f55864b Include user's PATH (pkg/16828 by HAMAJIMA Katsuomi) 2002-05-15 08:17:56 +00:00
lukem 932b752477 - add fsstat (fstat(2) on fsfd) and s1stat (fstat(2) on s1fd) in ib_params,
and use instead of replicating the effort in various locations
- if filesystem is not a regular file, use sync(2) instead of fsync(2)
  after the bootstrap has been written
- move <sys/stat.h> and <stdint.h> into "installboot.h"
2002-05-15 02:18:22 +00:00
lukem f3c2131045 - add fsstat (fstat(2) on fsfd) and s1stat (fstat(2) on s1fd) in ib_params,
and use instead of replicating the effort in various locations
- if filesystem is not a regular file, use sync(2) instead of fsync(2)
  after the bootstrap has been written
2002-05-15 02:17:06 +00:00
lukem 714021421e `-b bno' isn't supported. (sync with similar fix in arch/sparc.c) 2002-05-14 15:29:50 +00:00
lukem 1279ab0cf5 pull in <sys/bootblock.h> in "installboot.h" instead of in arch/*.c
(and remove <dev/dec/dec_boot.h>, since <sys/bootblock.h> has that stuff now)
2002-05-14 06:40:32 +00:00
lukem 1bdd92ee90 user visible stuff:
- add `-B s2bno', to provide the starting block for the secondary bootstrap.
  intended for use on platforms where the blocks of the stage2 bootstrap
  are hardcoded into the stage1 bootstrap (currently: sparc, sun2)
- don't support `-b s1bno' for sparc or sun2, since the primary is always
  at a fixed location on the disk.
- if `filesystem' is a regular file, use fsync(2) instead of sync(2)

code changes:
- add hardcode_stage2(), which uses -B s2bno and the size of the
  provided secondary bootstrap (as an actual file, not as part of the
  `filesystem' argument) to provide a sequential list of blocks from s2bno,
  each block being the appropriate file system size (from
  params->fstype->blocksize)
- add blocksize and needswap run-time parameters to ib_fs
- in *_match(), set params->fstype->blocksize to the underlying block size
  (8KB for raw), and params->fstype->needswap as appropriate
- rename IB_STARTBLOCK to IB_STAGE1START, and add IB_STAGE2START
- use hardcode_stage2() to implement raw_findstage2() and IB_STAGE2BLOCK
  support for ffs_findstage2()
- improve some comments, add some prototypes, ...
2002-05-14 06:18:50 +00:00
scottr 6cd097bc12 Pack the RMP packet layout definitions -- with ELF, 32-bit words
are by default aligned on 32-bit boundaries. Update a semi-related
comment with this info.
2002-05-14 04:58:56 +00:00
martti 53761afc9a Run /etc/postinstall if it's found 2002-05-13 12:43:16 +00:00
martti 67c70b98e1 ipf regression tests are in regress/sys/kern/ipf 2002-05-13 06:35:47 +00:00
itojun c68a2428ba correct handling of "unique" policy. bump version to 20020507
(corresponds to filename in ftp://ftp.kame.net/pub/kame).
2002-05-13 02:10:34 +00:00
agc 9dd6d667fa Only define DEF_LOG_DIR if it's not already set. 2002-05-10 13:17:57 +00:00
itojun fd53f7c428 drop support for rsh/rlogin relaying.
use of .rhosts authentication should be discouraged with relaying service.
sync w/kame
2002-05-09 14:24:03 +00:00
pk a4a641e5be Stop directory entry search if d_reclen == 0. 2002-05-07 12:22:23 +00:00
lukem 1b44564120 sparc now has a back-end 2002-05-06 23:18:20 +00:00
pk efad6f6e12 Add sparc module. 2002-05-06 16:24:45 +00:00
lukem e427ebdd56 s/bootinfo.h/bootblock.h/ 2002-05-06 13:34:18 +00:00
lukem 3efe6f707b add missing "sys/". noted by Martti Kuparinen <martti.kuparinen@iki.fi> 2002-05-06 12:16:55 +00:00
lukem 5123a119e3 replace <dev/sun/sun_boot.h> with <sys/bootinfo.h> 2002-05-06 05:28:30 +00:00
lukem b0dfae0396 document what uses the optional secondary arg. add sun2 example 2002-05-06 02:30:28 +00:00
lukem ce61e6de03 - sanity check bbi_block_count determined from bbinfo
- use warnx() instead of warn() in a couple of places
2002-05-06 01:49:48 +00:00
agc 0a602aa3de Handle multiple ranges on the command line and in the defaults file,
based on some code from Todd C.  Miller, which in turn was based on a
patch from Brian Poole <raj@cerias.purdue.edu>.

Look first in any uid ranges specified on the command line, in the order
they were given on the command line, and then in any ranges specified in
the defaults file.

With thanks to Brian for nudging me a number of times to fix this.
2002-05-03 10:31:14 +00:00
agc 2de2bc02d6 Fix for skeleton directory changes to defaults file from Brian Poole
<raj@cerias.purdue.edu>

Previous behaviour as follows:

# useradd -D -k /foo/bar
group           users
base_dir        /home
skel_dir        /foo/bar
shell           /bin/csh
class
inactive        0
expire          Null (unset)
range           10200..10300
range           10600..10700
# useradd -D
group           users
base_dir        /home
skel_dir        /etc/skel
shell           /bin/csh
class
inactive        0
expire          Null (unset)
range           10200..10300
range           10600..10700
2002-05-03 10:11:16 +00:00
agc 3db3295859 Fix from Brian Poole <raj@cerias.purdue.edu> for improper handling of
UID ranges. Previous behaviour is demonstrated below...

# useradd -D
group           users
base_dir        /home
skel_dir        /etc/skel
shell           /bin/csh
class
inactive        0
expire          Null (unset)
range           10200..10300
# useradd -D -r 10200..10300 -r 10400..10500
# useradd -D
group           users
base_dir        /home
skel_dir        /etc/skel
shell           /bin/csh
class
inactive        0
expire          Null (unset)
range           10400..10500

The second command should have put 2 ranges back into the config file,
but it really only put one because the first range on the command line
was marked as a duplicate (but when it got to writing the config file,
it only wrote command line ranges, so the 10200 got skipped).  Fix
this by initializing defrc to 0 and then only looking after defrc for
duplicate ranges.
2002-05-03 10:05:28 +00:00
agc 00ee66cd54 Modifications from Brian Poole <raj@cerias.purdue.edu>, via OpenBSD:
+ if the cd built-in fails, don't try to copy the directory hierarchy
  with pax - s/;/&&/ in a shell command
+ clean up after ourselves if a rename fails - remove the newly-created
  group file.
2002-05-03 08:07:02 +00:00
lukem 6206a1d7eb remove commented out debug printf() accidentally committed in the last rev.
noted by YAMAMOTO Takashi<yamt@mwd.biglobe.ne.jp> in private email.
2002-05-02 13:53:10 +00:00
lukem 033fe17be5 tweak asserts 2002-05-02 13:03:32 +00:00
lukem 80ae5fb69d implement "raw" file system type. this can be used when the primary
bootstrap is being installed at a particular block offset and the underlying
filesystem doesn't matter (e.g, alpha ustarboot in ustar floppies)
2002-04-30 14:45:12 +00:00
lukem d9e55fca47 display sector start & count in decimal rather than hex 2002-04-30 14:24:33 +00:00
lukem 1a478e4092 add some more assert()s 2002-04-30 14:21:17 +00:00
lukem fa2a19276b consistently use sizeof(bb) instead of SUN68K_BOOT_BLOCK_MAX_SIZE 2002-04-29 13:07:41 +00:00
lukem 8feb052770 s/_SRC_TOP_/NETBSDSRCDIR/ 2002-04-26 16:23:14 +00:00
itojun cd1e16de59 upgrade to KAME racoon as of 2002/4/26.
file descriptor leak fix.
null encryption algorithm key length fix (should use 0).
couple of null-pointer reference fixes.
set port # to 500 in ID payload (possible interop issue - spec is unclear).
correctly match address pair on informational exchange
2002-04-26 02:25:13 +00:00
tv 4887cf3412 HAVE_CONFIG_Hize. Also get *_boot.h from "../../sys/" when HAVE_CONFIG_H,
rather than creating more stubs.
2002-04-25 18:11:53 +00:00
atatat 29bf0c2821 Implement CRON_TZ and CRON_WITHIN to provide finer control over job
execution.  CRON_TZ sets the time zone within which a job is
considered for execution (but not in which it runs), and CRON_WITHIN
allows jobs to be skipped whose execution is delayed for any reason
(eg, the system was sleeping or the load average is too high for
timely execution).
2002-04-25 14:45:05 +00:00
itojun 3f18342704 handle ECONNABORTED at accept(2). correct error handling for connect(2)
sync w/ kame
2002-04-24 12:14:42 +00:00
lukem 2c1cfc8e8c - in <bsd.files.mk>, don't clear FILES after using it, as that prevents
make -V FILES
  from being useful (and given that every other variable can be
  extracted using make -V, the behaviour was unusually inconsistent
  given that the original reason for clearing it doesn't seem to be
  relevant anymore)
- use <bsd.prog.mk> instead of directly including <bsd.files.mk>
  (and possibly <bsd.man.mk> or <bsd.own.mk>)
- remove obsolete NOPROG
2002-04-24 08:18:45 +00:00
lukem 2fddf94b34 convert from "sun68k_bbinfo.h" to <dev/sun/sun_boot.h> 2002-04-24 01:35:25 +00:00
hubertf 19f6d0bbcb Add more error checking, and tell the user what's up when he runs
into descriptor-shortage. Can be caused when installing deeply-nested
binary pkgs like kde.
2002-04-23 10:14:59 +00:00
lukem 1608f561f2 after consideration, don't bother with compat symlinks, as it might
cause end-user confusion if the syntax changed between
/usr/mdec/installboot and /usr/sbin/installboot
2002-04-23 02:39:33 +00:00
bjh21 1723b1333c When printf'ing a size_t, cast it to unsigned long and use a %lu format.
This gets rid of a warning when compiling for ARM.
2002-04-22 23:24:10 +00:00
bjh21 a3e433c6fa include <bsd.own.mk> for _SRC_TOP_ 2002-04-22 23:23:05 +00:00
fredette 7493ba97a6 Install the compatability symlink for sun2.
In the sun68k handler, add some sync()s to make sure we
get a coherent picture of the filesystem.  Maybe should
be in the MI filesystem code?
2002-04-22 21:11:45 +00:00
lukem 878d42b158 Add sun2 backend from Matthew Fredette.
(Implemented with "sun68k.c" as it should eventually support "sun3" as well.)
2002-04-22 17:17:35 +00:00
lukem ed5fff8877 formatting consistency frobs 2002-04-22 16:03:07 +00:00
wiz 554a5b8a3a Don't default the portname to devices that don't exist on NetBSD. 2002-04-22 13:08:34 +00:00
lukem 8eb8919e12 - Add code from Matt Fredette <fredette@theory.lcs.mit.edu> to implement
fstype checking, and back-end "ffs" support.
- Consistently use at least uint32_t for blocknumbers (vs. int / long / ...)
- Consistently use uintXX_t instead of u_intXX_t.
- Move various duplicated prototypes into "installboot.h"
2002-04-19 07:08:51 +00:00
drochner a6d922db91 pass correct usedevicename to telephony record/answer scripts 2002-04-17 15:27:15 +00:00
drochner 1b7bad835c fix the check for invalid usrdevicename 2002-04-17 15:26:13 +00:00
fredette 4897886acb Small fix to a warning message that was displaying the wrong filename. 2002-04-17 04:00:44 +00:00
msaitoh 959914993f fix a check of the cpu types from __sh3__ to __sh__ 2002-04-16 18:36:08 +00:00
drochner e4a8393a6b initialize a global pointer before re-reading the config file,
otherwise we'd take free()d memory as configuration data
2002-04-16 17:07:58 +00:00
wiz d62f6fdd66 this: singular, these: plural. 2002-04-16 07:28:09 +00:00
martin d200477ffe Yet another nit pick. 2002-04-16 06:11:39 +00:00
tron 0f55b8bb08 Use vfork(2) and exec(2) instead of system for performance and security
reasons.
2002-04-15 21:08:41 +00:00
tron 7b03e17cb9 Don't invoke the up- and down-script for link local IPv6 addresses. 2002-04-15 20:42:37 +00:00
martin cd924e0a08 nit pick. 2002-04-15 18:08:22 +00:00
tron c28d45defe Invoke "ip-up" and "ip-down" script with parameters exactly matching
those used by pppd(8).
2002-04-15 17:32:18 +00:00
martin 573dfcd430 Fix copyright notice, sprinkle some $NetBSD$. 2002-04-14 11:41:42 +00:00
lukem d280442683 - support optional secondary bootstrap arg for install (unused by
existing backends, but future ones need it)
- use "bootstrap" instead of "boot block" in various messages where appropriate
- rename some members of ib_params
2002-04-12 06:50:41 +00:00
lukem 050f6eec3e run fsync on the fsfd before closing 2002-04-12 03:15:20 +00:00
wiz b9337deef4 ispell, and grammar fixes. 2002-04-11 12:34:31 +00:00
lukem aa5396b0ec check size of reading bootblock against the correct size... 2002-04-11 08:02:27 +00:00
lukem 38cd7942e5 - add no_parseopt(), no_setboot() and no_clearboot() methods for back-ends
to use when they don't support a particular method
- don't automatically generate machines.c anymore
- add entries for i386 (temporarily unsupported) and shark
  (permanently unsupported)
2002-04-11 07:56:13 +00:00
martin 81bc5473a1 Fix a stupid bug when setting authentication for multiple PPP interfaces.
Add some magic to UP/DOWN interface using ISDN on startup/exit and a
configuration entry (autoupdown=yes/no) to prevent this.
2002-04-10 23:35:07 +00:00
enami c7fb252eba - Don't assume that /usr is available. Fixes (one of?) ``fgrep: not found''.
- Don't append ``dot'' when restoring resovl.conf.
2002-04-10 10:11:41 +00:00
bjh21 dd9c5ed338 Don't use __RCSID unless it's defined. 2002-04-09 19:17:11 +00:00
jdolecek 7ddad9fe53 ignore potential error return from rm -rf results
this fixes part of misc/16227 by Stoned Elipot
2002-04-09 17:17:24 +00:00
thorpej a819d2296f Use __RCSID() and __COPYRIGHT(). 2002-04-09 02:56:17 +00:00
thorpej 2597d53f5a Use __RCSID(). 2002-04-09 02:35:31 +00:00
thorpej 2e5904a52c Need <string.h> for memcmp(). 2002-04-09 02:06:29 +00:00
ad 4cb07f9024 Sync the firmware version report with mlx.c. Addresses PR 14155. 2002-04-07 20:18:01 +00:00
ad b55ddcdfc4 Fix -a: correctly verify which disks belong to the current controller, and
print a more informative message if we don't find any. Addresses part of
(already closed) PR 14086.
2002-04-07 20:02:18 +00:00
bjh21 8a4f44d684 Install the compat symlink into ${DESTDIR}. 2002-04-06 15:27:55 +00:00
bjh21 de69a8cbe5 Don't install the compat symlink if this is a HOSTPROG. 2002-04-06 13:59:12 +00:00
dsainty 6533347de2 Fix trivial typo 2002-04-06 03:17:47 +00:00
martin 1ec36d3e93 Allow configuration entries that don't hardcode a specific BRI.
Fixes PR 15919 by Matthias Scheler.
2002-04-05 15:26:59 +00:00
lukem c81588447f Add framework for adding compat symlink from /usr/mdec/installboot ->
/usr/sbin/installboot.
Enable pmax.
2002-04-04 23:01:38 +00:00
lukem 6f15862d50 enable installboot, since it's now useful for at least a couple of ports 2002-04-04 22:07:35 +00:00
bjh21 33ce139ee0 Pull in config.h as necessary to get byte-order macros etc. 2002-04-04 17:53:04 +00:00
mrg 4cf62149f5 be sure to pad the bootblock. 2002-04-04 15:36:44 +00:00
mrg 96adf034f8 clean up a bit, use fewer magic numbers. 2002-04-04 15:17:34 +00:00
mrg 5b7f1cce2d LP64isms. also, be sure to use <string.h> if we use memset or memcpy. 2002-04-04 14:00:55 +00:00
lukem 67c2e40115 Add sparc64 back-end, contributed by Matthew Green. 2002-04-04 13:45:25 +00:00
wiz 3b288fe0ef Mostly typo fixes, some formatting nits. 2002-04-04 11:06:47 +00:00
lukem 9c89a064fd -n and -v are optional ... 2002-04-04 07:27:44 +00:00
lukem c1455b1b9a update description, history, authors, examples, bugs,
including pmax specific stuff
2002-04-04 07:24:55 +00:00
simonb d024fa98e3 Include <limits.h> to explicitly get LONG_MAX. 2002-04-04 03:27:53 +00:00
lukem 9f1d1d933d don't pull in <dev/sun/disklabel.h> just for SUN_DKMAGIC; instead,
provide local copy of that #define.
2002-04-04 00:32:06 +00:00
lukem 06d7c45c38 Add support for alpha, based on {vax,pmax}.c and
sys/arch/alpha/stand/installboot.
XXX: not fully tested yet.
2002-04-03 10:21:01 +00:00
lukem c37fa0cedc Migrate MD files to arch/ subdir. Suggested by Hubert Feyrer. 2002-04-03 09:09:01 +00:00
lukem 3d78281f15 Add pmax installboot back-end; from vax.c and arch/pmax/stand/installboot/*.
XXX: not tested yet.
2002-04-03 06:34:31 +00:00
lukem 36e058bfe4 whitespace foo 2002-04-03 06:29:11 +00:00
lukem 93c03c6edc replace machines.c rebuild with "regenmachines", which needs to be run
manually
2002-04-03 05:58:44 +00:00
lukem 07e4618075 Machine independent "unified" installboot(8).
Currently only supports vax, with more MD back-ends to be added RSN.
2002-04-03 05:21:16 +00:00
christos d3ffde02ce don't add a search line if the domain name is empty. Pointed out by perry. 2002-04-02 19:16:59 +00:00
christos 93756e61ad XXX: this code needs a lot more cleanup... There is no clear malloc/free
policy and the data dependent initialization is very fragile. I.e.
     the code assumes because the data entry is of type foo, it has
     initialized certain fields and others not.
- make sure list is not NULL before you use it.
- don't realloc on every loop iteration!
- don't increment i when there are short lines; leads to uninitialized
  list[i] entries [fixes bills' core-dump, hi bill!]
2002-04-02 18:59:54 +00:00
christos 3afdbb7d94 XXX: this code has a lot of bugs and needs further cleanup.
- don't allocate:
	char *p = malloc(len * sizeof(char *))
  when you mean:
	char *p = malloc(len)
- eliminate duplicated code by creating functions and try not to wrap
- use mvwinnstr instead of mvwinstr
2002-04-02 18:57:01 +00:00
christos 1f44bd39de - don't trash the old resolv.conf.
- say that we generated it and when.
- unfortunately we cannot restore it back, since dhclient does not call us
  when it exits.
2002-04-02 17:39:47 +00:00
ichiro 56d2b07be1 fix channel list to be 1-14.
txrate parameter value determines the rate at which the
Probe request frames will be sent.
bit0 1Mbps
bit1 2M
bit3 5.5M
bit4 11M
2002-04-02 16:59:14 +00:00
agc 5e5f49ecfa Check the return code from the second invocation of installprereq(), to
make sure that a failed installation of a rpe-requisite package kills
the attempt to add the package. This reverts pkg_add(1) to traditional
behaviour.

Bump version number accordingly.
2002-04-02 15:08:33 +00:00
agc 3387a6a54e Do the previous differently. Run through the possible ranges for uids in
the command line order, then check the default range after that, if none
has yet been found.

Prompted by Brian Poole <raj@cerias.purdue.edu>.
2002-03-31 21:31:10 +00:00
martin ac4b5b6e98 Initialize the D-channel protocol for cards attaching new.
If the kernel passes number type/plan for incoming calls, log the type
(e.g. "national" or "international").
2002-03-30 07:12:41 +00:00
jmc 1347ab1b90 Remove check for sparc64 which adds -msoft-quad-float as that is now the
default for the compiler on sparc64.
2002-03-28 09:58:09 +00:00
martin ae7fd2a68d Make isdnd deal with attaching/detaching controllers and non-continous
BRI identifiers. Remove arbitrary, hardcoded limits.
2002-03-27 13:46:34 +00:00
wiz e5b8ea6058 Fix typo in warning, reported by Tero Kivinen in bin/16055. 2002-03-25 19:55:41 +00:00
martin 6a2e4de618 Don't use hardcoded card type/driver type constants - those have been
removed.
2002-03-24 20:37:45 +00:00
heinz 07dc707915 typo 2002-03-23 22:31:36 +00:00
jdolecek d437ea659d child_process(): if the input_data didn't contain any '%', the pointer
ended up _after_ the final '\0', so the code past though there are some
data to be passed to the spawned command, causing child process
crash under some circumstances; adjust input_data in this case to avoid this

XXX this is already fixed in cron 4.0-b1 (though slighly differently)
2002-03-23 09:38:02 +00:00
thorpej 9c33b55e7c Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
2002-03-22 18:10:19 +00:00
martti db91979e36 Added etcupdate 2002-03-22 10:11:05 +00:00
martti 4f077f96a1 Added etcupdate (etcupdate-20020321 in pkgsrc) 2002-03-22 10:10:56 +00:00
wiz 574575c56c Quote argument to .Nd because it has too many words (9 arguments max per
macro). Noted broken by uwe.
2002-03-20 16:18:47 +00:00
skrll da540a7bd6 Fix typo that caused my ISDN setup to fail. Basically, the connection was
being dropped immediately as the ppp-send-auth setting in isdn.rc was
ignored.
2002-03-20 11:39:49 +00:00
martin e8921b2f97 Fix typo in the local sockets permission mask.
Noted by Matthias Drochner.
2002-03-18 22:49:57 +00:00
martin 3c37541fd6 Remove hardcoded driver identifiers.
Query the kernel for supported application drivers instead.
2002-03-17 20:57:24 +00:00
martin ccb433029a Adapt to call-ID based accounting messages. 2002-03-17 11:09:16 +00:00
martin 093f5dbc55 Rename ISDN devices, per discussion on tech-kern. The network devices
become ippp (ISDN ppp) and irip (ISDN raw IP). The character device now
are called: /dev/isdn (isdnd <-> kernel communication), /dev/isdnctl (dialing
and other control), /dev/isdntrc* (tracing), /dev/isdnbchan* (raw B channel
access, i.e. for user land PPP) and /dev/isdntel* (telephone devices, i.e.
for answering machines).
2002-03-16 17:03:28 +00:00
martti 30aa77c1c5 Added ip_log.c and few CPPFLAGS flags 2002-03-14 12:34:33 +00:00
hubertf 99e2919b43 Improved error reporting: when a pkg pattern is given, and
/var/db/pkg does not exist (e.g. on a new system), say do!
2002-03-12 22:36:26 +00:00
agc 2e8bd5562d When adding packages via pkg_add(1), and a pre-requisite package needs
to be added, first try to use the exact version of the pre-requisite
with which the base package was built (from the @blddep directive in
the +CONTENTS file), and then use the traditional dependency from the
@pkgdep directive.

Also rename a variable from "code" to "errc" to make it obvious what
the variable counts.

Bump version number to 20020306.
2002-03-06 17:45:20 +00:00
martti c28dc34f7b Removed g711conv 2002-03-06 08:06:40 +00:00
martin c212a52a1e This tool is ~never used in reality.
There are far better alternatives in pkgsrc, for example audio/sox.
2002-03-05 22:36:58 +00:00
wiz 10d6eb080d Drop duplicate .Pp. 2002-03-05 15:09:26 +00:00
pk 5f8328c032 Serialize gram.y -> gram.[ch] transformation. 2002-03-05 15:00:07 +00:00
agc b66bb2992d Output @blddep directives properly when displaying PLISTs. 2002-03-05 14:18:07 +00:00
agc dae19d20ed Output @blddep directives before @pkgdep directives. 2002-03-05 14:16:11 +00:00
agc 33ef3d651a Add a new packing list directive, @blddep, which notes the exact
version of the pre-requisite package which was used to build the
package. This is derived automatically from the list of pre-requisite
packages which is provided to pkg_create(1) in the -P argument.

Bump the version number to 20020305.

Versions of the pkg_install tools prior to 20020305, when adding a
binary package with embedded @blddep directives, will warn that the
directive is not recognised, but will continue to add the binary
package.
2002-03-05 13:01:19 +00:00
itojun 69881cf6b8 bring in latest ALTQ from kjc. 2002-03-05 04:11:51 +00:00
wiz 33c4414e8b Remove IPIP reference. 2002-03-04 14:45:48 +00:00
wiz 1b7f309f0a Correct misspellings of "failed". 2002-03-04 01:38:31 +00:00
dbj 6e4b27cd49 when no access points are available, explicitly state so
rather then printing a list heading and nothing else.
2002-03-04 01:28:09 +00:00
dbj 7ec184ce2e print out channel list as a list of decimal channels rather
than as a bitmask printed as a single decimal number
2002-03-04 01:26:58 +00:00
dbj 1d7d73ee19 s/Kusec/msec/ 2002-03-04 01:24:53 +00:00
cjep a8f6b3003d Fix typo in a comment (from Onno van der Linden; PR#15792) 2002-03-03 18:17:05 +00:00
dbj aee0e0eba3 use all 4 bytes of result length when scanning APs. 2002-03-03 05:00:03 +00:00
tv eda273b959 When converting to use getprogname(), please don't forget the necessary
companion call to setprogname() for portability.
2002-03-02 03:45:07 +00:00
pooka 9da6188fe8 re-convert to use getprogname(). This was already once done in rev 1.28,
but silently killed in rev 1.29.

from John Franklin <franklin@elfie.org> in bin/15771
2002-02-28 22:43:42 +00:00
lukem a4af05a5cc provide "gateway" example "file" 2002-02-28 01:19:48 +00:00
mason 3b5b0345cc Make wording and intent clearer. "Real-world" users have expressed confusion,
and the former wording didn't help.
2002-02-27 17:42:41 +00:00
itojun 8e96646992 do not age global address on loopback interface. sync with kame 2002-02-25 02:22:59 +00:00
enami 878dd0cd17 For pstat -f and -t, make header align with actual data on LP64 system. 2002-02-24 02:02:59 +00:00
wiz 56e0213dd1 Whitespace nits and a typo fix. 2002-02-23 17:03:18 +00:00
martin a290138790 Add more examples. 2002-02-23 08:11:22 +00:00
enami c4f3ebe67c Make flag bit to character conversion table driven. 2002-02-23 01:06:41 +00:00
enami ae68f729ab Don't use same character for different flags. 2002-02-22 11:25:37 +00:00
agc 1c88ee495f ... and get the right month this time. 2002-02-22 10:13:41 +00:00
agc a1cbed9f66 Bump version date to reflect this change to create/pl.c:
> revision 1.22
> date: 2002/02/18 00:57:54;  author: hubertf;  state: Exp;  lines: +10 -3
> make @cwd work a bit more reliable:
>
> When -L is used (as it is by pkgsrc), don't override the directory
> set by @cwd unconditionally with what was given to -L (srcdir).
> Instead, use the @cwd directory.
2002-02-22 10:10:38 +00:00
enami dd20cf834b Use getprogname(). 2002-02-22 05:43:20 +00:00
enami 53ada2a18e Always free memroy allocated by loadvnodes(). 2002-02-22 05:21:01 +00:00
enami c31a571ef9 Forgot to fix header for union/layer vnode. 2002-02-22 05:04:43 +00:00
enami 025015575f Borrow the macro PRWORD() from vmstat.c and use it. Also, calculate the
width of pointer using sizeof(void *) * 2 instead of using 8.
2002-02-22 04:58:39 +00:00
enami 6ac7c9d9d8 No need to use paren here. Actually, the usage was inconsistient through
this file.
2002-02-22 04:30:39 +00:00
enami cbf417a013 - Fix indentation.
- Wrap long line.
- Kill unnecessary empty line.
2002-02-22 04:27:30 +00:00
wiz b6ad50f62e Restore some changes from before v1.11. 2002-02-21 18:57:44 +00:00
mason be7a76e49f document -i and -u in the man page 2002-02-21 17:10:14 +00:00
agc d0f4ce78c4 Modify the English slightly, and slight format cleanup. 2002-02-21 14:21:49 +00:00
enami e0e7c0fbcb - Print number of pages in the vnode.
- Recognize VEXECMAP bit in vnode flags.
- Recognize IN_SPACECOUNTED in inode flags.
2002-02-21 10:58:00 +00:00
christos 3e5a9a9d41 Forgot to update this one for the structure prefix changes. 2002-02-21 00:34:31 +00:00
lukem 87899d0b72 inotype() only needs to understand S_ types, not the F_ types 2002-02-19 04:54:12 +00:00
itojun c38970800e sizeof pedant 2002-02-19 02:29:58 +00:00
thorpej ba472566c5 Support Elf32 on VAX. 2002-02-19 02:16:08 +00:00
thorpej e96b77f08f Add support for converting Elf32 images on-the-fly into MOP images.
(This involved some infrastructure changes to the various mopd
support programs/libraries.)
2002-02-18 22:00:36 +00:00
itojun 771eefe1da no need to have tcpdump.8 in CLEANFILES 2002-02-18 09:45:11 +00:00
itojun d52aa152c7 sync with 3.7.1 2002-02-18 09:37:05 +00:00
hubertf 5ce6294f7b make @cwd work a bit more reliable:
When -L is used (as it is by pkgsrc), don't override the directory
set by @cwd unconditionally with what was given to -L (srcdir).
Instead, use the @cwd directory.

XXX#1: This was not tested with DESTDIR set
XXX#2: @cwd is still needed twice
2002-02-18 00:57:54 +00:00
tron 87733e3d43 Fix typo noted by Sune Stjerneby in PR port-sparc/15640. 2002-02-17 20:53:35 +00:00
thorpej f4b825ded1 Add examples of how to match different classes (e.g. ia32 vs. ia64)
of PXE clients using the Vendor Class Identifier option that all PXE
clients send in their DHCP packets.
2002-02-17 20:26:03 +00:00
drochner d3d59b3e4f print the package name on deletion errors 2002-02-15 12:42:34 +00:00
lukem 23c8fa8cf8 - Clear fs_fmod in superblock before final write. Noted by Erik Anggard.
- Explicitly close the image file descriptor at the end of ffs_makefs().
2002-02-15 04:04:57 +00:00
lukem 8295ed9bda remove (now) incorrect comment 2002-02-14 05:16:16 +00:00
atatat 714a76fd97 Avoid needlessly recreating the Makefile, ioconf.c, or any of the
swap*.c files if they haven't changed from the last time config was
run, so that less stuff will need to be rebuilt (ie, assym.h, upon
which many other things depend) each time config is rerun.
2002-02-12 23:20:11 +00:00
blymn f987c067b5 do not turn echo on after running a script, otherwise the forms display
will be messed up by input being echoed.
2002-02-12 12:21:01 +00:00
lukem b927725af9 support multiple entries for "." and full paths if the types match; the last
listed entry's settings override the existing settings for that node.
2002-02-11 12:43:55 +00:00
wiz 66df0333a1 s/seperate/separate/ 2002-02-11 10:44:38 +00:00
mrg 9d319aba7a s/Der Mouse/der Mouse/.
reinstate the S_COMMAND #ifdefs.
2002-02-11 03:47:05 +00:00
thorpej fbe7fa7c47 Add some definitions for the Intel PXE boot protocol that can
be included in a DHCP server configuration file.
2002-02-09 21:13:31 +00:00
tv 3fdf5a9991 Funtion appropriately in the absence of a lchmod call on the host. 2002-02-08 18:15:12 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
lukem 2afe4e83de If an entry is in the specfile but not in the underlying file system, and it's
marked "optional", don't add it. (e.g, don't create a zero-length file).
2002-02-08 01:17:32 +00:00
ross 8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
wiz eb0430f0ee Fix a typo, and correct an abbreviation (Mhz -> MHz). 2002-02-06 19:07:27 +00:00
lukem 5f26fac683 use (size / DEV_BSIZE) instead of btodb(size). fixes cross build issue. 2002-02-06 15:36:30 +00:00
lukem 02647fd20d don't need <ufs/ufs/dir.h> here 2002-02-06 14:58:15 +00:00
lukem 6d5ff7c496 - clean up some debugging and verbose output
- use fs_cstotal.cs_nifree rather than fs->fs_ncg * fs->fs_ipg to
  determine the number of free inodes available in the file system
- don't count '.' (the root node for a level) in inode sizing, since
  the parent has already been counted
- some more todo items
2002-02-06 02:17:14 +00:00
mrg 171ba175d1 fix typo: s/hard/hand/ 2002-02-06 01:38:53 +00:00
agc bf3822aec1 Search uid ranges properly, using command line ranges if provided, and
using the default range last.

Problem reported by Cillian Sharkey <cns@redbrick.dcu.ie>
2002-02-05 19:18:29 +00:00
lukem daea03f9f5 Support `/unset all', to unset all of the global values set with `/set ...' 2002-02-05 12:15:13 +00:00
drochner b62fa6e610 remove unwanted shadowing of variables 2002-02-04 16:48:44 +00:00
drochner 34d5e5eed3 .OBJDIR fix for "test" target 2002-02-04 16:44:06 +00:00
fair 38f90cfb28 Patch from PR 14724 to document the -q option. 2002-02-04 10:49:19 +00:00
lukem f93e02f7db - use lch*() instead of ch*() to change permissions, so that links in
the specfile don't confuse things.  doesn't affect the default
  (physical) operation, and shouldn't affect logical either.
- slightly rework how miss() is implemented so that duplicated code is
  reduced and links may optionally have a mode, uname and/or gname.
2002-02-04 07:17:14 +00:00
lukem 0719c73e2a explicitly chmod(2) newly created devices 2002-02-04 05:16:41 +00:00
fair 622875edb1 Revise wording about the -q and -c options per PR 12035.
Correct nroff nits, and fix some incorrect abbreviation usage
("i.e." was used where "e.g." should have been used).
2002-02-03 09:19:55 +00:00
tv eef7548a36 Move CLEANFILES up so it is actually used. Noted by Bernd Ernesti. 2002-02-02 17:11:38 +00:00
yamt 9b2987d371 tets -> test 2002-02-02 15:30:18 +00:00
wiz 07acb1b340 Use standard headers, mark up AUTHORS section. 2002-02-02 02:31:02 +00:00
wiz e36ba1263a Use standard headers, mark up AUTHORS section, drop a .Pp. 2002-02-02 02:30:32 +00:00
wiz c6e6ff1581 Use standard headers, sort SEE ALSO. 2002-02-02 02:29:43 +00:00
wiz 067d6673ab Use standard headers, mark up AUTHORS section. 2002-02-02 02:29:15 +00:00
wiz 1514a31617 Sort SEE ALSO, use standard headers. 2002-02-02 02:28:17 +00:00
wiz bded6a9382 Use standard headers, mark up AUTHORS section. 2002-02-02 02:27:14 +00:00
wiz d8e5f0a4f7 Drop a .Pp, use standard headers, mark up AUTHORS sections. 2002-02-02 02:24:49 +00:00
wiz 8f4d0be9a7 Sort sections, use standard headers and markup in AUTHORS section. 2002-02-02 02:20:30 +00:00
wiz 0d02730858 Sort SEE ALSO, use standard headers and markup in AUTHORS section. 2002-02-02 02:19:13 +00:00
wiz a1d4027fdc Improve markup in once place, sort SEE ALSO, use standard headers. 2002-02-02 02:13:28 +00:00
wiz ea73e83985 Sort sections. 2002-02-02 02:09:04 +00:00
wiz e1833adb69 Sort sections, sort SEE ALSO, drop a .Pp. 2002-02-02 02:08:23 +00:00
wiz 32344167c3 Sort SEE ALSO, use standard headers. 2002-02-02 02:07:01 +00:00
wiz 23455e9072 Use standard headers. 2002-02-02 02:06:50 +00:00
wiz 97e18ab0bb Fix typo in date, sort SEE ALSO, use standard headers. 2002-02-02 02:06:23 +00:00
wiz b75432a4bf Use standard headers. 2002-02-02 02:05:29 +00:00
wiz f5e1a54bb6 Sort sections. 2002-02-02 02:03:48 +00:00
wiz 253bbb63be Fix xref. 2002-02-02 02:03:13 +00:00
wiz 09141f935a Sort sections. 2002-02-02 02:02:44 +00:00
wiz 16f5077dde Drop a .Pp, add move comma to end of word instead of beginning of next line. 2002-02-02 02:00:19 +00:00
wiz 54e99130b1 Drop a .Pp, sort SEE ALSO. 2002-02-02 01:59:04 +00:00
wiz 2b666b304a Drop a .Pp, sort sections. 2002-02-02 01:57:35 +00:00
wiz 10780add08 Drop a superfluous .Pp. 2002-02-02 01:54:29 +00:00
wiz b77937b920 Drop two superfluous .Pps, sort sections, drop trailing dot in SEE ALSO. 2002-02-02 01:52:32 +00:00
wiz 60ea852eba Use standard headers. 2002-02-02 01:51:20 +00:00
wiz c51c412a70 Sort SEE ALSO, remove empty BUGS section. 2002-02-02 01:50:23 +00:00
wiz f7b0046cee Sort SEE ALSO. 2002-02-02 01:49:59 +00:00
wiz d71cd67ba6 Sort sections and SEE ALSO, correct markup for AUTHORS section. 2002-02-02 01:48:08 +00:00
wiz ddac63620b Sort sections and SEE ALSO. 2002-02-02 01:47:36 +00:00
wiz 9a047ef78b Drop a .Pp. 2002-02-02 01:44:59 +00:00
wiz 2218541f7f Use standard headers. 2002-02-02 01:44:58 +00:00
wiz ccd1965ef5 Sort sections, drop a .Pp. 2002-02-02 01:44:31 +00:00
wiz 1d9fe6b842 Use standard headers, mark up AUTHORS section. 2002-02-02 01:43:52 +00:00
wiz 146392e159 Sort sections. 2002-02-02 01:42:45 +00:00
wiz fa58e5cf9d Sort sections, use standard headers, drop a .Pp. 2002-02-02 01:42:22 +00:00
wiz 0cedb12b9c Sort sections. 2002-02-02 01:41:22 +00:00
wiz 65d97d1e55 Improve markup, unquote header. 2002-02-02 01:40:52 +00:00
wiz 46f735035c Drop a comma. 2002-02-02 01:40:02 +00:00
wiz 419231002f Use standard headers. 2002-02-02 01:39:23 +00:00
wiz 04f4cfd571 Punctuation nits, sort sections and SEE ALSO, improve markup, use standard headers. 2002-02-02 01:38:54 +00:00
wiz 915c6c1865 Sort sections and SEE ALSO, use standard headers. 2002-02-02 01:37:13 +00:00
wiz 7ec6567148 Sort sections, use standard headers. 2002-02-02 01:35:30 +00:00
wiz d30b208c5a Drop an unnecessary empty line. 2002-02-02 01:33:55 +00:00
wiz df220a8153 Paragraph markup improvements, use Xr in one place. 2002-02-02 01:32:25 +00:00
wiz ddb67af4bb Drop superfluous .Pp. 2002-02-02 01:31:50 +00:00
wiz b85170c751 Improve markup, sort section, sort SEE ALSO. 2002-02-02 01:31:16 +00:00
wiz 923aa5f99b Drop an empty line. 2002-02-02 01:30:39 +00:00
wiz e24be883e9 Sort sections. 2002-02-02 01:27:52 +00:00
wiz 3bd1b31f25 Use Xr for xrefs and use standard headers. 2002-02-02 01:27:22 +00:00
wiz cfc1b4eee7 Sort sections, use standard headers. 2002-02-02 01:26:51 +00:00
wiz 7bdc66a6c8 Sort section, punctuation nit. 2002-02-02 01:26:18 +00:00
wiz b083512733 Sort sections, mark up xrefs with .Xr. 2002-02-02 01:25:25 +00:00
wiz 1f9a8d013a Sort sections, use standard headers. 2002-02-02 01:23:39 +00:00
wiz 6aaa7bfd72 Sort section, punctuation nits. 2002-02-02 01:22:18 +00:00
wiz ca3452180b Punctuation nits. 2002-02-02 01:21:44 +00:00
wiz 73d8bdb949 Drop a superfluous .Pp. 2002-02-02 01:21:00 +00:00
wiz 9e32083ba9 Sort sections, sort SEE ALSO. 2002-02-02 01:19:48 +00:00
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv 76834aef57 Protect __RCSID and __COPYRIGHT from being invoked if not defined. 2002-01-31 19:36:47 +00:00
tv 6f9b615f48 Make sure DESTDIR is defined before attempting to use it in a dependency. 2002-01-31 15:21:09 +00:00
tv 2b7bf32264 Make sure DESTDIR is set before using it in a dependency. 2002-01-31 15:16:21 +00:00
tv a328e34106 Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
lukem 6dba6d95f7 add <util.h> back in for native builds. 2002-01-29 00:31:37 +00:00
lukem 4e4ee42772 don't bother initialising pwfile[] to _PATH_MASTERPASSWD and grfile[]
to _PATH_GROUP, because the simple_get{pw,gr}*() functions should not
be called by anything before those path arrays are setup by setup_getid().
2002-01-29 00:29:32 +00:00
tv fcae5f73b7 Add hooks to make mtree compilable from src/tools. 2002-01-29 00:07:27 +00:00
ichiro 3ee53752e9 It is missing fflush() when scanning the network and no avaible AP. 2002-01-28 22:07:30 +00:00
simonb f69ac131ba Drop the setgid'ness now that ../../usr.bin/vmstat/dkstats.c uses
sysctls now.
2002-01-28 02:16:56 +00:00
martin 977cd3d18e Fix leftover from ioctl generalization, causing crashes by checking
the first character of a NULL pointer to detect zero length strings.

Do not set PPP authentication multiple times while parsing the config
file, just do it once later.
2002-01-26 19:31:20 +00:00
lukem 72b9ef303f be a little bit more verbose 2002-01-26 13:27:53 +00:00
lukem aa99e59f3d - crank default cpg from 16 to 65536, and let the auto-sizing code in
mkfs() do its job
- pass cpgflg=1 to mkfs() if the user provided cpg, =0 otherwise
- improve error reporting in ffs_write_file()
- only add superblock & block map slop for one cylinder group.
  trying to calculate the number of required cylinder groups caused
  too many problems when tweaking parameters for small file systems.
  rely upon slop from minfree, and upon ffs_write_file() to complain
  if the user is too aggressive about tweaking the parameters
2002-01-26 13:22:16 +00:00
martti 53a8f3ca45 Added few ipf examples 2002-01-26 09:30:53 +00:00
wennmach fbd3eb4819 sync usage() message with realty 2002-01-25 20:30:41 +00:00
christos d08bc504d8 If WI_RID_SCAN_APS is not defined, then don't support it. 2002-01-25 17:17:21 +00:00
martti bdbbd6ee47 Fixed link between ipf.5 and ipf6.conf.5 2002-01-24 14:48:37 +00:00
martti c2d00e7ce1 Added missing libraries, filenames and man pages 2002-01-24 08:24:38 +00:00
lukem 002b1b8ff4 -N dbdir allows reading user & group info from a different source 2002-01-24 03:21:34 +00:00
lukem 5781235dfe Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines from ../mtree/getid.c
2002-01-24 03:21:07 +00:00
lukem 9ca22e1409 Add '-N dbdir', to specify that user & group lookups (via pwcache(3)) are to
be done from dbdir/master.passwd and dbdir/group, using simple text file
parsing routines.
2002-01-24 03:20:11 +00:00
lukem 25cdf6cf5b add "-i input-device", to specify another device to monitor for activity 2002-01-24 01:34:13 +00:00
thorpej ebc45776d2 vslprintf: Slight hack (?) to make "%r" work with the stdarg
implementation on x86-64.
2002-01-23 18:23:02 +00:00
lukem 3296e70335 revert part of previous; don't monitor framebuffers for input because
they get mtime updates on output.

XXX: need to find out how to monitor a wscons input device other than
ttyE0 that gets updated when keys are pressed on the console keyboard...
2002-01-23 17:30:17 +00:00
lukem cd95ffb688 - check framebuffers for input, because /dev/ttyE0 (wscons framebuffer)
gets modified, not /dev/console or /dev/wskbd
- use /dev/wskbd instead of /dev/wskbd0
- use /dev/wsmouse instead of /dev/wsmouse0
2002-01-23 16:57:51 +00:00
lukem 5647b7df77 Merge create_fsinode() into create_fsnode(), so that a newly created
fsnode always has a valid inode member.   Problem noted by Artem Belevich.
2002-01-23 02:26:21 +00:00
lukem e30101d9d6 more stuff 2002-01-23 02:14:19 +00:00
is ef3617499c add config.h when compiled as host tool. 2002-01-22 13:03:57 +00:00
ichiro 66a56d4efe If the interface isn't up, up and scan.
then, down it when scanning is done.

point out from lha@stacken.kth.se, kern/15328
2002-01-22 02:09:11 +00:00
enami d1998d430a Use .Fl instead of hardcoding -. 2002-01-22 01:35:39 +00:00
wiz b36c0a5406 deamon -> daemon 2002-01-21 14:42:26 +00:00
ichiro 780b3934d4 display Beacon Interval of STA 2002-01-21 12:59:50 +00:00
ichiro 1635f76bf6 forces if_wi to initiate one round of access point scan.
This code was written by jrb@cs.pdx.edu, modified and bug-fixed by ichiro@netbsd.org
2002-01-21 11:35:06 +00:00
wiz c43de8bde2 Include err.h for err(3) prototype. 2002-01-19 17:07:51 +00:00
wiz a2d753e3ef Whitespace nits. 2002-01-19 11:44:57 +00:00
mjl 7ea8665c72 Catch open failure and exit with error instead of crashing. 2002-01-19 06:10:13 +00:00
wiz 483f92284e Whitespace nits. 2002-01-19 03:39:46 +00:00
wiz 59652c8572 Punctuation nits. 2002-01-19 03:38:36 +00:00
wiz 1b9e345181 Whitespace nits, sort SEE ALSO. 2002-01-19 03:37:38 +00:00
wiz f79ee8e50f Sort sections, mark up AUTHORS section. 2002-01-19 03:36:44 +00:00
wiz 30a3135df2 Sort SEE ALSO and sections, use .An in AUTHORS section. 2002-01-19 03:36:20 +00:00
wiz 7e266c9a07 Improve markup. 2002-01-19 03:35:21 +00:00
wiz 4e823ac145 Whitespace nits. 2002-01-19 03:35:05 +00:00
wiz 8f48ce1461 Sort sections, sort SEE ALSO, whitespace nit. 2002-01-19 03:27:06 +00:00
wiz aaba2b6d8a Whitespace nits. 2002-01-19 03:26:30 +00:00
wiz 3ecf4fd4b7 Whitespace nits, sort SEE ALSO and sections. 2002-01-19 03:26:04 +00:00
wiz f01b2c896b Drop an unnecessary .Pp, sort sections, add postfix .Xr, and improve markup. 2002-01-19 03:25:12 +00:00
wiz 5d2bc3031d empty line -> .Pp; sort sections. 2002-01-19 03:24:14 +00:00
wiz 00dce9aae8 Sort sections, whitespace nit. 2002-01-19 03:23:47 +00:00
wiz 6051a9a396 Sort sections. 2002-01-19 03:23:11 +00:00
wiz 34828cce4a Convert .Xr to non-existing program to Ic. 2002-01-19 03:22:53 +00:00
wiz d8081e42ef Sort SEE ALSO and sections. 2002-01-19 03:22:19 +00:00
wiz 51d0450786 Whitespace and punctuation nits, use standard headers. 2002-01-19 03:21:59 +00:00
wiz 81bf50c114 Whitespace nits. 2002-01-19 03:21:15 +00:00
wiz 01497fccea Whitespace nits, use standard headers. 2002-01-19 03:20:56 +00:00
wiz 3aebd5a62c Improve markup, sort sections. 2002-01-19 03:20:33 +00:00
wiz 6955458037 Whitespace nits. 2002-01-19 03:20:06 +00:00
wiz 6e1dd286e7 Drop unhelpful BUGS section and a trailing empty line. 2002-01-19 03:19:42 +00:00
wiz 5a14269d52 Sort sections. 2002-01-19 03:19:21 +00:00
wiz f931748857 Drop unhelpful BUGS section. 2002-01-19 03:18:52 +00:00
wiz ecff1ade60 Drop some unnecessary empty lines, improve markup in some places. 2002-01-19 03:18:35 +00:00
wiz b86bccf480 Drop some unnecessary empty lines. 2002-01-19 03:17:42 +00:00
wiz ea5e7da234 Drop a trailing empty line. 2002-01-19 03:17:08 +00:00
wiz 45c833365a Drop some unnecessary .Pp and an unnecessary section, and replace an empty
line with .Pp.
2002-01-19 03:16:41 +00:00
wiz 9afed566e5 Sort sections. 2002-01-19 03:15:44 +00:00
wiz 6b626e5f08 Use standard headers, sort sections, mark up AUTHORS section a bit more. 2002-01-19 03:15:05 +00:00
wiz 546138910d Drop some unnecessary .Pp, sort sections and SEE ALSO. 2002-01-19 03:14:33 +00:00
wiz cf8a1479f6 Whitespace and punctuation nits, improve some markup. 2002-01-19 03:14:10 +00:00
wiz c982600639 Drop .Pp before subsection, whitespace nit and sort sections. 2002-01-19 03:12:56 +00:00
wiz 8beb130316 Whitespace and punctuation nits, sort SEE ALSO. 2002-01-19 03:12:18 +00:00
wiz 76cb93f4d7 Drop a trailing empty line. 2002-01-19 03:11:44 +00:00
wiz 51d5c7d6bd Whitespace nit, sort sections. 2002-01-19 03:11:34 +00:00
wiz 5ba5a79d16 Sort SEE ALSO. 2002-01-19 03:10:41 +00:00
wiz 6b314d973d Whitespace nits. 2002-01-19 03:10:26 +00:00
wiz 98832f4861 Whitespace nit, sort sections. 2002-01-19 03:10:06 +00:00
wiz 5db87f557b Whitespace nits. 2002-01-19 03:09:21 +00:00
wiz 578af6b124 Fix xref. 2002-01-19 03:09:06 +00:00
wiz 3abdd84a78 Whitespace nits, and standardize an xref. 2002-01-19 03:08:50 +00:00
wiz b0729ea665 Whitespace and punctuation nits. 2002-01-19 03:08:12 +00:00
wiz 7986ed946b Whitespace nits. 2002-01-19 03:07:54 +00:00
wiz 1a73e0f493 Whitespace and punctuation nits. 2002-01-19 03:07:33 +00:00