]> git.pld-linux.org Git - packages/rpm.git/blame - rpm-FileDigestParameterized.patch
- obsolete (mostly applied, buildroot part seems to be handled differently)
[packages/rpm.git] / rpm-FileDigestParameterized.patch
CommitLineData
312f3f03
AM
1Index: build/files.c
2===================================================================
3RCS file: /cvs/devel/rpm/build/files.c,v
4retrieving revision 1.240.2.16
5retrieving revision 1.240.2.17
6diff -u -u -r1.240.2.16 -r1.240.2.17
7--- build/files.c 3 Oct 2006 04:10:39 -0000 1.240.2.16
8+++ build/files.c 10 Nov 2006 15:53:01 -0000 1.240.2.17
9@@ -1416,19 +1416,22 @@
10
11 dalgo = (isSrc ? source_file_dalgo : binary_file_dalgo);
12 switch (dalgo) {
13- case PGPHASHALGO_MD5:
14 case PGPHASHALGO_SHA1:
15+ case PGPHASHALGO_RIPEMD160:
16+ case PGPHASHALGO_MD2:
17+ case PGPHASHALGO_TIGER192:
18 case PGPHASHALGO_SHA256:
19 case PGPHASHALGO_SHA384:
20 case PGPHASHALGO_SHA512:
21- case PGPHASHALGO_RIPEMD160:
22+ case PGPHASHALGO_MD4:
23 case PGPHASHALGO_RIPEMD128:
24 case PGPHASHALGO_CRC32:
25- case PGPHASHALGO_MD2:
26- case PGPHASHALGO_TIGER192:
27+ case PGPHASHALGO_ADLER32:
28+ case PGPHASHALGO_CRC64:
29 (void) rpmlibNeedsFeature(h, "FileDigestParameterized", "4.4.6-1");
30 /*@switchbreak@*/ break;
31- case PGPHASHALGO_HAVAL_5_160:
32+ case PGPHASHALGO_MD5:
33+ case PGPHASHALGO_HAVAL_5_160: /* XXX unimplemented */
34 default:
35 dalgo = PGPHASHALGO_MD5;
36 /*@switchbreak@*/ break;
This page took 0.085172 seconds and 4 git commands to generate.