diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-18 02:50:49 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-18 02:50:49 +0000 |
commit | d9b10deaa03ce174d5ccc3b59c477549ad87e884 (patch) | |
tree | 0728a0dfb47f2e555066ae6a5b1e8f805c09416c /pym/portage/const.py | |
parent | Fix NEEDED logic in vardbapi.aux_get() so that empty (diff) | |
download | portage-d9b10deaa03ce174d5ccc3b59c477549ad87e884.tar.gz portage-d9b10deaa03ce174d5ccc3b59c477549ad87e884.tar.bz2 portage-d9b10deaa03ce174d5ccc3b59c477549ad87e884.zip |
Bug #198398 - Enable Manifest generation when there are no hash
functions available for types such as RMD160. Now it's possible
to generate a Manifest when python-2.5 is built without ssl
support. MANIFEST1_REQUIRED_HASH and MANIFEST2_REQUIRED_HASH
are the only two functions that are strictly required now (MD5
and SHA1).
svn path=/main/trunk/; revision=8521
Diffstat (limited to 'pym/portage/const.py')
-rw-r--r-- | pym/portage/const.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/const.py b/pym/portage/const.py index de17634b4..733029fa4 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -62,6 +62,8 @@ EAPI = 1 HASHING_BLOCKSIZE = 32768 MANIFEST1_HASH_FUNCTIONS = ["MD5","SHA256","RMD160"] MANIFEST2_HASH_FUNCTIONS = ["SHA1","SHA256","RMD160"] + +MANIFEST1_REQUIRED_HASH = "MD5" MANIFEST2_REQUIRED_HASH = "SHA1" MANIFEST2_IDENTIFIERS = ["AUX","MISC","DIST","EBUILD"] |