diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-21 03:55:53 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-21 03:55:53 +0000 |
commit | 9840d8125688eced5527d4d61c0cbe1793641f25 (patch) | |
tree | 9d49aa7e8d8cb0e10421387a9249670e23856c41 /pym/portage_const.py | |
parent | 2b1f99725a13622916f3c1d3b6c04d7cae59cd2f (diff) | |
download | portage-9840d8125688eced5527d4d61c0cbe1793641f25.tar.gz portage-9840d8125688eced5527d4d61c0cbe1793641f25.tar.bz2 portage-9840d8125688eced5527d4d61c0cbe1793641f25.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). (trunk r8521)
svn path=/main/branches/2.1.2/; revision=8566
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 c27764e46..42c5dfae6 100644 --- a/pym/portage_const.py +++ b/pym/portage_const.py @@ -60,6 +60,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"] |