Enable build-time configuration of non-MD5 file checksum digest algorithms
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 2 Jun 2008 09:18:23 +0000 (12:18 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 2 Jun 2008 09:18:23 +0000 (12:18 +0300)
commita8d8d5a4f4b77316292b8a2276bb74886945b6c1
treec66434b56674c67859bff828c575137d9c449940
parent2cbe2c3f5a31262fe4ccfb43234392ff95712e59
Enable build-time configuration of non-MD5 file checksum digest algorithms
- if not specified (or 0), quietly assume MD5
- otherwise check for supported digest type, complain and fall back to
  md5 on invalid
- if non-md5 algorithm is used, add rpmlib() feature dependency to package
build/files.c
lib/rpmds.c
macros.in