wiz
b8c5588d79
Usage: Options before arguments; add -E. From Kouichirou Hiratsuka in PR 26255.
2004-07-13 12:11:06 +00:00
wiz
5df46dc9cc
Sort options. From Kouichirou Hiratsuka in PR 26255 (slightly changed).
2004-07-13 12:09:29 +00:00
wiz
f4128b317e
Add -d to usage; use getprogname(3). From Kouichirou Hiratsuka in PR 26227.
2004-07-13 12:07:51 +00:00
wiz
5e4aaf0ef0
Sync usage with man page (add [login@], sort options, machine -> host);
...
print usage to stderr; use getprogname(3).
From Kouichirou Hiratsuka in PR 26225.
2004-07-13 12:06:35 +00:00
wiz
6b6cae1acd
Sort options in SYNOPSIS. From Kouichirou Hiratsuka in PR 26225.
2004-07-13 12:02:23 +00:00
wiz
1c7022e424
Sync usage with man page. From Kouichirou Hiratsuka in PR 26224.
2004-07-13 12:00:30 +00:00
wiz
13d5df6555
Sync usage with man page; from Kouichirou Hiratsuka in PR 26223.
2004-07-13 11:59:12 +00:00
wiz
d2c6d0c9f5
Sort options in synopsis.
2004-07-13 11:58:55 +00:00
wiz
3408fd1acc
Use getprogname(); add -F to usage. From Kouichirou Hiratsuka in PR 26222.
2004-07-13 11:56:24 +00:00
wiz
8ff81120a3
Usage -> usage; add missing -n to usage. From Kouichirou Hiratsuka in PR 26221.
2004-07-13 11:55:02 +00:00
wiz
4e4e99275b
Add missing -j to usage; sort as in man page;
...
use getprogname(). From Kouichirou Hiratsuka in PR 26220.
2004-07-13 11:53:57 +00:00
yamt
5e6cd45b9d
fix "gzip -lv a.gz" after gzip.c 1.46.
2004-07-12 10:21:11 +00:00
yamt
284b1b2ac6
another warn -> warnx.
2004-07-12 09:58:10 +00:00
jdolecek
1196c8ba2e
consistently quote all values printed in the summary of
...
the current locale environment ('locale' without arguments)
2004-07-12 08:51:56 +00:00
mrg
2644272f85
in check_outfile() if the outfile exists and -f was given just delete it.
...
fixes PR#26251.
2004-07-12 02:50:38 +00:00
yamt
bd416872f6
fix descriptor leaks on error.
2004-07-11 22:49:42 +00:00
mrg
668894b1c5
- in gz_uncompress() be sure to do the crc/len recalculation insigned.
...
fixes PR#26246.
- if crc/len are wrong, be sure to noticed it failed
- in check_suffixes(), be sure not to underrun an array (from yamt)
- don't fail so badly on short header, from and fixes R#26242 (also
from yamt)
- more underrun avoidance in file_uncompress(). fixes PR#26241.
2004-07-11 14:39:39 +00:00
mrg
d44ac40080
check the suffix of the input file ala GNU gzip, and error about it
...
unless -f is given. fixes PR#26240
2004-07-11 09:40:51 +00:00
mrg
e46324f383
move the crc/len code into their own state's to properly allow the buffer
...
to be refreshed. re-fixes regress/usr.bin/gzip/concatenated.
2004-07-11 07:01:03 +00:00
mrg
469c821e42
- check for trunated input.
...
- check each gzip-part's length against the original and warn if it's
wrong. fixes part of PR#26233.
- check the input crc32. fixes the rest of PR#26233.
2004-07-11 06:20:29 +00:00
mrg
7ed5da7ba5
don't assume Z_STREAM_END means end-of-file. fixes PR#26234.
2004-07-11 05:40:51 +00:00
yamt
b6ec63a3cc
tailing \n is not needed for vwarn().
2004-07-10 17:35:59 +00:00
wiz
d771b2e264
Sort options and add -v to usage. From Kouichirou Hiratsuka in PR 26219,
...
though done slightly differently (options without arguments always come
first).
2004-07-10 16:12:29 +00:00
wiz
a3b80f097f
Sort options; new sentence, new line; use Pq.
2004-07-10 16:11:29 +00:00
tron
dc33169c5b
Add prefix "${PROG}-" to filename of automatically created list of
...
ioctl names. This makes sure that each program is built with its own
copy even if object directories are not used. This avoids build
failures when two or more make jobs are used in parallel.
2004-07-10 12:12:49 +00:00
enami
66820706e0
No need to pretty print the errno with err() or warn().
2004-07-10 00:00:58 +00:00
enami
15f238472a
Yet another s/xmalloc/xrealloc/ so that large multi line text
...
can be added.
2004-07-09 23:43:07 +00:00
mycroft
282d260910
xmalloc()->xrealloc() so that patterns larger than _POSIX2_LINE_MAX*2-1 work.
2004-07-09 16:34:29 +00:00
wiz
bb38c4ebcc
Sync usage with man page. From Kouichirou Hiratsuka in PR 26197.
2004-07-09 12:14:37 +00:00
wiz
ec6bd375e2
Add -q to usage. From Kouichirou Hiratsuka in PR 26199.
2004-07-09 12:12:27 +00:00
wiz
bafaf49a90
Add -d level to usage. From Kouichirou Hiratsuka in PR 26198.
2004-07-09 12:10:43 +00:00
wiz
4b3439b23a
Add -f to usage. From Kouichirou Hiratsuka in PR 26196.
2004-07-09 11:50:21 +00:00
wiz
5f59441cc8
-p, -s, -t, and -x are mutually exclusive -- make it obvious in
...
the SYNOPSIS.
2004-07-09 11:47:59 +00:00
wiz
a82c1f4b83
Add missing -n, -1, -2, -4, -5, and -6 to cksum usage.
...
From Kouichirou Hiratsuka in PR 26195.
2004-07-09 11:44:30 +00:00
wiz
55759098b9
Standardize usage: print it to stderr, add brackets around all optional
...
arguments, sort, add missing file argument. From Kouichirou Hiratsuka
in PR 26194.
2004-07-09 11:41:26 +00:00
wiz
9e492da4c1
Standardize usage.
2004-07-09 11:40:00 +00:00
wiz
b9c239be76
Add -q to SYNOPSIS. From Kouichirou Hiratsuka in PR 26193.
2004-07-09 11:36:33 +00:00
wiz
7f968efdc2
There is no -m option -- remove it from the usage.
...
From Kouichirou Hiratsuka in PR 26192.
2004-07-09 11:34:16 +00:00
wiz
625282a3e9
Sync usage with man page. Closes PR 26191 by Kouichirou Hiratsuka.
2004-07-09 11:33:13 +00:00
wiz
ee573c8cac
Sort options, bump date.
2004-07-09 11:29:15 +00:00
christos
750fc37531
deal with another dup ioctl; fortunately this is from pcvt and it will die.
2004-07-08 03:22:32 +00:00
tron
d12de89293
Don't scan include files in "includes" target because they might not be
...
in the destination directory yet.
2004-07-07 14:28:17 +00:00
mycroft
c5817e14e3
Fix a core dump.
2004-07-06 13:19:42 +00:00
mycroft
61290f9727
Fix function calls in the sample server to use the right function name.
...
From PR 4411.
2004-07-06 07:07:15 +00:00
mycroft
f702e25494
Whoops, make "all" work again.
2004-07-03 19:00:25 +00:00
mycroft
eb8fd502d1
Using timeout() to control refresh gets rid of a whole pile of signal-related
...
lossage.
Making ungetch() signal-safe, as ncurses seems to, would be better, though.
2004-07-03 18:54:47 +00:00
mycroft
30aaa9067a
Use KEY_RESIZE. Might as well have something in our source tree that does.
2004-07-03 18:31:36 +00:00
mrg
13e5b34e5b
fix "zcat -f" on normal files. fixes PR#26145
2004-07-03 09:39:30 +00:00
sjg
3a0c68edfd
Add support for SHA1 hashed passwords.
...
The algorithm used is essentially PBKDF1 from RFC 2898 but using
hmac_sha1 rather than SHA1 directly (suggested by smb@research.att.com ).
* The format of the encrypted password is:
* $<tag>$<iterations>$<salt>$<digest>
*
* where:
* <tag> is "sha1"
* <iterations> is an unsigned int identifying how many rounds
* have been applied to <digest>. The number
* should vary slightly for each password to make
* it harder to generate a dictionary of
* pre-computed hashes. See crypt_sha1_iterations.
* <salt> up to 64 bytes of random data, 8 bytes is
* currently considered more than enough.
* <digest> the hashed password.
hmac.c implementes HMAC as defined in RFC 2104 and includes a unit
test for both hmac_sha1 and hmac_sha1 using a selection of the Known
Answer Tests from RFC 2202.
It is worth noting that to be FIPS compliant the hmac key (password)
should be 10-20 chars.
2004-07-02 00:05:23 +00:00
drochner
e87f74fd64
put the __packed__ attribute close to the struct definition
...
(to appease gcc-3.4), and use the compiler-independant __packed
form for consistency
2004-07-01 20:56:34 +00:00