summaryrefslogtreecommitdiff
path: root/pkgtools/rdigest
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2005-03-28 20:52:55 +0000
committeragc <agc@pkgsrc.org>2005-03-28 20:52:55 +0000
commit80584e4b7e780102f92eecd1b175384b5b30aab1 (patch)
treef502a07043ead77d064de2d83dabc80f09fc977c /pkgtools/rdigest
parent5c4f14268e80ce0f5d05f55b10478de040083def (diff)
downloadpkgsrc-80584e4b7e780102f92eecd1b175384b5b30aab1.tar.gz
Update this package after the additions of the new hashes to the digest
package. Fixes PR 29795 from A L Meyers.
Diffstat (limited to 'pkgtools/rdigest')
-rw-r--r--pkgtools/rdigest/distinfo6
-rw-r--r--pkgtools/rdigest/patches/patch-aa16
-rw-r--r--pkgtools/rdigest/patches/patch-ab31
3 files changed, 30 insertions, 23 deletions
diff --git a/pkgtools/rdigest/distinfo b/pkgtools/rdigest/distinfo
index dd02985e6e2..645ac424078 100644
--- a/pkgtools/rdigest/distinfo
+++ b/pkgtools/rdigest/distinfo
@@ -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
diff --git a/pkgtools/rdigest/patches/patch-aa b/pkgtools/rdigest/patches/patch-aa
index 8320f06d514..cb5a6e1f303 100644
--- a/pkgtools/rdigest/patches/patch-aa
+++ b/pkgtools/rdigest/patches/patch-aa
@@ -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
diff --git a/pkgtools/rdigest/patches/patch-ab b/pkgtools/rdigest/patches/patch-ab
index c25703f6988..8ad1a749f0e 100644
--- a/pkgtools/rdigest/patches/patch-ab
+++ b/pkgtools/rdigest/patches/patch-ab
@@ -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