Ñò ÒR4Sc @sdZddkZddkZddkZddklZlZlZlZl Z l Z l Z l Z l Z lZlZlZlZlZlZddklZlZlZlZlZddkiZddklZlZddklZ d„Z!d„Z"d „Z#d „Z$dS( s² Most of the generic unix methods of our superclass can be used on Solaris. For the following methods, there is a Solaris-specific implementation in the 'arch' extension module. iÿÿÿÿN(tget_group_by_nametget_user_by_nametget_name_by_gidtget_name_by_uidtis_admint get_useridt get_usernametchowntrenametremovetlinktcopyfilet split_pathtget_roott assert_mode(tELFtEXECt PD_LOCAL_PATHtUNFOUNDt SMF_MANIFEST(tfgetattrtfsetattr(t get_attr_dictcCs tiƒS(N(tarcht get_isainfo(((s;/usr/lib/python2.6/vendor-packages/pkg/portable/os_sunos.pyR-scCs tiƒS(N(Rt get_release(((s;/usr/lib/python2.6/vendor-packages/pkg/portable/os_sunos.pyR0scCs tiƒS(N(Rt get_platform(((s;/usr/lib/python2.6/vendor-packages/pkg/portable/os_sunos.pyR3sc cstiƒ\}}ti|dƒ}x2|D]*}|itii|itƒdƒq+W|i ƒt i dd|gdt i ƒi ƒdiƒ}t|ƒt|ƒt|ƒjpt‚xVt|ƒD]H\}}|iƒ}||}|it}|idƒd} |id| ƒ} di| d| !ƒ} | |jotd || |fƒ‚n| | iƒiƒ} d i| ƒ} | dd jo tVqË| dd jo tVqË| d jo tVqË| ddjo/ddkl}||ƒo tVq| VqË| VqËWdS(Ntws s /usr/bin/files-ftstdoutit:ispf:%s rfn:%s file_out:%st Rt executables&cannot open: No such file or directorytXMLiÿÿÿÿ(tis_smf_manifest(ttempfiletmkstemptostfdopentwritetpathtjointattrsRtcloset subprocesstPopentPIPEt communicatet splitlinesR tlentAssertionErrort enumeratetstriptcounttsplitt RuntimeErrorRRRtpkg.flavor.smf_manifestR!R(tactionstt_fdtt_pathtt_fhtatrestitfile_outt proto_filet colon_cntttmpt res_file_namet file_typet joined_ftR!((s;/usr/lib/python2.6/vendor-packages/pkg/portable/os_sunos.pyt get_file_type6sF(               (%t__doc__R$R+R"tos_unixRRRRRRRRRR R R R R Rt pkg.portableRRRRRtpkg.archRt pkg.sysattrRRRtget_sysattr_dictRRRRF(((s;/usr/lib/python2.6/vendor-packages/pkg/portable/os_sunos.pyts   d(