;ò
íëæ?c           @   sè   d  k  Td k Z d k Z d k Z d k Z d k Z d k Z e i d ƒ Z e i d ƒ Z	 e i d e i
 e i Bƒ Z e i d d ƒ Z d e i f d „  ƒ  YZ e ƒ  Z e i o/ e d	 d
 d d d d d d d d d d ƒ n d S(   (   s   *Ns   \.(zip|[ewj]ar)$s
   \.[ewj]ar$s   ^\s*Class-Path\s*:s   UseIndexedJarsi   s   ZipCheckc           B   s   t  Z d „  Z d „  Z RS(   Nc         C   s   t  i  i |  d ƒ d  S(   Ns   ZipCheck(   s   AbstractChecks   __init__s   self(   s   self(    (    s   /usr/share/rpmlint/ZipCheck.pys   __init__   s    c   	      C   sC  x<| i ƒ  D].} | i ƒ  | d } t i | ƒ o- t i t	 i
 | ƒ t i ƒ o t i | ƒ oÔt } yt i | d ƒ } | i ƒ  } | o t | d | | d ƒ n d } x2 | i ƒ  D]$ } | i t i j o d } PqÄ qÄ W| o t | d | d ƒ n t i | ƒ oÑ y; | i d ƒ } t i | ƒ o t | d | d ƒ n Wn' t j
 o t | d | d ƒ n Xy3 | i d	 ƒ } t  o t | d
 | d ƒ n Wqít j
 o& t  o t | d | d ƒ qéqíXn Wn5 t! i" i# d | i$ | d t! i% ƒ  d f ƒ n X| o
 | i& ƒ  q q Wd  S(   Ni    s   rs   bad-crc-in-zip: %si   s   uncompressed-zips   META-INF/MANIFEST.MFs   class-path-in-manifests   no-jar-manifests   META-INF/INDEX.LISTs   jar-indexeds   jar-not-indexeds   %s: unable-to-read-zip %s "%s"
('   s   pkgs   getFilesInfos   is   dirNames   fs	   zip_regexs   searchs   stats   S_ISREGs   oss   lstats   ST_MODEs   zipfiles
   is_zipfiles   Nones   zips   ZipFiles   testzips   badcrcs
   printErrors
   compresseds   infolists   zinfos   compress_types
   ZIP_STOREDs   printWarnings	   jar_regexs   reads   mfs   classpath_regexs   KeyErrors   getinfos   want_indexed_jarss   syss   stderrs   writes   names   exc_infos   close(	   s   selfs   pkgs   badcrcs   zips   fs   is   zinfos   mfs
   compressed(    (    s   /usr/share/rpmlint/ZipCheck.pys   check   sH     @ 	2(   s   __name__s
   __module__s   __init__s   check(    (    (    s   /usr/share/rpmlint/ZipCheck.pys   ZipCheck   s   	s   bad-crc-in-zips_   The reported file in the zip fails the CRC check. Usually this is a
sign of a corrupt zip file.s   uncompressed-zips   The zip file is not compressed.s   class-path-in-manifestsÊ   The META-INF/MANIFEST file in the jar contains a hardcoded Class-Path.
These entries do not work with older Java versions and even if they do work,
they are inflexible and usually cause nasty surprises.s   no-jar-manifests7   The jar file does not contain a META-INF/MANIFEST file.s   jar-indexeds   The jar file is indexed, ie. it contains the META-INF/INDEX.LIST file.
These files are known to cause problems with some older Java versions.s   jar-not-indexeds©   The jar file is not indexed, ie. it does not contain the META-INF/INDEX.LIST
file.  Indexed jars speed up the class searching process of classloaders
in some situations.(   s   Filters   AbstractChecks   Configs   oss   res   stats   zipfiles   compiles	   zip_regexs	   jar_regexs   Ms   Is   classpath_regexs	   getOptions   want_indexed_jarss   ZipChecks   checks   infos
   addDetails(   s   want_indexed_jarss   stats   ZipChecks   Configs   zipfiles	   zip_regexs   checks   res   classpath_regexs   oss	   jar_regexs   AbstractCheck(    (    s   /usr/share/rpmlint/ZipCheck.pys   ?
   s2   						/	
