Commit Graph

6065 Commits

Author SHA1 Message Date
christos
644c9834e5 PR/5999: Todd Vierling: minor nits about Makefile.yp
Provide MINUID and MINGID variables to specify the minimum uid and gid to
be included in the password and group maps.
2003-04-20 20:53:45 +00:00
thorpej
b9ea11721d Support the reset button type. 2003-04-20 20:53:04 +00:00
christos
c7e6b87cad PR/3713: Aaron Brown: crontab fails with signals.
While I am here eliminate forking a shell for the editor.
2003-04-20 01:24:05 +00:00
lukem
2a820a18cf Add explicit descriptions of the filesystem', primary', and `secondary'
arguments, including a clarification that `secondary' is relative to the root
of the filesystem, not a path name to that file if `filesystem' is mounted.
Resolves PR 20977 from Jim Bernard.
2003-04-20 00:38:31 +00:00
christos
552cc1f0ea interactive errors. 2003-04-20 00:19:56 +00:00
christos
96efc68fce Interactive logs 2003-04-20 00:19:05 +00:00
christos
676485e564 interactive error output. 2003-04-20 00:18:33 +00:00
christos
26ae50113f new logging files. 2003-04-20 00:17:42 +00:00
christos
10dd0ebe00 PR/3343: Jonathan Stone: Errors and warnings to stderr if interactive 2003-04-20 00:17:22 +00:00
thorpej
8a1fcff86a MKSHARE -> MKDOC 2003-04-18 18:33:22 +00:00
wiz
170f2084f5 New sentence, new line. Use \*[Lt],\*[Gt] for easier HTML conversion. 2003-04-18 15:15:12 +00:00
bjh21
360968bcd9 Use <md5.h> rather than <sys/md5.h>. This is what the man page tells us to
do, and is required for cross-compiling since libnbcompat doesn't provide
<sys/md5.h>.
2003-04-18 14:16:42 +00:00
gmcgarry
25ab7bf52b Build manpage. 2003-04-18 05:32:37 +00:00
thorpej
77923a9ba6 Build powerd. 2003-04-18 04:55:54 +00:00
thorpej
539625c024 Power management daemon for sysmon. Currently supports acting on
power switch state change events.
2003-04-18 04:54:49 +00:00
grant
6bc4824cf3 crank PKGTOOLS_VERSION for pkg_admin getcwd() fix. 2003-04-17 13:38:02 +00:00
grant
5cea86225d don't pass NULL as the 2nd arg to getcwd(), ala lib/path.c.
fixes 'pkg_admin lsall' and 'pkg_admin lsbest' on Solaris and probably
other platforms where getcwd() doesn't allocate a buffer when the 2nd
arg is NULL.

ok'd by simonb@
2003-04-17 13:32:21 +00:00
fvdl
4589db98fb Skip over inodes <= ROOTINO for getnextinode(). PR 21208 by Geoff Wing. 2003-04-17 09:21:01 +00:00
lukem
e7fa9814b3 clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:41:21 +00:00
wiz
472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz
80d074c338 Bump date for last; sort authors; add comma after e.g. 2003-04-16 13:02:45 +00:00
wiz
1b8a3850d5 A-Law -> A-law. 2003-04-16 12:53:08 +00:00
wiz
4e9fe74ce2 Bump date for last, and add commas after i.e. and e.g. 2003-04-16 12:43:43 +00:00
wiz
d0e6ae84ee p before q in options/usage. 2003-04-16 11:56:11 +00:00
wiz
b190a86ddc Sort options; fix typo; new sentence, new line. 2003-04-16 11:48:11 +00:00
wiz
c1dcf625b3 Sync usage with man page. 2003-04-16 10:29:05 +00:00
wiz
61860e9d83 Sort options in SYNOPSIS and description. 2003-04-16 10:28:55 +00:00
wiz
ab9a7c3733 dumplfs needs one argument -- remove .Op. 2003-04-16 10:21:57 +00:00
wiz
a0d5a7bba1 Sync usage with man page. 2003-04-16 09:25:04 +00:00
wiz
064e896cda Sync usage with man page. 2003-04-16 09:09:52 +00:00
wiz
e0513f4ff2 pppoe(4), not (8). Uppercase PCMCIA. 2003-04-16 09:06:55 +00:00
wiz
0384eb0efb Increase width in a tagged list for nicer display. 2003-04-16 08:42:16 +00:00
briggs
755a56f62f Protect use of __RCSID() with a check to ensure that it's defined.
Suggested by Ian Lance Taylor on tech-userlevel@ to help cross-compilation
on Red Hat 7.3.
2003-04-16 01:32:07 +00:00
dsl
8c4da2e486 Use htole32 so host endianness independant 2003-04-15 14:35:57 +00:00
dsl
ed45ba76c7 Change the way -o options are parsed, now done in MI code with a check after
all the options have been processed that they are supported my the
specific system.
Add i386 MD options (console, password, speed and timeout)
(Approved by christos and lukem)
2003-04-15 14:22:13 +00:00
itojun
c2a20cc150 %d is not 10 chars, but 12 chars. uwse NI_MAXSERV. sync w/ kame. from openbsd 2003-04-15 07:23:19 +00:00
grant
6dbbe09cdf in delete_package(), always warn if there is a checksum mismatch,
improve text.
2003-04-14 23:42:21 +00:00
agc
9878b0d124 The "default" case usually occurs at the end of all other options, so change
it to follow convention.

Add /* NOTREACHED */ comments, per share/misc/style.
2003-04-14 17:40:07 +00:00
dsl
238b338f74 Report usage() if getopt() returns '?'
Partial fix for bin/21146
2003-04-14 09:49:15 +00:00
thorpej
590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
grant
680230355c improve a message 2003-04-11 19:57:06 +00:00
drochner
5f4d60be7c Add an interface to the "force" option, and fix a bug where the
"readonly" flag cleared "hasgeom".
2003-04-11 16:15:28 +00:00
grant
b862bb2e33 bump version for last. 2003-04-11 14:16:45 +00:00
jmmv
85cbefaced Avoid running config on directories (i.e., config /tmp), as the error message
given is unclear.  Closes my own PR bin/18785.
2003-04-11 10:53:52 +00:00
grant
c839e381ae fix comment, thanks simon. 2003-04-10 23:38:16 +00:00
grant
a8bd964bf8 min_free: Return size in a uint64_t since off_t isn't 64 bits on
all operating systems.
2003-04-10 23:31:26 +00:00
grant
dc7d730383 allow bzip2 support to work on earlier systems where tar has no -j
option, including NetBSD 1.5 and 1.6. noted by wiz.

also handle tar.gz, tar.bz2 and .tar filenames, and bomb with a useful
error if we don't know to handle a file.
2003-04-10 16:25:25 +00:00
grant
ef79ced85d improve error when there's not enough space to unpack in PKG_TMPDIR. 2003-04-10 16:12:38 +00:00
jdolecek
d70973544d use setproctitle() instead of uppercasing ProgramName
this makes the ps display nicer, and also avoids uppercasing the cron program
name in logs
idea from FreeBSD
2003-04-10 14:14:15 +00:00
grant
4253e0d3e1 pass -j to tar to read bzip2 binary pkgs.
bump PKGTOOLS_VERSION to 20030410.
2003-04-10 05:08:55 +00:00
dsl
c4dba16f34 Add support for i386 boot code - for new bootxx stuff 2003-04-09 22:30:59 +00:00
dsl
f14ef8a1e3 Add support for 'new' format i386 bootxx code 2003-04-09 22:14:27 +00:00
petrov
cc92472571 Fix alignment for socket addresses in routing socket requests for
LP64 machines. Addresses port-alpha/11089. Reviewed by thorpej.
2003-04-08 04:04:01 +00:00
wiz
334bfb30b4 More e.g. cleanup. Igor Sobrado, PR 19692. 2003-04-07 07:04:49 +00:00
wiz
07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
martin
03b03281c7 Fix buffer overrun noticed by Markus Dolze on the freebsd-isdn mailing
list.
2003-04-06 21:07:09 +00:00
wiz
1afb9ef148 NFSNET. From Igor Sobrado in PR 19691. 2003-04-06 20:14:41 +00:00
wiz
68caa698b2 Respect the law: Use A-law and mu-law as spellings as far as easily possible.
Inspired by Igor Sobrado in PR 19680.
2003-04-06 18:20:07 +00:00
he
798d0c8191 Fix two mistakes done in the UFS2 merge:
o Correct the order of arguments to ffs_read_disk_block; the second one
   is blocknumber to read, not the size to be read.  This would affect the
   UFS2 code, and is thus not much excercised at the moment.
 o The offsets in SBLOCKSEARCH are in bytes, but ffs_read_disk_block wants
   its location in terms of DEV_BSIZE blocks.  Fix this bug in ffs_match().
The latter together with the recent magic number fix to <ufs/ffs/fs.h>
fixes a cross build problem seen when doing a i386->sparc build.
2003-04-05 11:30:53 +00:00
christos
f2829c2b54 fix problem with fgets() 2003-04-04 23:10:10 +00:00
perry
eca50de83f set close on exec on a couple of FDs. from Charles Blundell PR security/16663 2003-04-04 01:24:09 +00:00
christos
8fe39e55bc This Makefile should not need bsdmake! 2003-04-03 20:32:41 +00:00
christos
2f01db86ba add more defines for stuff we have. 2003-04-03 17:56:52 +00:00
perry
69c34ee0f1 Changes to make wiconfig print vendor and firmware id/version
Provided by Love in PR kern/12779

XXX WI_RID_STA_IDENTITY_* should probably be defined somewhere other
XXX than inside wiconfig.c itself, perhaps in dev/ic/wi_ieee.h ?
2003-04-03 17:26:33 +00:00
christos
e2f800d682 put back <sys/ioctl.h> in case we are lunix. 2003-04-03 17:15:22 +00:00
christos
c8ee373ee5 Port to linux 2003-04-03 17:14:24 +00:00
itojun
079ee2105d fix typo. from jason@openbsd 2003-04-02 23:29:29 +00:00
he
ad1f16e9ef Add cats for printf %llu arguments, for the benefit of LP64 platforms. 2003-04-02 23:02:29 +00:00
he
ea53f7f82d Add explicit cats for %lld printf format args, for the benefit of LP64
platforms.
2003-04-02 22:50:52 +00:00
atatat
a9c9b3a125 Use awk instead of fgrep and sed, and default to 80 if we get
something that is arithmetically equal to 0.
2003-04-02 22:32:19 +00:00
he
2a70d2a4a1 With the new UFS2 code, alternative places are searched for a super-block.
This includes block #0.  Therefore, allow read of block #0 in
ffs_read_disk_block(); change assert (blkno > 0) to (blkno >= 0).
2003-04-02 22:02:56 +00:00
wiz
a90c0085c1 Some Bl improvements; drop trailing whitespace; don't comma-separate
"a, and b"; mention arguments in option listing; list options in SYNOPSIS
in default order (those without arguments first).
2003-04-02 19:30:57 +00:00
perry
2b097fd2fc Massive cleanup of the document, although there is a lot more work to
do still.
2003-04-02 16:47:40 +00:00
perry
35b6bc735d Automatically figure out how wide the terminal is with an ugly
`stty | fgrep | sed` expression.
Really, sdiff should figure this out by default but it does not.
2003-04-02 16:30:25 +00:00
perry
889c8a5b3a set USETOOLS=never when doing make distribution, so that users don't have
to set it themselves or set TOOLDIR to use etcupdate.

Closes PR install/19752 from Oliver Tonnhofer
2003-04-02 15:00:53 +00:00
fvdl
42614ed3f3 Add support for UFS2. UFS2 is an enhanced FFS, adding support for
64 bit block pointers, extended attribute storage, and a few
other things.

This commit does not yet include the code to manipulate the extended
storage (for e.g. ACLs), this will be done later.

Originally written by Kirk McKusick and Network Associates Laboratories for
FreeBSD.
2003-04-02 10:39:19 +00:00
perry
939003f2a8 Remove a NO_SENDMAIL=1 in the construction of the reference etc/ -- it
was needlessly preventing the update of sendmail configs like submit.cf
Should close PR misc/20968 from Martin Weber
2003-04-02 04:04:29 +00:00
perry
fec4dbea24 Add a -l option telling etcupdate to skip any file who's RCS id has
not been changed.
(-l means "skip local modifications".)
Code and documentation from Christopher Richards in PR bin/20200
2003-04-02 03:07:30 +00:00
christos
367ffb5e14 PR/3272: Wailer: Don't send lcp echo's if we are not opened. 2003-04-01 15:12:12 +00:00
drochner
594e5ccb92 remove some #includes which are unneeded since the transition
to getifaddrs(3)
2003-04-01 08:46:10 +00:00
perry
ba7c369fa0 explain what "Microwave Oven Robustness" means.
An attempt to close PR bin/12177 by jhawk.
2003-03-31 21:19:06 +00:00
perry
225230174b Spelling errors (some from Igor Sobrado, PR misc/19909)
XXX this needs to be fed back to the altq maintainers, but I don't
know who they are.
XXX This man page needs a lot of cleanup.
2003-03-31 17:21:41 +00:00
wiz
0de6cf8c45 Some typo fixes from Igor Sobrado in PR 20743. Sent back to the ntp
people.
2003-03-31 09:27:52 +00:00
wiz
dc0174806b millisecond with two is. From Igor Sobrado in PR 20742, and sent back to
the ntp people.
2003-03-31 09:27:15 +00:00
grant
f125cd44b3 grammar tweak. 2003-03-31 08:44:22 +00:00
wiz
c57dfd43a9 A script, not an script. 2003-03-31 08:23:32 +00:00
perry
6562f25909 treashold->threshold, from Igor Sobrado in PR misc/20740 2003-03-31 01:34:57 +00:00
perry
4eabc653ac OpenProm -> openprom (apparently how Sun prefers it.)
inteteger -> integer
rts/cts -> RTS/CTS
xon/xoff -> Xon/Xoff
All from Igor Sobrado, PR misc/20737
2003-03-31 01:31:39 +00:00
perry
339d3e41ad Incresed->Increased, Micheal->Michael, from Igor Sobrado PR misc/20739 2003-03-31 01:23:30 +00:00
perry
e774a083b5 exeeds->exceeds, from PR misc/20741 (Igor Sobrado) 2003-03-31 01:14:14 +00:00
perry
bbf77a1edf dialling->dialing (from me)
substition->substitution (from Igor Sobrado, PR misc/20744)
2003-03-31 01:09:08 +00:00
perry
893cb2b5a6 spelling fixes, including some pointed out by Igor Sobrado in
PR misc/20745
I've submitted the changes back to paulus@samba.org
2003-03-31 01:00:13 +00:00
perry
338db96096 recieving->receiving, escript->script, fixes PR misc/20746 (Igor Sobrado) 2003-03-31 00:45:39 +00:00
perry
eafc4fe7d1 MERCHANTIBILITY->MERCHANTABILITY
4.4bsd->4.4BSD
PR misc/20747 from Igor Sobrado
Note he also asked for NSFNet -> NSFNET which I didn't do -- it seems
arbitrary and unneeded.
XXX Patch submitted back to traceroute@ee.lbl.gov -- are they still active?
XXX Should this be converted to mdoc?
2003-03-31 00:32:54 +00:00
perry
e1b82b39a9 ipng->IPng, from Igor Sobrado in PR misc/20755 (though its a nit, ipng is fine. 2003-03-30 23:53:22 +00:00
wiz
d59e6d5863 HP-UX, not HPUX. Igor Sobrado, PR 19678. 2003-03-30 21:37:52 +00:00
wiz
e12ef9aab2 Uppercase DEC. PR 19678 by Igor Sobrado. 2003-03-30 21:24:48 +00:00
wiz
3425830569 Uppercase ULTRIX. Igor Sobrado in PR 19678. 2003-03-30 21:20:17 +00:00
lukem
6ddeaceaff Tweak Jason's -x support to pass its state around as part of fsinf_t,
just like all the other "global" options.
Update the usage for -x.
Crank date on man page.

(Thanks to Jason for adding -x; I've been meaning to add that
functionality for a while :-)
2003-03-30 00:05:07 +00:00
thorpej
1bcb9d76fb Add a -x option which causes makefs(8) to exclude any file system node
not explicitly listed in the specfile.
2003-03-29 00:12:12 +00:00