Update this package after the additions of the new hashes to the digest

package.

Fixes PR 29795 from A L Meyers.
This commit is contained in:
agc 2005-03-28 20:52:55 +00:00
parent 5c4f14268e
commit 80584e4b7e
3 changed files with 30 additions and 23 deletions

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2005/01/21 02:18:23 tv Exp $
$NetBSD: distinfo,v 1.3 2005/03/28 20:52:55 agc Exp $
SHA1 (patch-aa) = a1ed803a43925ef4c82e2c468bd2ee922b1998b6
SHA1 (patch-ab) = b34e588443c030e0111edaff19ccf0882bf74a13
SHA1 (patch-aa) = 89dc6a984901ea749690a159a801e1a73d0b55a9
SHA1 (patch-ab) = 71284db83e24537987887bc4fbffabdac35bdeb7
SHA1 (patch-ac) = 787eb9b87e79b5110ae13594a4171bfe08ba2660

View file

@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/07/24 05:21:05 atatat Exp $
$NetBSD: patch-aa,v 1.2 2005/03/28 20:52:55 agc Exp $
--- Makefile.in.orig 2002-12-20 23:06:12.000000000 -0500
+++ Makefile.in
@@ -56,7 +56,7 @@ missing mkinstalldirs regress.sh
--- Makefile.in.orig 2005-03-28 21:39:38.000000000 +0100
+++ Makefile.in 2005-03-28 21:41:02.000000000 +0100
@@ -57,7 +57,7 @@
.c.o:
$(COMPILE) -c $< -o $@
@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/07/24 05:21:05 atatat Exp $
digest-types.h: bits
./bits digest-types.h
@@ -64,10 +64,10 @@ digest-types.h: bits
@@ -65,10 +65,10 @@
bits: bits.o
$(LINK) $(bits_OBJS) $(LIBS)
@ -24,8 +24,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/07/24 05:21:05 atatat Exp $
@SHELL@ $(srcdir)/regress.sh
digest.o: digest-types.h
@@ -81,7 +81,7 @@ sha1.o: digest-types.h
sha1hl.o: digest-types.h
@@ -84,7 +84,7 @@
whirlpool.o: digest-types.h
clean:
- rm -f *.o digest bits digest-types.h
@ -33,7 +33,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/07/24 05:21:05 atatat Exp $
distclean: clean
rm -f Makefile config.h
@@ -90,18 +90,18 @@ distclean: clean
@@ -93,18 +93,18 @@
maintainer-clean: distclean
rm -f configure config.h.in

View file

@ -1,14 +1,21 @@
$NetBSD: patch-ab,v 1.1.1.1 2003/07/24 05:21:07 atatat Exp $
$NetBSD: patch-ab,v 1.2 2005/03/28 20:52:55 agc Exp $
--- digest.1.orig 2002-02-16 15:24:32.000000000 -0500
+++ digest.1
@@ -31,21 +31,29 @@
.\" SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- digest.1.orig 2005-03-28 21:41:50.000000000 +0100
+++ digest.1 2005-03-28 21:45:50.000000000 +0100
@@ -1,7 +1,7 @@
.\" $NetBSD: patch-ab,v 1.2 2005/03/28 20:52:55 agc Exp $
.\"
.\"
-.Dd February 28, 2001
-.\" Copyright (c) 2001 Alistair G. Crooks. All rights reserved.
+.\" Copyright (c) 2001-2005 Alistair G. Crooks. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@@ -32,20 +32,28 @@
.\"
.\"
.Dd March 23, 2005
-.Dt DIGEST 1
+.Dd July 24, 2003
+.Dt RDIGEST 1
.Os
.Sh NAME
@ -37,10 +44,10 @@ $NetBSD: patch-ab,v 1.1.1.1 2003/07/24 05:21:07 atatat Exp $
The list of possible algorithms is:
.Bl -tag -width Ds
.It md5
@@ -81,11 +89,32 @@ algorithm implementations, which are loc
@@ -88,12 +96,32 @@
algorithm implementations, which are located in the standard
C library, and was designed to be scalable as new message digest
algorithms are developed.
.Pp
+The checksum for a directory is implemented as the hash over a list of
+one or two hashes for each of the items in the tree.
+.Bl -bullet
@ -60,17 +67,17 @@ $NetBSD: patch-ab,v 1.1.1.1 2003/07/24 05:21:07 atatat Exp $
+along with the path make up the data for one hash.
+There is no second hash for a directory.
+.El
+.Pp
.Pp
The
.Nm
utility exits 0 on success, and >0 if an error occurs.
utility exits 0 on success, and \*[Gt]0 if an error occurs.
.Sh SEE ALSO
.Xr cksum 1 ,
+.Xr digest 1 ,
.Xr md5 3 ,
.Xr rmd160 3 ,
.Xr sha1 3
@@ -93,9 +122,13 @@ utility exits 0 on success, and >0 if an
@@ -101,9 +129,13 @@
The
.Nm
utility first appeared in